text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
fileFormatVersion: 2
guid: ccf7eaa10578c284ab601768b1abdf05
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/NetComponentOnReadInvoker_Gate.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/NetComponentOnReadInvoker_Gate.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 124 |
fileFormatVersion: 2
guid: 1f15a025727328543b751e037d5c8657
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Realm/FiberInit_Realm.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Realm/FiberInit_Realm.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 125 |
fileFormatVersion: 2
guid: 085b02b7394eec94ba27bf98e11b44b6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/Scene.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/Scene.meta",
"repo_id": "ET",
"token_count": 70
} | 126 |
using System.Collections.Generic;
using TrueSync;
namespace ET.Server
{
[MessageHandler(SceneType.RoomRoot)]
[FriendOf(typeof (RoomServerComponent))]
public class C2Room_ChangeSceneFinishHandler: MessageHandler<Scene, C2Room_ChangeSceneFinish>
{
protected override async ETTask Run(Scene root, C... | ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Map/C2Room_ChangeSceneFinishHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Map/C2Room_ChangeSceneFinishHandler.cs",
"repo_id": "ET",
"token_count": 726
} | 127 |
using System.Collections.Generic;
using Unity.Mathematics;
namespace ET.Server
{
[EntitySystemOf(typeof(AOIEntity))]
[FriendOf(typeof(AOIEntity))]
public static partial class AOIEntitySystem2
{
[EntitySystem]
private static void Awake(this AOIEntity self, int distance, float3 pos)
... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI/AOIEntitySystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI/AOIEntitySystem.cs",
"repo_id": "ET",
"token_count": 3187
} | 128 |
fileFormatVersion: 2
guid: 77b92c4f020a77b4b98b215b660cfe3b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/ObjectUnLockRequestHandler.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/ObjectUnLockRequestHandler.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 129 |
using System;
using System.Net;
namespace ET.Server
{
[EntitySystemOf(typeof(ProcessOuterSender))]
[FriendOf(typeof(ProcessOuterSender))]
public static partial class ProcessOuterSenderSystem
{
[EntitySystem]
private static void Awake(this ProcessOuterSender self, IPEndPoint address)
... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/Message/ProcessOuterSenderSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/Message/ProcessOuterSenderSystem.cs",
"repo_id": "ET",
"token_count": 4677
} | 130 |
using System;
using ET.Client;
using TrueSync;
namespace ET
{
[EntitySystemOf(typeof(LSInputComponent))]
[LSEntitySystemOf(typeof(LSInputComponent))]
public static partial class LSInputComponentSystem
{
[EntitySystem]
private static void Awake(this LSInputComponent self)
{
... | ET/Unity/Assets/Scripts/Hotfix/Share/LockStep/LSInputComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/LockStep/LSInputComponentSystem.cs",
"repo_id": "ET",
"token_count": 397
} | 131 |
fileFormatVersion: 2
guid: 0184f62999c865f469982d30288226a0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/Module/Actor/MessageHandler.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Actor/MessageHandler.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 132 |
using System;
using System.Collections.Generic;
using Unity.Mathematics;
namespace ET
{
[EntitySystemOf(typeof(MoveComponent))]
[FriendOf(typeof(MoveComponent))]
public static partial class MoveComponentSystem
{
[Invoke(TimerInvokeType.MoveTimer)]
public class MoveTimer: ATimer<MoveCom... | ET/Unity/Assets/Scripts/Hotfix/Share/Module/Move/MoveComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Move/MoveComponentSystem.cs",
"repo_id": "ET",
"token_count": 5423
} | 133 |
namespace ET
{
[EntitySystemOf(typeof(Unit))]
public static partial class UnitSystem
{
[EntitySystem]
private static void Awake(this Unit self, int configId)
{
self.ConfigId = configId;
}
public static UnitConfig Config(this Unit self)
{
... | ET/Unity/Assets/Scripts/Hotfix/Share/Module/Unit/UnitSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Unit/UnitSystem.cs",
"repo_id": "ET",
"token_count": 244
} | 134 |
fileFormatVersion: 2
guid: abee6d96c00081549adc0cdc687ceb08
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Scene.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Scene.meta",
"repo_id": "ET",
"token_count": 68
} | 135 |
namespace ET.Client
{
[Event(SceneType.Demo)]
public class LoginFinish_CreateLobbyUI: AEvent<Scene, LoginFinish>
{
protected override async ETTask Run(Scene scene, LoginFinish args)
{
await UIHelper.Create(scene, UIType.UILobby, UILayer.Mid);
}
}
}
| ET/Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILobby/LoginFinish_CreateLobbyUI.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILobby/LoginFinish_CreateLobbyUI.cs",
"repo_id": "ET",
"token_count": 102
} | 136 |
using UnityEngine;
namespace ET.Client
{
[Event(SceneType.Current)]
public class AfterUnitCreate_CreateUnitView: AEvent<Scene, AfterUnitCreate>
{
protected override async ETTask Run(Scene scene, AfterUnitCreate args)
{
Unit unit = args.Unit;
// Unit View层
... | ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/AfterUnitCreate_CreateUnitView.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/AfterUnitCreate_CreateUnitView.cs",
"repo_id": "ET",
"token_count": 394
} | 137 |
using TrueSync;
using UnityEngine;
namespace ET.Client
{
[EntitySystemOf(typeof(LSOperaComponent))]
[FriendOf(typeof(LSClientUpdater))]
public static partial class LSOperaComponentSystem
{
[EntitySystem]
private static void Awake(this ET.LSOperaComponent self)
{
}
... | ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/LSOperaComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/LSOperaComponentSystem.cs",
"repo_id": "ET",
"token_count": 568
} | 138 |
fileFormatVersion: 2
guid: 0d3a572b0cf3745108a1fe6661565ca1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSRoom/UILSRoomComponentSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSRoom/UILSRoomComponentSystem.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 139 |
fileFormatVersion: 2
guid: 132be8c33339c684ba9ba32fbc4338a2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/Plugins/Example.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Plugins/Example.meta",
"repo_id": "ET",
"token_count": 68
} | 140 |
using UnityEngine;
namespace ET
{
[FriendOf(typeof(GlobalComponent))]
public static partial class GlobalComponentSystem
{
[EntitySystem]
public static void Awake(this GlobalComponent self)
{
self.Global = GameObject.Find("/Global").transform;
self.Unit = Game... | ET/Unity/Assets/Scripts/Loader/GlobalComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/GlobalComponent.cs",
"repo_id": "ET",
"token_count": 311
} | 141 |
using System;
using CommandLine;
using UnityEngine;
namespace ET
{
public class Init: MonoBehaviour
{
private void Start()
{
this.StartAsync().Coroutine();
}
private async ETTask StartAsync()
{
DontDestroyOnLoad(gameObject);
AppDomain.CurrentDomain.UnhandledException += (sender, e) =>
{... | ET/Unity/Assets/Scripts/Loader/MonoBehaviour/Init.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/MonoBehaviour/Init.cs",
"repo_id": "ET",
"token_count": 537
} | 142 |
using System;
using System.IO;
namespace ET
{
[Invoke]
public class RecastFileReader: AInvokeHandler<NavmeshComponent.RecastFileLoader, byte[]>
{
public override byte[] Handle(NavmeshComponent.RecastFileLoader args)
{
if (Define.IsEditor)
{
return Fi... | ET/Unity/Assets/Scripts/Loader/RecastFileReader.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/RecastFileReader.cs",
"repo_id": "ET",
"token_count": 214
} | 143 |
fileFormatVersion: 2
guid: 7519c6cc721bd9640830e41500675444
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model.meta",
"repo_id": "ET",
"token_count": 66
} | 144 |
fileFormatVersion: 2
guid: 2ecf2f6b630b07247baf109cfe70ea9d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Client/Demo/Main/Scene/Wait_SceneChangeFinish.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/Main/Scene/Wait_SceneChangeFinish.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 145 |
fileFormatVersion: 2
guid: 08580776b4d87f149876a786db80a2bf
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/Router/RouterConnector.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/Router/RouterConnector.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 146 |
fileFormatVersion: 2
guid: bb9b11116f2e4ca4e97544099334ab17
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/Client/Message/ClientMessage_C_1000.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/Client/Message/ClientMessage_C_1000.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 147 |
fileFormatVersion: 2
guid: c5c68ea95d0a2d547b69225474967aa7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Message/LockStepOuter_C_11001.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Message/LockStepOuter_C_11001.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 148 |
fileFormatVersion: 2
guid: 3b6fde313b010d5408128f6c6f52a211
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/Server/Message/LockStepOuter_C_11001.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/Server/Message/LockStepOuter_C_11001.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 149 |
namespace ET.Server
{
[ChildOf(typeof(PlayerComponent))]
public sealed class Player : Entity, IAwake<string>
{
public string Account { get; set; }
}
} | ET/Unity/Assets/Scripts/Model/Server/Demo/Gate/Player.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Demo/Gate/Player.cs",
"repo_id": "ET",
"token_count": 71
} | 150 |
fileFormatVersion: 2
guid: 7cb46c73e983f4acb882077e517f6feb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Server/LockStep/Map/RoomPlayer.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/LockStep/Map/RoomPlayer.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 151 |
fileFormatVersion: 2
guid: 4ac4abb8f844e8543b742c9eb837c9e0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Server/Module/AOI/AOIManagerComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/AOI/AOIManagerComponent.cs.meta",
"repo_id": "ET",
"token_count": 98
} | 152 |
fileFormatVersion: 2
guid: e9c8ba382980f3c4b9aaec4e18a10b81
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Server/Plugins.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Plugins.meta",
"repo_id": "ET",
"token_count": 73
} | 153 |
fileFormatVersion: 2
guid: a78339a190b64d92ba482cd00b239f52
timeCreated: 1682422635 | ET/Unity/Assets/Scripts/Model/Share/LockStep/FixedTimeCounter.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/FixedTimeCounter.cs.meta",
"repo_id": "ET",
"token_count": 34
} | 154 |
fileFormatVersion: 2
guid: d43f6155cef5380498803ee6c4e00d63
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/LockStep/LSEntitySystemSingleton.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/LSEntitySystemSingleton.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 155 |
fileFormatVersion: 2
guid: 83a7335c9271d4f848460aedf23c1b70
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/LockStep/Replay.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/Replay.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 156 |
using System;
using System.Collections.Generic;
namespace ET
{
[Code]
public class ConsoleDispatcher: Singleton<ConsoleDispatcher>, ISingletonAwake
{
private readonly Dictionary<string, IConsoleHandler> handlers = new();
public void Awake()
{
HashSet<Type> type... | ET/Unity/Assets/Scripts/Model/Share/Module/Console/ConsoleDispatcher.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Console/ConsoleDispatcher.cs",
"repo_id": "ET",
"token_count": 605
} | 157 |
using System;
using System.Collections.Generic;
using Unity.Mathematics;
namespace ET
{
[ComponentOf(typeof(Unit))]
public class MoveComponent: Entity, IAwake, IDestroy
{
public float3 PreTarget
{
get
{
return this.Targets[this.N - 1];
}
... | ET/Unity/Assets/Scripts/Model/Share/Module/Move/MoveComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Move/MoveComponent.cs",
"repo_id": "ET",
"token_count": 904
} | 158 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ET
{
public static class WaitTypeError
{
public const int Success = 0;
public const int Destroy = 1;
public const int Cancel = 2;
public const int Timeout = 3;
}
public interface IWaitType... | ET/Unity/Assets/Scripts/Model/Share/Module/ObjectWait/ObjectWait.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/ObjectWait/ObjectWait.cs",
"repo_id": "ET",
"token_count": 2410
} | 159 |
fileFormatVersion: 2
guid: 7d03615a3fc86f44d8b4b83c2dd3ab88
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/Demo/Opera.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Demo/Opera.meta",
"repo_id": "ET",
"token_count": 72
} | 160 |
using System;
using System.Collections.Generic;
namespace ET.Client
{
public static partial class UIType
{
public const string Root = "Root";
public const string UILoading = "UILoading";
public const string UILogin = "UILogin";
public const string UILobby = "UILobby";
public const str... | ET/Unity/Assets/Scripts/ModelView/Client/Demo/UI/UIType.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Demo/UI/UIType.cs",
"repo_id": "ET",
"token_count": 130
} | 161 |
fileFormatVersion: 2
guid: 8074477888c14487b9ab005d16f80789
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/LockStep/LSUnitView.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/LockStep/LSUnitView.cs.meta",
"repo_id": "ET",
"token_count": 92
} | 162 |
fileFormatVersion: 2
guid: 616bed0159a236645ab0d4efafce935d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/Module/Resource.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Module/Resource.meta",
"repo_id": "ET",
"token_count": 69
} | 163 |
using System.Collections.Generic;
using UnityEngine;
namespace ET.Client
{
[ComponentOf(typeof(Scene))]
public class UIGlobalComponent: Entity, IAwake
{
public Dictionary<int, Transform> UILayers = new Dictionary<int, Transform>();
}
} | ET/Unity/Assets/Scripts/ModelView/Client/Module/UI/UIGlobalComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Module/UI/UIGlobalComponent.cs",
"repo_id": "ET",
"token_count": 95
} | 164 |
/*
* Copyright 2014 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/Compression/FastLZ.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/Compression/FastLZ.cs",
"repo_id": "ET",
"token_count": 15328
} | 165 |
using System.Threading;
namespace DotRecast.Core
{
public class RcAtomicBoolean
{
private volatile int _location;
public bool Set(bool v)
{
return 0 != Interlocked.Exchange(ref _location, v ? 1 : 0);
}
public bool Get()
{
return 0 != _l... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcAtomicBoolean.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcAtomicBoolean.cs",
"repo_id": "ET",
"token_count": 170
} | 166 |
using System;
using System.Diagnostics;
namespace DotRecast.Core
{
public static class RcFrequency
{
public static readonly double Frequency = (double)TimeSpan.TicksPerSecond / Stopwatch.Frequency;
public static long Ticks => unchecked((long)(Stopwatch.GetTimestamp() * Frequency));
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcFrequency.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcFrequency.cs",
"repo_id": "ET",
"token_count": 109
} | 167 |
namespace DotRecast.Core
{
public struct RcSegmentVert
{
public RcVec3f vmin;
public RcVec3f vmax;
public RcSegmentVert(float v0, float v1, float v2, float v3, float v4, float v5)
{
vmin.x = v0;
vmin.y = v1;
vmin.z = v2;
... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcSegmentVert.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcSegmentVert.cs",
"repo_id": "ET",
"token_count": 261
} | 168 |
fileFormatVersion: 2
guid: 4ce40e7886808ee449f1234c6d702b76
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtCrowd.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtCrowd.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 169 |
fileFormatVersion: 2
guid: fd388c53006f5b54593d2b33009b8fdb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtPathQuery.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtPathQuery.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 170 |
fileFormatVersion: 2
guid: 17b77d042a7ea4240837f224abcfaa5d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Dynamic/Io/ByteUtils.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Dynamic/Io/ByteUtils.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 171 |
fileFormatVersion: 2
guid: 4baf3ed955908ec4890d296d3df2f215
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink.meta",
"repo_id": "ET",
"token_count": 69
} | 172 |
fileFormatVersion: 2
guid: 5f6c0d1116a418c4c9b281aedbe1f456
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/IGroundSampler.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/IGroundSampler.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 173 |
fileFormatVersion: 2
guid: 0e4e342c0dc0a5841b80e2e0c1fccdae
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpTrajectory.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpTrajectory.cs.meta",
"repo_id": "ET",
"token_count": 99
} | 174 |
using System.Collections.Generic;
namespace DotRecast.Detour.TileCache
{
public class DtLayerMonotoneRegion
{
public const int DT_LAYER_MAX_NEIS = 16;
public int area;
public List<int> neis = new List<int>(DT_LAYER_MAX_NEIS);
public int regId;
public int areaId;
};... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/DtLayerMonotoneRegion.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/DtLayerMonotoneRegion.cs",
"repo_id": "ET",
"token_count": 145
} | 175 |
fileFormatVersion: 2
guid: 4aeccf58ce402a148b81ff2cad08bdf0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtNavMeshParams.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtNavMeshParams.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 176 |
fileFormatVersion: 2
guid: 988462b8885c97841b65bf95da9c2c02
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtPoly.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtPoly.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 177 |
fileFormatVersion: 2
guid: bc0d7d7655c371647a3d77f70540b215
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/IQueryHeuristic.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/IQueryHeuristic.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 178 |
using DotRecast.Core;
namespace DotRecast.Detour.Io
{
public class DtNavMeshParamsReader
{
public DtNavMeshParams Read(RcByteBuffer bb)
{
DtNavMeshParams option = new DtNavMeshParams();
option.orig.x = bb.GetFloat();
option.orig.y = bb.GetFloat();
... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/Io/DtNavMeshParamsReader.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/Io/DtNavMeshParamsReader.cs",
"repo_id": "ET",
"token_count": 298
} | 179 |
using DotRecast.Core;
namespace DotRecast.Recast.Geom
{
public class BoundsItem
{
public RcVec2f bmin;
public RcVec2f bmax;
public int i;
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom/BoundsItem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom/BoundsItem.cs",
"repo_id": "ET",
"token_count": 94
} | 180 |
/*
Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
recast4j copyright (c) 2015-2019 Piotr Piastucki piotr@jtilia.org
DotRecast Copyright (c) 2023 Choi Ikpil ikpil@naver.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
ar... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom/SimpleInputGeomProvider.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom/SimpleInputGeomProvider.cs",
"repo_id": "ET",
"token_count": 2779
} | 181 |
/*
Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
recast4j copyright (c) 2015-2019 Piotr Piastucki piotr@jtilia.org
DotRecast Copyright (c) 2023 Choi Ikpil ikpil@naver.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
ar... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcCompactSpan.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcCompactSpan.cs",
"repo_id": "ET",
"token_count": 448
} | 182 |
/*
Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
Recast4J Copyright (c) 2015 Piotr Piastucki piotr@jtilia.org
DotRecast Copyright (c) 2023 Choi Ikpil ikpil@naver.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPolyMesh.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPolyMesh.cs",
"repo_id": "ET",
"token_count": 896
} | 183 |
/*
Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
recast4j copyright (c) 2015-2019 Piotr Piastucki piotr@jtilia.org
DotRecast Copyright (c) 2023 Choi Ikpil ikpil@naver.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
ar... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcUtils.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcUtils.cs",
"repo_id": "ET",
"token_count": 2237
} | 184 |
/*
recast4j copyright (c) 2021 Piotr Piastucki piotr@jtilia.org
DotRecast Copyright (c) 2023 Choi Ikpil ikpil@naver.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted t... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastFilledVolumeRasterization.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastFilledVolumeRasterization.cs",
"repo_id": "ET",
"token_count": 19208
} | 185 |
fileFormatVersion: 2
guid: 618c9dd369f43e84296ac09b6f468e9d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/ETTask.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/ETTask.meta",
"repo_id": "ET",
"token_count": 70
} | 186 |
fileFormatVersion: 2
guid: c1427531a30db254e8587be525470b6c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/ETTask/ETVoid.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/ETTask/ETVoid.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 187 |
fileFormatVersion: 2
guid: 77e035547760594498156b4f61b7d5c3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/NativeCollection.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection.meta",
"repo_id": "ET",
"token_count": 70
} | 188 |
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace NativeCollection
{
public static unsafe class NativeMemoryHelper
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void* Alloc(UIntPtr byteCount)
... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/NativeMemoryHelper.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/NativeMemoryHelper.cs",
"repo_id": "ET",
"token_count": 1288
} | 189 |
fileFormatVersion: 2
guid: e5c05c2ddcd32d949bf07233a92ee720
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/NativeStackPool.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/NativeStackPool.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 190 |
fileFormatVersion: 2
guid: d0797985ee025477f862209be3275009
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSRandom.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSRandom.cs.meta",
"repo_id": "ET",
"token_count": 91
} | 191 |
fileFormatVersion: 2
guid: ab789a178ea67864fbbddbe59a20be83
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Settings/IgnoreAsmdef.meta/0 | {
"file_path": "ET/Unity/Assets/Settings/IgnoreAsmdef.meta",
"repo_id": "ET",
"token_count": 66
} | 192 |
fileFormatVersion: 2
guid: 358226aacb358dc48b23cec22a1e8224
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Settings/IgnoreAsmdef/Model/Generate.meta/0 | {
"file_path": "ET/Unity/Assets/Settings/IgnoreAsmdef/Model/Generate.meta",
"repo_id": "ET",
"token_count": 68
} | 193 |
fileFormatVersion: 2
guid: 446bf408c1179c94091bd1a061a808e6
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Settings/IgnoreAsmdef/ModelView/Client/Ignore.asmdef.DISABLED.meta/0 | {
"file_path": "ET/Unity/Assets/Settings/IgnoreAsmdef/ModelView/Client/Ignore.asmdef.DISABLED.meta",
"repo_id": "ET",
"token_count": 64
} | 194 |
$ErrorActionPreference = "Stop";
[Reflection.Assembly]::LoadWithPartialName("System.Xml.Linq") | Out-Null
Write-Host "Sorting .resx files...";
Get-ChildItem -Include *.resx -Recurse | foreach ($_) {
Write-Host $_.FullName;
$doc = [System.Xml.Linq.XDocument]::Load($_.FullName);
$descendants = [System.Linq.Enumer... | ILSpy/BuildTools/sort-resx.ps1/0 | {
"file_path": "ILSpy/BuildTools/sort-resx.ps1",
"repo_id": "ILSpy",
"token_count": 245
} | 195 |
/*
Copyright (c) 2015 Ki
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublic... | ILSpy/ICSharpCode.BamlDecompiler/Xaml/XamlPathDeserializer.cs/0 | {
"file_path": "ILSpy/ICSharpCode.BamlDecompiler/Xaml/XamlPathDeserializer.cs",
"repo_id": "ILSpy",
"token_count": 2262
} | 196 |
#if !NETCORE
#nullable enable
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)]
internal sealed class NotNullIfNotNullAttribute : Attribute
{
public string ParameterName { get; }
public Not... | ILSpy/ICSharpCode.Decompiler.PowerShell/NullAttributes.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.PowerShell/NullAttributes.cs",
"repo_id": "ILSpy",
"token_count": 284
} | 197 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, mo... | ILSpy/ICSharpCode.Decompiler.Tests/ILPrettyTestRunner.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/ILPrettyTestRunner.cs",
"repo_id": "ILSpy",
"token_count": 2565
} | 198 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, m... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/CompoundAssignment.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/CompoundAssignment.cs",
"repo_id": "ILSpy",
"token_count": 2244
} | 199 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
{
// taken from https://github.com/Jackyjjc/MiniJSON.cs
// Copyright (c) 2013 Calvin Rien.
// Licensed under the MIT LICENSE.
public class Mini... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/MiniJSON.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/MiniJSON.cs",
"repo_id": "ILSpy",
"token_count": 6056
} | 200 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, m... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/YieldReturn.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/YieldReturn.cs",
"repo_id": "ILSpy",
"token_count": 5483
} | 201 |
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly DirectCallToExplicitInterfaceImpl
{
.ver 1:0:0:0
}
.module DirectCallToExplicitInterfaceImpl.exe
.class public auto ansi sealed TestClass
extends [mscorlib]System.Object
imple... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/DirectCallToExplicitInterfaceImpl.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/DirectCallToExplicitInterfaceImpl.il",
"repo_id": "ILSpy",
"token_count": 327
} | 202 |
.class /* 33554434 */ public auto ansi beforefieldinit ClassLibrary1.UnknownClassTest
extends [netstandard]System.EventArgs
{
// Methods
.method /* 100663297 */ public hidebysig
instance void MethodUnknownClass () cil managed
{
// Method begins at RVA 0x2050
// Header size: 12
// Code size: 325 (0x145)
... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/GuessAccessors.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/GuessAccessors.il",
"repo_id": "ILSpy",
"token_count": 9233
} | 203 |
// Issue1389.Program
using System;
namespace Issue1389
{
public class Program
{
private static object GetObject()
{
throw null;
}
private static void UnusedResultOfIsinst()
{
_ = GetObject() is TypeCode;
}
private static bool BoolResultOfIsinst()
{
return GetObject() is TypeCode;
}
pr... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1389.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1389.cs",
"repo_id": "ILSpy",
"token_count": 169
} | 204 |
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty
{
internal class Issue379
{
public virtual void Test<T>() where T : new()
{
}
}
}
| ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue379.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue379.cs",
"repo_id": "ILSpy",
"token_count": 68
} | 205 |
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyMetadata(".NETFrameworkAssembly", "")]
[assembly: CLSCompliant(false)]
[assembly: AssemblyFileVersion("4.0.0.0")]
[assembly: AssemblyInformationalVersion("4.0.0.0")]
[assembly: AssemblyTitle("System.Runtime.CompilerService... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Unsafe.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Unsafe.cs",
"repo_id": "ILSpy",
"token_count": 4107
} | 206 |
using System;
using System.Threading.Tasks;
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
public class AsyncMain
{
public static async Task Main(string[] args)
{
await Task.Delay(1000);
Console.WriteLine("Hello Wolrd!");
}
}
}
| ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/AsyncMain.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/AsyncMain.cs",
"repo_id": "ILSpy",
"token_count": 102
} | 207 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, m... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomShortCircuitOperators.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomShortCircuitOperators.cs",
"repo_id": "ILSpy",
"token_count": 1711
} | 208 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, m... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/InlineAssignmentTest.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/InlineAssignmentTest.cs",
"repo_id": "ILSpy",
"token_count": 1212
} | 209 |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, m... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/OutVariables.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/OutVariables.cs",
"repo_id": "ILSpy",
"token_count": 739
} | 210 |
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly
{
public class DisplayClass
{
public Program thisField;
public int field1;
public string field2;
}
public class NestedDisplayClass
{
public DisplayClass field3;
public int field1;
public string field2;
}
public class Program
{
... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/AggressiveScalarReplacementOfAggregates.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/AggressiveScalarReplacementOfAggregates.cs",
"repo_id": "ILSpy",
"token_count": 1760
} | 211 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly
{
public sealed class Handle
{
private readonly Func<int> _func;
public Handle(Func<int> func)
{
_func = func;
}
}
public static cla... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoLocalFunctions.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoLocalFunctions.cs",
"repo_id": "ILSpy",
"token_count": 272
} | 212 |
using System;
public class Issue1906
{
public void M()
{
Console.WriteLine(Math.Min(Math.Max(long.MinValue, default(long)), long.MaxValue));
}
}
| ILSpy/ICSharpCode.Decompiler.Tests/TestCases/VBPretty/Issue1906.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/VBPretty/Issue1906.cs",
"repo_id": "ILSpy",
"token_count": 60
} | 213 |
// Copyright (c) 2014-2020 Daniel Grunwald
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// ... | ILSpy/ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs",
"repo_id": "ILSpy",
"token_count": 68467
} | 214 |
// Copyright (c) 2020 Siegfried Pammer
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// pub... | ILSpy/ICSharpCode.Decompiler/CSharp/ProjectDecompiler/TargetFramework.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/ProjectDecompiler/TargetFramework.cs",
"repo_id": "ILSpy",
"token_count": 1501
} | 215 |
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to us... | ILSpy/ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Resolver/MemberLookup.cs",
"repo_id": "ILSpy",
"token_count": 10227
} | 216 |
//
// AnonymousMethodExpression.cs
//
// Author:
// Mike Krüger <mkrueger@novell.com>
//
// Copyright (c) 2009 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AnonymousMethodExpression.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AnonymousMethodExpression.cs",
"repo_id": "ILSpy",
"token_count": 1208
} | 217 |
//
// Comment.cs
//
// Author:
// Mike Krüger <mkrueger@novell.com>
//
// Copyright (c) 2010 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Softw... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Comment.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Comment.cs",
"repo_id": "ILSpy",
"token_count": 1284
} | 218 |
//
// FullTypeName.cs
//
// Author:
// Mike Krüger <mkrueger@novell.com>
//
// Copyright (c) 2010 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the So... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/SimpleType.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/SimpleType.cs",
"repo_id": "ILSpy",
"token_count": 1673
} | 219 |
// Copyright (c) 2018 Daniel Grunwald
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publ... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/TupleAstType.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/TupleAstType.cs",
"repo_id": "ILSpy",
"token_count": 1435
} | 220 |
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to us... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs",
"repo_id": "ILSpy",
"token_count": 32330
} | 221 |
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, co... | ILSpy/ICSharpCode.Decompiler/CSharp/Transforms/IntroduceUsingDeclarations.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Transforms/IntroduceUsingDeclarations.cs",
"repo_id": "ILSpy",
"token_count": 3981
} | 222 |
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to us... | ILSpy/ICSharpCode.Decompiler/CSharp/TypeSystem/TypeOrNamespaceReference.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/TypeSystem/TypeOrNamespaceReference.cs",
"repo_id": "ILSpy",
"token_count": 995
} | 223 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.