text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
namespace ET.Server
{
[MessageSessionHandler(SceneType.Gate)]
public class C2G_EnterMapHandler : MessageSessionHandler<C2G_EnterMap, G2C_EnterMap>
{
protected override async ETTask Run(Session session, C2G_EnterMap request, G2C_EnterMap response)
{
Player player = session.GetComponent<SessionPlayerComponent>... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/C2G_EnterMapHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/C2G_EnterMapHandler.cs",
"repo_id": "ET",
"token_count": 501
} | 122 |
using System.Linq;
namespace ET.Server
{
[FriendOf(typeof(PlayerComponent))]
public static partial class PlayerComponentSystem
{
public static void Add(this PlayerComponent self, Player player)
{
self.dictionary.Add(player.Account, player);
}
public sta... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/PlayerComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/PlayerComponentSystem.cs",
"repo_id": "ET",
"token_count": 305
} | 123 |
namespace ET.Server
{
[MessageLocationHandler(SceneType.Map)]
public class G2M_SessionDisconnectHandler : MessageLocationHandler<Unit, G2M_SessionDisconnect>
{
protected override async ETTask Run(Unit unit, G2M_SessionDisconnect message)
{
await ETTask.CompletedTask;
}
}
} | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/G2M_SessionDisconnectHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/G2M_SessionDisconnectHandler.cs",
"repo_id": "ET",
"token_count": 101
} | 124 |
using System.Collections.Generic;
using MongoDB.Bson;
namespace ET.Server
{
public static partial class TransferHelper
{
public static async ETTask TransferAtFrameFinish(Unit unit, ActorId sceneInstanceId, string sceneName)
{
await unit.Fiber().WaitFrameFinish();
await... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/Transfer/TransferHelper.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Map/Transfer/TransferHelper.cs",
"repo_id": "ET",
"token_count": 605
} | 125 |
using System;
namespace ET.Server
{
[Invoke((long)SceneType.Realm)]
public class NetComponentOnReadInvoker_Realm: AInvokeHandler<NetComponentOnRead>
{
public override void Handle(NetComponentOnRead args)
{
Session session = args.Session;
object message = args.Messag... | ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Realm/NetComponentOnReadInvoker_Realm.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Realm/NetComponentOnReadInvoker_Realm.cs",
"repo_id": "ET",
"token_count": 491
} | 126 |
fileFormatVersion: 2
guid: 3475a99ac00ec6a40ac4b9bb6b84ab8c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Router.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Demo/Router.meta",
"repo_id": "ET",
"token_count": 71
} | 127 |
using System;
using System.Collections.Generic;
namespace ET.Server
{
[FriendOf(typeof(MatchComponent))]
public static partial class MatchComponentSystem
{
public static async ETTask Match(this MatchComponent self, long playerId)
{
if (self.waitMatchPlayers.Contains(playerId))
... | ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Match/MatchComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/LockStep/Match/MatchComponentSystem.cs",
"repo_id": "ET",
"token_count": 949
} | 128 |
fileFormatVersion: 2
guid: 652ae649b0d965d44b15b66a2b2a15b2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI/AOIEntitySystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/AOI/AOIEntitySystem.cs.meta",
"repo_id": "ET",
"token_count": 98
} | 129 |
using System;
namespace ET.Server
{
public abstract class MessageLocationHandler<E, Message>: HandlerObject, IMHandler where E : Entity where Message : class, ILocationMessage
{
protected abstract ETTask Run(E entity, Message message);
public async ETTask Handle(Entity entity, Address fromAdd... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/MessageLocationHandler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/MessageLocationHandler.cs",
"repo_id": "ET",
"token_count": 1759
} | 130 |
fileFormatVersion: 2
guid: 2f3a62c696459cb4894764862b609a46
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Module/DB.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/DB.meta",
"repo_id": "ET",
"token_count": 68
} | 131 |
fileFormatVersion: 2
guid: 31878c11c674ce24587f8c9d7f182216
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Server/Module/Message/ProcessOuterSenderSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/Message/ProcessOuterSenderSystem.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 132 |
namespace ET.Server
{
[EntitySystemOf(typeof(RouterNode))]
[FriendOf(typeof(RouterNode))]
public static partial class RouterNodeSystem
{
[EntitySystem]
private static void Awake(this RouterNode self)
{
long timeNow = TimeInfo.Instance.ServerNow();
self.La... | ET/Unity/Assets/Scripts/Hotfix/Server/Module/Router/RouterNodeSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Server/Module/Router/RouterNodeSystem.cs",
"repo_id": "ET",
"token_count": 856
} | 133 |
fileFormatVersion: 2
guid: 4fa48744575ea4fd2a4f6e111ce26f11
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/LockStep/LSInputComponentSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/LockStep/LSInputComponentSystem.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 134 |
fileFormatVersion: 2
guid: fe0c2296b8e188a4cae9c6f010fd0d77
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/Module/Console.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Console.meta",
"repo_id": "ET",
"token_count": 72
} | 135 |
fileFormatVersion: 2
guid: 2c9d0c7894766af4290b1cf3bac03841
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/Module/Move/MoveComponentSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Move/MoveComponentSystem.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 136 |
fileFormatVersion: 2
guid: 9af1ba2890c2e524ca5fc31a4c2ee406
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Hotfix/Share/Module/Unit/UnitSystem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Hotfix/Share/Module/Unit/UnitSystem.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 137 |
namespace ET.Client
{
[Event(SceneType.Demo)]
public class AfterCreateClientScene_AddComponent: AEvent<Scene, AfterCreateClientScene>
{
protected override async ETTask Run(Scene scene, AfterCreateClientScene args)
{
scene.AddComponent<UIComponent>();
scene.AddComponen... | ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Scene/AfterCreateClientScene_AddComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Scene/AfterCreateClientScene_AddComponent.cs",
"repo_id": "ET",
"token_count": 162
} | 138 |
fileFormatVersion: 2
guid: 2f0107a8f2bf2f044a0f67aafb474804
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/AfterUnitCreate_CreateUnitView.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/AfterUnitCreate_CreateUnitView.cs.meta",
"repo_id": "ET",
"token_count": 97
} | 139 |
using System.IO;
using UnityEngine;
using UnityEngine.UI;
namespace ET.Client
{
[EntitySystemOf(typeof(UILSLobbyComponent))]
[FriendOf(typeof(UILSLobbyComponent))]
public static partial class UILSLobbyComponentSystem
{
[EntitySystem]
private static void Awake(this UILSLobbyComponent se... | ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLobby/UILSLobbyComponentSystem.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLobby/UILSLobbyComponentSystem.cs",
"repo_id": "ET",
"token_count": 680
} | 140 |
using System;
using UnityEngine;
namespace ET.Client
{
[UIEvent(UIType.UILSRoom)]
public class UILSRoomEvent: AUIEvent
{
public override async ETTask<UI> OnCreate(UIComponent uiComponent, UILayer uiLayer)
{
string assetsName = $"Assets/Bundles/UI/LockStep/{UIType.UILSRoom}.pref... | ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSRoom/UILSRoomEvent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSRoom/UILSRoomEvent.cs",
"repo_id": "ET",
"token_count": 373
} | 141 |
fileFormatVersion: 2
guid: 7edb5672af78b4d149045c99a89a496e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Loader/GlobalComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/GlobalComponent.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 142 |
fileFormatVersion: 2
guid: 3b3cb9b07d7917f4cbf5bc2be18e8585
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Loader/MonoBehaviour/Init.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/MonoBehaviour/Init.cs.meta",
"repo_id": "ET",
"token_count": 97
} | 143 |
fileFormatVersion: 2
guid: a9ea9883e4f51274c8199ea66cd35c03
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Loader/RecastFileReader.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Loader/RecastFileReader.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 144 |
fileFormatVersion: 2
guid: 27633f406535aa447b15a96d66f67988
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Client.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client.meta",
"repo_id": "ET",
"token_count": 67
} | 145 |
fileFormatVersion: 2
guid: 66440581c9e2d1e41b9eecfdb4dca84d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Client/Demo/Main/Unit.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/Main/Unit.meta",
"repo_id": "ET",
"token_count": 73
} | 146 |
fileFormatVersion: 2
guid: b1905dc63000e9e4daf62b35dc071f8d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/Session.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Demo/NetClient/Session.meta",
"repo_id": "ET",
"token_count": 71
} | 147 |
fileFormatVersion: 2
guid: 7976479ae6841ce488441aac409b8304
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Client/Plugins.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Client/Plugins.meta",
"repo_id": "ET",
"token_count": 66
} | 148 |
using MemoryPack;
using System.Collections.Generic;
namespace ET
{
[MemoryPackable]
[Message(OuterMessage.HttpGetRouterResponse)]
public partial class HttpGetRouterResponse : MessageObject
{
public static HttpGetRouterResponse Create(bool isFromPool = false)
{
return ObjectP... | ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Message/OuterMessage_C_10001.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/ClientServer/Message/OuterMessage_C_10001.cs",
"repo_id": "ET",
"token_count": 14593
} | 149 |
fileFormatVersion: 2
guid: fea0fd2e70a98ea43b4cadf76f874c28
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Generate/Server/ConfigPartial.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Generate/Server/ConfigPartial.meta",
"repo_id": "ET",
"token_count": 72
} | 150 |
fileFormatVersion: 2
guid: 98e58bdf33de9a645ab818ae062dca38
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Server/Demo/Gate/Player.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Demo/Gate/Player.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 151 |
namespace ET.Server
{
[UniqueId(1, 10000)]
public static class RobotCaseType
{
public const int FirstCase = 1;
public const int SecondCase = 2;
public const int MaxCaseType = 10000;
}
} | ET/Unity/Assets/Scripts/Model/Server/Demo/Robot/RobotCaseType.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Demo/Robot/RobotCaseType.cs",
"repo_id": "ET",
"token_count": 90
} | 152 |
using System.Collections.Generic;
namespace ET.Server
{
[ComponentOf(typeof(Room))]
public class RoomServerComponent: Entity, IAwake<List<long>>
{
}
} | ET/Unity/Assets/Scripts/Model/Server/LockStep/Map/RoomServerComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/LockStep/Map/RoomServerComponent.cs",
"repo_id": "ET",
"token_count": 63
} | 153 |
using System.Collections.Generic;
namespace ET.Server
{
[ChildOf(typeof(AOIManagerComponent))]
public class Cell: Entity, IAwake, IDestroy
{
// 处在这个cell的单位
public Dictionary<long, EntityRef<AOIEntity>> AOIUnits = new Dictionary<long, EntityRef<AOIEntity>>();
// 订阅了这个Cell的进入事件
... | ET/Unity/Assets/Scripts/Model/Server/Module/AOI/Cell.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/AOI/Cell.cs",
"repo_id": "ET",
"token_count": 280
} | 154 |
namespace ET.Server
{
public interface IDBCollection
{
}
} | ET/Unity/Assets/Scripts/Model/Server/Module/DB/IDBCollection.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/DB/IDBCollection.cs",
"repo_id": "ET",
"token_count": 29
} | 155 |
fileFormatVersion: 2
guid: 89b0725638d94c1e9c36b262da2e447c
timeCreated: 1688535488 | ET/Unity/Assets/Scripts/Model/Server/Module/NetInner.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Module/NetInner.meta",
"repo_id": "ET",
"token_count": 37
} | 156 |
fileFormatVersion: 2
guid: 047a7bcc80b0c8d4782aee55edab5656
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Server/Plugins/Example.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Server/Plugins/Example.meta",
"repo_id": "ET",
"token_count": 71
} | 157 |
using System;
using System.Collections.Generic;
using System.IO;
namespace ET
{
public class FrameBuffer: Object
{
public int MaxFrame { get; private set; }
private readonly List<OneFrameInputs> frameInputs;
private readonly List<MemoryBuffer> snapshots;
private readonly List<lo... | ET/Unity/Assets/Scripts/Model/Share/LockStep/FrameBuffer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/FrameBuffer.cs",
"repo_id": "ET",
"token_count": 1426
} | 158 |
using System;
using MemoryPack;
namespace ET
{
[MemoryPackable]
public partial struct LSInput
{
[MemoryPackOrder(0)]
public TrueSync.TSVector2 V;
[MemoryPackOrder(1)]
public int Button;
public bool Equals(LSInput other)
{
return this.V =... | ET/Unity/Assets/Scripts/Model/Share/LockStep/LSInput.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/LSInput.cs",
"repo_id": "ET",
"token_count": 544
} | 159 |
using System.Collections.Generic;
namespace ET
{
[ComponentOf]
public class Room: Entity, IScene, IAwake, IUpdate
{
public Fiber Fiber { get; set; }
public SceneType SceneType { get; set; } = SceneType.Room;
public string Name { get; set; }
public long StartTime { g... | ET/Unity/Assets/Scripts/Model/Share/LockStep/Room.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/LockStep/Room.cs",
"repo_id": "ET",
"token_count": 730
} | 160 |
using System.Collections.Generic;
using System;
namespace ET
{
public struct MessageSessionDispatcherInfo
{
public SceneType SceneType { get; }
public IMessageSessionHandler IMHandler { get; }
public MessageSessionDispatcherInfo(SceneType sceneType, IMessageSessionHandler imHandler)
... | ET/Unity/Assets/Scripts/Model/Share/Module/Message/MessageSessionDispatcher.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Message/MessageSessionDispatcher.cs",
"repo_id": "ET",
"token_count": 1741
} | 161 |
fileFormatVersion: 2
guid: 91e6974c200f3e9468684362d1489433
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Module/Move/MoveComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Move/MoveComponent.cs.meta",
"repo_id": "ET",
"token_count": 92
} | 162 |
fileFormatVersion: 2
guid: 32a775e5dd87b864c81d6f579572dc9c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/Model/Share/Module/ObjectWait/ObjectWait.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/ObjectWait/ObjectWait.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 163 |
namespace ET
{
public enum UnitType: byte
{
Player = 1,
Monster = 2,
NPC = 3,
}
} | ET/Unity/Assets/Scripts/Model/Share/Module/Unit/UnitType.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/Model/Share/Module/Unit/UnitType.cs",
"repo_id": "ET",
"token_count": 66
} | 164 |
using System;
using UnityEngine;
namespace ET.Client
{
[ComponentOf(typeof(Scene))]
public class OperaComponent: Entity, IAwake, IUpdate
{
public Vector3 ClickPoint;
public int mapMask;
}
}
| ET/Unity/Assets/Scripts/ModelView/Client/Demo/Opera/OperaComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Demo/Opera/OperaComponent.cs",
"repo_id": "ET",
"token_count": 85
} | 165 |
namespace ET
{
[ComponentOf(typeof(Room))]
public class LSUnitViewComponent: Entity, IAwake, IDestroy
{
public EntityRef<LSUnitView> myUnitView;
}
} | ET/Unity/Assets/Scripts/ModelView/Client/LockStep/LSUnitViewComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/LockStep/LSUnitViewComponent.cs",
"repo_id": "ET",
"token_count": 61
} | 166 |
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using YooAsset;
namespace ET.Client
{
[EntitySystemOf(typeof(ResourcesLoaderComponent))]
[FriendOf(typeof(ResourcesLoaderComponent))]
public static partial class ResourcesLoaderComponentSystem
{
[EntitySystem]
private ... | ET/Unity/Assets/Scripts/ModelView/Client/Module/Resource/ResourcesLoaderComponent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Module/Resource/ResourcesLoaderComponent.cs",
"repo_id": "ET",
"token_count": 2056
} | 167 |
fileFormatVersion: 2
guid: 7845421001b24634383e0c4084607e2a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ModelView/Client/Module/UI/UIGlobalComponent.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ModelView/Client/Module/UI/UIGlobalComponent.cs.meta",
"repo_id": "ET",
"token_count": 92
} | 168 |
fileFormatVersion: 2
guid: 40ea97d87534b554e85a4a81abc8a933
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/Compression/FastLZ.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/Compression/FastLZ.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 169 |
fileFormatVersion: 2
guid: 5b5ce364ca5fb7949bc8c95fa5ccdec0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcFrequency.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Core/RcFrequency.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 170 |
/*
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.Crowd/DtCrowdAgent.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtCrowdAgent.cs",
"repo_id": "ET",
"token_count": 3369
} | 171 |
/*
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.Crowd/DtLocalBoundary.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Crowd/DtLocalBoundary.cs",
"repo_id": "ET",
"token_count": 2939
} | 172 |
fileFormatVersion: 2
guid: 977a5aa1de1b91f41af025bbdbfa896f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Dynamic/Colliders.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Dynamic/Colliders.meta",
"repo_id": "ET",
"token_count": 69
} | 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/Io/VoxelFile.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Dynamic/Io/VoxelFile.cs",
"repo_id": "ET",
"token_count": 3559
} | 174 |
using System;
using DotRecast.Core;
using DotRecast.Recast;
using static DotRecast.Core.RcMath;
namespace DotRecast.Detour.Extras.Jumplink
{
public abstract class AbstractGroundSampler : IGroundSampler
{
public delegate bool ComputeNavMeshHeight(RcVec3f pt, float cellSize, out float height);
p... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/AbstractGroundSampler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/AbstractGroundSampler.cs",
"repo_id": "ET",
"token_count": 882
} | 175 |
using DotRecast.Core;
namespace DotRecast.Detour.Extras.Jumplink
{
public class JumpEdge
{
public RcVec3f sp = new RcVec3f();
public RcVec3f sq = new RcVec3f();
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpEdge.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/JumpEdge.cs",
"repo_id": "ET",
"token_count": 97
} | 176 |
using System;
using DotRecast.Core;
using DotRecast.Recast;
namespace DotRecast.Detour.Extras.Jumplink
{
class NavMeshGroundSampler : AbstractGroundSampler
{
public override void Sample(JumpLinkBuilderConfig acfg, RecastBuilderResult result, EdgeSampler es)
{
DtNavMeshQuery navMesh... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/NavMeshGroundSampler.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.Extras/Jumplink/NavMeshGroundSampler.cs",
"repo_id": "ET",
"token_count": 1494
} | 177 |
fileFormatVersion: 2
guid: 313310e9799b13b498b5e368609637fe
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/IDtTileCacheMeshProcess.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour.TileCache/IDtTileCacheMeshProcess.cs.meta",
"repo_id": "ET",
"token_count": 93
} | 178 |
using System.Collections.Generic;
namespace DotRecast.Detour
{
public class BVItemZComparer : IComparer<BVItem>
{
public static readonly BVItemZComparer Shared = new BVItemZComparer();
private BVItemZComparer()
{
}
public int Compare(BVItem a, BVItem b)
{
... | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/BVItemZComparer.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/BVItemZComparer.cs",
"repo_id": "ET",
"token_count": 188
} | 179 |
/*
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/DtNavMeshQuery.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtNavMeshQuery.cs",
"repo_id": "ET",
"token_count": 79828
} | 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/Detour/DtStatus.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/DtStatus.cs",
"repo_id": "ET",
"token_count": 1508
} | 181 |
namespace DotRecast.Detour
{
public enum InFlag
{
Pin,
Qin,
Unknown,
}
} | ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/InFlag.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Detour/InFlag.cs",
"repo_id": "ET",
"token_count": 63
} | 182 |
fileFormatVersion: 2
guid: 2c3c847701daa9d46829fd387743b2c4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom/BoundsItem.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom/BoundsItem.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 183 |
fileFormatVersion: 2
guid: 0a5085e6295fca644829e4625af7af1c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom/SimpleInputGeomProvider.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/Geom/SimpleInputGeomProvider.cs.meta",
"repo_id": "ET",
"token_count": 95
} | 184 |
fileFormatVersion: 2
guid: 591c8b5c2c8432d4eb94de8dc574f607
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcConvexVolume.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcConvexVolume.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 185 |
fileFormatVersion: 2
guid: 618191023f76cf746ad6b36b34462b35
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPolyMesh.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RcPolyMesh.cs.meta",
"repo_id": "ET",
"token_count": 94
} | 186 |
fileFormatVersion: 2
guid: 3c8d9c95e606df1448d22b5d6517e750
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastFilledVolumeRasterization.cs.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/DotRecast/Recast/RecastFilledVolumeRasterization.cs.meta",
"repo_id": "ET",
"token_count": 96
} | 187 |
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Security;
namespace ET
{
public struct AsyncETTaskCompletedMethodBuilder
{
// 1. Static Create method.
[DebuggerHidden]
public static AsyncETTaskCompletedMethodBuilder Create()
{
... | ET/Unity/Assets/Scripts/ThirdParty/ETTask/AsyncETTaskCompletedMethodBuilder.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/ETTask/AsyncETTaskCompletedMethodBuilder.cs",
"repo_id": "ET",
"token_count": 788
} | 188 |
namespace ET
{
public enum AwaiterStatus: byte
{
/// <summary>The operation has not yet completed.</summary>
Pending = 0,
/// <summary>The operation completed successfully.</summary>
Succeeded = 1,
/// <summary>The operation completed with an error.</summary>
F... | ET/Unity/Assets/Scripts/ThirdParty/ETTask/IAwaiter.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/ETTask/IAwaiter.cs",
"repo_id": "ET",
"token_count": 133
} | 189 |
fileFormatVersion: 2
guid: 19cd1b59a95a1ae4f8403bf8962404a4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/FixedSizeMemoryPool.meta/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/FixedSizeMemoryPool.meta",
"repo_id": "ET",
"token_count": 70
} | 190 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Text;
namespace NativeCollection.UnsafeType
{public unsafe struct HashSet<T> : ICollection<T>, IDisposable where T : unmanaged, IEquatable<T>
{
/// <summary>Cutoff... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/HashSet.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/HashSet.cs",
"repo_id": "ET",
"token_count": 7830
} | 191 |
using System;
using System.Runtime.CompilerServices;
namespace NativeCollection.UnsafeType
{
public unsafe struct Queue<T> : IDisposable where T : unmanaged
{
private T* _array;
private int length;
private int _head;
private int _tail;
private int _version;
public static Queue<T>* Create(... | ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/Queue.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/NativeCollection/UnsafeType/Queue.cs",
"repo_id": "ET",
"token_count": 1979
} | 192 |
/* Copyright (C) <2009-2011> <Thorben Linneweber, Jitter Physics>
*
* 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... | ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSVector.cs/0 | {
"file_path": "ET/Unity/Assets/Scripts/ThirdParty/TrueSync/TSVector.cs",
"repo_id": "ET",
"token_count": 13878
} | 193 |
fileFormatVersion: 2
guid: a8c73a36072eba3428a3bc1492a3230e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Settings/IgnoreAsmdef/Hotfix.meta/0 | {
"file_path": "ET/Unity/Assets/Settings/IgnoreAsmdef/Hotfix.meta",
"repo_id": "ET",
"token_count": 70
} | 194 |
fileFormatVersion: 2
guid: cbcd2aa55ede04c418e7a662ac1a43ef
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ET/Unity/Assets/Settings/IgnoreAsmdef/Model/Generate/Client.meta/0 | {
"file_path": "ET/Unity/Assets/Settings/IgnoreAsmdef/Model/Generate/Client.meta",
"repo_id": "ET",
"token_count": 69
} | 195 |
{
"MonoBehaviour": {
"Version": 4,
"DisabledWarnings": ""
}
}
| ET/Unity/ProjectSettings/CommonBurstAotSettings.json/0 | {
"file_path": "ET/Unity/ProjectSettings/CommonBurstAotSettings.json",
"repo_id": "ET",
"token_count": 37
} | 196 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!47 &1
QualitySettings:
m_ObjectHideFlags: 0
serializedVersion: 5
m_CurrentQuality: 3
m_QualitySettings:
- serializedVersion: 2
name: Fastest
pixelLightCount: 0
shadows: 0
shadowResolution: 0
shadowProjection: 1
shadowCascades: 1
shado... | ET/Unity/ProjectSettings/QualitySettings.asset/0 | {
"file_path": "ET/Unity/ProjectSettings/QualitySettings.asset",
"repo_id": "ET",
"token_count": 2573
} | 197 |
if (-not ($PSVersionTable.PSCompatibleVersions -contains "5.0")) {
Write-Error "This script requires at least powershell version 5.0!";
return 255;
}
$ErrorActionPreference = "Stop"
$baseCommit = "d779383cb85003d6dabeb976f0845631e07bf463";
$baseCommitRev = 1;
# make sure this matches artifacts-only branches... | ILSpy/BuildTools/update-assemblyinfo.ps1/0 | {
"file_path": "ILSpy/BuildTools/update-assemblyinfo.ps1",
"repo_id": "ILSpy",
"token_count": 2346
} | 198 |
// Copyright (c) 2021 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.BamlDecompiler/BamlDecompilerTypeSystem.cs/0 | {
"file_path": "ILSpy/ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs",
"repo_id": "ILSpy",
"token_count": 2141
} | 199 |
/*
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/XamlProperty.cs/0 | {
"file_path": "ILSpy/ICSharpCode.BamlDecompiler/Xaml/XamlProperty.cs",
"repo_id": "ILSpy",
"token_count": 1055
} | 200 |
# ILSpy PowerShell Module
Built using https://github.com/PowerShell/PowerShell/blob/master/docs/cmdlet-example/command-line-simple-example.md as guideline
Sample usage: Demo.ps1
Tested with: PowerShell 5.1 on Windows, PowerShell 7+ on Windows and Mac
## Missing
Publishing to https://www.powershellgallery.com/
*... | ILSpy/ICSharpCode.Decompiler.PowerShell/README.md/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.PowerShell/README.md",
"repo_id": "ILSpy",
"token_count": 337
} | 201 |
// 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/Output/CSharpAmbienceTests.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/Output/CSharpAmbienceTests.cs",
"repo_id": "ILSpy",
"token_count": 5639
} | 202 |
#define PRINT
using System;
using System.Diagnostics;
namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
{
class ConditionalAttr
{
[Conditional("PRINT")]
static void Print()
{
Console.WriteLine("Text!");
}
static void Main()
{
Print();
}
}
}
| ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/ConditionalAttr.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/ConditionalAttr.cs",
"repo_id": "ILSpy",
"token_count": 118
} | 203 |
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
{
class NullPropagation
{
static void Main()
{
new NullPropagation().TestNotCoalescing();
}
class MyClass
{
public string Text;
}
void TestNotCoalescing()
{
Console.WriteLine("TestNotCoalescing:");
Console.Write... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/NullPropagation.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Correctness/NullPropagation.cs",
"repo_id": "ILSpy",
"token_count": 204
} | 204 |
internal class EmptyBodies
{
public static void RetVoid()
{
}
public static int RetInt()
{
/*Error: Method body consists only of 'ret', but nothing is being returned. Decompiled assembly might be a reference assembly.*/;
}
public static void Nop()
{
/*Error: End of method reached without returning.*/;
}
} | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/EmptyBodies.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/EmptyBodies.cs",
"repo_id": "ILSpy",
"token_count": 99
} | 205 |
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty
{
public class Issue1038<TK, TR> where TR : class, new()
{
public event Action<TK, TR> TestEvent = delegate {
};
}
}
| ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1038.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1038.cs",
"repo_id": "ILSpy",
"token_count": 79
} | 206 |
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
.ver 4:0:0:0
}
.assembly Issue1389
{
.hash algorithm 0x00008004
.ver 1:0:4059:39717
}
.module Issue1389.dll
.imagebase 0x00400000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003 // WINDOWS_CUI
.corflags 0x000000... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1389.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1389.il",
"repo_id": "ILSpy",
"token_count": 730
} | 207 |
#define CORE_ASSEMBLY "System.Runtime"
.assembly extern CORE_ASSEMBLY
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....:
.ver 4:0:0:0
}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly System.Runtime.CompilerServices.Unsaf... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Unsafe.il/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Unsafe.il",
"repo_id": "ILSpy",
"token_count": 11271
} | 208 |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
public class AsyncStreams
{
public static async IAsyncEnumerable<int> CountTo(int until)
{
for (int i = 0; i <... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/AsyncStreams.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/AsyncStreams.cs",
"repo_id": "ILSpy",
"token_count": 614
} | 209 |
#pragma warning disable 1998
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
public class ValueTaskType
{
private int memberField;
public async ValueTask SimpleVoidTaskMethod()
{
... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomTaskType.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomTaskType.cs",
"repo_id": "ILSpy",
"token_count": 1681
} | 210 |
// 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/InterfaceTests.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.cs",
"repo_id": "ILSpy",
"token_count": 1103
} | 211 |
// 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.Tests/TestCases/Pretty/PInvoke.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/PInvoke.cs",
"repo_id": "ILSpy",
"token_count": 1308
} | 212 |
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
internal class ThrowExpressions
{
private class ArgumentCheckingCtor
{
private int initializedFromCtor = CountSheep() ?? throw new Exception("No sheep?!");
private object cacheObj = TryGetObj() ?? throw new Exception("What?");
pri... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ThrowExpressions.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Pretty/ThrowExpressions.cs",
"repo_id": "ILSpy",
"token_count": 2463
} | 213 |
using System;
using System.Runtime.CompilerServices;
[assembly: Extension]
namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly
{
[Extension]
internal static class NoExtensionMethods
{
[Extension]
internal unsafe static Func<T> AsFunc<T>(T value) where T : class
{
return new Func<T>(value, (nint)(delega... | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoExtensionMethods.Expected.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoExtensionMethods.Expected.cs",
"repo_id": "ILSpy",
"token_count": 261
} | 214 |
Imports System
Public Class Issue1906
Public Sub M()
Console.WriteLine(Math.Min(Math.Max(Int64.MinValue, New Long), Int64.MaxValue))
End Sub
End Class | ILSpy/ICSharpCode.Decompiler.Tests/TestCases/VBPretty/Issue1906.vb/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TestCases/VBPretty/Issue1906.vb",
"repo_id": "ILSpy",
"token_count": 56
} | 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.Tests/TypeSystem/ReflectionHelperTests.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler.Tests/TypeSystem/ReflectionHelperTests.cs",
"repo_id": "ILSpy",
"token_count": 3952
} | 216 |
// 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 use... | ILSpy/ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs",
"repo_id": "ILSpy",
"token_count": 5652
} | 217 |
// 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/TargetServices.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/ProjectDecompiler/TargetServices.cs",
"repo_id": "ILSpy",
"token_count": 5316
} | 218 |
// 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/MethodGroupResolveResult.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Resolver/MethodGroupResolveResult.cs",
"repo_id": "ILSpy",
"token_count": 3667
} | 219 |
//
// Constraint.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 Soft... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Constraint.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Constraint.cs",
"repo_id": "ILSpy",
"token_count": 843
} | 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 use... | ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Statements/Statement.cs/0 | {
"file_path": "ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/Statements/Statement.cs",
"repo_id": "ILSpy",
"token_count": 1252
} | 221 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.