100+ results for '///'
Not the results you expected?
DelegateCommand.cs (https://bitbucket.org/barakianc/nvidia-physx-and-apex-in-gge.git) C# · 519 lines
8 namespace FilePackager.Commands
9 {
10 /// <summary>
11 /// This class allows delegating the commanding logic to methods passed as parameters,
12 /// and enables a View to bind commands to objects that are not part of the element tree.
13 /// </summary>
22 /// <summary>
23 /// Constructor
24 /// </summary>
25 public DelegateCommand(FuncExecute executeMethod, FuncCanExecute canExecuteMethod, bool isAutomaticRequeryDisabled, string name)
26 {
ConfigurationWindow.Designer.cs (https://bitbucket.org/tkempton/bookmarker.git) C# · 267 lines
3 partial class ConfigurationWindow
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
Checker.h (https://github.com/okuoku/freebsd-head.git) C Header · 394 lines
BrowserStream.h (https://github.com/GordonSmith/FireBreath.git) C Header · 276 lines
64 /// @author Matthias
65 ////////////////////////////////////////////////////////////////////////////////////////////////////
66 BrowserStream( const std::string& url, bool cache, bool requestSeekable, size_t internalBufferSize);
152 virtual bool isSeekableByServer() const;
154 ////////////////////////////////////////////////////////////////////////////////////////////////////
155 /// @fn virtual bool BrowserStream::isSeekableRequested() const;
159 /// @author Matthias
160 ////////////////////////////////////////////////////////////////////////////////////////////////////
161 virtual bool isSeekableRequested() const;
163 ////////////////////////////////////////////////////////////////////////////////////////////////////
164 /// @fn virtual bool BrowserStream::isSeekable() const;
OS_NS_stdlib.h (https://github.com/sysmaniax/k17oregoncoredb.git) C Header · 453 lines
195 // itoa not in spec
196 /// Converts an integer to a string.
197 ACE_NAMESPACE_INLINE_FUNCTION
198 char *itoa (int value, char *string, int radix);
200 #if defined (ACE_HAS_WCHAR)
201 /// Converts an integer to a string.
202 ACE_NAMESPACE_INLINE_FUNCTION
203 wchar_t *itoa (int value, wchar_t *string, int radix);
206 #if !defined (ACE_HAS_ITOA)
207 /// Emulated itoa - Converts an integer to a string.
208 extern ACE_Export
209 char *itoa_emulation (int value, char *string, int radix);
ModbusTransportFixture.cs (https://github.com/offlinehacker/Bastet-GUI.git) C# · 328 lines
80 }
82 /// <summary>
83 /// We should reread the response w/o retransmitting the request.
84 /// </summary>
85 [Test]
86 public void UnicastMessage_AcknowlegeSlaveException()
116 }
118 /// <summary>
119 /// We should retransmit the request.
120 /// </summary>
121 [Test]
122 public void UnicastMessage_SlaveDeviceBusySlaveException()
IObservableOrganizationMembersClient.cs (https://gitlab.com/Hexexpeck/GitHub-API-.NET) C# · 277 lines
6 public interface IObservableOrganizationMembersClient
7 {
8 /// <summary>
9 /// <para>
10 /// List all users who are members of an organization. A member is a user that
11 /// belongs to at least 1 team in the organization.
12 /// </para>
13 /// <para>
14 /// If the authenticated user is also an owner of this organization then both
15 /// concealed and public member will be returned.
16 /// </para>
17 /// <para>
kurl.c (https://github.com/adambarta/katcp.git) C · 587 lines
CmdGun.cs (https://github.com/cazzar/MCaznowl-Build.git) C# · 294 lines
MultiSelectorHelper.cs (https://github.com/MahApps/MahApps.Metro.git) C# · 324 lines
14 namespace MahApps.Metro.Controls
15 {
16 /// <summary>
17 /// Defines a helper class for SelectedItems binding on <see cref="ListBox"/>, <see cref="MultiSelector"/> or <see cref="MultiSelectionComboBox"/> controls.
18 /// </summary>
19 public static class MultiSelectorHelper
20 {
26 new FrameworkPropertyMetadata(null, OnSelectedItemsChanged));
28 /// <summary>
29 /// Handles disposal and creation of old and new bindings
30 /// </summary>
31 private static void OnSelectedItemsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
32 {
WcfAsync.cs (https://github.com/castleproject/Windsor.git) C# · 299 lines
22 private static readonly AsyncCallback Nothing = delegate { };
24 /// <summary>
25 /// Begins an asynchronous call of <paramref name="method"/> on given <paramref name="proxy"/>.
26 /// </summary>
27 /// <typeparam name="TProxy">The type of the proxy.</typeparam>
28 /// <typeparam name="TResult">The type of the result.</typeparam>
29 /// <param name="proxy">The proxy.</param>
30 /// <param name="method">The delegate encapsulating the invocation of the method.</param>
31 /// <returns>The async call handle.</returns>
36 }
38 /// <summary>
39 /// Begins an asynchronous call of <paramref name="method"/> on given <paramref name="proxy"/>.
PSAzureEnvironment.cs (https://gitlab.com/jslee1/azure-powershell) C# · 270 lines
17 namespace Microsoft.WindowsAzure.Commands.Profile.Models
18 {
19 /// <summary>
20 /// Settings and endpoints for management of Azure or Azure Stack services.
21 /// </summary>
22 public class PSAzureEnvironment
23 {
24 /// <summary>
25 /// Convert the PowerShell representation of environment to the internal representation.
26 /// </summary>
27 /// <param name="environment">The PowerShell environment to convert.</param>
Element.h (https://github.com/GordonSmith/FireBreath.git) C Header · 252 lines
33 /// This class should not be created directly; instead, use the Element::create method
34 ////////////////////////////////////////////////////////////////////////////////////////////////////
35 class Element : public virtual Node
36 {
39 virtual ~Element();
41 ////////////////////////////////////////////////////////////////////////////////////////////////////
42 /// @fn ElementPtr Element::element()
46 /// @return FB::DOM::ElementPtr point to the current object
47 ////////////////////////////////////////////////////////////////////////////////////////////////////
48 ElementPtr element() { return boost::dynamic_pointer_cast<Element>(node()); }
73 /// @return The inner html.
74 ////////////////////////////////////////////////////////////////////////////////////////////////////
75 virtual std::string getInnerHTML() const;
facHensel.h (https://github.com/YueRen/Sources.git) C Header · 243 lines
27 #include "fac_util.h"
29 /// sort a list of polynomials by their degree in @a x.
30 ///
31 void sortList (CFList& list, ///< [in, out] list of polys, sorted list
32 const Variable& x ///< [in] some Variable
33 );
35 /// Hensel lift from univariate to bivariate.
36 ///
37 /// @sa henselLiftResume12(), henselLift23(), henselLiftResume(), henselLift()
38 void
39 henselLift12 (const CanonicalForm& F, ///< [in] compressed, bivariate poly
UIDeprecated.h (https://github.com/dumganhar/cocos2d-x.git) C Header · 167 lines
ExportProvider.cs (https://github.com/iainlane/mono.git) C# · 235 lines
12 namespace System.ComponentModel.Composition.Hosting
13 {
14 /// <summary>
15 /// Defines the <see langword="abstract"/> base class for export providers, which provide
16 /// methods for retrieving <see cref="Export"/> objects.
17 /// </summary>
20 private static readonly Export[] EmptyExports = new Export[] { };
22 /// <summary>
23 /// Initializes a new instance of the <see cref="ExportProvider"/> class.
24 /// </summary>
25 protected ExportProvider()
26 {
SQLiteDataService.cs (https://github.com/prasad83/inbox2_desktop.git) C# · 458 lines
HandlerBase.java (https://gitlab.com/manoj-makkuboy/magnetism) Java · 352 lines
34 //////////////////////////////////////////////////////////////////////
35 // Default implementation of the EntityResolver interface.
36 //////////////////////////////////////////////////////////////////////
65 //////////////////////////////////////////////////////////////////////
66 // Default implementation of DTDHandler interface.
67 //////////////////////////////////////////////////////////////////////
111 //////////////////////////////////////////////////////////////////////
112 // Default implementation of DocumentHandler interface.
113 //////////////////////////////////////////////////////////////////////
QueryAttributeOwnershipTest.cpp (https://github.com/graeme-muller/portico.git) C++ · 272 lines
20 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( QueryAttributeOwnershipTest, "ownershipManagement" );
22 /////////////////////////////////////////////////////////////////////////////////////////////
23 ////////////////////////////////// Constructors/Destructors /////////////////////////////////
24 /////////////////////////////////////////////////////////////////////////////////////////////
25 QueryAttributeOwnershipTest::QueryAttributeOwnershipTest()
26 {
35 }
37 /////////////////////////////////////////////////////////////////////////////////////////////
38 /////////////////////////////// Test Setup and Helper Methods ///////////////////////////////
73 /////////////////////////// Query Attribute Ownership Test Methods //////////////////////////
74 /////////////////////////////////////////////////////////////////////////////////////////////
75 // void queryAttributeOwnership( ObjectHandle theObject, // supplied C1
76 // AttributeHandle theAttribute ) // supplied C1
mavlink_msg_scaled_imu.h (https://github.com/flixr/mavlink-ivy-interface.git) C Header · 342 lines
5 typedef struct __mavlink_scaled_imu_t
6 {
7 uint32_t time_boot_ms; ///< Timestamp (milliseconds since system boot)
8 int16_t xacc; ///< X acceleration (mg)
9 int16_t yacc; ///< Y acceleration (mg)
10 int16_t zacc; ///< Z acceleration (mg)
11 int16_t xgyro; ///< Angular speed around X axis (millirad /sec)
12 int16_t ygyro; ///< Angular speed around Y axis (millirad /sec)
13 int16_t zgyro; ///< Angular speed around Z axis (millirad /sec)
14 int16_t xmag; ///< X Magnetic field (milli tesla)
15 int16_t ymag; ///< Y Magnetic field (milli tesla)
16 int16_t zmag; ///< Z Magnetic field (milli tesla)
DBClusterSnapshot.cs (https://gitlab.com/CORP-RESELLER/aws-sdk-net) C# · 378 lines
basic_stream_handle.hpp (https://gitlab.com/kokeiro001/YamabiYagiNoHoko) C++ Header · 302 lines
33 namespace windows {
35 /// Provides stream-oriented handle functionality.
36 /**
37 * The windows::basic_stream_handle class template provides asynchronous and
50 {
51 public:
52 /// The native representation of a handle.
53 typedef typename StreamHandleService::native_type native_type;
55 /// Construct a basic_stream_handle without opening it.
56 /**
57 * This constructor creates a stream handle without opening it. The handle
NoFolder.h (https://gitlab.com/Birhetia/platform_external_llvm) C Header · 299 lines
refinementSurfaces.H (https://gitlab.com/johnvarv/OpenFOAM-3.0.x) C Header · 368 lines
se_popkill.S (https://bitbucket.org/codefirex/toolchain_gdb.git) Assembly · 566 lines
11 ///////////////////////// Include Files /////////////////////////////
12 /////////////////////////////////////////////////////////////////////////////
14 include(std.inc)
16 include(symtable.inc)
18 /////////////////////////////////////////////////////////////////////////////
19 ///////////////////////// Defines /////////////////////////////
271 ///////////////////////// IGV8 ISR /////////////////////////////
272 /////////////////////////////////////////////////////////////////////////////
274 IGV8_ISR :
316 .dw 0xFFFF
318 /////////////////////////////////////////////////////////////////////////////
319 ///////////////////////// IGV11 ISR /////////////////////////////
Create.cs (https://bitbucket.org/pmfsampaio/netmf-lpc.git) C# · 314 lines
1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
mavlink_msg_log_request_data.h (https://gitlab.com/fsgdez/apm_planner) C Header · 305 lines
5 typedef struct __mavlink_log_request_data_t
6 {
7 uint32_t ofs; ///< Offset into the log
8 uint32_t count; ///< Number of bytes
9 uint16_t id; ///< Log id (from LOG_ENTRY reply)
10 uint8_t target_system; ///< System ID
11 uint8_t target_component; ///< Component ID
12 } mavlink_log_request_data_t;
vtkSlicerFoundationIcons.h (https://github.com/LinjieChen/Slicer3.git) C Header · 247 lines
simd_mat4.inl (https://gitlab.com/Nissun93/Raytracer) C++ Header · 577 lines
Trigonometry.cs (https://github.com/tjom/MIRPCADB.git) C# · 450 lines
24 namespace MathNet.Numerics
25 {
26 /// <summary>
27 /// Double-precision trigonometry toolkit.
28 /// </summary>
29 public static class Trig
30 {
31 #region Angle Conversion
33 /// <summary>
34 /// Converts a degree (360-periodic) angle to a radian (2*Pi-periodic) angle.
35 /// </summary>
36 public static
37 double
InvokeDelegateWithConditionalAccessTests.cs (https://gitlab.com/sharadag/Roslyn) C# · 636 lines
168 }
170 /// <remarks>
171 /// With multiple variables in the same declaration, the fix _is not_ offered on the declaration
172 /// itself, but _is_ offered on the invocation pattern.
173 /// </remarks>
199 }
201 /// <remarks>
202 /// If we have a variable declaration and if it is read/written outside the delegate
203 /// invocation pattern, the fix is not offered on the declaration.
204 /// </remarks>
223 }
225 /// <remarks>
226 /// If we have a variable declaration and if it is read/written outside the delegate
dual_quaternion.inl (https://gitlab.com/gazdik/FTGL3) C++ Header · 421 lines
1 ///////////////////////////////////////////////////////////////////////////////////
2 /// OpenGL Mathematics (glm.g-truc.net)
26 /// @author Maksim Vorobiev (msomeone@gmail.com)
27 ///////////////////////////////////////////////////////////////////////////////////
29 #include "../geometric.hpp"
115 }
117 //////////////////////////////////////////////////////////////
118 // tdualquat<valType> operators
140 }
142 //////////////////////////////////////////////////////////////
143 // tquat<valType> external operators
Form1.Designer.cs (https://gitlab.com/Estebxn/Evaluacion) C# · 270 lines
3 partial class Form1
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
HTTPEvent.cs (https://github.com/Vanaheimr/Hermod.git) C# · 411 lines
any_iterator_metafunctions.hpp (https://github.com/iaefai/Spider-Fish.git) C++ Header · 363 lines
52 {
54 ///////////////////////////////////////////////////////////////////////
55 //
56 template<typename T>
66 };
68 ///////////////////////////////////////////////////////////////////////
69 //
70 template<typename IteratorReference>
90 };
92 ///////////////////////////////////////////////////////////////////////
93 //
94 template<
MuonSach.cs (https://gitlab.com/gitvani/quanlithuvien) C# · 331 lines
CommunicationBag.cs (https://github.com/SparkDevNetwork/Rock.git) C# · 359 lines
29 namespace Rock.ViewModels.Entities
30 {
31 /// <summary>
32 /// Communication View Model
33 /// </summary>
34 public partial class CommunicationBag : EntityBagBase
35 {
36 /// <summary>
37 /// Gets or sets a JSON string containing any additional merge fields for the Communication.
38 /// </summary>
39 /// <value>
NuGenTrafo3F.cs (https://github.com/AnthonyNystrom/GenXSource.git) C# · 320 lines
DataExtractor.h (https://bitbucket.org/iorivur/freebsd-bhyve-with-suspend-resume.git) C Header · 355 lines
21 uint8_t AddressSize;
22 public:
23 /// Construct with a buffer that is owned by the caller.
24 ///
25 /// This constructor allows us to use data that is owned by the
26 /// caller. The data must stay around as long as this object is
27 /// valid.
28 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize)
29 : Data(Data), IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {}
31 /// \brief Get the data pointed to by this extractor.
32 StringRef getData() const { return Data; }
33 /// \brief Get the endianess for this extractor.
type_mat4x4.hpp (https://bitbucket.org/vtlmks/include.git) C++ Header · 320 lines
1 ///////////////////////////////////////////////////////////////////////////////////
2 /// OpenGL Mathematics (glm.g-truc.net)
3 ///
4 /// Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net)
5 /// Permission is hereby granted, free of charge, to any person obtaining a copy
6 /// of this software and associated documentation files (the "Software"), to deal
26 /// @author Christophe Riccio
27 ///////////////////////////////////////////////////////////////////////////////////
29 #ifndef glm_core_type_mat4x4
95 col_type const & v3);
97 //////////////////////////////////////
98 // Conversions
99 template <typename U>
BevelBitmapEffect.cs (https://github.com/tforsberg/z.git) C# · 374 lines
57 #region Public Methods
59 /// <summary>
60 /// Shadows inherited Clone() with a strongly typed
61 /// version for convenience.
62 /// </summary>
66 }
68 /// <summary>
69 /// Shadows inherited CloneCurrentValue() with a strongly typed
70 /// version for convenience.
71 /// </summary>
118 #region Public Properties
120 /// <summary>
121 /// BevelWidth - double. Default value is 5.0.
ExtFileDialog.h
(https://jetpp.svn.sourceforge.net/svnroot/jetpp)
C++ Header · 63 lines
✨ Summary
This is a C++ header file for a custom dialog box, specifically an extended file dialog. It provides functionality for displaying and editing files, including previewing image data. The class CExtFileDialog
inherits from CFileDialog
and adds additional features such as level info and preview capabilities. It also includes message handling and event handlers for various dialog box events.
This is a C++ header file for a custom dialog box, specifically an extended file dialog. It provides functionality for displaying and editing files, including previewing image data. The class CExtFileDialog
inherits from CFileDialog
and adds additional features such as level info and preview capabilities. It also includes message handling and event handlers for various dialog box events.
ChunkRef.cs (https://github.com/jaquadro/Substrate.git) C# · 334 lines
6 namespace Substrate
7 {
8 /// <summary>
9 /// Provides a wrapper around a physical Chunk stored in a chunk container.
10 /// </summary>
11 /// <remarks>
12 /// Modifying data in a ChunkRef will signal to the chunk container that the physical chunk needs to be saved.
13 /// </remarks>
26 private bool _dirty;
28 /// <summary>
29 /// Gets the global X-coordinate of the chunk.
30 /// </summary>
31 public int X
32 {
H5EnumType.cpp (https://gitlab.com/jeff.lovelace/hypermac) C++ · 278 lines
38 //--------------------------------------------------------------------------
39 // Function: EnumType default constructor
40 ///\brief Default constructor: Creates a stub datatype
41 // Programmer Binh-Minh Ribler - 2000
42 //--------------------------------------------------------------------------
45 //--------------------------------------------------------------------------
46 // Function: EnumType overloaded constructor
47 ///\brief Creates an EnumType object using the id of an existing datatype.
48 ///\param existing_id - IN: Id of an existing datatype
49 ///\exception H5::DataTypeIException
50 // Programmer Binh-Minh Ribler - 2000
51 //--------------------------------------------------------------------------
54 //--------------------------------------------------------------------------
55 // Function: EnumType copy constructor
56 ///\brief Copy constructor: makes a copy of the original EnumType object.
57 // Programmer Binh-Minh Ribler - 2000
58 //--------------------------------------------------------------------------
alterarColaborador.aspx.designer.cs (https://github.com/igorpontes/ZCR.git) C# · 313 lines
14 public partial class AlterarColaborador {
16 /// <summary>
17 /// Label1 control.
18 /// </summary>
19 /// <remarks>
20 /// Auto-generated field.
21 /// To modify move field declaration from designer file to code-behind file.
22 /// </remarks>
23 protected global::System.Web.UI.WebControls.Label Label1;
25 /// <summary>
26 /// LabelErro control.
mavlink_msg_battery_status.h (https://bitbucket.org/nikhil/qgc.git) C Header · 320 lines
5 typedef struct __mavlink_battery_status_t
6 {
7 uint16_t voltage_cell_1; ///< Battery voltage of cell 1, in millivolts (1 = 1 millivolt)
8 uint16_t voltage_cell_2; ///< Battery voltage of cell 2, in millivolts (1 = 1 millivolt), -1: no cell
9 uint16_t voltage_cell_3; ///< Battery voltage of cell 3, in millivolts (1 = 1 millivolt), -1: no cell
10 uint16_t voltage_cell_4; ///< Battery voltage of cell 4, in millivolts (1 = 1 millivolt), -1: no cell
11 uint16_t voltage_cell_5; ///< Battery voltage of cell 5, in millivolts (1 = 1 millivolt), -1: no cell
12 uint16_t voltage_cell_6; ///< Battery voltage of cell 6, in millivolts (1 = 1 millivolt), -1: no cell
13 int16_t current_battery; ///< Battery current, in 10*milliamperes (1 = 10 milliampere), -1: autopilot does not measure the current
14 uint8_t accu_id; ///< Accupack ID
15 int8_t battery_remaining; ///< Remaining battery energy: (0%: 0, 100%: 100), -1: autopilot does not estimate the remaining battery
16 } mavlink_battery_status_t;
no-store-func-path-notes.cpp (https://gitlab.com/williamwp/riscv-rv32x-llvm) C++ · 376 lines
AABBSV.h (https://github.com/samneirinck/awesomium-ce3.git) C Header · 331 lines
ShapeDescriptor.cpp (https://github.com/deeplearning4j/deeplearning4j.git) C++ · 380 lines
25 namespace sd {
27 //////////////////////////////////////////////////////////////////////////
28 // equal to operator
29 bool ShapeDescriptor::operator==(const ShapeDescriptor &other) const {
49 }
51 //////////////////////////////////////////////////////////////////////////
52 // less than operator
53 bool ShapeDescriptor::operator<(const ShapeDescriptor &other) const {
141 }
143 //////////////////////////////////////////////////////////////////////////
144 ShapeDescriptor::ShapeDescriptor(const DataType type, const char order, const std::vector<Nd4jLong> &shape)
145 : _dataType(type), _order(order), _shape(shape) {
lib.es2015.iterable.d.ts (https://gitlab.com/garbotron/goshots2) TypeScript Typings · 461 lines
lazy.hpp (https://github.com/apple/turicreate.git) C++ Header · 407 lines
ChannelHandlers.swift (https://github.com/apple/swift-nio.git) Swift · 338 lines
19 /// A `ChannelHandler` that implements a backoff for a `ServerChannel` when accept produces an `IOError`.
20 /// These errors are often recoverable by reducing the rate at which we call accept.
27 private var scheduledRead: Optional<Scheduled<Void>>
29 /// Default implementation used as `backoffProvider` which delays accept by 1 second.
30 public static func defaultBackoffProvider(error: IOError) -> TimeAmount? {
31 return .seconds(1)
32 }
34 /// Create a new instance
35 ///
36 /// - parameters:
37 /// - backoffProvider: returns a `TimeAmount` which will be the amount of time to wait before attempting another `read`.
MaterialStack.cs (https://github.com/xenko3d/xenko.git) C# · 302 lines
15 namespace Material
16 {
17 /// <summary>
18 /// Enumeration of the different types of node in the new Assimp's material stack.
19 /// </summary>
20 public enum StackType
21 {
24 Operation
25 }
26 /// <summary>
27 /// Enumeration of the new Assimp's flags.
28 /// </summary>
29 public enum Flags
30 {
PrimitiveTypeSerializers.cs (https://github.com/xenko3d/xenko.git) C# · 372 lines
9 namespace Stride.Core.Serialization.Serializers
10 {
11 /// <summary>
12 /// Data serializer for string.
13 /// </summary>
14 [DataSerializerGlobal(typeof(UriSerializer))]
15 public class UriSerializer : DataSerializer<Uri>
16 {
17 /// <inheritdoc/>
18 public override void Serialize(ref Uri obj, ArchiveMode mode, SerializationStream stream)
19 {
32 }
34 /// <summary>
35 /// Data serializer for string.
surround_with.dart (https://github.com/dart-lang/sdk.git) Dart · 364 lines
64 }
66 /// Return an instance of this class. Used as a tear-off in `AssistProcessor`.
67 static SurroundWith newInstance() => SurroundWith();
68 }
70 /// A correction processor that can make one of the possible change computed by
71 /// the [SurroundWith] producer.
83 }
85 /// A correction processor that can make one of the possible change computed by
86 /// the [SurroundWith] producer.
106 }
108 /// A correction processor that can make one of the possible change computed by
109 /// the [SurroundWith] producer.
VirtualSequenceList.cs (https://MSCompBio.svn.codeplex.com/svn) C# · 398 lines
20 namespace Bio.IO
21 {
22 /// <summary>
23 /// A VirtualSequenceList is used to store huge list of sequences where all items in the
24 /// list might not be held in memory always. This list will get the item from cache or
25 /// a virtual data provider when requested. Example, FastA file has more than one
26 /// sequence and Data Virtualization returns this class and then, on demand
27 /// each sequences are loaded from the FastA file using parser.
28 /// </summary>
29 public class VirtualSequenceList : IVirtualSequenceList
30 {
31 #region Fields
32 /// <summary>
33 /// Number of items in the actual file
GitPatternRepository.json.cs (https://github.com/Azure/azure-powershell.git) C# · 137 lines
3 using static Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.Extensions;
5 /// <summary>Git repository property payload</summary>
6 public partial class GitPatternRepository
7 {
9 /// <summary>
10 /// <c>AfterFromJson</c> will be called after the json deserialization has finished, allowing customization of the object
11 /// before it is returned. Implement this method in a partial class to enable this behavior
12 /// </summary>
13 /// <param name="json">The JsonNode that should be deserialized into this object.</param>
15 partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Runtime.Json.JsonObject json);
conv.h (https://github.com/pytorch/pytorch.git) C Header · 382 lines
19 > conv_padding_mode_t;
21 /// Options for a `D`-dimensional convolution or convolution transpose module.
22 template <size_t D>
23 struct ConvNdOptions {
30 kernel_size_(std::move(kernel_size)) {}
32 /// The number of channels the input volumes will have.
33 /// Changing this parameter after construction __has no effect__.
34 TORCH_ARG(int64_t, in_channels);
36 /// The number of output channels the convolution should produce.
37 /// Changing this parameter after construction __has no effect__.
38 TORCH_ARG(int64_t, out_channels);
40 /// The kernel size to use.
41 /// For a `D`-dim convolution, must be a single number or a list of `D`
AbbreviationEditorForm.Designer.cs (https://github.com/01org/acat.git) C# · 231 lines
4 partial class AbbreviationEditorForm
5 {
6 /// <summary>
7 /// Required designer variable.
8 /// </summary>
9 private System.ComponentModel.IContainer components = null;
11 /// <summary>
12 /// Clean up any resources being used.
13 /// </summary>
14 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
LuaClass.cs (git://github.com/mlnlover11/SharpLua.git) C# · 329 lines
ProjectionCamera.cs (https://github.com/dotnet/wpf.git) C# · 364 lines
50 #region Public Methods
52 /// <summary>
53 /// Shadows inherited Clone() with a strongly typed
54 /// version for convenience.
55 /// </summary>
59 }
61 /// <summary>
62 /// Shadows inherited CloneCurrentValue() with a strongly typed
63 /// version for convenience.
64 /// </summary>
118 #region Public Properties
120 /// <summary>
121 /// NearPlaneDistance - double. Default value is (double)0.125.
Person.cs (https://github.com/OfficeDev/ews-managed-api.git) C# · 415 lines
HelpGenerator.swift (https://github.com/oarrabi/Guaka.git) Swift · 486 lines
10 /// Protocol that defines the help generation logic.
11 /// This protocol has an extension that implements all the methods required.
12 /// You can choose to override `helpMessage` to completely costumize the help message to print.
13 /// Alternatively, override one of the sections only to alter that section.
14 ///
15 /// When the help is about to be printed, a `CommandHelp` is generated from the current `Command`.
16 /// a `HelpGenerator` is created and passed this `CommandHelp`.
17 /// the `HelpGenerator` is used to print the help message string
18 ///
19 /// -----
CompanyInformation.cs (https://github.com/StyleCop/StyleCop.git) C# · 367 lines
22 using System.Windows.Forms;
24 /// <summary>
25 /// Allows setting the company and copyright requirements.
26 /// </summary>
27 public partial class CompanyInformation : UserControl, IPropertyControlPage
28 {
29 #region Fields
31 /// <summary>
32 /// The analyzer that this settings page is attached to.
33 /// </summary>
34 private readonly SourceAnalyzer analyzer;
ImmutableSortedDictionary.cs (https://gitlab.com/0072016/0072016-corefx-) C# · 252 lines
10 namespace System.Collections.Immutable
11 {
12 /// <summary>
13 /// A set of initialization methods for instances of <see cref="ImmutableSortedDictionary{TKey, TValue}"/>.
14 /// </summary>
15 [SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix")]
16 public static class ImmutableSortedDictionary
17 {
18 /// <summary>
19 /// Returns an empty collection.
20 /// </summary>
21 /// <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
IMappedStatement.cs (https://github.com/wangsying/SpiderJobs.git) C# · 322 lines
36 namespace IBatisNet.DataMapper.MappedStatements
37 {
38 /// <summary>
39 ///
40 /// </summary>
41 public delegate void ExecuteEventHandler(object sender, ExecuteEventArgs e);
43 /// <summary>
44 /// Summary description for IMappedStatement.
45 /// </summary>
46 public interface IMappedStatement
47 {
Filter.cs (https://webquarters.svn.codeplex.com/svn) C# · 325 lines
STM32F4_bootstrap.cpp (https://github.com/NETMF/netmf-interpreter.git) C++ · 303 lines
1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
10 // *** Bootstrap ***
11 //
12 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
14 #include <tinyhal.h>
24 #endif
26 ///////////////////////////////////////////////////////////////////////////////
EventHandler.swift (https://github.com/Azoy/Sword.git) Swift · 423 lines
CreateVector.cs (https://github.com/matryx/calcflow.git) C# · 312 lines
37 public static class CreateVector
38 {
39 /// <summary>
40 /// Create a new vector straight from an initialized matrix storage instance.
41 /// If you have an instance of a discrete storage type instead, use their direct methods instead.
42 /// </summary>
47 }
49 /// <summary>
50 /// Create a new vector with the same kind of the provided example.
51 /// </summary>
52 public static Vector<T> SameAs<T,TU>(Vector<TU> example, int length)
53 where T : struct, IEquatable<T>, IFormattable
ITransactionalCommand.cs
(http://dblinq2007.googlecode.com/svn/trunk/)
C# · 52 lines
✨ Summary
This C# code defines an interface ITransactionalCommand
for a transaction-aware command, which is part of a database provider. It provides methods to get the underlying IDbCommand and commit the current transaction, allowing for atomic operations in a database context. The interface also implements IDisposable to ensure proper disposal of resources.
This C# code defines an interface ITransactionalCommand
for a transaction-aware command, which is part of a database provider. It provides methods to get the underlying IDbCommand and commit the current transaction, allowing for atomic operations in a database context. The interface also implements IDisposable to ensure proper disposal of resources.
locale_facets.h
(https://bitbucket.org/freebsd/freebsd-head/)
C++ Header · 4689 lines
✨ Summary
This C++ header file provides a set of functions and interfaces for working with character classes, such as space, print, control, upper, lower, alpha, digit, punct, xdigit, alnum, graph, toupper, and tolower. These functions are used in various applications, including text processing, formatting, and input/output operations, to classify characters based on their properties.
This C++ header file provides a set of functions and interfaces for working with character classes, such as space, print, control, upper, lower, alpha, digit, punct, xdigit, alnum, graph, toupper, and tolower. These functions are used in various applications, including text processing, formatting, and input/output operations, to classify characters based on their properties.
148 public:
149 // Types:
150 /// Typedef for the template parameter
151 typedef _CharT char_type;
612 typedef typename __ctype_abstract_base<_CharT>::mask mask;
614 /// The facet id for ctype<char_type>
615 static locale::id id;
678 public:
679 // Types:
680 /// Typedef for the template parameter char.
681 typedef char char_type;
WorkItemsGroup.cs
(git://github.com/aurora-sim/Aurora-Sim.git)
C# · 510 lines
✨ Summary
This is a C# implementation of a work items group, which manages a pool of tasks to be executed by a thread pool. It provides methods for starting and stopping the group, canceling all tasks, and firing an event when the group is idle. The code uses synchronization mechanisms to ensure thread safety and handles task completion and cancellation.
This is a C# implementation of a work items group, which manages a pool of tasks to be executed by a thread pool. It provides methods for starting and stopping the group, canceling all tasks, and firing an event when the group is idle. The code uses synchronization mechanisms to ensure thread safety and handles task completion and cancellation.
12 #region WorkItemsGroup class
14 /// <summary>
15 /// Summary description for WorkItemsGroup.
16 /// </summary>
17 public class WorkItemsGroup : IWorkItemsGroup
18 {
19 #region Private members
21 /// <summary>
22 /// Defines how many work items of this WorkItemsGroup can run at once.
23 /// </summary>
24 private readonly int _concurrency;
login.aspx.designer.cs
(http://uniquestudiocms.googlecode.com/svn/trunk/)
C# · 278 lines
✨ Summary
This is a generated C# code for an ASP.NET web page, specifically a login form. It defines a class login
with various controls such as text boxes, checkboxes, buttons, and validators, which are used to validate user input during the login process. The code provides a basic structure for handling user authentication and registration functionality.
This is a generated C# code for an ASP.NET web page, specifically a login form. It defines a class login
with various controls such as text boxes, checkboxes, buttons, and validators, which are used to validate user input during the login process. The code provides a basic structure for handling user authentication and registration functionality.
14 public partial class login {
16 /// <summary>
17 /// form1 control.
18 /// </summary>
19 /// <remarks>
20 /// Auto-generated field.
21 /// To modify move field declaration from designer file to code-behind file.
22 /// </remarks>
23 protected global::System.Web.UI.HtmlControls.HtmlForm form1;
25 /// <summary>
26 /// divLogin control.
ws_accessService.cpp
(git://github.com/hpcc-systems/HPCC-Platform.git)
C++ · 4715 lines
✨ Summary
This C++ code is part of a web application that handles security-related functionality. It provides methods for checking if authentication is enabled, handling Firefox compatibility issues, and generating HTML responses for error messages. The code uses exception handling to catch and forward errors, ensuring the application remains stable and functional.
This C++ code is part of a web application that handles security-related functionality. It provides methods for checking if authentication is enabled, handling Firefox compatibility issues, and generating HTML responses for error messages. The code uses exception handling to catch and forward errors, ensuring the application remains stable and functional.
std_hash_set_fwd.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file defines a set of forward declarations for hash-based containers, specifically hash_set
and hash_multiset
. It provides a way to use these containers in Boost’s standard library extension namespace, while allowing for different implementations depending on the compiler being used (MSVC or Dinkumware).
This C++ header file defines a set of forward declarations for hash-based containers, specifically hash_set
and hash_multiset
. It provides a way to use these containers in Boost’s standard library extension namespace, while allowing for different implementations depending on the compiler being used (MSVC or Dinkumware).
7 //
8 // Modeled after range_ex, Copyright 2004 Eric Niebler
9 ///////////////////////////////////////////////////////////////////////////////
10 //
11 // std_hash_set_fwd.hpp
12 //
13 /////////////////////////////////////////////////////////////////////////////
15 #if defined(_MSC_VER) && _MSC_VER >= 1000
shBrushCSharp.js
(git://github.com/alexgorbatchev/SyntaxHighlighter.git)
JavaScript · 50 lines
✨ Summary
This JavaScript code defines a syntax highlighting brush for C# programming language, specifically for use with SyntaxHighlighter. It includes regular expressions to match various C# features such as comments, strings, keywords, and preprocessor directives. The brush is then registered with the SyntaxHighlighter library, allowing it to be used in HTML documents to highlight C# code.
This JavaScript code defines a syntax highlighting brush for C# programming language, specifically for use with SyntaxHighlighter. It includes regular expressions to match various C# features such as comments, strings, keywords, and preprocessor directives. The brush is then registered with the SyntaxHighlighter library, allowing it to be used in HTML documents to highlight C# code.
complex_number_easier.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ program generates complex numbers from user input and prints them out in a specific format. It uses the Boost Spirit library to parse and generate complex numbers, allowing users to enter numbers in various formats (e.g., “r”, “®”, “(r,i)”). The program continues to prompt for input until the user types “[q or Q]”.
This C++ program generates complex numbers from user input and prints them out in a specific format. It uses the Boost Spirit library to parse and generate complex numbers, allowing users to enter numbers in various formats (e.g., “r”, “®”, “(r,i)”). The program continues to prompt for input until the user types “[q or Q]”.
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ///////////////////////////////////////////////////////////////////////////////
8 //
9 // A complex number micro generator - take 2. Look'ma no semantic actions!
11 // [ HK July 26, 2009 ] spirit2
12 //
13 ///////////////////////////////////////////////////////////////////////////////
15 #include <boost/config/warning_disable.hpp>
81 }
83 ///////////////////////////////////////////////////////////////////////////////
84 // Main program
85 ///////////////////////////////////////////////////////////////////////////////
ptree_fwd.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file defines a property tree data structure, which is a hierarchical container for storing and manipulating key-value pairs. It provides classes and functions for creating, accessing, and manipulating property trees with various key types (e.g., strings) and comparison methods. The code also includes throwing macros and typedefs for convenience.
This C++ header file defines a property tree data structure, which is a hierarchical container for storing and manipulating key-value pairs. It provides classes and functions for creating, accessing, and manipulating property trees with various key types (e.g., strings) and comparison methods. The code also includes throwing macros and typedefs for convenience.
66 }
67 #endif
68 /// If you want to use a custom key type, specialize this struct for it
69 /// and give it a 'type' typedef that specifies your path type. The path
70 /// type must conform to the Path concept described in the documentation.
71 /// This is already specialized for std::basic_string.
73 struct path_of;
75 /// Specialize this struct to specify a default translator between the data
76 /// in a tree whose data_type is Internal, and the external data_type
77 /// specified in a get_value, get, put_value or put operation.
78 /// This is already specialized for Internal being std::basic_string.
is_std_map.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file defines a metafunction is_std_map
that checks if a given type is a standard map (e.g., std::map
, std::multimap
) by comparing it to the std::map
and std::multimap
types using SFINAE. It also provides a similar but separate is_std_multimap
for multimap types, allowing users to determine if their type is a standard map or multimap at compile-time.
This C++ header file defines a metafunction is_std_map
that checks if a given type is a standard map (e.g., std::map
, std::multimap
) by comparing it to the std::map
and std::multimap
types using SFINAE. It also provides a similar but separate is_std_multimap
for multimap types, allowing users to determine if their type is a standard map or multimap at compile-time.
7 //
8 // Modeled after range_ex, Copyright 2004 Eric Niebler
9 ///////////////////////////////////////////////////////////////////////////////
10 //
11 // is_std_map.hpp
12 //
13 /////////////////////////////////////////////////////////////////////////////
15 #if defined(_MSC_VER) && _MSC_VER >= 1000
parse.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file defines two template metaprogramming structs, parse_impl
and phrase_parse_impl
, which are used to parse expressions in the Boost.Spirit Qi library. They ensure that the input expressions match the Qi domain and provide a way to compile and execute them for parsing purposes.
This C++ header file defines two template metaprogramming structs, parse_impl
and phrase_parse_impl
, which are used to parse expressions in the Boost.Spirit Qi library. They ensure that the input expressions match the Qi domain and provide a way to compile and execute them for parsing purposes.
21 namespace boost { namespace spirit { namespace qi { namespace detail
22 {
23 ///////////////////////////////////////////////////////////////////////////
24 template <typename Expr, typename Enable = void>
25 struct parse_impl
48 };
50 ///////////////////////////////////////////////////////////////////////////
51 template <typename Expr, typename Enable = void>
52 struct phrase_parse_impl
perl.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 595 lines
edition.cs
(http://google-gdata.googlecode.com/svn/trunk/)
C# · 33 lines
✨ Summary
This C# code defines a class Edition
that inherits from SimpleElement
. It represents an element in the Google GData ContentForShopping namespace, specifically for representing editions of products. The constructor initializes the element with default values and prefixes.
This C# code defines a class Edition
that inherits from SimpleElement
. It represents an element in the Google GData ContentForShopping namespace, specifically for representing editions of products. The constructor initializes the element with default values and prefixes.
wchar_from_mb.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file defines a class wchar_from_mb
that translates char strings to wchar_t strings of the currently selected locale. It’s used by text archives to convert character data into wide characters, allowing for proper handling of Unicode characters in different locales. The class is designed to be compatible with various compilers and platforms.
This C++ header file defines a class wchar_from_mb
that translates char strings to wchar_t strings of the currently selected locale. It’s used by text archives to convert character data into wide characters, allowing for proper handling of Unicode characters in different locales. The class is designed to be compatible with various compilers and platforms.
7 #endif
9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
10 // wchar_from_mb.hpp
40 namespace iterators {
42 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
43 // class used by text archives to translate char strings to wchar_t
44 // strings of the currently selected locale
random_shuffle.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a range-based implementation of the std::random_shuffle
algorithm, which shuffles the elements in a random order within a given range. It includes overloads for both non-const and const versions of the range, as well as overloads that take an additional generator function to customize the shuffle process.
This C++ header file provides a range-based implementation of the std::random_shuffle
algorithm, which shuffles the elements in a random order within a given range. It includes overloads for both non-const and const versions of the range, as well as overloads that take an additional generator function to customize the shuffle process.
21 {
23 /// \brief template function random_shuffle
24 ///
25 /// range-based version of the random_shuffle std algorithm
26 ///
27 /// \pre RandomAccessRange is a model of the RandomAccessRangeConcept
28 /// \pre Generator is a model of the UnaryFunctionConcept
35 }
37 /// \overload
38 template<class RandomAccessRange>
39 inline const RandomAccessRange& random_shuffle(const RandomAccessRange& rng)
DefaultBeautifier.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 884 lines
✨ Summary
This Java code appears to be a part of a text processing or formatting tool, likely used for generating documentation or creating formatted output from input text. It processes and formats input text by applying various rules such as padding with characters, collapsing blank lines, and handling linear whitespace. The code seems to be designed to produce a specific format or style of output.
This Java code appears to be a part of a text processing or formatting tool, likely used for generating documentation or creating formatted output from input text. It processes and formats input text by applying various rules such as padding with characters, collapsing blank lines, and handling linear whitespace. The code seems to be designed to produce a specific format or style of output.
temporary.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header defines two template metaprogramming traits for the Boost.UBLAS library, specifically for creating temporary vectors and matrices in assignments of proxies. It provides a way to access the temporary types used by different matrix classes, allowing for more flexible and generic programming. The traits are defined within the boost::numeric::ublas
namespace.
This C++ header defines two template metaprogramming traits for the Boost.UBLAS library, specifically for creating temporary vectors and matrices in assignments of proxies. It provides a way to access the temporary types used by different matrix classes, allowing for more flexible and generic programming. The traits are defined within the boost::numeric::ublas
namespace.
17 namespace boost { namespace numeric { namespace ublas {
19 /// For the creation of temporary vectors in the assignment of proxies
20 template <class M>
21 struct vector_temporary_traits {
23 };
25 /// For the creation of temporary vectors in the assignment of proxies
26 template <class M>
27 struct matrix_temporary_traits {
int_float_mixture.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a set of metafunctions for working with integer and floating-point types, specifically designed for use with Boost’s numeric conversion library. It defines various integral constants and metafunctions to select the appropriate type based on the combination of input types. The code is part of the Boost library and is used to perform conversions between integers and floats.
This C++ header file provides a set of metafunctions for working with integer and floating-point types, specifically designed for use with Boost’s numeric conversion library. It defines various integral constants and metafunctions to select the appropriate type based on the combination of input types. The code is part of the Boost library and is used to perform conversions between integers and floats.
VarUtils.cs
(https://hg01.codeplex.com/linqtoroot)
C# · 368 lines
✨ Summary
This C# code defines a set of extension methods for working with expressions and values, particularly in the context of ROOTNET (a framework for data analysis). It provides functionality for translating C# types to C++ types, checking if a type is a pointer to a class, and performing substitutions on input values. The code also includes utility methods for handling complex expressions and iterators.
This C# code defines a set of extension methods for working with expressions and values, particularly in the context of ROOTNET (a framework for data analysis). It provides functionality for translating C# types to C++ types, checking if a type is a pointer to a class, and performing substitutions on input values. The code also includes utility methods for handling complex expressions and iterators.
13 public static class VarUtils
14 {
15 /// <summary>
16 /// Make sure it is a solid reference, not a -> and ignore type issues. :-)
17 ///
18 /// 1) If the object is an array (like int[]) then:
19 /// If the array is a member access from some obj, then we assume we need a pointer
20 /// If the array is off another array, then we assume we don't need a pointer.
21 ///
22 /// 2) If it is a class, we assume it needs to be dereferenced.
23 ///
24 /// 3) We assume no deref is required.
jEdit.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 4373 lines
✨ Summary
This Java code is part of a text editor application, managing views and user interactions. It handles view creation, closing, and switching between views. It also manages settings, garbage collection, and memory usage. The code provides methods for getting and setting various properties, such as the number of open views, the currently active view, and whether jEdit is running in background mode.
This Java code is part of a text editor application, managing views and user interactions. It handles view creation, closing, and switching between views. It also manages settings, garbage collection, and memory usage. The code provides methods for getting and setting various properties, such as the number of open views, the currently active view, and whether jEdit is running in background mode.
shift_left.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
set.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
CalendarDemo.cs
(http://google-gdata.googlecode.com/svn/trunk/)
C# · 372 lines
✨ Summary
This C# code demonstrates a Google Calendar client library usage, showcasing various operations such as creating events, updating event details, adding reminders and extended properties, and retrieving access control lists for calendars. It also includes methods to add, update, and delete users from these lists. The code runs a sample program that tests these features with a provided username, password, and feed URI.
This C# code demonstrates a Google Calendar client library usage, showcasing various operations such as creating events, updating event details, adding reminders and extended properties, and retrieving access control lists for calendars. It also includes methods to add, update, and delete users from these lists. The code runs a sample program that tests these features with a provided username, password, and feed URI.
13 private static String userName, userPassword, feedUri;
15 /// <summary>
16 /// Prints a list of the user's calendars.
17 /// </summary>
18 /// <param name="service">The authenticated CalendarService object.</param>
34 }
36 /// <summary>
37 /// Prints the titles of all events on the specified calendar.
38 /// </summary>
39 /// <param name="service">The authenticated CalendarService object.</param>
52 }
54 /// <summary>
55 /// Prints the titles of all events matching a full-text query.
insertandretry.cs
(http://google-gdata.googlecode.com/svn/trunk/)
C# · 247 lines
✨ Summary
This C# code is part of a YouTube video uploader application. It manages a queue of video uploads, retrying failed attempts and parsing successful upload responses to extract video IDs. The code uses asynchronous operations and event handlers to handle upload progress, errors, and completion, with features like automatic retries and cancellation options.
This C# code is part of a YouTube video uploader application. It manages a queue of video uploads, retrying failed attempts and parsing successful upload responses to extract video IDs. The code uses asynchronous operations and event handlers to handle upload progress, errors, and completion, with features like automatic retries and cancellation options.
17 /// this file contains the CSV related support code
18 namespace YouTubeUploader {
19 public partial class YouTubeUploader : Form {
20 private ResumableUploader ru = null;
22 /// <summary>
23 /// userstate is the object that is passed to the async code to identify a particular upload
24 /// this object remembers the http operation, the row in the spreadsheet, progress, etc.
25 /// This object get's added to the the current queue, or the retryqueue
26 /// </summary>
27 internal class UserState {
28 private DataGridViewRow row;
test_registry_parser.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code tests the functionality of a registry parser for Windows platforms. It creates a test registry key, writes data to it, reads back the data, and compares it with the original data using the boost::property_tree
library. The test also verifies binary translation between string representations and binary data.
This C++ code tests the functionality of a registry parser for Windows platforms. It creates a test registry key, writes data to it, reads back the data, and compares it with the original data using the boost::property_tree
library. The test also verifies binary translation between string representations and binary data.
main.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code is a compiler and interpreter for a simple programming language. It reads a source file, compiles it into machine code, executes the compiled code with user-provided arguments, and prints the result. The program checks for syntax errors during compilation and parsing, and reports any issues found.
This C++ code is a compiler and interpreter for a simple programming language. It reads a source file, compiles it into machine code, executes the compiled code with user-provided arguments, and prints the result. The program checks for syntax errors during compilation and parsing, and reports any issues found.
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 =============================================================================*/
8 ///////////////////////////////////////////////////////////////////////////////
9 //
10 // Not a calculator anymore, right? :-)
14 // [ HK June 3, 2011 ] Adding lexer
15 //
16 ///////////////////////////////////////////////////////////////////////////////
18 ///////////////////////////////////////////////////////////////////////////////
28 #include <fstream>
30 ///////////////////////////////////////////////////////////////////////////////
31 // Main program
32 ///////////////////////////////////////////////////////////////////////////////
fundamental_tests.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code is a test suite for the Boost Spirit library, specifically its meta programming features. It checks the correctness of two functions: node_count
and leaf_count
, which are used to count the number of nodes and leaves in a parse tree, respectively. The tests cover various types, including simple and more complex ones, to ensure that the functions produce the expected results.
This C++ code is a test suite for the Boost Spirit library, specifically its meta programming features. It checks the correctness of two functions: node_count
and leaf_count
, which are used to count the number of nodes and leaves in a parse tree, respectively. The tests cover various types, including simple and more complex ones, to ensure that the functions produce the expected results.
7 http://www.boost.org/LICENSE_1_0.txt)
8 =============================================================================*/
9 ///////////////////////////////////////////////////////////////////////////////
10 //
11 // Fundamental meta sublayer tests
12 //
13 ///////////////////////////////////////////////////////////////////////////////
15 #include <boost/detail/lightweight_test.hpp>
25 typedef ref_value_actor<char, assign_action> assign_actor;
27 ///////////////////////////////////////////////////////////////////////////////
28 //
29 // node_count_tests
pvstat.aspx.designer.cs
(http://uniquestudiocms.googlecode.com/svn/trunk/)
C# · 71 lines
✨ Summary
This C# code defines a class pvstat
within the namespace UniqueStudio.Admin.admin.background
. It contains several auto-generated fields, including controls for displaying messages, dropdowns for selecting years and months, a button to view data, and literal text elements for displaying headings and data. The class is likely used in an ASP.NET web application.
This C# code defines a class pvstat
within the namespace UniqueStudio.Admin.admin.background
. It contains several auto-generated fields, including controls for displaying messages, dropdowns for selecting years and months, a button to view data, and literal text elements for displaying headings and data. The class is likely used in an ASP.NET web application.
14 public partial class pvstat {
16 /// <summary>
17 /// message control.
18 /// </summary>
19 /// <remarks>
20 /// Auto-generated field.
21 /// To modify move field declaration from designer file to code-behind file.
22 /// </remarks>
23 protected global::UniqueStudio.Admin.admin.controls.Message message;
25 /// <summary>
26 /// ddlYears control.
lisp.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1038 lines
allegrocl.swg (https://swig.svn.sourceforge.net/svnroot/swig) Unknown · 544 lines
155 #endif
157 //////////////////////////////////////////////////////////////
158 // UCS-2 string conversion
177 %typemap(lispclass) wchar_t "cl:character";
178 %typemap(lispclass) wchar_t* "cl:string";
179 //////////////////////////////////////////////////////////////
181 /* name conversion for overloaded operators. */
MainViewModel.cs
(https://hg01.codeplex.com/mvvmlight)
C# · 75 lines
✨ Summary
This C# code defines a MainViewModel
class that exposes a single property, WelcomeTitle
, which is bound to data retrieved from an IDataService
. The view model initializes with an instance of IDataService
and uses it to fetch data when the view is loaded, updating the WelcomeTitle
property accordingly.
This C# code defines a MainViewModel
class that exposes a single property, WelcomeTitle
, which is bound to data retrieved from an IDataService
. The view model initializes with an instance of IDataService
and uses it to fetch data when the view is loaded, updating the WelcomeTitle
property accordingly.
4 namespace $safeprojectname$.ViewModel
5 {
6 /// <summary>
7 /// This class contains properties that the main View can data bind to.
8 /// <para>
9 /// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this ViewModel.
10 /// </para>
11 /// <para>
12 /// See http://www.galasoft.ch/mvvm/getstarted
13 /// </para>
14 /// </summary>
15 public class MainViewModel : ViewModelBase
16 {
FuzzyOperators.h
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ Header · 79 lines
✨ Summary
This C++ header file provides a set of overloaded input/output operators for various classes, including FuzzyRule
, FuzzyFunction
, and FuzzySet
. These operators allow users to easily read and write instances of these classes from/to standard input/output streams, making it easier to work with fuzzy logic in the program.
This C++ header file provides a set of overloaded input/output operators for various classes, including FuzzyRule
, FuzzyFunction
, and FuzzySet
. These operators allow users to easily read and write instances of these classes from/to standard input/output streams, making it easier to work with fuzzy logic in the program.
MetadataCacheManagerSQL.cs (https://hg01.codeplex.com/hydrodesktop) C# · 1175 lines
11 namespace HydroDesktop.Database
12 {
13 /// <summary>
14 /// This class is responsible for communication with the 'Metadata Cache' database
15 /// This is an alternative implementation internally using SQL queries instead of NHibernate.
16 /// This is to compare saving speed.
17 /// </summary>
18 public class MetadataCacheManagerSQL
19 {
34 #region Constructor
35 /// <summary>
36 /// Creates a new instance of the manager given a connection string
GameCamera.cs
(https://hg01.codeplex.com/deltaengine)
C# · 189 lines
✨ Summary
This C# code defines a GameCamera
class that combines features of PathCamera
and FreeCamera
. It allows for switching between camera modes, including level camera mode, free camera mode, and waiting/stopping mode. The camera’s position, target, and rotation are updated based on user input, such as keyboard or touch events, to control the camera’s movement and orientation.
This C# code defines a GameCamera
class that combines features of PathCamera
and FreeCamera
. It allows for switching between camera modes, including level camera mode, free camera mode, and waiting/stopping mode. The camera’s position, target, and rotation are updated based on user input, such as keyboard or touch events, to control the camera’s movement and orientation.
5 namespace Delta.Rendering.Cameras
6 {
7 /// <summary>
8 /// Game camera. This is our base camera used for games.
9 /// Currently it is a combination of PathCamera and FreeCamera with
10 /// the ability to switch between them.
11 /// </summary>
12 public class GameCamera : PathCamera
13 {
14 #region InLevelCameraMode (Public)
15 /// <summary>
16 /// In level camera mode
Utilities.h
(https://jetpp.svn.sourceforge.net/svnroot/jetpp)
C++ Header · 267 lines
✨ Summary
This C++ header file provides utility functions for various tasks, including memory allocation and deallocation, file I/O, bit manipulation, greyscale conversion, template functions (max, min), and big-endian/little-endian swapping. It also includes a license disclaimer and copyright information. The code is part of the FreeImage 3 library.
This C++ header file provides utility functions for various tasks, including memory allocation and deallocation, file I/O, bit manipulation, greyscale conversion, template functions (max, min), and big-endian/little-endian swapping. It also includes a license disclaimer and copyright information. The code is part of the FreeImage 3 library.
218 // ==========================================================
220 /// Max function
221 template <class T> T MAX(T a, T b) {
222 return (a > b) ? a: b;
223 }
225 /// Min function
226 template <class T> T MIN(T a, T b) {
227 return (a < b) ? a: b;
228 }
230 /// INPLACESWAP adopted from codeguru.com
231 template <class T> void INPLACESWAP(T& a, T& b) {
232 a ^= b; b ^= a; a ^= b;
Window1.xaml.cs
(https://hg01.codeplex.com/d3future)
C# · 63 lines
✨ Summary
This C# code creates a graphical user interface (GUI) for monitoring traffic data from YandexTrafficServer. It allows users to select a date and time range, view traffic data, and perform actions such as moving forward or backward in time, reloading the data, and detecting failed connections. The GUI displays various buttons and a date/time selector, with event handlers for user interactions.
This C# code creates a graphical user interface (GUI) for monitoring traffic data from YandexTrafficServer. It allows users to select a date and time range, view traffic data, and perform actions such as moving forward or backward in time, reloading the data, and detecting failed connections. The GUI displays various buttons and a date/time selector, with event handlers for user interactions.