text stringlengths 1 932k |
|---|
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("7.... |
using EddiDataDefinitions;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EddiEvents
{
public class ShipSwappedEvent : Event
{
public const string NAME = "Ship swapped";
public const string DE... |
namespace WakaTime.Shared.ExtensionUtils
{
public static class Constants
{
internal const string GithubDownloadPrefix = "https://github.com/wakatime/wakatime-cli/releases/download";
internal const string GithubReleasesAlphaUrl = "https://api.github.com/repos/wakatime/wakatime-cli/releases?per_p... |
//-----------------------------------------------------------------------------
// FILE: CadenceTestHelper.cs
// CONTRIBUTOR: Jeff Lill
// COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... |
using System.Drawing;
namespace NerdyMishka
{
public partial class Chalk: IChalk
{
IChalk IChalk.BgBlack() => this.Chain(AnsiCodes.BgBlack);
IChalk IChalk.BgRed() => this.Chain(AnsiCodes.BgRed);
IChalk IChalk.BgGreen() => this.Chain(AnsiCodes.BgGreen);
IChalk IChalk.... |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
using System;
using System.Web.UI.WebControls;
using System.Web.UI;
using System.Compone... |
// Copyright © Kris Penner. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Linq;
using KodeAid;
namespace System.Collections.Generic
{
public static class ListExtensions
{
public static void AddRange<T>(this IList<T> list,... |
//------------------------------------------------------------------------------
// <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>
//---... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _5_ExercicioDesviosCondicionais
{
class Program
{
static void Main(string[] args)
{
/*Desenvolva um programa que leia 4 notas escolares de um aluno e calcul... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShardingCore.Sharding.ReadWriteConfigurations.Abstractions
{
public interface IReadWriteAppendConnectionString
{
bool AddReadConnectionString(string dataSourceName,string conne... |
/* The MIT License (MIT)
Copyright © Simon J Hughes 2012.
* Homepage: http://www.hicrest.net/
* Blog: http://simon-hughes.blogspot.co.uk/
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software withou... |
using System;
namespace Outracks.Fuse
{
public class Parsed<T>
{
public Optional<T> Value { get; set; }
public string String { get; set; }
public static Parsed<T> operator |(Parsed<T> a, Parsed<T> b)
{
return a.Or(b);
}
public static bool operator !(Parsed<T> result)
{
return !result.Value.Has... |
//------------------------------------------------------------------------------
// <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>
//---... |
namespace LoggingKata
{
/// <summary>
/// Parses a POI file to locate all the Taco Bells
/// </summary>
public class TacoParser
{
readonly ILog logger = new TacoLogger();
private double lon;
public double Lat { get; private set; }
public ITrackable Parse(string lin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ForceController : MonoBehaviour {
Rigidbody rb;
public float power=100f;
public float turnpower = 40f;
public float forwardspeed=40f;
public bool useCamera;
Vector3 forward;
int walk=1;
private GameObject owner;
// U... |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Stefan Lange
// Klaus Potzesny
// David Stephensen
//
// Copyright (c) 2001-2019 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://www.migradoc.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is ... |
// 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.Runtime.InteropServices;
using System.Collections;
namespace System.DirectoryServices.ActiveDirectory
... |
using ModulesRegistry.Services.Extensions;
using System;
namespace ModulesRegistry.Services
{
public record TextContent(string? Text, string Type, DateTimeOffset LastModified)
{
public string AsHtml => Text.HtmlFromMarkdown();
public static TextContent Empty => new(string.Empty, string.Empty,... |
using System;
using OTFontFile;
using OTFontFile.OTL;
namespace OTFontFileVal
{
/// <summary>
/// Summary description for val_GDEF.
/// </summary>
public class val_GDEF : Table_GDEF, ITableValidate
{
/************************
* constructors
*/
pub... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace _153264_152728.Models
{
public class Pedido
{
[Key]
public int IdPedido { get; set; }
public string Nome { get; set; }
public double Tot... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace BRamMachine
{
/// <summary>
/// Logika interakcji dla klasy App.xaml
/// </summary>
public partial class App : Application
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace PersonalFinance.Models.ViewModels
{
public class CategorySummary
{
public int Id { get; set; }
public string Name { get; set; }
public int CategoryTypesId { get; set; }
public decimal... |
using NAudio.Wave;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DeleteEmptyWav.Cmd
{
class EmptyWavDetector : IEmptyWavDetector
{
string _fileName;
float _max = 0;
float _threshold = 0F;
bool? _isEmpty = null;
int? _per... |
// 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.Generic;
using Xunit;
using Enumerable = Tutorial.LinqToObjects.EnumerableEx... |
namespace CoinbasePro.Services.StablecoinConversions
{
public class StablecoinConversion
{
public string FromCurrency { get; set; }
public string ToCurrency { get; set; }
public decimal Amount { get; set; }
}
} |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
/*============================================================
**
**
**
**
**
** Purpose: Hash table implementation
**
**
===========================================... |
// *** 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;
using Pulumi.Serialization;
names... |
/*
* 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 ... |
using CK.DB.Auth;
using CK.SqlServer;
using CK.Core;
namespace CK.DB.User.UserGitLab
{
public abstract partial class UserGitLabTable
{
/// <summary>
/// Creates or updates a user entry for this provider.
/// This is the "binding account" feature since it binds an external identity to
... |
@model ContosoUniversity.Models.Course
@{
ViewData["Title"] = "Edit";
}
<h2>Edit</h2>
<form asp-action="Edit">
<div class="form-horizontal">
<h4>Course</h4>
<hr />
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<input type="hidden" asp-for="CourseID" />
... |
using Editor_Mono.Cecil.Metadata;
using System;
namespace Editor_Mono.Cecil
{
internal sealed class MethodSemanticsTable : SortedTable<Row<MethodSemanticsAttributes, uint, uint>>
{
public override void Write(TableHeapBuffer buffer)
{
for (int i = 0; i < this.length; i++)
{
buffer.WriteUInt16((ushort)thi... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("te... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
singleton TSShapeConstructor(PBRTESTDae)
{
baseShape = "./PBRTEST.dae";
loadLights = "0";
}; |
using System;
using System.Runtime.Serialization;
namespace QuackScript.Core.Exceptions
{
public class QuackException : Exception
{
public QuackException() { }
public QuackException(string message) : base(message) { }
public QuackException(string message, Exception innerException) : ba... |
// (c) Copyright HutongGames, LLC 2010-2020. All rights reserved.
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Physics2D)]
[Tooltip("Sets the 2d Velocity of a Game Object. To leave any axis unchanged, set variable to 'None'. NOTE: Game object must have a rigidbody 2D.... |
// 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
usi... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
// FastNoise.cs
//
// MIT License
//
// Copyright(c) 2017 Jordan Peck
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to ... |
namespace Chapter_5.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddPriceToDataMigration : DbMigration
{
public override void Up()
{
AddColumn("dbo.Data", "Price", c => c.Decimal(nullable: false, precision: 18, scale: 2));
... |
using Newtonsoft.Json;
using OdinSdk.BaseLib.Coin.Trade;
using OdinSdk.BaseLib.Coin.Types;
namespace CCXT.NET.Bitfinex.Trade
{
/// <summary>
///
/// </summary>
public class BMyPositionItem : OdinSdk.BaseLib.Coin.Trade.MyPositionItem, IMyPositionItem
{
/// <summary>
///
/// ... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
namespace VSDemo
{
/// <summary>
/// Summary description for ObjectBrowser.
/// </summary>
public class ObjectBrowserView : System.Windows.Forms.UserControl
{
private System.... |
using System;
namespace PeNet.Parser
{
internal abstract class SafeParser<T>
where T : class
{
protected readonly byte[] Buff;
protected readonly uint Offset;
private bool _alreadyParsed;
private T _target;
internal SafeParser(byte[] buff, uint offset)
... |
using System.Diagnostics;
using TES3Lib.Base;
using TES3Lib.Subrecords.INGR;
using TES3Lib.Subrecords.Shared;
namespace TES3Lib.Records
{
/// <summary>
/// Ingredient Record
/// </summary>
[DebuggerDisplay("{NAME.EditorId}")]
public class INGR : Record
{
/// <summary>
/// Edito... |
namespace Path_Finder.Grid
{
public enum CellType
{
EMPTY, WALL, WEIGHT, START, END, BOMB
}
class Cell
{
public Position position { get; set; }
public Position parent { get; set; }
public CellType type { get; set; }
public bool visited { get; set; }
}
} |
using Dock.Model.Avalonia.Controls;
namespace AvaloniaDemo.ViewModels.Tools
{
public class RightBottomTool2ViewModel : Tool
{
}
} |
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public class TestTowerScript : MonoBehaviour {
public enum TowerType { Pawn, Knight, Bishop, Rook, King, Queen }
public enum TargetPriority { Closest, ClosestToCage, Furthest }
... |
// 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;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.EntityFramework... |
// C# TaskbarNotifier Class v2.0
// by John O'Byrne - 02 december 2002
// 01 april 2003 : Small fix in the OnMouseUp handler
// 11 january 2003 : Patrick Vanden Driessche <pvdd@devbrains.be> added a few enhancements
// Small Enhancements/Bugfix
// Small bugfix: When Content text measures larger than... |
// <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 generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
using System.Text.Json;
using JT905.Protocol.Extensions;
using JT905.Protocol.Interfaces;
using JT905.Protocol.MessagePack;
namespace JT905.Protocol.MessageBody
{
/// <summary>
/// 空车汇报距离间隔,单位为米(m)
/// 0x8103_=0x002C
/// </summary>
public class JT905_0x8103_0x002C : JT905_0x8103_BodyBase, IJT905Me... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
namespace Mossharbor.AzureWorkArounds.ServiceBus
{
/// <remarks/>
[System.SerializableAttribute]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]... |
using System.Collections.Generic;
public class DialogueData
{
public List<string> Dialogue;
} |
@model IEnumerable<IndyBeerNavigator.Models.SaleModels.SaleListItem>
@{
ViewBag.Title = "Index";
}
<body style=" background-image: url(https://images.unsplash.com/photo-1504502350688-00f5d59bbdeb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=400&q=60);
background-size: cover;
... |
namespace WindowsFormsApplication1
{
partial class player
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Boxters.Application.Orders.Queries.GetOrders.GetOrdersByState
{
public class GetOrdersByStateQueryHandler : IRequestHandler<GetOrdersByStateQuery, IE... |
namespace SharpOtto.Core
{
using System;
using System.Diagnostics;
/// <summary>
/// This class is responsible for generating cycles
/// based on the configured frequency.
/// </summary>
public class CyclesTimer
{
private Stopwatch systemWatch;
private int frequency;
... |
using System;
using System.Threading;
using ReactiveUI;
namespace SS14.Launcher.Models
{
public partial class ServerStatusCache
{
private sealed class Data : ReactiveObject, IServerStatusData
{
private string? _name;
private TimeSpan? _ping;
private int _play... |
using System;
public static class Rules
{
public static bool CanBeat(PacType f, PacType t) => GetAdvantage(f) == t;
public static PacType GetAdvantage(PacType f)
{
switch (f)
{
case PacType.Rock: return PacType.Scissors;
case PacType.Paper: return PacType.Rock;
case PacType.Scissors: ... |
using Orion.ModelFramework.Assets;
using Orion.ModelFramework.Calibrators.Bootstrappers;
namespace Orion.ModelFramework.Calibrators.Bootstrappers
{
/// <summary>
/// A bootstrap controller interface.
/// D - Denotes a generic type for bootstrap data
/// R - Denotes a generic type for the results
... |
using System.Collections.Generic;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Xaml;
#if UITEST
using Xamarin.Forms.Core.UITests;
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls.Issues
{
[Issue(IssueTracker.Github, 8715, "NullReferenceException Xamarin.Forms.Platfor... |
using Common;
using EuNet.Core;
using EuNet.Unity;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
public class Actor : MonoBehaviour , INetViewHandler, INetSerializable , INetViewPeriodicSync , IActorRpc
{
private NetView _view;
public NetView View => _view;
private ActorRpc _acto... |
namespace GraphQL.Types.Relay.DataObjects
{
public class Edge<TNode>
{
public string Cursor { get; set; }
public TNode Node { get; set; }
}
} |
/*
* Copyright 2022 James Maher
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... |
using System;
using Csla;
namespace ParentLoadRO.DataAccess.ERCLevel
{
/// <summary>
/// DTO for B09_Region_Child type
/// </summary>
public partial class B09_Region_ChildDto
{
/// <summary>
/// Gets or sets the parent Region ID.
/// </summary>
/// <value>The Region ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Microso... |
using Fortnox.SDK.Serialization;
using Newtonsoft.Json;
namespace Fortnox.SDK.Entities
{
[Entity(SingularName = "TermsOfDelivery", PluralName = "TermsOfDeliveries")]
public class TermsOfDelivery
{
///<summary> Direct url to the record </summary>
[ReadOnly]
[JsonProperty("@url")]
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ex... |
@model MoviesSystem.Models.ExternalLoginConfirmationViewModel
@{
ViewBag.Title = "Register";
}
<h2>@ViewBag.Title.</h2>
<h3>Associate your @ViewBag.LoginProvider account.</h3>
@using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "for... |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
usin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HallOfBeorn.Models
{
public interface ICard
{
string Slug { get; }
string SlugSuffix { get; }
string AlternateSlug { get; }
string Title { get; }
... |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
#pragma warning disable CS8618
[JsiiByValue(fqn: "aws.RedshiftSnapshotScheduleAssociationConfig")]
public class RedshiftSnapshotScheduleAssociationConfig : aws.IRedshiftSnapshotScheduleAssociationConfig
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Security;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Security;
using Umbraco.Web.Models;
using Umbraco.Web.PublishedCache;
using Umbraco.Core.Cache... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... |
// <copyright file="AspNetCoreIisMvc21Tests.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
#if NETCOREAPP... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace SharpNeatLib.NeatGenome
{
public class ConnectionGeneList : List<ConnectionGene>
{
static ConnectionGeneComparer connectionGeneComparer = new ConnectionGeneComparer();
//public bool OrderInvalidated=false;
#region Constructor... |
using Abp.Application.Features;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.MultiTenancy;
using Abp.Runtime.Caching;
using iMasterEnglishNG.Authorization.Users;
using iMasterEnglishNG.MultiTenancy;
namespace iMasterEnglishNG.Features
{
public class FeatureValueStore : AbpFeatureValueStore<Tenant... |
using Hoard;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Nethereum.Hex.HexConvertors.Extensions;
using System;
namespace HoardTests.AccountTools
{
/// <summary>
/// geth parameters
/// geth --identity "MyTestNetNode" --nodiscover --datadir "d:\hoard" --wsorigins="*" --ws --wsport... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Microsoft.DotNet.ShellShim;
using Microsoft.DotNet.ToolPackage;
namespace Microsoft.DotNe... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace KubeClient.Models.Converters
{
/// <summary>
/// Dynamic JSON converter for <see cref="ResourceEventV1{TResource}"/>.
/// </summary>
public class ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTLib2.Bioinfo
{
public partial class Hess
{
public static HessMatrix GetHessFixDiag(HessMatrix hess)
{
int size = hess.ColSize/3;
HDebug.Assert(size*3 == hess.ColSize, size*3 =... |
using System;
using System.Globalization;
using System.Text;
namespace TestNetProj
{
class Program
{
static void Main(string[] args)
{
TextInfo cf = new CultureInfo("en_US", false).TextInfo;
DateTime dSTamp = DateTime.Now;
if (args.Length > 0 && args.Length... |
// 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.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;... |
using System;
using Twenty57.Linx.Components.Database.Common;
using Twenty57.Linx.Components.Database.Mongo.Editors;
using Twenty57.Linx.Components.Database.Mongo.Editors.MongoJsonEditor.ViewModel;
using Twenty57.Linx.Components.MongoDB;
using Twenty57.Linx.Plugin.Common;
using Twenty57.Linx.Plugin.Common.Types;
using... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace IIoTPlatform_E2E_... |
using System;
using System.Collections.Generic;
using System.Linq;
using PartyScreenEnhancements.Saving;
using TaleWorlds.CampaignSystem;
using TaleWorlds.CampaignSystem.ViewModelCollection;
using TaleWorlds.Core;
using TaleWorlds.Core.ViewModelCollection;
using TaleWorlds.Library;
using TaleWorlds.Localization;
name... |
using Reinforced.Typings.Attributes;
using System.ComponentModel;
namespace Pandora.NetStandard.Model.Enums
{
[TsEnum]
public enum AttendanceEnum
{
[Description("Presente")]
ATTEND = 1,
[Description("Ausente")]
MISS,
[Description("Justificado")]
REASON,
... |
using DiscordRPC;
using GameState;
using System.Net;
using System.Text;
namespace CSGODiscordRP;
public class HttpServer
{
public static HttpListener Listener = new();
public static readonly string Url = "http://localhost:3000/";
public static void Start()
{
Listener.Prefixes.Add( Url );
Listener.Start();
... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Media;
namespace... |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StringOrdinalIgnoreCase = JDanielSmith.System.StringComparisonString<JDanielSmith.System.StringComparison.OrdinalIgnoreCase>;
namespace StringComparisonStringUnitTest;
[TestClass]
public class GetHashCodeUnitTe... |
using System;
using System.Text;
using ODS.ODSStreams;
using System.IO;
namespace ODS.Tags
{
/**
* <summary>A tag that contains a string.</summary>
*/
public class StringTag : Tag<string>
{
private string name;
private string value;
/**
* <summary>Construct a st... |
//------------------------------------------------------------------------------
// <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>
//--... |
// <auto-generated />
namespace Vidly.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial class Populat... |
using Recoil.net.DevTools.Data;
using RecoilNet;
using RecoilNet.Interfaces;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Recoil.net.DevTools.State
{
internal class ProcessState
{
public static readonly Atom<int> SelectedProcessIndex;
public static readonly Atom<IReadOnlyList<Proces... |
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Buffers;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Memory;
namespace SixLabors.ImageSharp.... |
using libplctag.NativeImport;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace LibplctagWrapper
{
public class Libplctag : IDisposable
{
private readonly Dictionary<string, Int32> _tags;
public Libplctag()
{
_tags = new Dictio... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace labs_24_gaming_interface
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Applicat... |
using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Api.Domain.Dtos.CEP;
using Api.Domain.Dtos.Municipios;
using Newtonsoft.Json;
using Xunit;
namespace Api.Integration.Test.Cep
{
public class QuandoRequisitarCep: BaseIntegration
{
[Fact]
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.