text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
using System;
using System.Collections.Generic;
using CommandLine;
namespace ET.Server
{
[ConsoleHandler(ConsoleMode.CreateRobot)]
public class CreateRobotConsoleHandler: IConsoleHandler
{
public async ETTask Run(Fiber fiber, ModeContex contex, string content)
{
switch (content)... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/Console/CreateRobotConsoleHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/Console/CreateRobotConsoleHandler.cs",
"repo_id": "ET",
"token_count": 882
} | 130 |
fileFormatVersion: 2
guid: 95a7ba0a15340d143a8eb9787899fcc6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Watcher/WatcherHelper.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Watcher/WatcherHelper.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 131 |
namespace ET.Server
{
public static partial class RoomMessageHelper
{
public static void BroadCast(Room room, IMessage message)
{
// 广播的消息不能被池回收
(message as MessageObject).IsFromPool = false;
RoomServerComponent roomServerComponent = room.GetComp... | ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Map/RoomMessageHelper.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Map/RoomMessageHelper.cs",
"repo_id": "ET",
"token_count": 428
} | 132 |
using System.Collections.Generic;
namespace ET.Server
{
[MessageHandler(SceneType.RoomRoot)]
public class G2Room_ReconnectHandler: MessageHandler<Scene, G2Room_Reconnect, Room2G_Reconnect>
{
protected override async ETTask Run(Scene root, G2Room_Reconnect request, Room2G_Reconnect response)
... | ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Room/G2Room_ReconnectHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Room/G2Room_ReconnectHandler.cs",
"repo_id": "ET",
"token_count": 486
} | 133 |
using System.Collections.Generic;
using System.Text;
namespace ET.Server
{
[EntitySystemOf(typeof(Cell))]
[FriendOf(typeof(Cell))]
public static partial class CellSystem
{
[EntitySystem]
private static void Awake(this ET.Server.Cell self)
{
}
[EntitySy... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI/CellSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI/CellSystem.cs",
"repo_id": "ET",
"token_count": 700
} | 134 |
fileFormatVersion: 2
guid: 0f6c2757c99f36b459abe314a571260c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/ObjectAddRequestHandler.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/ObjectAddRequestHandler.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 135 |
using System;
using System.Collections.Generic;
namespace ET.Server
{
[FriendOf(typeof(RobotCaseComponent))]
public static partial class RobotCaseComponentSystem
{
public static int GetN(this RobotCaseComponent self)
{
return ++self.N;
}
public static as... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/RobotCase/RobotCaseComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/RobotCase/RobotCaseComponentSystem.cs",
"repo_id": "ET",
"token_count": 233
} | 136 |
namespace ET
{
public static partial class ConstValue
{
public const string RouterHttpHost = "127.0.0.1";
public const int RouterHttpPort = 30300;
public const int SessionTimeoutTime = 30 * 1000;
}
} | ET/Unity/Assets/Scripts/Hotfix/Share/ConstValue.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/ConstValue.cs",
"repo_id": "ET",
"token_count": 106
} | 137 |
using System;
namespace ET
{
[EntitySystemOf(typeof(AIComponent))]
[FriendOf(typeof(AIComponent))]
[FriendOf(typeof(AIDispatcherComponent))]
public static partial class AIComponentSystem
{
[Invoke(TimerInvokeType.AITimer)]
public class AITimer: ATimer<AIComponent>
{
... | ET/Unity/Assets/Scripts/Hotfix/Share/Module/AI/AIComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/AI/AIComponentSystem.cs",
"repo_id": "ET",
"token_count": 1531
} | 138 |
fileFormatVersion: 2
guid: d247feb1f882fa24094546d5699183d9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/Module/Message.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Message.meta",
"repo_id": "ET",
"token_count": 68
} | 139 |
using System;
using System.Collections.Generic;
using System.IO;
using DotRecast.Core;
using DotRecast.Detour;
using DotRecast.Detour.Io;
using Unity.Mathematics;
namespace ET
{
[EntitySystemOf(typeof(PathfindingComponent))]
[FriendOf(typeof(PathfindingComponent))]
public static partial class PathfindingCo... | ET/Unity/Assets/Scripts/Hotfix/Share/Module/Recast/PathfindingComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Recast/PathfindingComponentSystem.cs",
"repo_id": "ET",
"token_count": 1657
} | 140 |
fileFormatVersion: 2
guid: 8b3c4bc3799469f44a5750e1e47f7d95
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView.meta",
"repo_id": "ET",
"token_count": 72
} | 141 |
fileFormatVersion: 2
guid: 7030740f8616add408a4f8c4529af60a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UIHelp.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UIHelp.meta",
"repo_id": "ET",
"token_count": 68
} | 142 |
using System;
namespace ET.Client
{
[EntitySystemOf(typeof(GameObjectComponent))]
public static partial class GameObjectComponentSystem
{
[EntitySystem]
private static void Destroy(this GameObjectComponent self)
{
UnityEngine.Object.Destroy(self.GameObject);
}
... | ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/GameObjectComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/GameObjectComponentSystem.cs",
"repo_id": "ET",
"token_count": 188
} | 143 |
using System;
using TrueSync;
using UnityEngine;
namespace ET.Client
{
[EntitySystemOf(typeof(LSUnitView))]
[LSEntitySystemOf(typeof(LSUnitView))]
[FriendOf(typeof(LSUnitView))]
public static partial class LSUnitViewSystem
{
[EntitySystem]
private static void Awake(this LSUnitView s... | ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/LSUnitViewSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/LSUnitViewSystem.cs",
"repo_id": "ET",
"token_count": 1177
} | 144 |
namespace ET.Client
{
[Event(SceneType.LockStep)]
public class LoginFinish_RemoveUILSLogin: AEvent<Scene, LoginFinish>
{
protected override async ETTask Run(Scene scene, LoginFinish args)
{
await UIHelper.Remove(scene, UIType.UILSLogin);
}
}
}
| ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLogin/LoginFinish_RemoveLoginUI.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLogin/LoginFinish_RemoveLoginUI.cs",
"repo_id": "ET",
"token_count": 100
} | 145 |
using TrueSync;
using System.Reflection;
using UnityEngine;
/**
* @brief Extensions added by TrueSync.
**/
public static class TrueSyncExtensions {
public static TSVector ToTSVector(this Vector3 vector) {
return new TSVector(vector.x, vector.y, vector.z);
}
public static TSVector2 ToTSVector2(th... | ET/Unity/Assets/Scripts/HotfixView/Client/Module/TrueSync/TrueSyncExtensions.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Module/TrueSync/TrueSyncExtensions.cs",
"repo_id": "ET",
"token_count": 692
} | 146 |
namespace ET
{
// mono层调用一下,让Unity引用相应的dll,否则热更层无法使用
public static class AssemblyReference
{
public static void Run()
{
using System.Net.Http.HttpClient httpClient = new System.Net.Http.HttpClient();
}
}
}
| ET/Unity/Assets/Scripts/Loader/AssemblyReference.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/AssemblyReference.cs",
"repo_id": "ET",
"token_count": 149
} | 147 |
namespace ET
{
public static class StreamingAssetsDefine
{
/// <summary>
/// 根目录名称(保持和YooAssets资源系统一致)
/// </summary>
public const string RootFolderName = "Bundles";
}
} | ET/Unity/Assets/Scripts/Loader/Resource/StreamingAssetsHelper/StreamingAssetsDefine.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/Resource/StreamingAssetsHelper/StreamingAssetsDefine.cs",
"repo_id": "ET",
"token_count": 131
} | 148 |
fileFormatVersion: 2
guid: 6a1a5585b18d25a43a66b5c0529f32d6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Client/Demo/Main/ClientSenderComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/Main/ClientSenderComponent.cs.meta",
"repo_id": "ET",
"token_count": 98
} | 149 |
namespace ET.Client
{
[ComponentOf(typeof(Session))]
public class PingComponent: Entity, IAwake, IDestroy
{
public long Ping { get; set; } //延迟值
}
} | ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/Ping/PingComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/Ping/PingComponent.cs",
"repo_id": "ET",
"token_count": 77
} | 150 |
fileFormatVersion: 2
guid: 9f65ab970024a1d45b19b597bc1e1bf8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Config/AIConfig.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Config/AIConfig.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 151 |
fileFormatVersion: 2
guid: 10f8fc000e4c48948a66c02e4b373a92
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Message.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Message.meta",
"repo_id": "ET",
"token_count": 70
} | 152 |
fileFormatVersion: 2
guid: 23703a1d455c90c4aba5a2635ad11151
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/Server/Config/StartMachineConfig.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/Server/Config/StartMachineConfig.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 153 |
fileFormatVersion: 2
guid: d062d8a8ef84f66479bef1bec4baeb3a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/Server/Message.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/Server/Message.meta",
"repo_id": "ET",
"token_count": 72
} | 154 |
fileFormatVersion: 2
guid: a5a2e1e003bdaf4499b66b5d7466a998
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Server/Demo/Map.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Demo/Map.meta",
"repo_id": "ET",
"token_count": 71
} | 155 |
fileFormatVersion: 2
guid: 78a1c559ee23b4ca2878b8d4710adc3f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Server/LockStep.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/LockStep.meta",
"repo_id": "ET",
"token_count": 71
} | 156 |
using System.IO;
namespace ET.Server
{
// 知道对方的Id,使用这个类发actor消息
[ChildOf(typeof(MessageLocationSenderOneType))]
public class MessageLocationSender: Entity, IAwake, IDestroy
{
public ActorId ActorId;
// 最近接收或者发送消息的时间
public long LastSendOrRecvTime;
}
} | ET/Unity/Assets/Scripts/Model/Server/Module/ActorLocation/MessageLocationSender.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/ActorLocation/MessageLocationSender.cs",
"repo_id": "ET",
"token_count": 173
} | 157 |
namespace ET.Server
{
public class HttpHandlerAttribute: BaseAttribute
{
public SceneType SceneType { get; }
public string Path { get; }
public HttpHandlerAttribute(SceneType sceneType, string path)
{
this.SceneType = sceneType;
this.Path = path;
... | ET/Unity/Assets/Scripts/Model/Server/Module/Http/HttpHandlerAttribute.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/Http/HttpHandlerAttribute.cs",
"repo_id": "ET",
"token_count": 145
} | 158 |
namespace ET.Client
{
public struct SceneChangeStart
{
}
public struct SceneChangeFinish
{
}
public struct AfterCreateClientScene
{
}
public struct AfterCreateCurrentScene
{
}
public struct AppStartInitFinish
{
}
public struct LoginFinish... | ET/Unity/Assets/Scripts/Model/Share/Demo/EventType.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Demo/EventType.cs",
"repo_id": "ET",
"token_count": 193
} | 159 |
fileFormatVersion: 2
guid: a9b77ec7663d54ec88ba2a0297314aef
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/LockStep/LSUnitComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/LSUnitComponent.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 160 |
fileFormatVersion: 2
guid: 3b13f63f82f588d4382b1e8cb779425e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Module/AI/AIComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/AI/AIComponent.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 161 |
fileFormatVersion: 2
guid: 08e7592e24d7de848a57c94e2a27a999
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Module/Message.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Message.meta",
"repo_id": "ET",
"token_count": 71
} | 162 |
namespace ET
{
[ComponentOf(typeof(Scene))]
public class FiberParentComponent: Entity, IAwake
{
public int ParentFiberId { get; set; }
}
} | ET/Unity/Assets/Scripts/Model/Share/Module/Scene/FiberParentComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Scene/FiberParentComponent.cs",
"repo_id": "ET",
"token_count": 69
} | 163 |
using UnityEngine;
using UnityEngine.UI;
namespace ET.Client
{
[ComponentOf(typeof(UI))]
public class UILoadingComponent : Entity, IAwake
{
public Text text;
}
}
| ET/Unity/Assets/Scripts/ModelView/Client/Demo/UI/UILoading/UILoadingComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Demo/UI/UILoading/UILoadingComponent.cs",
"repo_id": "ET",
"token_count": 66
} | 164 |
fileFormatVersion: 2
guid: 07df8c406cd694b70a37238164f43cb3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/LockStep/Camera.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/LockStep/Camera.meta",
"repo_id": "ET",
"token_count": 67
} | 165 |
using UnityEngine;
namespace ET.Client
{
[ComponentOf(typeof(UI))]
public class UILSLoginComponent: Entity, IAwake
{
public GameObject account;
public GameObject password;
public GameObject loginBtn;
}
}
| ET/Unity/Assets/Scripts/ModelView/Client/LockStep/UI/UILSLogin/UILSLoginComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/LockStep/UI/UILSLogin/UILSLoginComponent.cs",
"repo_id": "ET",
"token_count": 79
} | 166 |
using System.Collections.Generic;
using UnityEngine;
namespace ET.Client
{
[EntitySystemOf(typeof(UI))]
[FriendOf(typeof(UI))]
public static partial class UISystem
{
[EntitySystem]
private static void Awake(this UI self, string name, GameObject gameObject)
{
self.na... | ET/Unity/Assets/Scripts/ModelView/Client/Module/UI/UI.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Module/UI/UI.cs",
"repo_id": "ET",
"token_count": 1097
} | 167 |
{
"name": "Unity.ModelView",
"rootNamespace": "ET",
"references": [
"Unity.ThirdParty",
"Unity.Core",
"Unity.Mathematics",
"Unity.Loader",
"Unity.Model",
"YooAsset"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": true,
... | ET/Unity/Assets/Scripts/ModelView/Unity.ModelView.asmdef/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Unity.ModelView.asmdef",
"repo_id": "ET",
"token_count": 252
} | 168 |
/*
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/Core/Intersections.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/Intersections.cs",
"repo_id": "ET",
"token_count": 2337
} | 169 |
using System;
using System.Buffers.Binary;
namespace DotRecast.Core
{
public class RcByteBuffer
{
private RcByteOrder _order;
private byte[] _bytes;
private int _position;
public RcByteBuffer(byte[] bytes)
{
_order = BitConverter.IsLittleEndian
... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcByteBuffer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcByteBuffer.cs",
"repo_id": "ET",
"token_count": 1846
} | 170 |
namespace DotRecast.Core
{
public readonly partial struct RcImmutableArray<T>
{
#pragma warning disable CA1825
public static readonly RcImmutableArray<T> Empty = new RcImmutableArray<T>(new T[0]);
#pragma warning restore CA1825
private readonly T[] _array;
internal RcImmutableArray(T[... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcImmutableArray.Minimal.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcImmutableArray.Minimal.cs",
"repo_id": "ET",
"token_count": 206
} | 171 |
namespace DotRecast.Core
{
/// Recast performance timer categories.
/// @see rcContext
public class RcTimerLabel
{
/// The user defined total time of the build.
public static readonly RcTimerLabel RC_TIMER_TOTAL = new RcTimerLabel(nameof(RC_TIMER_TOTAL));
/// A user defined bui... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcTimerLabel.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcTimerLabel.cs",
"repo_id": "ET",
"token_count": 2830
} | 172 |
fileFormatVersion: 2
guid: ef6577df181bc3f458a3471e179e8135
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtSegment.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtSegment.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 173 |
/*
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/Detour.Dynamic/DynamicTile.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Dynamic/DynamicTile.cs",
"repo_id": "ET",
"token_count": 3408
} | 174 |
fileFormatVersion: 2
guid: d5a9443d3ba2aa247a6b9583fe6df5d1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpLinkBuilderConfig.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpLinkBuilderConfig.cs.meta",
"repo_id": "ET",
"token_count": 97
} | 175 |
fileFormatVersion: 2
guid: 11c7f5cbeaa45e945bbbdd3457db8fab
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/TrajectorySampler.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/TrajectorySampler.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 176 |
/*
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/Detour.TileCache/DtTileCache.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/DtTileCache.cs",
"repo_id": "ET",
"token_count": 14499
} | 177 |
namespace DotRecast.Detour.TileCache
{
public enum TileCacheObstacleType
{
CYLINDER,
BOX,
ORIENTED_BOX
};
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/TileCacheObstacleType.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/TileCacheObstacleType.cs",
"repo_id": "ET",
"token_count": 76
} | 178 |
fileFormatVersion: 2
guid: 30ea7f3fef6f4964c97f3d587d2f347d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtMeshTile.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtMeshTile.cs.meta",
"repo_id": "ET",
"token_count": 97
} | 179 |
fileFormatVersion: 2
guid: 67c9caad30898cd4fbac22622f915d11
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtNode.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtNode.cs.meta",
"repo_id": "ET",
"token_count": 92
} | 180 |
fileFormatVersion: 2
guid: bc3807b701b5c5b41b82a62b48b48649
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtQueryDefaultFilter.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtQueryDefaultFilter.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 181 |
/*
Recast4J Copyright (c) 2015 Piotr Piastucki piotr@jtilia.org
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 to anyone to use this software for any purpose,
including... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/Io/DtMeshDataWriter.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/Io/DtMeshDataWriter.cs",
"repo_id": "ET",
"token_count": 3493
} | 182 |
namespace DotRecast.Detour.Io
{
public class NavMeshTileHeader
{
public long tileRef;
public int dataSize;
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/Io/NavMeshTileHeader.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/Io/NavMeshTileHeader.cs",
"repo_id": "ET",
"token_count": 61
} | 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/Geom/RcChunkyTriMesh.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom/RcChunkyTriMesh.cs",
"repo_id": "ET",
"token_count": 5672
} | 184 |
/*
Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
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... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/PolyUtils.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/PolyUtils.cs",
"repo_id": "ET",
"token_count": 4428
} | 185 |
namespace DotRecast.Recast
{
public class RcContourHole
{
public int leftmost;
public int minx;
public int minz;
public RcContour contour;
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcContourHole.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcContourHole.cs",
"repo_id": "ET",
"token_count": 92
} | 186 |
using System.Collections.Generic;
namespace DotRecast.Recast
{
public class RcPotentialDiagonalComparer : IComparer<RcPotentialDiagonal>
{
public static readonly RcPotentialDiagonalComparer Shared = new RcPotentialDiagonalComparer();
private RcPotentialDiagonalComparer()
{
}
... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPotentialDiagonalComparer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPotentialDiagonalComparer.cs",
"repo_id": "ET",
"token_count": 245
} | 187 |
using DotRecast.Core;
namespace DotRecast.Recast
{
public class RecastBuilderResult
{
public readonly int tileX;
public readonly int tileZ;
private readonly RcCompactHeightfield chf;
private readonly RcContourSet cs;
private readonly RcPolyMesh pmesh;
p... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastBuilderResult.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastBuilderResult.cs",
"repo_id": "ET",
"token_count": 750
} | 188 |
/*
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/RecastMeshDetail.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastMeshDetail.cs",
"repo_id": "ET",
"token_count": 38525
} | 189 |
// Kcp based on https://github.com/skywind3000/kcp
// Kept as close to original as possible.
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace ET
{
public partial class ... | ET/Unity/Assets/Scripts/ThirdParty/Kcp/Kcp.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/Kcp/Kcp.cs",
"repo_id": "ET",
"token_count": 25096
} | 190 |
using System;
namespace NativeCollection
{
public interface INativeCollectionClass : IDisposable
{
void ReInit();
bool IsDisposed { get; }
}
}
| ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/INativeCollectionClass.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/INativeCollectionClass.cs",
"repo_id": "ET",
"token_count": 67
} | 191 |
using System;
using System.Runtime.CompilerServices;
namespace NativeCollection
{
public unsafe class Stack<T> : INativeCollectionClass where T : unmanaged
{
private const int _defaultCapacity = 10;
private UnsafeType.Stack<T>* _stack;
private int _capacity;
public Stack(int ini... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/Stack.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/Stack.cs",
"repo_id": "ET",
"token_count": 1153
} | 192 |
using System;
using System.Runtime.CompilerServices;
namespace NativeCollection.UnsafeType
{
public unsafe struct MapPair<T, K> : IEquatable<MapPair<T, K>>, IComparable<MapPair<T, K>>
where T : unmanaged, IEquatable<T>, IComparable<T> where K : unmanaged, IEquatable<K>
{
public T Key { get; pri... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/Map/MapPair.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/Map/MapPair.cs",
"repo_id": "ET",
"token_count": 481
} | 193 |
using System;
using System.Runtime.CompilerServices;
namespace NativeCollection.UnsafeType
{
public unsafe struct Stack<T> : IDisposable, IPool where T : unmanaged
{
private T* _array;
private int _version;
private const int _defaultCapacity = 10;
internal int ArrayLength { get; private set; }
... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/Stack.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/Stack.cs",
"repo_id": "ET",
"token_count": 1382
} | 194 |
fileFormatVersion: 2
guid: 6a0542e9d4b4a47b8bce69c7dee6bde2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSMath.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSMath.cs.meta",
"repo_id": "ET",
"token_count": 100
} | 195 |
fileFormatVersion: 2
guid: d6848af77c88853419298928a7d911b3
timeCreated: 1474370456
licenseType: Store
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/TrueSync/link.xml.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/TrueSync/link.xml.meta",
"repo_id": "ET",
"token_count": 71
} | 196 |
fileFormatVersion: 2
guid: 85a03f138ad837946bff0317335a840d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Settings/IgnoreAsmdef/HotfixView.meta/0 | {
"file_path": "ET/Unity/Assets/Settings/IgnoreAsmdef/HotfixView.meta",
"repo_id": "ET",
"token_count": 67
} | 197 |
{
"dependencies": {
"com.code-philosophy.hybridclr": "https://gitee.com/focus-creative-games/hybridclr_unity.git",
"com.cysharp.memorypack": "https://github.com/Cysharp/MemoryPack.git?path=src/MemoryPack.Unity/Assets/Plugins/MemoryPack",
"com.tuyoogame.yooasset": "2.1.1",
"com.unity.ai.navigation": "1... | ET/Unity/Packages/manifest.json/0 | {
"file_path": "ET/Unity/Packages/manifest.json",
"repo_id": "ET",
"token_count": 1010
} | 198 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!387306366 &1
MemorySettings:
m_ObjectHideFlags: 0
m_EditorMemorySettings:
m_MainAllocatorBlockSize: -1
m_ThreadAllocatorBlockSize: -1
m_MainGfxBlockSize: -1
m_ThreadGfxBlockSize: -1
m_CacheBlockSize: -1
m_TypetreeBlockSize: -1
m_ProfilerBlo... | ET/Unity/ProjectSettings/MemorySettings.asset/0 | {
"file_path": "ET/Unity/ProjectSettings/MemorySettings.asset",
"repo_id": "ET",
"token_count": 521
} | 199 |
[tgit]
icon = ILSpy/Images/ILSpy.ico
| ILSpy/.tgitconfig/0 | {
"file_path": "ILSpy/.tgitconfig",
"repo_id": "ILSpy",
"token_count": 20
} | 200 |
/*
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/Baml/BamlWriter.cs/0 | {
"file_path": "ILSpy/ICSharpCode.BamlDecompiler/Baml/BamlWriter.cs",
"repo_id": "ILSpy",
"token_count": 815
} | 201 |
$basePath = $PSScriptRoot
if ([string]::IsNullOrEmpty($basePath))
{
$basePath = Split-Path -parent $psISE.CurrentFile.Fullpath
}
$modulePath = $basePath + '\bin\Debug\netstandard2.0\ICSharpCode.Decompiler.Powershell.dll'
Import-Module $modulePath
$version = Get-DecompilerVersion
Write-Output $version
# different... | ILSpy/ICSharpCode.Decompiler.PowerShell/Demo.ps1/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.PowerShell/Demo.ps1",
"repo_id": "ILSpy",
"token_count": 333
} | 202 |
// 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/DisassemblerPrettyTestRunner.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/DisassemblerPrettyTestRunner.cs",
"repo_id": "ILSpy",
"token_count": 996
} | 203 |
// 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.Tests/Semantics/ExplicitConversionTest.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/Semantics/ExplicitConversionTest.cs",
"repo_id": "ILSpy",
"token_count": 12950
} | 204 |
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
{
class FloatingPointArithmetic
{
public static int Main(string[] args)
{
Issue999();
Issue1656();
Issue1794();
return 0;
}
static void Issue999()
{
for (float i = -10f; i <= 10f; i += 0.01f)
Console.WriteLine("... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/FloatingPointArithmetic.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/FloatingPointArithmetic.cs",
"repo_id": "ILSpy",
"token_count": 947
} | 205 |
using System;
using System.Runtime.CompilerServices;
namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
{
class StringConcat
{
private class C
{
int i;
public C(int i)
{
Console.WriteLine(" new C(" + i + ")");
this.i = i;
}
public override string ToString()
{
Console.W... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/StringConcat.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/StringConcat.cs",
"repo_id": "ILSpy",
"token_count": 1480
} | 206 |
// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.1055.0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Metadata version: v1.1.4322
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 1:0:5000:0
}
.assembly CS1xSwitch... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Debug.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/CS1xSwitch_Debug.il",
"repo_id": "ILSpy",
"token_count": 28410
} | 207 |
.assembly Issue1157
{
.hash algorithm 0x00008004 // SHA1
.ver 1:0:0:0
}
.module Issue1157.exe
// MVID: {4C6C7F98-AEB2-4A19-BE6F-43171E6113F1}
.corflags 0x00020003 // ILOnly, Required32Bit, Preferred32Bit
.class private auto ansi abstract beforefieldinit Issue1157.BaseClass
extends [mscorlib]System.Object
{
// Met... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1157.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1157.il",
"repo_id": "ILSpy",
"token_count": 2262
} | 208 |
namespace Issue1922
{
public class Program
{
public static long fnWorks(int x, int y)
{
return (long)(((ulong)y & 0xFFFFFFuL) << 24) | ((long)x & 0xFFFFFFL);
}
public static long fnFails(int x, int y)
{
return ((y & 0xFFFFFFL) << 24) | (x & 0xFFFFFFL);
}
}
}
| ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1922.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1922.cs",
"repo_id": "ILSpy",
"token_count": 134
} | 209 |
using System.Runtime.CompilerServices;
namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty
{
internal class Issue982
{
private string textStr;
private string textStr2;
public string Text {
get {
return textStr;
}
set {
textStr = value;
}
}
[IndexerName("Text2")]
public strin... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue982.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue982.cs",
"repo_id": "ILSpy",
"token_count": 190
} | 210 |
<?xml version="1.0" encoding="utf-8"?>
<symbols>
<files>
<file id="1" name="ICSharpCode.Decompiler.Tests.TestCases.PdbGen\LambdaCapturing.cs" language="C#" checksumAlgorithm="SHA256"><![CDATA[using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.PdbGen;
public class LambdaCapturing
{
public static voi... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/PdbGen/LambdaCapturing.xml/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/PdbGen/LambdaCapturing.xml",
"repo_id": "ILSpy",
"token_count": 1199
} | 211 |
// 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/TestCases/Pretty/CompoundAssignmentTest.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.cs",
"repo_id": "ILSpy",
"token_count": 54103
} | 212 |
#pragma warning disable format
// 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 limita... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExpressionTrees.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExpressionTrees.cs",
"repo_id": "ILSpy",
"token_count": 11423
} | 213 |
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
internal class MetadataAttributes
{
private class MethodImplAttr
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public extern void A();
#if NETCORE
[MethodImpl(Me... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/MetadataAttributes.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/MetadataAttributes.cs",
"repo_id": "ILSpy",
"token_count": 1367
} | 214 |
using System;
using System.Collections.Generic;
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
public abstract class ReduceNesting
{
public abstract bool B(int i);
public abstract int I(int i);
public void IfIf()
{
if (B(0))
{
Console.WriteLine(0);
return;
}
if (B(1))
{
... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ReduceNesting.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ReduceNesting.cs",
"repo_id": "ILSpy",
"token_count": 4639
} | 215 |
// 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/UsingVariables.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/UsingVariables.cs",
"repo_id": "ILSpy",
"token_count": 919
} | 216 |
// Metadata version: v4.0.30319
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly tmp9705
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoArrayInitializers.opt.net40.roslyn.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoArrayInitializers.opt.net40.roslyn.il",
"repo_id": "ILSpy",
"token_count": 1814
} | 217 |
using System;
using System.Collections;
using System.Collections.Generic;
namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly
{
internal class NoForEachStatement
{
public static void SimpleNonGenericForeach(IEnumerable enumerable)
{
foreach (object item in enumerable)
{
Console.WriteLine(item);
}... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoForEachStatement.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoForEachStatement.cs",
"repo_id": "ILSpy",
"token_count": 188
} | 218 |
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
[StandardModule]
internal sealed class VBCompoundAssign
{
public static double[] Sum3(int[] v)
{
double[] array = new double[4];
int num = Information.UBound(v);
checked
{
for (int i = 0; i <= num; i += 3)
{
array[0] += v[i... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/VBPretty/VBCompoundAssign.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/VBPretty/VBCompoundAssign.cs",
"repo_id": "ILSpy",
"token_count": 179
} | 219 |
// Copyright (c) 2014 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.Tests/Util/LongSetTests.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/Util/LongSetTests.cs",
"repo_id": "ILSpy",
"token_count": 1898
} | 220 |
// Copyright (c) 2010-2020 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/OutputVisitor/InsertParenthesesVisitor.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs",
"repo_id": "ILSpy",
"token_count": 6593
} | 221 |
// 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/CSharpConversions.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Resolver/CSharpConversions.cs",
"repo_id": "ILSpy",
"token_count": 20342
} | 222 |
#nullable enable
//
// AstNode.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/AstNode.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs",
"repo_id": "ILSpy",
"token_count": 10895
} | 223 |
//
// NamedExpression.cs
//
// Author:
// Mike Krüger <mkrueger@xamarin.com>
//
// Copyright (c) 2011 Xamarin
//
// 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 restric... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedExpression.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedExpression.cs",
"repo_id": "ILSpy",
"token_count": 935
} | 224 |
//
// UsingAliasDeclaration.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/GeneralScope/UsingAliasDeclaration.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/UsingAliasDeclaration.cs",
"repo_id": "ILSpy",
"token_count": 1079
} | 225 |
// Copyright (c) 2011-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/PatternMatching/Match.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Match.cs",
"repo_id": "ILSpy",
"token_count": 979
} | 226 |
//
// FixedStatement.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
// in the ... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Statements/FixedStatement.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Statements/FixedStatement.cs",
"repo_id": "ILSpy",
"token_count": 892
} | 227 |
//
// VariableDeclarationStatement.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... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Statements/VariableDeclarationStatement.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Statements/VariableDeclarationStatement.cs",
"repo_id": "ILSpy",
"token_count": 933
} | 228 |
// 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/DeclareVariables.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Transforms/DeclareVariables.cs",
"repo_id": "ILSpy",
"token_count": 10066
} | 229 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.