100+ results for 'namespace microsoft'
Not the results you expected?
csharp.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 168 lines
dl_check_table.cpp (https://bitbucket.org/chyh1990/z3.git) C++ · 363 lines
Resource.Designer.cs (https://github.com/jonathan-inventti/Estudo-do-MVC3.git) C# · 378 lines
9 //------------------------------------------------------------------------------
11 namespace MyResources {
12 using System;
29 private static global::System.Globalization.CultureInfo resourceCulture;
31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 internal Resource() {
33 }
test_class_info_load.vcproj (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
soap3.xsd (https://github.com/cazzar/MCaznowl-Build.git) XML Schema · 242 lines
1 <?xml version="1.0" encoding="utf-8"?>
2 <xs:schema xmlns:tns="http://api.microsofttranslator.com/V2" elementFormDefault="qualified" targetNamespace="http://api.microsofttranslator.com/V2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3 <xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
4 <xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" />
5 <xs:element name="AddTranslation">
6 <xs:complexType>
36 <xs:complexType>
37 <xs:sequence>
38 <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="BreakSentencesResult" nillable="true" type="q1:ArrayOfint" />
39 </xs:sequence>
40 </xs:complexType>
59 <xs:sequence>
60 <xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
61 <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="texts" nillable="true" type="q2:ArrayOfstring" />
62 </xs:sequence>
63 </xs:complexType>
permissions.rb (https://gitlab.com/pymevirtual/azure-sdk-for-ruby) Ruby · 277 lines
102 def list_for_resource(resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, custom_headers = nil)
103 fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
104 fail ArgumentError, 'resource_provider_namespace is nil' if resource_provider_namespace.nil?
105 fail ArgumentError, 'parent_resource_path is nil' if parent_resource_path.nil?
106 fail ArgumentError, 'resource_type is nil' if resource_type.nil?
113 request_headers['x-ms-client-request-id'] = SecureRandom.uuid
114 request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
115 path_template = '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions'
116 options = {
117 middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
118 path_params: {'resourceGroupName' => resource_group_name,'resourceProviderNamespace' => resource_provider_namespace,'resourceName' => resource_name,'subscriptionId' => @client.subscription_id},
119 skip_encoding_path_params: {'parentResourcePath' => parent_resource_path,'resourceType' => resource_type},
120 query_params: {'api-version' => @client.api_version},
BinaryExpression.Generated.cs (https://github.com/thomo13/ironruby.git) C# · 154 lines
1 /* ****************************************************************************
2 *
3 * Copyright (c) Microsoft Corporation.
4 *
5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
6 * copy of the license can be found in the License.html file at the root of this distribution. If
7 * you cannot locate the Apache License, Version 2.0, please send an email to
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
9 * by the terms of the Apache License, Version 2.0.
10 *
18 using System.Text;
20 using Microsoft.Scripting.Runtime;
22 using IronPython.Runtime.Operations;
UnityConfiguration30.xsd (https://gitlab.com/gqy117/YoutubeBatchDownloader) XML Schema · 319 lines
3 xmlns="http://schemas.microsoft.com/practices/2010/unity"
4 targetNamespace="http://schemas.microsoft.com/practices/2010/unity"
5 elementFormDefault="qualified"
6 attributeFormDefault="unqualified">
16 <xs:element name="alias" type="AliasElement" />
17 <xs:element name="sectionExtension" type="SectionExtensionElement" />
18 <xs:element name="namespace" type="NamedElement" />
19 <xs:element name="assembly" type="NamedElement" />
20 </xs:choice>
265 <xs:simpleType>
266 <xs:restriction base="xs:string">
267 <xs:enumeration value="Microsoft.Practices.Unity.InterceptionExtension.Configuration.InterceptionConfigurationExtension, Microsoft.Practices.Unity.Interception.Configuration"/>
268 </xs:restriction>
269 </xs:simpleType>
290 <xs:enumeration value="CustomAttributeMatchingRule"/>
291 <xs:enumeration value="MemberNameMatchingRule"/>
292 <xs:enumeration value="NamespaceMatchingRule"/>
293 <xs:enumeration value="ParameterTypeMatchingRule"/>
294 <xs:enumeration value="PropertyMatchingRule"/>
FileTest.cs (https://github.com/thomo13/ironruby.git) C# · 211 lines
1 /* ****************************************************************************
2 *
3 * Copyright (c) Microsoft Corporation.
4 *
5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
6 * copy of the license can be found in the License.html file at the root of this distribution. If
7 * you cannot locate the Apache License, Version 2.0, please send an email to
8 * ironruby@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
9 * by the terms of the Apache License, Version 2.0.
10 *
16 using System.IO;
17 using IronRuby.Runtime;
18 using Microsoft.Scripting.Runtime;
20 #if CLR2
ListInitExpression.cs (https://github.com/nataren/mono.git) C# · 237 lines
1 /* ****************************************************************************
2 *
3 * Copyright (c) Microsoft Corporation.
4 *
5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
6 * copy of the license can be found in the License.html file at the root of this distribution. If
7 * you cannot locate the Apache License, Version 2.0, please send an email to
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
9 * by the terms of the Apache License, Version 2.0.
10 *
28 #if CLR2
29 namespace Microsoft.Scripting.Ast {
30 #else
31 namespace System.Linq.Expressions {
CodeInterfaceTests.vb (https://gitlab.com/sharadag/Roslyn) Visual Basic · 456 lines
5 Imports Microsoft.CodeAnalysis
6 Imports Microsoft.VisualStudio.LanguageServices.VisualBasic.CodeModel.Extenders
7 Imports Microsoft.VisualStudio.LanguageServices.VisualBasic.CodeModel.Interop
8 Imports Roslyn.Test.Utilities
10 Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.CodeModel.VisualBasic
11 Public Class CodeInterfaceTests
12 Inherits AbstractCodeInterfaceTests
313 Dim code =
314 <Code>
315 Namespace N
316 Interface I$$
317 Inherits IFoo(Of Integer)
324 Inherits IBar
325 End Interface
326 End Namespace
327 </Code>
url_pattern_set_unittest.cc (https://gitlab.com/0072016/Facebook-SDK-) C++ · 479 lines
13 #include "url/gurl.h"
15 namespace extensions {
17 namespace {
36 }
38 } // namespace
40 TEST(URLPatternSetTest, Empty) {
52 EXPECT_TRUE(set.MatchesURL(GURL("http://www.google.com/monkey")));
53 EXPECT_FALSE(set.MatchesURL(GURL("https://www.google.com/")));
54 EXPECT_FALSE(set.MatchesURL(GURL("https://www.microsoft.com/")));
55 }
Import_Tests.cs (https://gitlab.com/Banul/la-project1) C# · 329 lines
1 // Copyright (c) Microsoft. All rights reserved.
2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
4 //-----------------------------------------------------------------------
5 // <copyright file="Import_Tests.cs" company="Microsoft">
6 // Copyright (c) Microsoft Corporation. All rights reserved.
16 using NUnit.Framework;
18 using Microsoft.Build;
19 using Microsoft.Build.BuildEngine;
21 using Microsoft.Build.UnitTests;
23 namespace Microsoft.Build.UnitTests.OM.OrcasCompatibility
24 {
25 /// <summary>
whenAnyTest.cpp (https://github.com/microsoft/react-native-windows.git) C++ · 406 lines
DepthStencilState.OpenGL.cs (https://github.com/vostok4/MonoGame.git) C# · 244 lines
LiveStock.wsdl (https://github.com/kiouftis/Web-Services-Indexing-In-P2P.git) Web Services Description Language · 243 lines
1 <wsdl:definitions xmlns:soat="http://ws.soatrader.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
3 xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
4 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
5 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
6 xmlns:tns="http://www.myereef.com/webservices/"
7 xmlns:s1="http://microsoft.com/wsdl/types/"
8 xmlns:s="http://www.w3.org/2001/XMLSchema"
9 xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
33 targetNamespace="http://www.myereef.com/webservices/">
34 <s:import namespace="http://microsoft.com/wsdl/types/"/>
35 <s:element name="GetLivestock">
36 <s:complexType/>
128 </s:schema>
129 <s:schema elementFormDefault="qualified"
130 targetNamespace="http://microsoft.com/wsdl/types/">
131 <s:simpleType name="guid">
132 <s:restriction base="s:string">
PSCloudJob.cs (https://gitlab.com/jslee1/azure-powershell) C# · 394 lines
1 // -----------------------------------------------------------------------------
2 //
3 // Copyright Microsoft Corporation
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
22 //------------------------------------------------------------------------------
24 namespace Microsoft.Azure.Commands.Batch.Models
25 {
26 using System.Collections.Generic;
30 {
32 internal Microsoft.Azure.Batch.CloudJob omObject;
34 private IList<PSEnvironmentSetting> commonEnvironmentSettings;
ServiceOperationInvoker.cs (https://github.com/pruiz/mono.git) C# · 334 lines
1 //------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 //------------------------------------------------------------
4 namespace System.ServiceModel.Dispatcher
155 // We pass the exception to another thread
156 [SuppressMessage("Reliability", "Reliability104")]
157 [SuppressMessage("Microsoft.Design", "CA1031")]
158 static void FinishComplete(IAsyncResult result)
159 {
185 // We pass the exception to another thread
186 [SuppressMessage("Reliability", "Reliability104")]
187 [SuppressMessage("Microsoft.Design", "CA1031")]
188 static void InvokeComplete(IAsyncResult resultParameter)
189 {
223 // We pass the exception to another thread
224 [SuppressMessage("Reliability", "Reliability104")]
225 [SuppressMessage("Microsoft.Design", "CA1031")]
226 static void StartComplete(IAsyncResult resultParameter)
227 {
NodeInfo.h (https://github.com/Microsoft/service-fabric.git) C Header · 228 lines
1 // ------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 // Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
4 // ------------------------------------------------------------
6 #pragma once
8 namespace Reliability
9 {
10 namespace FailoverManagerComponent
HttpServerWebSocket.cpp (https://github.com/Microsoft/service-fabric.git) C++ · 382 lines
1 // ------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 // Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
4 // ------------------------------------------------------------
7 #if NTDDI_VERSION >= NTDDI_WIN8
9 using namespace std;
10 using namespace Common;
11 using namespace HttpCommon;
12 using namespace HttpServer;
BufferBuilder.h (https://gitlab.com/Srijancse/ChakraCore) C Header · 357 lines
1 //-------------------------------------------------------------------------------------------------------
2 // Copyright (C) Microsoft. All rights reserved.
3 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4 //-------------------------------------------------------------------------------------------------------
24 typedef _SIMDValue SIMDValue;
26 namespace Js
27 {
28 // The base buffer builder class
Conformance.dynamic.context.operator.compound.event.negative.cs (https://github.com/dotnet/runtime.git) C# · 420 lines
4 using Xunit;
6 namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.compound.evnt.negative.neg001.neg001
7 {
8 // <Area> Dynamic -- compound operator</Area>
38 c.E *= new Dele(C.Foo);
39 }
40 catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException e)
41 {
42 if (ErrorVerifier.Verify(ErrorMessageId.BadBinaryOps, e.Message, "*=", "Dele", "Dele"))
48 c.E /= new Dele(C.Foo);
49 }
50 catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException e)
51 {
52 if (ErrorVerifier.Verify(ErrorMessageId.BadBinaryOps, e.Message, "/=", "Dele", "Dele"))
SiteSourceControl.PowerShell.cs (https://github.com/Azure/azure-powershell.git) C# · 149 lines
1 namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801
2 {
3 using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell;
95 }
96 // actually deserialize
97 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteSourceControlPropertiesTypeConverter.ConvertFrom);
98 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name, global::System.Convert.ToString);
102 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Branch = (string) content.GetValueForProperty("Branch",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Branch, global::System.Convert.ToString);
103 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).DeploymentRollbackEnabled = (bool?) content.GetValueForProperty("DeploymentRollbackEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).DeploymentRollbackEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
104 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).IsManualIntegration = (bool?) content.GetValueForProperty("IsManualIntegration",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).IsManualIntegration, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
122 }
123 // actually deserialize
124 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteSourceControlPropertiesTypeConverter.ConvertFrom);
125 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name, global::System.Convert.ToString);
132 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).IsMercurial = (bool?) content.GetValueForProperty("IsMercurial",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).IsMercurial, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool)));
133 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).RepoUrl = (string) content.GetValueForProperty("RepoUrl",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteSourceControlInternal)this).RepoUrl, global::System.Convert.ToString);
134 AfterDeserializePSObject(content);
135 }
SetCmdletCommand.cs (https://psstudio.svn.codeplex.com/svn) C# · 512 lines
GlobalSuppressions.cs (https://rxx.svn.codeplex.com/svn) C# · 64 lines
13 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Reactive.Disposables")]
14 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.ComponentModel")]
15 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net")]
16 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.IO")]
17 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Collections.Generic")]
22 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.Mail")]
23 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.NetworkInformation")]
24 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Net.Sockets")]
51 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "System.Reactive.Linq.Observable2.#FromAsyncPattern`4(System.FuncExtended`6<!!0,!!1,!!2,System.AsyncCallback,System.Object,System.IAsyncResult>,System.Func`2<System.IAsyncResult,!!3>)")]
52 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "Microsoft.Phone.UserData")]
53 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Scope = "member", Target = "System.Net.Sockets.SocketExtensions.#ReceiveUntilCompleted(System.Net.Sockets.Socket,System.Net.Sockets.SocketFlags)")]
58 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.Data.SqlClient")]
59 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "System.ServiceModel.Reactive")]
60 [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "System.Reactive.Linq.Observable2.#Collect`5(System.Func`2<System.IDisposable,!!0>,System.IObservable`1<!!1>,System.IObservable`1<System.Reactive.CollectionModification`1<!!3>>,System.Func`2<!!1,!!2>,System.Func`2<!!3,!!2>,System.Func`3<!!2,!!1,System.Reactive.CollectionNotification`1<!!3>>,System.Func`2<System.IObservable`1<System.Reactive.CollectionNotification`1<!!3>>,System.IObservable`1<System.Reactive.CollectionModification`1<!!4>>>,System.Collections.Generic.IEqualityComparer`1<!!2>)")]
Matrix.UnitTest.cs (https://MSCompBio.svn.codeplex.com/svn) C# · 296 lines
CloudError.PowerShell.cs (https://github.com/Azure/azure-powershell.git) C# · 141 lines
1 namespace Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320
2 {
3 using Microsoft.Azure.PowerShell.Cmdlets.VMWare.Runtime.PowerShell;
64 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorResponseTypeConverter.ConvertFrom);
65 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray<Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorAdditionalInfo>(__y, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorAdditionalInfoTypeConverter.ConvertFrom));
66 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Code, global::System.Convert.ToString);
68 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Target, global::System.Convert.ToString);
69 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray<Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse>(__y, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorResponseTypeConverter.ConvertFrom));
70 AfterDeserializeDictionary(content);
71 }
87 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorResponseTypeConverter.ConvertFrom);
88 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray<Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorAdditionalInfo>(__y, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorAdditionalInfoTypeConverter.ConvertFrom));
89 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Code, global::System.Convert.ToString);
91 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Target, global::System.Convert.ToString);
92 ((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api20200320.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray<Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.IErrorResponse>(__y, Microsoft.Azure.PowerShell.Cmdlets.VMWare.Models.Api10.ErrorResponseTypeConverter.ConvertFrom));
93 AfterDeserializePSObject(content);
94 }
StaticSiteUserInvitationRequestResourceProperties.PowerShell.cs (https://github.com/Azure/azure-powershell.git) C# · 142 lines
1 namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801
2 {
3 using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell;
101 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).NumHoursToExpiration = (int?) content.GetValueForProperty("NumHoursToExpiration",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).NumHoursToExpiration, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
102 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Provider, global::System.Convert.ToString);
103 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Role = (string) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Role, global::System.Convert.ToString);
120 }
121 // actually deserialize
122 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Domain = (string) content.GetValueForProperty("Domain",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Domain, global::System.Convert.ToString);
123 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).NumHoursToExpiration = (int?) content.GetValueForProperty("NumHoursToExpiration",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).NumHoursToExpiration, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int)));
124 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Provider, global::System.Convert.ToString);
125 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Role = (string) content.GetValueForProperty("Role",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).Role, global::System.Convert.ToString);
126 ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).UserDetail = (string) content.GetValueForProperty("UserDetail",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourcePropertiesInternal)this).UserDetail, global::System.Convert.ToString);
127 AfterDeserializePSObject(content);
128 }
QuotaCheckError.html (http://google-api-adwords-java.googlecode.com/svn/trunk/) HTML · 405 lines
158 <tr class="rowColor">
159 <td class="colFirst"><code>static org.apache.axis.encoding.Deserializer</code></td>
160 <td class="colLast"><code><strong><a href="../../../../../../com/google/api/adwords/v201206/cm/QuotaCheckError.html#getDeserializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)">getDeserializer</a></strong>(java.lang.String mechType,
161 java.lang.Class _javaType,
162 javax.xml.namespace.QName _xmlType)</code>
172 <tr class="rowColor">
173 <td class="colFirst"><code>static org.apache.axis.encoding.Serializer</code></td>
174 <td class="colLast"><code><strong><a href="../../../../../../com/google/api/adwords/v201206/cm/QuotaCheckError.html#getSerializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)">getSerializer</a></strong>(java.lang.String mechType,
175 java.lang.Class _javaType,
176 javax.xml.namespace.QName _xmlType)</code>
311 </li>
312 </ul>
313 <a name="getSerializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)">
314 <!-- -->
315 </a>
Handcrafted.vcproj (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
PropertyNames.cs (https://github.com/tforsberg/z.git) C# · 160 lines
1 //------------------------------------------------------------------------------
2 // <copyright file="WinFormsUtils.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //------------------------------------------------------------------------------
7 namespace System.Windows.Forms.Layout {
8 using System.Diagnostics.CodeAnalysis;
13 // names that extenders provide.
14 internal class PropertyNames {
15 [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]
16 public static readonly string Alignment = "Alignment";
17 [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]
18 public static readonly string Anchor = "Anchor";
19 [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]
20 public static readonly string AutoScroll = "AutoScroll";
21 [SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]
VSCodeGenAccessors.cs (https://github.com/zeldin/OpenCBM.git) C# · 275 lines
52 internal class PaytonByrd_ProcessConfiguration_Helpers_ResourceHelperAccessor : BaseAccessor {
54 protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.Helpers.ResourceHelper");
56 internal PaytonByrd_ProcessConfiguration_Helpers_ResourceHelperAccessor(object target) :
217 internal class PaytonByrd_ProcessConfiguration_ParameterValidationErrorAccessor : BaseAccessor {
219 protected static Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType m_privateType = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateType("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.ParameterValidationError");
221 internal PaytonByrd_ProcessConfiguration_ParameterValidationErrorAccessor(object target) :
245 internal static object CreatePrivate() {
246 object[] args = new object[0];
247 Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject priv_obj = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject("PaytonByrd.ProcessConfiguration", "PaytonByrd.ProcessConfiguration.ParameterValidationError", new System.Type[0], args);
248 return priv_obj.Target;
249 }
ComposablePartCatalogCollection.cs (https://github.com/iainlane/mono.git) C# · 415 lines
1 // -----------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 // -----------------------------------------------------------------------
4 using System;
10 using System.Threading;
11 using System.Diagnostics;
12 using Microsoft.Internal;
13 using Microsoft.Internal.Collections;
14 using System.Collections;
16 namespace System.ComponentModel.Composition.Hosting
17 {
18 /// <summary>
ScoreCalculationAlternatives.feature.cs (https://github.com/chrispfarrell/SpecFlow-Spike.git) C# · 195 lines
11 // ------------------------------------------------------------------------------
12 #region Designer generated code
13 namespace Bowling.SpecFlow
14 {
15 using TechTalk.SpecFlow;
18 [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.6.0.0")]
19 [System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
20 [Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute()]
21 public partial class ScoreCalculationAlternativeFormsFeature
22 {
27 #line hidden
29 [Microsoft.VisualStudio.TestTools.UnitTesting.ClassInitializeAttribute()]
30 public static void FeatureSetup(Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext)
36 }
38 [Microsoft.VisualStudio.TestTools.UnitTesting.ClassCleanupAttribute()]
39 public static void FeatureTearDown()
40 {
AccessPolicyHelper.cs (https://gitlab.com/jslee1/azure-powershell) C# · 190 lines
1 // ----------------------------------------------------------------------------------
2 //
3 // Copyright Microsoft Corporation
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
13 // ----------------------------------------------------------------------------------
15 namespace Microsoft.WindowsAzure.Commands.Storage.Common
16 {
17 using Microsoft.WindowsAzure.Commands.Utilities.Common;
18 using Microsoft.WindowsAzure.Storage.Blob;
19 using Microsoft.WindowsAzure.Storage.File;
20 using Microsoft.WindowsAzure.Storage.Queue;
21 using Microsoft.WindowsAzure.Storage.Table;
StorageCloudBlobCmdletBase.cs (https://gitlab.com/jslee1/azure-powershell) C# · 221 lines
1 // ----------------------------------------------------------------------------------
2 //
3 // Copyright Microsoft Corporation
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
13 // ----------------------------------------------------------------------------------
15 namespace Microsoft.WindowsAzure.Commands.Storage
16 {
17 using Commands.Common.Storage.ResourceModel;
18 using Microsoft.WindowsAzure.Commands.Common.Storage;
19 using Microsoft.WindowsAzure.Commands.Storage.Common;
20 using Microsoft.WindowsAzure.Commands.Storage.Model.Contract;
21 using Microsoft.WindowsAzure.Storage;
PublishAzureVMDscConfigurationCommand.cs (https://gitlab.com/jslee1/azure-powershell) C# · 206 lines
1 using Microsoft.Azure.Commands.Common.Authentication.Models;
2 using Microsoft.Azure.Commands.Compute.Common;
3 using Microsoft.WindowsAzure.Commands.Common.Extensions.DSC;
4 using Microsoft.WindowsAzure.Commands.Common.Extensions.DSC.Publish;
5 using Microsoft.WindowsAzure.Storage.Auth;
6 using System;
7 using System.Management.Automation;
9 namespace Microsoft.Azure.Commands.Compute.Extension.DSC
10 {
11 /// <summary>
112 ///Path to a .psd1 file that specifies the data for the Configuration. This
113 /// file must contain a hashtable with the items described in
114 /// http://technet.microsoft.com/en-us/library/dn249925.aspx.
115 /// </summary>
116 [Parameter(
From37To38.cs (https://github.com/samueldjack/ravendb.git) C# · 282 lines
Master.cs (https://bitbucket.org/pmfsampaio/netmf-lpc.git) C# · 151 lines
1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7 using Microsoft.SPOT.Platform.Test;
9 namespace Microsoft.SPOT.Platform.Tests
10 {
11 public class Master
13 public static void Main()
14 {
15 string[] args = { "NamespacesTests" };
16 MFTestRunner runner = new MFTestRunner(args);
17 }
Master.cs (https://bitbucket.org/pmfsampaio/netmf-lpc.git) C# · 151 lines
1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7 using Microsoft.SPOT.Platform.Test;
9 namespace Microsoft.SPOT.Platform.Tests
10 {
11 public class Master
Solver.cs (https://bitbucket.org/chyh1990/z3.git) C# · 301 lines
ExportCollectionTests.cs (https://github.com/gimlism/mono.git) C# · 208 lines
1 // -----------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 // -----------------------------------------------------------------------
4 using System;
11 using System.ComponentModel.Composition.UnitTesting;
12 using System.UnitTesting;
13 using Microsoft.VisualStudio.TestTools.UnitTesting;
15 namespace System.ComponentModel.Composition
company.rb (https://github.com/wrozka/rails.git) Ruby · 218 lines
24 end
26 module Namespaced
27 class Company < ::Company
28 end
30 class Firm < ::Company
31 has_many :clients, :class_name => 'Namespaced::Client'
32 end
51 has_many :limited_clients, :class_name => "Client", :limit => 1
52 has_many :clients_with_interpolated_conditions, :class_name => "Client", :conditions => proc { "rating > #{rating}" }
53 has_many :clients_like_ms, :conditions => "name = 'Microsoft'", :class_name => "Client", :order => "id"
54 has_many :clients_like_ms_with_hash_conditions, :conditions => { :name => 'Microsoft' }, :class_name => "Client", :order => "id"
Messages.Designer.cs (https://github.com/castleproject/MonoRail.git) C# · 324 lines
9 //------------------------------------------------------------------------------
11 namespace Castle.Components.Validator {
12 using System;
29 private static global::System.Globalization.CultureInfo resourceCulture;
31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 internal Messages() {
33 }
DNNTreeNavigationProvider.cs (https://mathphoenix.svn.codeplex.com/svn) C# · 479 lines
PSPoolSpecification.cs (https://gitlab.com/jslee1/azure-powershell) C# · 375 lines
1 // -----------------------------------------------------------------------------
2 //
3 // Copyright Microsoft Corporation
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
22 //------------------------------------------------------------------------------
24 namespace Microsoft.Azure.Commands.Batch.Models
25 {
26 using System.Collections.Generic;
30 {
32 internal Microsoft.Azure.Batch.PoolSpecification omObject;
34 private IList<PSApplicationPackageReference> applicationPackageReferences;
DelegateHelpers.Generated.cs (https://github.com/jdhardy/ironpython.git) C# · 293 lines
1 /* ****************************************************************************
2 *
3 * Copyright (c) Microsoft Corporation.
4 *
5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
6 * copy of the license can be found in the License.html file at the root of this distribution. If
7 * you cannot locate the Apache License, Version 2.0, please send an email to
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
9 * by the terms of the Apache License, Version 2.0.
10 *
24 #if !FEATURE_CORE_DLR
25 namespace Microsoft.Scripting.Ast.Compiler {
26 using Microsoft.Scripting.Utils;
27 #else
28 namespace System.Linq.Expressions.Compiler {
29 #endif
30 internal static partial class DelegateHelpers {
NamespaceKeywordRecommenderTests.vb (https://gitlab.com/sharadag/TestProject2) Visual Basic · 328 lines
8 Imports Xunit
10 Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.Recommendations.Declarations
11 Public Class NamespaceKeywordRecommenderTests
26 Public Sub NamespaceInNamespace()
27 VerifyRecommendationsContain(<NamespaceDeclaration>|</NamespaceDeclaration>, "Namespace")
28 End Sub
45 <Fact, WorkItem(530727)>
46 <Trait(Traits.Feature, Traits.Features.KeywordRecommending)>
47 Public Sub NamespaceFollowsNamespace()
48 Dim code =
49 <File>
210 Public Sub NamespaceNotAfterPrivateInNamespace()
211 VerifyRecommendationsMissing(<NamespaceDeclaration>Private |</NamespaceDeclaration>, "Namespace")
212 End Sub
StartActionWithOnlyEndActionRuleTests.cs (https://gitlab.com/sharadag/TestProject2) C# · 344 lines
4 using Microsoft.CodeAnalysis.CodeFixes;
5 using Microsoft.CodeAnalysis.CSharp.Analyzers.MetaAnalyzers;
6 using Microsoft.CodeAnalysis.Diagnostics;
8 using Xunit;
10 namespace Microsoft.CodeAnalysis.UnitTests.Analyzers.MetaAnalyzers
11 {
12 public class StartActionWithOnlyEndActionRuleTests : CodeFixTestBase
18 using System;
19 using System.Collections.Immutable;
20 using Microsoft.CodeAnalysis;
21 using Microsoft.CodeAnalysis.CSharp;
71 Imports Microsoft.CodeAnalysis.Diagnostics
72 Imports Microsoft.CodeAnalysis.VisualBasic
74 <DiagnosticAnalyzer(LanguageNames.VisualBasic)>
attention_cpu_base.h (https://github.com/microsoft/onnxruntime.git) C Header · 214 lines
SelectExtensions.cs (https://github.com/Microsoft/Trill.git) C# · 229 lines
1 // *********************************************************************
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 // Licensed under the MIT License
4 // *********************************************************************
9 using System.Reflection;
11 namespace Microsoft.StreamProcessing
12 {
13 /// <summary>
MovingEffect.cs (https://gitlab.com/swak/UltimaXNA) C# · 190 lines
Settings.Designer.cs (https://github.com/bitbeans/SimpleDnsCrypt.git) C# · 314 lines
9 //------------------------------------------------------------------------------
11 namespace SimpleDnsCrypt.Properties {
14 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.5.0.0")]
16 internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
ITimespanFormatter.cs (https://enhancedreminders.svn.codeplex.com/svn) C# · 227 lines
UserProfile.cs (https://mathphoenix.svn.codeplex.com/svn) C# · 383 lines
UserExperienceAnalyticsDeviceStartupHistory.php (https://github.com/microsoftgraph/msgraph-sdk-php.git) PHP · 499 lines
1 <?php
2 /**
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4 *
5 * UserExperienceAnalyticsDeviceStartupHistory File
7 *
8 * @category Library
9 * @package Microsoft.Graph
10 * @copyright © Microsoft Corporation. All rights reserved.
12 * @link https://graph.microsoft.com
13 */
14 namespace Beta\Microsoft\Graph\Model;
16 /**
18 *
19 * @category Model
20 * @package Microsoft.Graph
21 * @copyright © Microsoft Corporation. All rights reserved.
RegionManagerExtensionsFixture.cs (https://github.com/jeffras/Prism-4-with-WinForms.git) C# · 179 lines
1 //===================================================================================
2 // Microsoft patterns & practices
3 // Composite Application Guidance for Windows Presentation Foundation and Silverlight
4 //===================================================================================
5 // Copyright (c) Microsoft Corporation. All rights reserved.
6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
21 using System.Linq;
22 using System.Text;
23 using Microsoft.Practices.Prism.Tests.Mocks;
24 using Microsoft.Practices.Prism.Regions;
26 using Microsoft.VisualStudio.TestTools.UnitTesting;
28 namespace Microsoft.Practices.Prism.Tests.Regions
29 {
30 [TestClass]
DynamicTypeGenerator.cs (https://github.com/iainlane/mono.git) C# · 125 lines
1 /* ****************************************************************************
2 *
3 * Copyright (c) Microsoft Corporation. All rights reserved.
4 *
5 * This software is subject to the Microsoft Public License (Ms-PL).
11 * ***************************************************************************/
13 namespace System.Web.Mvc {
14 using System;
15 using System.Collections.Generic;
98 Type[] parameterTypes = (from p in parameters select p.ParameterType).ToArray();
100 // based on http://msdn.microsoft.com/en-us/library/system.reflection.emit.typebuilder.definemethodoverride.aspx
101 MethodBuilder newMethod = newType.DefineMethod(interfaceMethod.DeclaringType.Name + "." + interfaceMethod.Name,
102 MethodAttributes.Private | MethodAttributes.HideBySig | MethodAttributes.NewSlot | MethodAttributes.Virtual | MethodAttributes.Final,
InitializationScopeTests.cs (https://github.com/iainlane/mono.git) C# · 150 lines
1 // -----------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 // -----------------------------------------------------------------------
4 using System;
8 using System.ComponentModel.Composition.Hosting;
9 using System.Linq;
10 using Microsoft.VisualStudio.TestTools.UnitTesting;
12 namespace System.ComponentModel.Composition
EasyCachingInterceptor.cs (https://github.com/dotnetcore/EasyCaching.git) C# · 282 lines
EqualPartitionsBalancingStrategyTests.cs (https://github.com/Azure/azure-cosmos-dotnet-v3.git) C# · 216 lines
1 //------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 //------------------------------------------------------------
5 namespace Microsoft.Azure.Cosmos.ChangeFeed.Tests
6 {
7 using System;
8 using System.Collections.Generic;
9 using System.Linq;
10 using Microsoft.Azure.Cosmos.ChangeFeed.FeedManagement;
11 using Microsoft.Azure.Cosmos.ChangeFeed.LeaseManagement;
12 using Microsoft.VisualStudio.TestTools.UnitTesting;
13 using Moq;
OrganizationRequest.cs (https://github.com/microsoftgraph/msgraph-sdk-dotnet.git) C# · 274 lines
1 // ------------------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3 // ------------------------------------------------------------------------------
8 // Template Source: Templates\CSharp\Requests\EntityRequest.cs.tt
10 namespace Microsoft.Graph
11 {
12 using System;
118 /// <param name="organizationToUpdate">The Organization to update.</param>
119 /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
120 /// <exception cref="ClientException">Thrown when an object returned in a response is used for updating an object in Microsoft Graph.</exception>
121 /// <returns>The updated Organization.</returns>
122 public async System.Threading.Tasks.Task<Organization> UpdateAsync(Organization organizationToUpdate, CancellationToken cancellationToken)
ParcelModelTest.cs (https://github.com/alfamale/Shaver.git) C# · 247 lines
CharacterClass.cs (https://github.com/mauriciocirelli/MonoGame-Samples.git) C# · 279 lines
DsComentarios.xsd (https://bitbucket.org/rjulietagarcia/estadisticas.git) XML Schema · 90 lines
1 <?xml version="1.0" encoding="utf-8"?>
2 <xs:schema id="DsComentarios" targetNamespace="http://tempuri.org/DsComentarios.xsd" xmlns:mstns="http://tempuri.org/DsComentarios.xsd" xmlns="http://tempuri.org/DsComentarios.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
3 <xs:annotation>
4 <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
5 <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
6 <Connections>
7 <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="db911ConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="db911ConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WsEstadisticasEducativas.Properties.Settings.GlobalReference.Default.db911ConnectionString1" Provider="System.Data.SqlClient">
IFrameworkLogOptions.cs (https://github.com/Microsoft/CodeContracts.git) C# · 456 lines
FileBuffer.cs (https://github.com/Microsoft/BuildXL.git) C# · 317 lines
ExceptionMessages.Designer.cs (https://github.com/NzbDrone/NzbDrone.git) C# · 222 lines
9 //------------------------------------------------------------------------------
11 namespace NzbDrone.Common.EnsureThat.Resources {
12 /// <summary>
13 /// A strongly-typed resource class, for looking up localized strings, etc.
26 private static global::System.Globalization.CultureInfo resourceCulture;
28 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
29 internal ExceptionMessages() {
30 }
DsBusquedaInmuebles.xsd (https://bitbucket.org/rjulietagarcia/estadisticas.git) XML Schema · 140 lines
1 <?xml version="1.0" encoding="utf-8"?>
2 <xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:mstns="http://tempuri.org/DsBusquedaInmuebles.xsd" xmlns="http://tempuri.org/DsBusquedaInmuebles.xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/DsBusquedaInmuebles.xsd" id="DsBusquedaInmuebles" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3 <xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="DsBusquedaInmuebles">
4 <xs:complexType>
EntityConfigurations.cs
(https://cfx.svn.codeplex.com/svn)
C# · 319 lines
✨ Summary
This C# code defines entity configurations for a database, including tables and relationships between them. It specifies column mappings, data types, and constraints for each table, as well as complex type configurations for additional data such as names and addresses. The configurations are used to map the database schema to the C# classes that represent the data.
This C# code defines entity configurations for a database, including tables and relationships between them. It specifies column mappings, data types, and constraints for each table, as well as complex type configurations for additional data such as names and addresses. The configurations are used to map the database schema to the C# classes that represent the data.
2 * Module Name: EntityConfigurations.cs
3 * Project: CSEFCodeOnly
4 * Copyright (c) Microsoft Corporation.
5 *
6 * This code file contains the EntityConfiguration for the POCO entities to
7 * create the Entity Data Model metadata.
8 *
9 * This source is subject to the Microsoft Public License.
10 * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
21 using System.Linq;
22 using System.Text;
23 using Microsoft.Data.Objects;
24 #endregion
26 namespace CSEFCodeOnly
27 {
28 #region EntityConfiguration for TPT inheritance POCO entities
Reader.cs (https://gitlab.com/taveek/cordova-plugin-barcodescanner) C# · 197 lines
1 /*
2 * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
3 *
4 * 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
9 */
11 namespace WinRTBarcodeReader
12 {
13 using System;
GamePadState.cs (https://github.com/notJUSTguitar/MonoGame.git) C# · 168 lines
42 using System;
44 namespace Microsoft.Xna.Framework.Input
45 {
46 public struct GamePadState
132 if (gamePadButtons.Y == ButtonState.Pressed)
133 {
134 buttons |= Microsoft.Xna.Framework.Input.Buttons.Y;
135 }
136 if (gamePadButtons.Back == ButtonState.Pressed)
144 if (gamePadButtons.BigButton == ButtonState.Pressed)
145 {
146 buttons |= Microsoft.Xna.Framework.Input.Buttons.BigButton;
147 }
148 if (gamePadButtons.LeftShoulder == ButtonState.Pressed)
PolicyHttpMessageHandlerTest.cs (https://github.com/aspnet/Extensions.git) C# · 338 lines
MLSService.wsdl (https://github.com/kiouftis/Web-Services-Indexing-In-P2P.git) Web Services Description Language · 143 lines
5 xmlns:tns="http://www.realtytrac.com/"
6 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
7 xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
8 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
9 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
10 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
11 targetNamespace="http://www.realtytrac.com/">
12 <wsdl:message name="SOATraderLicense">
13 <wsdl:part element="soat:SOATraderLicense" name="SOATraderLicense"/>
18 <wsdl:types>
19 <schema xmlns="http://www.w3.org/2001/XMLSchema"
20 targetNamespace="http://ws.soatrader.com/"
21 elementFormDefault="qualified">
22 <element type="string" name="SOATraderLicense"/>
SharedPCConfiguration.php (https://github.com/microsoftgraph/msgraph-sdk-php.git) PHP · 387 lines
1 <?php
2 /**
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4 *
5 * SharedPCConfiguration File
7 *
8 * @category Library
9 * @package Microsoft.Graph
10 * @copyright © Microsoft Corporation. All rights reserved.
12 * @link https://graph.microsoft.com
13 */
14 namespace Microsoft\Graph\Model;
16 /**
18 *
19 * @category Model
20 * @package Microsoft.Graph
21 * @copyright © Microsoft Corporation. All rights reserved.
LinkContext.cs (https://github.com/QuickJack/mono.git) C# · 258 lines
InheritanceTest.cs (https://github.com/mikependon/RepoDb.git) C# · 376 lines
jet_objectlist.cs (https://github.com/jalchr/ravendb.git) C# · 178 lines
1 //-----------------------------------------------------------------------
2 // <copyright file="jet_objectlist.cs" company="Microsoft Corporation">
3 // Copyright (c) Microsoft Corporation.
5 //-----------------------------------------------------------------------
7 namespace Microsoft.Isam.Esent.Interop
8 {
9 using System;
17 [StructLayout(LayoutKind.Sequential)]
18 [SuppressMessage(
19 "Microsoft.StyleCop.CSharp.NamingRules",
20 "SA1307:AccessibleFieldsMustBeginWithUpperCaseLetter",
21 Justification = "This should match the unmanaged API, which isn't capitalized.")]
90 /// </summary>
91 [SuppressMessage(
92 "Microsoft.StyleCop.CSharp.NamingRules",
93 "SA1300:ElementMustBeginWithUpperCaseLetter",
94 Justification = "This should match the unmanaged API, which isn't capitalized.")]
PsApiManagement.cs (https://gitlab.com/jslee1/azure-powershell) C# · 246 lines
1 //
2 // Copyright (c) Microsoft. All rights reserved.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
13 // limitations under the License.
15 namespace Microsoft.Azure.Commands.ApiManagement.Models
16 {
17 using AutoMapper;
18 using Microsoft.Azure.Commands.ApiManagement.Properties;
19 using Microsoft.Azure.Management.ApiManagement.Models;
CodeGenerationOptions.cs (https://gitlab.com/sharadag/TestProject2) C# · 184 lines
7 using Roslyn.Utilities;
9 namespace Microsoft.CodeAnalysis.CodeGeneration
10 {
11 /// <summary>
76 /// <summary>
77 /// True if the code generator should merge namespaces which only contain other namespaces
78 /// into a single declaration with a dotted name. False if the nesting should be preserved
79 /// and each namespace declaration should be nested and should only have a single non-dotted
153 this.AdditionalImports = additionalImports ?? SpecializedCollections.EmptyEnumerable<INamespaceSymbol>();
154 this.GenerateMembers = generateMembers;
155 this.MergeNestedNamespaces = mergeNestedNamespaces;
156 this.MergeAttributes = mergeAttributes;
157 this.GenerateDefaultAccessibility = generateDefaultAccessibility;
EndBlockKeywordRecommenderTests.vb (https://gitlab.com/sharadag/TestProject2) Visual Basic · 279 lines
1 ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 Imports Microsoft.CodeAnalysis.Text
4 Imports Microsoft.CodeAnalysis.VisualBasic
5 Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
6 Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
7 Imports Roslyn.Test.Utilities
8 Imports Xunit
10 Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.Recommendations.Declarations
11 Public Class EndBlockKeywordRecommenderTests
12 <Fact>
index.rst (https://gitlab.com/mayakarya/Docs) ReStructuredText · 447 lines
3 Microsoft.AspNetCore.Mvc.ViewFeatures.Internal Namespace
4 ========================================================
256 .. dn:namespace:: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal
351 Finds and executes an :any:`Microsoft.AspNetCore.Mvc.ViewEngines.IView` for a :any:`Microsoft.AspNetCore.Mvc.PartialViewResult`\.
ControlIdentifiers.Designer.cs
(https://prism.svn.codeplex.com/svn)
C# · 305 lines
✨ Summary
This is a C# class that provides access to localized strings for a Silverlight application. It contains a collection of static properties, each returning a string value from a resource file (not shown). The class allows developers to retrieve these strings in their code, making it easier to manage internationalization and localization in the application.
This is a C# class that provides access to localized strings for a Silverlight application. It contains a collection of static properties, each returning a string value from a resource file (not shown). The class allows developers to retrieve these strings in their code, making it easier to manage internationalization and localization in the application.
1 //===================================================================================
2 // Microsoft patterns & practices
3 // Composite Application Guidance for Windows Presentation Foundation and Silverlight
4 //===================================================================================
5 // Copyright (c) Microsoft Corporation. All rights reserved.
6 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
7 // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
25 //------------------------------------------------------------------------------
27 namespace ModularityWithMef.Tests.AcceptanceTest.TestData {
28 using System;
45 private static global::System.Globalization.CultureInfo resourceCulture;
47 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
48 internal ControlIdentifiers() {
49 }
StartOperationTests.cs (https://github.com/microsoft/qsharp-runtime.git) C# · 190 lines
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License.
4 using Microsoft.Quantum.Simulation.Core;
5 using Microsoft.Quantum.Tests.StartOperation;
7 using Xunit;
9 namespace Microsoft.Quantum.Simulation.Simulators.Tests
10 {
11 using Helper = Microsoft.Quantum.Simulation.Simulators.Tests.OperationsTestHelper;
26 var q3 = new FreeQubit(3) as Qubit;
28 Assert.Equal(1, tracker.GetNumberOfCalls("Microsoft.Quantum.Tests.StartOperation.StartOperationTest"));
30 var allVariantsBody = 3;
MapLoaderTest.cs (https://github.com/theblackunknown/trash-2012.git) C# · 199 lines
AsyncEnumerable.Creation.cs (https://gitlab.com/svsamipillai/Rx.NET) C# · 283 lines
AssignmentTests.cs (https://github.com/kumaryu/IronLanguages-main.git) C# · 404 lines
1 /* ****************************************************************************
2 *
3 * Copyright (c) Microsoft Corporation.
4 *
5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
6 * copy of the license can be found in the License.html file at the root of this distribution. If
7 * you cannot locate the Apache License, Version 2.0, please send an email to
8 * ironruby@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
9 * by the terms of the Apache License, Version 2.0.
10 *
14 * ***************************************************************************/
16 namespace IronRuby.Tests {
17 public partial class Tests {
18 public void Scenario_Assignment1() {
EventProviderTraceListener.cs (https://gitlab.com/unofficial-mirrors/PowerShell) C# · 288 lines
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License.
6 using System.Diagnostics.CodeAnalysis;
8 namespace System.Diagnostics.Eventing
9 {
10 public class EventProviderTraceListener : TraceListener
28 private const int s_defaultPayloadSize = 512;
30 [SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly")]
31 public string Delimiter
32 {
36 }
38 [SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly")]
39 set
40 {
NewAzureServiceRemoteDesktopExtensionConfig.cs (https://gitlab.com/jslee1/azure-powershell) C# · 128 lines
1 // ----------------------------------------------------------------------------------
2 //
3 // Copyright Microsoft Corporation
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
18 using System.Security.Cryptography.X509Certificates;
20 namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions
21 {
22 /// <summary>
111 CertificateThumbprint = CertificateThumbprint,
112 ThumbprintAlgorithm = ThumbprintAlgorithm,
113 ProviderNameSpace = ProviderNamespace,
114 Type = ExtensionName,
115 PublicConfiguration = PublicConfiguration,
Eval.cs (https://github.com/swax/SwarmNLP.git) C# · 233 lines
1 using System;
2 using System.Text;
3 using Microsoft.CSharp;
4 using System.Reflection;
5 using System.CodeDom.Compiler;
6 using System.Collections.Specialized;
8 namespace Evaluator
9 {
10 /// <summary>
72 }
74 sourceBuilder.Append(language.beginNamespace(namespaceName));
75 sourceBuilder.Append(typeSource);
76 sourceBuilder.Append(language.endNamespace(namespaceName));
InvocationExpression.cs (https://github.com/acken/mono.git) C# · 199 lines
1 /* ****************************************************************************
2 *
3 * Copyright (c) Microsoft Corporation.
4 *
5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
6 * copy of the license can be found in the License.html file at the root of this distribution. If
7 * you cannot locate the Apache License, Version 2.0, please send an email to
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
9 * by the terms of the Apache License, Version 2.0.
10 *
23 #if !FEATURE_CORE_DLR
24 namespace Microsoft.Scripting.Ast {
25 #else
26 namespace System.Linq.Expressions {
CollectionExtensions.cs (https://github.com/jdecuyper/mono.git) C# · 195 lines
1 /* ****************************************************************************
2 *
3 * Copyright (c) Microsoft Corporation.
4 *
5 * This source code is subject to terms and conditions of the Microsoft Public License. A
6 * copy of the license can be found in the License.html file at the root of this distribution. If
7 * you cannot locate the Microsoft Public License, please send an email to
8 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
9 * by the terms of the Microsoft Public License.
10 *
11 * You must not remove this notice, or any other, from this software.
16 #if CLR2
17 using Microsoft.Scripting.Utils;
18 #else
19 using System.Diagnostics.Contracts;
This.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 268 lines
✨ Summary
This Java code defines a class This
that represents a scripted object in the BeanShell programming language. It provides methods for invoking methods on the object, handling primitive values, and implementing the default Object protocol. The class also allows binding to a parent namespace and reinitializing the call stack. It’s used by the BeanShell interpreter to manage scripted objects.
This Java code defines a class This
that represents a scripted object in the BeanShell programming language. It provides methods for invoking methods on the object, handling primitive values, and implementing the default Object protocol. The class also allows binding to a parent namespace and reinitializing the call stack. It’s used by the BeanShell interpreter to manage scripted objects.
49 The namespace that this This reference wraps.
50 */
51 NameSpace namespace;
53 /**
85 */
86 static This getThis(
87 NameSpace namespace, Interpreter declaringInterpreter )
88 {
89 try {
261 This ths, NameSpace namespace, Interpreter declaringInterpreter )
262 {
263 ths.namespace.setParent( namespace );
264 ths.declaringInterpreter = declaringInterpreter;
265 }
qpatternplatform.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 301 lines
BSHClassDeclaration.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 105 lines
✨ Summary
This Java class represents a class declaration in the BeanShell scripting language. It extends SimpleNode
and provides methods for resolving superclass information, getting interfaces, and generating a new class based on the provided parameters. The eval()
method is used to create a new class instance, while the toString()
method returns a string representation of the class declaration.
This Java class represents a class declaration in the BeanShell scripting language. It extends SimpleNode
and provides methods for resolving superclass information, getting interfaces, and generating a new class based on the provided parameters. The eval()
method is used to create a new class instance, while the toString()
method returns a string representation of the class declaration.
convert.h
(git://github.com/jwiegley/ledger.git)
C Header · 56 lines
✨ Summary
This C header file defines a function convert_command
that takes a call_scope_t
object as an argument and returns a value_t
. The function is part of a namespace called ledger
, indicating its relation to a larger project or system, likely related to financial transactions or accounting. It appears to be a utility function for converting data within the scope of a specific context.
This C header file defines a function convert_command
that takes a call_scope_t
object as an argument and returns a value_t
. The function is part of a namespace called ledger
, indicating its relation to a larger project or system, likely related to financial transactions or accounting. It appears to be a utility function for converting data within the scope of a specific context.
NamespaceConstructor.html
(http://xbird.googlecode.com/svn/trunk/)
HTML · 476 lines
✨ Summary
This HTML code outputs a documentation page for a Java class, NamespaceConstructor
, generated by an automatic documentation tool. It displays information about the class, including its methods and fields, as well as links to related classes and pages. The output is formatted in a standard documentation style, with navigation bars and summaries of key concepts.
This HTML code outputs a documentation page for a Java class, NamespaceConstructor
, generated by an automatic documentation tool. It displays information about the class, including its methods and fields, as well as links to related classes and pages. The output is formatted in a standard documentation style, with navigation bars and summaries of key concepts.
165 </TR>
166 <TR BGCOLOR="white" CLASS="TableRowColor">
167 <TD><CODE><B><A HREF="../../../../xbird/xquery/expr/constructor/NamespaceConstructor.html#NamespaceConstructor(java.lang.String, java.lang.String)">NamespaceConstructor</A></B>(<A HREF="http://java.sun.com/products/j2se/1.5/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
168 <A HREF="http://java.sun.com/products/j2se/1.5/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> value)</CODE>
295 NamespaceConstructor</H3>
296 <PRE>
297 public <A HREF="../../../../src-html/xbird/xquery/expr/constructor/NamespaceConstructor.html#line.50"><B>NamespaceConstructor</B></A>(<A HREF="http://java.sun.com/products/j2se/1.5/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
298 <A HREF="http://java.sun.com/products/j2se/1.5/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> value)</PRE>
299 <DL>
379 eval</H3>
380 <PRE>
381 public <A HREF="../../../../xbird/xquery/dm/value/node/DMNamespace.html" title="class in xbird.xquery.dm.value.node">DMNamespace</A> <A HREF="../../../../src-html/xbird/xquery/expr/constructor/NamespaceConstructor.html#line.78"><B>eval</B></A>(<A HREF="../../../../xbird/xquery/dm/value/Sequence.html" title="interface in xbird.xquery.dm.value">Sequence</A><? extends <A HREF="../../../../xbird/xquery/dm/value/Item.html" title="interface in xbird.xquery.dm.value">Item</A>> contextSeq,
382 <A HREF="../../../../xbird/xquery/meta/DynamicContext.html" title="class in xbird.xquery.meta">DynamicContext</A> dynEnv)
383 throws <A HREF="../../../../xbird/xquery/XQueryException.html" title="class in xbird.xquery">XQueryException</A></PRE>
boost_no_mem_templates.ipp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header code tests whether member templates are fully supported by the compiler. It defines a struct foo
with nested template functions and checks if they can be instantiated correctly, including template metaprogramming features like BOOST_NESTED_TEMPLATE
. The test function test_proc
exercises these features to verify their behavior.
This C++ header code tests whether member templates are fully supported by the compiler. It defines a struct foo
with nested template functions and checks if they can be instantiated correctly, including template metaprogramming features like BOOST_NESTED_TEMPLATE
. The test function test_proc
exercises these features to verify their behavior.
month_and_week_grid.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
The code generates a time grid representing a two-month period, dividing it into monthly and weekly partitions. It then prints out the intervals for each partition, showing which days are part of a new month or week. The output shows the start and end dates for each interval, indicating how the time is divided into months and weeks.
The code generates a time grid representing a two-month period, dividing it into monthly and weekly partitions. It then prints out the intervals for each partition, showing which days are part of a new month or week. The output shows the start and end dates for each interval, indicating how the time is divided into months and weeks.
is_object.hpp (http://hadesmem.googlecode.com/svn/trunk/) text · 0 lines
20 #include <boost/type_traits/detail/bool_trait_def.hpp>
22 namespace boost {
24 namespace detail {
43 };
45 } // namespace detail
47 BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_object,T,::boost::detail::is_object_impl<T>::value)
49 } // namespace boost
51 #include <boost/type_traits/detail/bool_trait_undef.hpp>
FsmAsPtr.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
The provided C++ code implements a finite state machine (FSM) for a media player. It defines states and transitions based on user input events, such as playing, pausing, opening, closing, and detecting CDs. The FSM is created using the Boost.MSM library and can be controlled through various methods, including do_play()
, do_pause()
, and do_open_close()
.
The provided C++ code implements a finite state machine (FSM) for a media player. It defines states and transitions based on user input events, such as playing, pausing, opening, closing, and detecting CDs. The FSM is created using the Boost.MSM library and can be controlled through various methods, including do_play()
, do_pause()
, and do_open_close()
.
uint.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a set of macros and functions for creating parsers for various data types, including integers, unsigned integers, and long-long integers, in different bases (binary, octal, hexadecimal). It allows users to create parsers with specific modifiers and parameters, making it easier to parse input data into the desired data type.
This C++ header file provides a set of macros and functions for creating parsers for various data types, including integers, unsigned integers, and long-long integers, in different bases (binary, octal, hexadecimal). It allows users to create parsers with specific modifiers and parameters, making it easier to parse input data into the desired data type.
25 #include <boost/type_traits/is_same.hpp>
27 namespace boost { namespace spirit
28 {
29 namespace tag
37 }
39 namespace qi
40 {
41 ///////////////////////////////////////////////////////////////////////
185 }}
187 namespace boost { namespace spirit { namespace qi
188 {
189 #ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
Spreadsheets.csproj (http://google-gdata.googlecode.com/svn/trunk/) MSBuild · 188 lines
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3 <PropertyGroup>
4 <ProjectType>Local</ProjectType>
18 <DelaySign>false</DelaySign>
19 <OutputType>Library</OutputType>
20 <RootNamespace>Google.GData.Spreadsheets</RootNamespace>
21 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
22 <StartupObject>
163 </ItemGroup>
164 <ItemGroup>
165 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
166 <Visible>False</Visible>
167 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
168 <Install>false</Install>
169 </BootstrapperPackage>
170 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
171 <Visible>False</Visible>
172 <ProductName>.NET Framework 3.5 SP1</ProductName>
BSHPrimarySuffix.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 305 lines
✨ Summary
This Java code defines a class doIndex
that handles array indexing operations in a Bash-like interpreter. It takes an object, index value, and call stack as input and returns the indexed value. The method also handles cases where the index is not an integer type, throwing an error if so.
This Java code defines a class doIndex
that handles array indexing operations in a Bash-like interpreter. It takes an object, index value, and call stack as input and returns the indexed value. The method also handles cases where the index is not an integer type, throwing an error if so.
jEdit.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 3856 lines
✨ Summary
This Java code is part of a text editor application, managing various aspects such as plugin configuration, buffer management, and user interface settings. It initializes and configures the application’s properties, including plugin errors, action sets, and theme. The code also handles buffer linking, sorting, and caching, ensuring thread-safe operations for temporary files.
This Java code is part of a text editor application, managing various aspects such as plugin configuration, buffer management, and user interface settings. It initializes and configures the application’s properties, including plugin errors, action sets, and theme. The code also handles buffer linking, sorting, and caching, ensuring thread-safe operations for temporary files.
valid.h (https://bitbucket.org/Tsiannian/cocos2d-x.git) C++ Header · 459 lines
decay_array.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header defines a metafunction decay_array
that takes an array type as input and returns its corresponding pointer-to-element type. The function is used to decay arrays into pointers, allowing for more flexible use in template metaprogramming. It’s part of the Boost Phoenix library, providing a way to work with arrays in a more expressive and generic manner.
This C++ header defines a metafunction decay_array
that takes an array type as input and returns its corresponding pointer-to-element type. The function is used to decay arrays into pointers, allowing for more flexible use in template metaprogramming. It’s part of the Boost Phoenix library, providing a way to work with arrays in a more expressive and generic manner.
bg.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 23 lines
adapt_assoc_struct_named.hpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ Header · 0 lines
✨ Summary
This C++ header file provides a macro for adapting structs to work with Boost.Fusion, a library for working with sequences and containers. It allows users to define a struct with named attributes and adapt it to be used as a view in a sequence, providing a convenient way to access its elements by name.
This C++ header file provides a macro for adapting structs to work with Boost.Fusion, a library for working with sequences and containers. It allows users to define a struct with named attributes and adapt it to be used as a view in a sequence, providing a convenient way to access its elements by name.
21 #define BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED_NS( \
22 WRAPPED_TYPE, NAMESPACE_SEQ, NAME, ATTRIBUTES) \
23 \
24 BOOST_FUSION_ADAPT_STRUCT_DEFINE_PROXY_TYPE_IMPL( \
25 WRAPPED_TYPE,(0)NAMESPACE_SEQ,NAME) \
26 \
27 BOOST_FUSION_ADAPT_ASSOC_STRUCT_AS_VIEW( \
28 BOOST_FUSION_ADAPT_STRUCT_NAMESPACE_DECLARATION((0)NAMESPACE_SEQ)NAME, \
29 BOOST_PP_CAT( \
30 BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED_FILLER_0 ATTRIBUTES,_END))
javap.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 63 lines
example08.cpp
(http://hadesmem.googlecode.com/svn/trunk/)
C++ · 0 lines
✨ Summary
This C++ code sets up a unit test framework using Boost.Test. It defines a test class with a method that checks if a double value multiplied by 100 is close to an integer value. The init_unit_test
function creates a parameterized test case that runs the test method on different input values, verifying its correctness for various precision levels.
This C++ code sets up a unit test framework using Boost.Test. It defines a test class with a method that checks if a double value multiplied by 100 is close to an integer value. The init_unit_test
function creates a parameterized test case that runs the test method on different input values, verifying its correctness for various precision levels.
DatePrototype.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1096 lines
CSSPrimitiveValueCache.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 72 lines
qfunctionfactorycollection.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 138 lines
JThis.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 238 lines
✨ Summary
This Java code defines a set of listener interfaces and event handlers for various GUI events, such as button clicks, key presses, and window changes. It also provides a method to update an image in a graphical application. The code uses a custom interpreter and call stack system to handle the event handling and method invocation.
This Java code defines a set of listener interfaces and event handlers for various GUI events, such as button clicks, key presses, and window changes. It also provides a method to update an image in a graphical application. The code uses a custom interpreter and call stack system to handle the event handling and method invocation.
48 arbitrary interfaces.
50 The NameSpace getThis() method will produce instances of JThis if
51 the java version is prior to 1.3 and swing is available... (e.g. 1.2
52 or 1.1 + swing installed)
76 {
78 JThis( NameSpace namespace, Interpreter declaringInterp ) {
79 super( namespace, declaringInterp );
82 public String toString() {
83 return "'this' reference (JThis) to Bsh object: " + namespace.getName();
84 }
86 void event(String name, Object event)
87 {
88 CallStack callstack = new CallStack( namespace );
89 BshMethod method = null;
BSHMethodInvocation.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 104 lines
✨ Summary
This Java code defines a class BSHMethodInvocation
that extends SimpleNode
. It handles method invocations in BeanShell, a JavaScript-like scripting language for Java. The class evaluates the method invocation with the specified call stack and interpreter, handling exceptions and errors, and returns the result of the method invocation.
This Java code defines a class BSHMethodInvocation
that extends SimpleNode
. It handles method invocations in BeanShell, a JavaScript-like scripting language for Java. The class evaluates the method invocation with the specified call stack and interpreter, handling exceptions and errors, and returns the result of the method invocation.
56 throws EvalError
57 {
58 NameSpace namespace = callstack.top();
59 BSHAmbiguousName nameNode = getNameNode();
61 // Do not evaluate methods this() or super() in class instance space
62 // (i.e. inside a constructor)
63 if ( namespace.getParent() != null && namespace.getParent().isClass
64 && ( nameNode.text.equals("super") || nameNode.text.equals("this") )
65 )
66 return Primitive.VOID;
68 Name name = nameNode.getName(namespace);
69 Object[] args = getArgsNode().getArguments(callstack, interpreter);
requireddestination.cs
(http://google-gdata.googlecode.com/svn/trunk/)
C# · 53 lines
✨ Summary
This C# code defines a class RequiredDestination
that represents an element in Google’s Content for Shopping API. It has a default constructor and a parameterized constructor to create instances with a destination value. The class provides a public property Destination
to access and modify the element’s attribute.
This C# code defines a class RequiredDestination
that represents an element in Google’s Content for Shopping API. It has a default constructor and a parameterized constructor to create instances with a destination value. The class provides a public property Destination
to access and modify the element’s attribute.
16 using Google.GData.Extensions;
18 namespace Google.GData.ContentForShopping.Elements {
19 public class RequiredDestination : SimpleElement {
20 /// <summary>
24 : base(ContentForShoppingNameTable.RequiredDestination,
25 ContentForShoppingNameTable.scDataPrefix,
26 ContentForShoppingNameTable.BaseNamespace) {
27 }
34 : base(ContentForShoppingNameTable.RequiredDestination,
35 ContentForShoppingNameTable.scDataPrefix,
36 ContentForShoppingNameTable.BaseNamespace) {
37 this.Destination = destination;
38 }
qsequencegeneratingfns_p.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 167 lines
source.bsh (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 19 lines
1 /**
2 Read filename into the interpreter and evaluate it in the current
3 namespace. Like the Bourne Shell "." command.
4 */
8 Object source( String filename ) {
9 return this.interpreter.source( filename, this.caller.namespace );
10 }
12 Object source( URL url ) {
13 return this.interpreter.eval(
14 new InputStreamReader(url.openStream()), this.caller.namespace,
15 "URL: "+url.toString()
16 );
DelaySlotFiller.cpp (git://pkgs.fedoraproject.org/llvm) C++ · 324 lines
24 #include "llvm/ADT/Statistic.h"
26 using namespace llvm;
28 STATISTIC(FilledSlots, "Number of delay slots filled");
34 cl::Hidden);
36 namespace {
37 struct Filler : public MachineFunctionPass {
38 /// Target machine description which we query for reg. names, data
84 };
85 char Filler::ID = 0;
86 } // end of anonymous namespace
88 /// createSparcDelaySlotFillerPass - Returns a pass that fills in delay