content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
using System.Collections.Generic; using SqExpress.Syntax.Value; namespace SqExpress.Syntax.Boolean.Predicate { public abstract class ExprIn : ExprPredicate { protected ExprIn(ExprValue testExpression) { this.TestExpression = testExpression; } public ExprValue TestE...
__label__POS
0.910265
<?xml version="1.0" encoding="utf-8"?> <TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12"> <POU Name="MAIN" Id="{f3894233-01d0-4f10-bb9f-a3d2750638b3}" SpecialFunc="None"> <Declaration><![CDATA[PROGRAM MAIN VAR fbFactoryProducer : FB_FactoryProducer; fbFactory : REFERENCE TO FB_AbstractFactory; iSh...
__label__POS
0.790975
using SqExpress.Syntax.Names; namespace SqExpress.Syntax.Select.SelectItems { public class ExprAliasedColumnName : IExprNamedSelecting { public ExprAliasedColumnName(ExprColumnName column, ExprColumnAlias? alias) { this.Column = column; this.Alias = alias; } ...
__label__POS
0.987785
using System.Collections.Generic; using System.Linq; using SqExpress.DbMetadata.Internal.Model; namespace SqExpress.DbMetadata.Internal { internal static class DbModelMapper { public static List<SqTable> ToSqDbTables(IReadOnlyList<TableModel> tableModels) { Dictionary<ColumnRef, T...
__label__POS
0.971218
using System; namespace SqExpress.DbMetadata.Internal.Model { internal class ColumnRef : IEquatable<ColumnRef>, IComparable<ColumnRef> { public ColumnRef(string schema, string tableName, string name) { Name = name; Table = new TableRef(schema, tableName); } ...
__label__POS
0.931713
using System; namespace SqExpress.DbMetadata.Internal.Model { internal class TableRef : IEquatable<TableRef>, IComparable<TableRef> { public TableRef(string schema, string name) { Schema = schema; Name = name; } public string Schema { get; } pub...
__label__POS
0.93072
<?xml version="1.0" encoding="utf-8"?> <TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12"> <POU Name="FB_ShapeCreator" Id="{38889ccb-1e4b-44e7-87d8-f31d0e5d3ff4}" SpecialFunc="None"> <Declaration><![CDATA[{attribute 'hide_all_locals'} FUNCTION_BLOCK FB_ShapeCreator VAR_INPUT eShape : E_Shape; END_VAR V...
__label__POS
0.83619
using System.Collections.Generic; using SqExpress.Syntax.Names; using SqExpress.Syntax.Value; namespace SqExpress.QueryBuilders.RecordSetter.Internal { internal class TargetUpdateSetter<TTable> : RecordSetterBase<IExprAssignRecordSetterNext>, ITargetUpdateSetter<TTable>, IExprAssignRecordSetterNext { ...
__label__POS
0.836518
using System.Collections.Generic; using SqExpress.Syntax.Names; using SqExpress.Syntax.Output; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.QueryBuilders.Merge.Internal { public class OutputSetter : IOutputSetter<IOutputSetterNext>, IOutputSetterNext { private readonly List<IExprOutp...
__label__POS
0.725617
using System; using System.Data; using System.Data.Common; using System.IO; namespace SqExpress.DataAccess.Internal { internal class DbReaderProxy : ISqDataRecordReader { private readonly DbDataReader _dataReader; public DbReaderProxy(DbDataReader dataReader) { this._dataR...
__label__POS
0.824811
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.GetStarted; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.GetStarted.Models { public class UserName { //Auto-generated by SqExpress...
__label__POS
0.946209
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.GetStarted; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.GetStarted.Models.Extra; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.GetStarted.Models { public class CompanyName...
__label__POS
0.953324
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.GetStarted; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.GetStarted.Models { public class CustomerData { //Auto-generated by SqExp...
__label__POS
0.855915
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.GetStarted; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.GetStarted.Models { public class AuditData { //Auto-generated by SqExpres...
__label__POS
0.975653
using SqExpress.SyntaxTreeOperations.ExportImport; namespace SqExpress.GetStarted.FavoriteFilters { public class FilterPlainItem : IPlainItem { public static FilterPlainItem Create(int favoriteFilterId, int id, int parentId, int? arrayIndex, bool isTypeTag, string tag, string encodedValue) ...
__label__POS
0.861598
using SqExpress.IntTest.Context; using System.Collections.Generic; using System; using System.Linq; using System.Threading.Tasks; using SqExpress.DataAccess; using SqExpress.QueryBuilders; namespace SqExpress.IntTest; public static class Helpers { public static bool IsUnicode(bool value, SqlDialect dialect) {...
__label__POS
0.834569
using System; using System.Threading.Tasks; using SqExpress.IntTest.Context; using SqExpress.IntTest.Tables; using SqExpress.IntTest.Tables.Models; using static SqExpress.SqQueryBuilder; namespace SqExpress.IntTest.Scenarios { public class ScSelectTop : IScenario { public async Task Exec(IScenarioCont...
__label__POS
0.85968
using System.Threading.Tasks; using SqExpress.IntTest.Context; using SqExpress.IntTest.Tables; using SqExpress.IntTest.Tables.Models; namespace SqExpress.IntTest.Scenarios { public class ScSelectSeveralModelsWithPrefix : IScenario { public async Task Exec(IScenarioContext context) { ...
__label__POS
0.9459
using System; using System.Threading.Tasks; using SqExpress.IntTest.Context; using SqExpress.IntTest.Tables; using static SqExpress.SqQueryBuilder; namespace SqExpress.IntTest.Scenarios { public class ScUpdateUsers : IScenario { public async Task Exec(IScenarioContext context) { va...
__label__POS
0.604443
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.Json; using System.Threading.Tasks; using SqExpress.IntTest.Context; using SqExpress.IntTest.Tables; using SqExpress.Syntax.Update; using SqExpress.Syntax.Value; namespace SqExpress.IntTest.Scenari...
__label__POS
0.611378
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SqExpress.IntTest.Context; using SqExpress.IntTest.Tables; using SqExpress.IntTest.Tables.Models; namespace SqExpress.IntTest.Scenarios; public class ScMergeExpr : IScenario { public async Task Exec(IScenarioCo...
__label__POS
0.870225
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SqExpress.IntTest.Context; using static SqExpress.SqQueryBuilder; namespace SqExpress.IntTest.Scenarios { public class ScSqlInjections : IScenario { public async Task Exec(IScenarioContext context) ...
__label__POS
0.960564
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SqExpress.IntTest.Context; namespace SqExpress.IntTest.Scenarios { public class ScTreeClosure : IScenario { public async Task Exec(IScenarioContext context) { var targetTable = ne...
__label__POS
0.780654
using System.Collections.Generic; using System.Threading.Tasks; namespace SqExpress.IntTest.Context { public interface IScenario { Task Exec(IScenarioContext context); } public static class ScenarioExt { public static IScenario Then(this IScenario scenario1, IScenario scenario2) ...
__label__POS
0.947219
using System; using SqExpress.DataAccess; using SqExpress.SqlExport; namespace SqExpress.IntTest.Context { public interface IScenarioContext { ISqDatabase Database { get; } public SqlDialect Dialect { get; } void Write(string? line); void WriteLine(string? line); IS...
__label__POS
0.868008
using SqExpress; using SqExpress.Syntax.Type; namespace SqExpress.IntTest.Tables { public class TableItCustomer : TableBase { public TableItCustomer(): this(alias: SqExpress.Alias.Auto) { } public TableItCustomer(Alias alias): base(schema: "dbo", name: "ItCustomer", alias: alia...
__label__POS
0.956467
<?xml version="1.0" encoding="utf-8"?> <TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12"> <POU Name="PrincipalClient" Id="{8f57f288-20f8-4f82-8f19-e3734b25163f}" SpecialFunc="None"> <Declaration><![CDATA[PROGRAM PrincipalClient VAR i1 : Printer; i2 : Printer; i3 : Printer; startdemo : BOOL; END_...
__label__POS
0.925798
using SqExpress.IntTest.Context; namespace SqExpress.IntTest.Tables; public static class AllTables { public static TableBase[] BuildAllTableList(SqlDialect dialect) => new TableBase[] { GetFk0(Alias.Empty), GetItAllColumnTypes(dialect, Alias.Empty), GetFk1A(Alias.Empty), GetFk1B(Alias.Empty), ...
__label__POS
0.998907
using SqExpress; using SqExpress.Syntax.Type; namespace SqExpress.IntTest.Tables { public class TableItOrder : TableBase { public TableItOrder(): this(alias: SqExpress.Alias.Auto) { } public TableItOrder(Alias alias): base(schema: "dbo", name: "ItOrder", alias: alias) {...
__label__POS
0.687578
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.IntTest.Tables; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class UserName { //Auto-generated by S...
__label__POS
0.942877
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.IntTest.Tables; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class Customer { //Auto-generated by S...
__label__POS
0.953742
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.IntTest.Tables; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class CompanyName { //Auto-generated b...
__label__POS
0.955664
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.IntTest.Tables; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class CompanyInitData { //Auto-generat...
__label__POS
0.915422
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.IntTest.Tables; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class TestMergeDataRow { //Auto-genera...
__label__POS
0.924845
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.IntTest.Tables; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class TestMergeData { //Auto-generated...
__label__POS
0.971011
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.IntTest.Tables; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class Audit { //Auto-generated by SqEx...
__label__POS
0.947053
using System.Text.Json.Serialization; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.Syntax.Names; using System; using SqExpress; using SqExpress.IntTest.Tables; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class UserEm...
__label__POS
0.971981
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.IntTest.Tables; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class OrderDateCreated { //Auto-genera...
__label__POS
0.970742
using System; using SqExpress; using SqExpress.QueryBuilders.RecordSetter; using SqExpress.IntTest.Tables.Derived; using SqExpress.Syntax.Names; using System.Collections.Generic; using SqExpress.Syntax.Select.SelectItems; namespace SqExpress.IntTest.Tables.Models { public class CustomerNameData { //Aut...
__label__POS
0.871692
using System; namespace SqExpress.IntTest.Tables.Models { public readonly struct EntUser : IEquatable<EntUser> { private readonly int _userId; public EntUser(int userId) { this._userId = userId; } public static explicit operator EntUser(int userId) => new ...
__label__POS
0.60342
#if NET using NUnit.Framework; using SqExpress.CodeGenUtil; namespace SqExpress.Test.CodeGenUtil { [TestFixture] public class StringHelpersTest { [Test] public void DeSnake_BasicTest() { Assert.AreEqual("", StringHelper.DeSnake("")); Assert.AreEqual("Abc", S...
__label__POS
0.687571
using System.Text; using NUnit.Framework; using SqExpress.SqlExport.Internal; namespace SqExpress.Test.Export { [TestFixture] public class TSqlInjectionCheckerTest { [Test] public void AppendStringEscape_Basic() { Assert.AreEqual("", AppendStringEscape("")); ...
__label__POS
0.953289
using System; using NUnit.Framework; using SqExpress.Utils; using static SqExpress.SqQueryBuilder; namespace SqExpress.Test.Utils { [TestFixture] public class MergeSimulationTest { [Test] public void Basic() { var tUser = Tables.User(Alias.Auto); var data =...
__label__POS
0.95114
using System.Threading; using NUnit.Framework; namespace SqExpress.Test.Meta { [TestFixture] public class TableFkRefTest { [Test] public void SelfFkTest() { var table = new SelfFkTable(); Assert.AreEqual(table.Id.ColumnName, table.RefId.ColumnMeta?.ForeignK...
__label__POS
0.858478
using System; using NUnit.Framework; using SqExpress.Syntax.Select; using static SqExpress.SqQueryBuilder; namespace SqExpress.Test.Syntax { [TestFixture] public class ModificationTest { [Test] public void WithInnerJoinTest() { var tUser = Tables.User(); var...
__label__POS
0.788844
using System; using System.Collections.Generic; using NUnit.Framework; using SqExpress.Syntax.Value; using static SqExpress.SqQueryBuilder; namespace SqExpress.Test.QueryBuilder { [TestFixture] public class DerivedTableTest { [Test] public void Test() { var user = Table...
__label__POS
0.700414
using System; using NUnit.Framework; using static SqExpress.SqQueryBuilder; namespace SqExpress.Test.QueryBuilder { [TestFixture] public class InPredicateTest { [Test] public void InSubQueryTest() { var tbl = Tables.User(Alias.Empty); var expr = Select(tbl....
__label__POS
0.914501
using System; using NUnit.Framework; using static SqExpress.SqQueryBuilder; namespace SqExpress.Test.QueryBuilder { [TestFixture] public class DeleteTest { [Test] public void DeleteFromTableTest() { var table = Tables.User(Alias.Empty); var tableA = Tables.U...
__label__POS
0.973939
using System; using NUnit.Framework; using static SqExpress.SqQueryBuilder; namespace SqExpress.Test.QueryBuilder { [TestFixture] public class FunctionsTest { [Test] public void AggBasicTest() { var userTable = Tables.User(Alias.Empty); Assert.AreEqual("SEL...
__label__POS
0.932089
using System.Collections.Generic; using NUnit.Framework; using SqExpress.QueryBuilders.Select; using SqExpress.Syntax.Boolean; using SqExpress.Syntax.Names; using SqExpress.Syntax.Select; using static SqExpress.SqQueryBuilder; namespace SqExpress.Test.QueryBuilder { [TestFixture] public class SelectTest {...
__label__POS
0.974525
using NUnit.Framework; using SqExpress.SqlExport; namespace SqExpress.Test.QueryBuilder { [TestFixture] public class TempTablesTest { [Test] public void Create() { var tbl = new IdModified(); var actual = PgSqlExporter.Default.ToSql(tbl.Script.DropAndCreate...
__label__POS
0.950653
using System; using NUnit.Framework; namespace SqExpress.Test.QueryBuilder; [TestFixture] public class MergeTest { [Test] public void ValueBuilder_ActualMerge() { var t = Tables.User(); var data = new[] { new { Id = 1, FirstName = "Alice" }, new { Id = 2, FirstName = "Bob" } }; ...
__label__POS
0.812975
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using NUnit.Framework; using static SqExpress.SqQueryBuilder; namespace SqExpress.Test.QueryBuilder { [TestFixture] public class UpdateTest { [Test] public void UpdateTableTest() { var...
__label__POS
0.885951
using System; using System.IO; using System.Text; using System.Xml; using NUnit.Framework; using SqExpress.Syntax; using SqExpress.Syntax.Select; using SqExpress.SyntaxTreeOperations; using static SqExpress.SqQueryBuilder; namespace SqExpress.Test.QueryBuilder { [TestFixture] public class CteTest { ...
__label__POS
0.941816
using NUnit.Framework; using SqExpress.Syntax.Names; namespace SqExpress.Test.Syntax.Meta { [TestFixture] public class EqualityTest { [Test] public void ColumnName_CaseInsensitive() { var c1 = new ExprColumnName("FirstName"); var c1eq1 = new ExprColumnName("...
__label__POS
0.9975
using NUnit.Framework; using SqExpress.Syntax.Names; namespace SqExpress.Test.Syntax.Meta { [TestFixture] public class ExprTest { [Test] public void ExprTable_Test() { ExprTable t = new ExprTable(new ExprTableFullName(new ExprDbSchema(new ExprDatabaseName("test"), new E...
__label__POS
0.993357
namespace SqExpress.CodeGenUtil.CodeGen { internal class ColumnPropertyTypeParser { public static TRes Parse<TRes, TArg>(string name, IColumnPropertyTypeSwitcher<TRes, TArg> switcher, TArg arg) { switch (name) { case nameof(BooleanTableColumn): return swi...
__label__POS
0.731673
using System; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using SqExpress.DbMetadata.Internal.Model; namespace SqExpress.CodeGenUtil.CodeGen { public readonly struct NamedArgument { public readonly string Name; ...
__label__POS
0.98846
using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using SqExpress.DbMetadata.Internal.Model; namespace SqExpress.CodeGenUtil.CodeGen { internal class TableListClassGenerator { ...
__label__POS
0.761027
#include "../include/calc.h" #include "../include/stack.h" #include <stdio.h> #include <stdlib.h> #include <string.h> void initStack(Stack *s) { s->top = -1; } bool isEmpty(Stack *s) { return (s->top == -1); } bool isFull(Stack *s) { return s->top == BUFFER_SIZE - 1; } void push(Stack *s, const c...
__label__POS
0.713031
#include "../include/calc.h" #include "../include/stack.h" #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdio.h> int size = 0; char *getInput() { char *raw_input = malloc(BUFFER_SIZE * sizeof(char)); if (raw_input == NULL) { fprintf(stderr, "Memory allocation failed\n"); ...
__label__POS
0.951243
<?xml version="1.0" encoding="utf-8"?> <TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12"> <POU Name="NotificationIterator" Id="{d6413826-61c3-4c4f-a428-bb95e0e149a0}" SpecialFunc="None"> <Declaration><![CDATA[{attribute 'enable_dynamic_creation'} FUNCTION_BLOCK NotificationIterator IMPLEMENTS Iterator ...
__label__POS
0.626316
<?xml version="1.0" encoding="utf-8"?> <TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12"> <POU Name="MAIN" Id="{e6f2f43d-3006-4b61-a734-eb841ad749f8}" SpecialFunc="None"> <Declaration><![CDATA[PROGRAM MAIN VAR Notifications : NotificationCollection; n : Object; iterator : Iterator; bInit...
__label__POS
0.949633
<?xml version="1.0" encoding="utf-8"?> <TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.12"> <POU Name="FB_Pizza" Id="{4288fbe1-b507-4b53-980c-9e831d454702}" SpecialFunc="None"> <Declaration><![CDATA[FUNCTION_BLOCK PUBLIC FB_Pizza VAR _PizzaState: INT; tonPizzaTimer : TON; END_VAR ]]></Declaration> ...
__label__POS
0.856014
## 监督学习:有老师的指导学习 ### 1. 线性回归:预测连续值 - ​​核心思想​​:找到一条最佳拟合线,预测连续值结果 - 实例应用​​:根据房子面积预测房价 ```python # 简单线性回归示例 import numpy as np from sklearn.linear_model import LinearRegression # 房子面积数据(平方米) house_sizes = np.array([50, 70, 90, 110]).reshape(-1, 1) # 对应房价(万元) prices = np.array([300, 400, 500, 600]) # 创建模型并训练 model = Lin...
__label__POS
0.736154
# Python入门基础:零基础小白学习指南 ## Python语法基础 ### 1.变量与数据类型 变量就像生活中的“标签”,给数据起名字方便使用: ```python # 创建变量 name = "小明" # 字符串 (文字) age = 20 # 整数 (数字) height = 1.75 # 浮点数 (带小数点的数字) is_student = True # 布尔值 (真/假) print(name) # 输出: 小明 print(age + 5) # 输出: 25 ``` ### 2.控制结构:条件判断 如果...那么...否则...
__label__POS
0.994251
Intellij Colors: Sublime Monokai Theme v8.7.2 ========================================= Dark color theme for Intellij inspired by Sublime Text&#39;s Monokai Theme. Also works in other Jetbrains products including Webstorm, PyCharm, GoLand, RubyMine, and PhPStorm. To install - Download or build the jar (buildJar.sh) ...
__label__POS
0.819075
/* * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
__label__POS
0.974622
import java.util.ArrayDeque class BinaryTree<T>(val data: T) { var leftTree: BinaryTree<T>? = null var rightTree: BinaryTree<T>? = null fun prefix(visitor: (T) -> Unit) { visitor(data) leftTree?.prefix(visitor) rightTree?.prefix(visitor) } fun infix(visitor: (T) -> Unit) ...
__label__POS
0.97254
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Cryptography; namespace CmdManager { public class Misc { static public string GetHashMD5(string s) { byte[] data = GetHashMD5Bin(s); StringBuilder sb = new StringBuilder(48); for (int i = 0; i < ...
__label__POS
0.909872
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; namespace CmdManager { public class Config { public class IpPort { public string ip { get; set; } public int port { get; set; } public IpPort() { } public IpPor...
__label__POS
0.986808
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Server { public partial class FormConfig : Form { BindingList<Config.Client> clients; public FormConfig() { Initi...
__label__POS
0.638842
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SQLite; using System.Windows.Forms; using System.Threading; namespace Server { public class DB { SQLiteConnection cnSQL; public DB(string path) { // cnSQL = ne...
__label__POS
0.610739
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Server { public class Log { string nameFile; object lockObj; public Log() { nameFile = System.Windows.Forms.Application.StartupPath + "\\server" + DateTime.Now.ToString(...
__label__POS
0.643046
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Net; using System.IO; using System.Security.Cryptography; namespace Server { public class Misc { static public string GetHTTP(string url) { if (url.Substring(0, 4) != "http") url = "http:/...
__label__POS
0.896069
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; namespace Server { public class Config { public class Client { public string ip { get; set; } public Client(Client c) { ip = c.ip; } public Client(string i...
__label__POS
0.833838
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace RDPPlayer { public partial class FormConnectVNC : Form { public FormConnectVNC() { Initi...
__label__POS
0.863225
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; namespace RDPPlayer { public class Config { public class Server { public string IP; public int port; public bool Load(XmlText...
__label__POS
0.860062
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Threading; using System.Net.Sockets; namespace Player { public class ServerBot { int port; Socket sc; List<ClientBot> bots; public ServerBot(int port) {...
__label__POS
0.694624
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; namespace Player { public class VideoXml { string comment; //комментарий к видео int opened; //сколько раз было открыто видео bool update; //true - если было что-то изменено ...
__label__POS
0.638925
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Drawing.Imaging; using System.Threading; namespace Player { public class VideoHead { ...
__label__POS
0.641473
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace Player { public class Filter { int width, height; byte[] data; int[] skip; public Filter(byte[] data, int w, int h, int bits) { this.data =...
__label__POS
0.995678
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; namespace Player { public class Config { public List<string> pathVideo; public Config() { pathVideo = new List<string>(); } ...
__label__POS
0.997463
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; namespace Player { public class RivFTP { string url; public RivFTP(string url) { this.url = url; if (url[url.Length - 1] == '\\') url = url.Substring(0, url....
__label__POS
0.917964
// VncSharp - .NET VNC Client Library // Copyright (C) 2008 David Humphrey // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any late...
__label__POS
0.61791
#include "core\core.h" #include "core\file.h" #include <stdio.h> struct CollectData { StringArray dlls; StringArray funcs; }; int FindItem( const StringArray& sa, const StringBuilder& s ) { for( int i = 0; i < sa.Count(); i++ ) if( sa[i]->Cmp(s) == 0 ) return i; return -1; } bool C_Cpp_ListCallback( File::F...
__label__POS
0.696551
#include "core\core.h" #include "core\crypt.h" #include "core\rand.h" #include <stdio.h> const int CountSimpleExts = 7; char* SimpleExts[CountSimpleExts] = { ".gif", ".jpg", ".png", ".htm", ".html", ".php", ".shtml" }; const int CountParamsExts = 3; char* ParamsExts[CountParamsExts] = { ".php", ".bml", ".cgi" }; int ...
__label__POS
0.83407
#include "stdafx.h" #include "main.h" #include <stdio.h> #include "core\file.h" #include "core\pe.h" char EncodeTable[256]; // static uint GenRand( Config* cfg ) { cfg->R = (cfg->R * cfg->A + cfg->B) & 0xffff; return cfg->R; } static void Exchange( Config* cfg, int p1, int p2, int count ) { int dist = p2 - p1 + ...
__label__POS
0.937052
package services import ( "testing" "regexp" "strings" ) // TestRandomPasteIdPrefix tests the randomPasteIdPrefix function func TestRandomPasteIdPrefix(t *testing.T) { charset := "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" charsetPattern := "^[a-zA-Z0-9]+$" regex := regexp.MustCompile(chars...
__label__POS
0.962401
import j2cc.AlwaysInline; import j2cc.Nativeify; @Nativeify public class Test { String msg; public Test(String msg) { this.msg = msg; } @AlwaysInline private static void printStacktrace() { System.out.println("We're currently in:"); new Throwable().printStackTrace(); } @AlwaysInline private static Str...
__label__POS
0.993897
package webappsrv import ( "errors" "net/http" "os" "time" "github.com/0x30c4/ghostbin/internal/services" "github.com/0x30c4/ghostbin/pkg/webappsrv/handlers" "golang.org/x/exp/slog" ) func newServer() *http.Server { port := "8080" if p := os.Getenv("PORT"); p != "" { port = p } host := "localhost" if ...
__label__POS
0.801641
import j2cc.Nativeify; public class Test { private static int echo(int e) {return e;} @Nativeify public static void main(String[] args) { String s = "hello"; if (s.equals("hello")) System.out.println("hello equals hello"); else System.out.println("hello does not equal hello"); if (s == null) System.out.prin...
__label__POS
0.69125
import j2cc.Nativeify; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import java.lang.invoke.VarHandle; public class Test { String someField = "Cringe"; @Nativeify public static void main(String[] args) throws Throwable { MethodHandle format = M...
__label__POS
0.998865
.super java/lang/Object .annotation j2cc/Nativeify {} .class public test { .method public static main ([Ljava/lang/String;)V { code: { getstatic java/lang/System.out Ljava/io/PrintStream; ldc { I, Ljava/lang/String;, { invokestatic, test.real, (Ljava/lang/invoke/MethodHandles$Lookup;...
__label__POS
0.653567
.annotation j2cc/Nativeify {} .super java/lang/Object .class public Test { .field public real I .field public static realButStatic I .method public <init> ()V { parameters: { this }, code: { aload this invokespecial java/lang/Object.<init> ()V return ...
__label__POS
0.865888
#include "plugins.h" #include "other.h" #include "main.h" #include "manager.h" #include "core\pipe.h" #include "core\FileTools.h" namespace Plugins { static void HandlerCreateIdLog( Pipe::AutoMsg msg, DWORD tag); static bool MonitoringCB( File::MonitoringStru* m ) { if( m ) { if( m->action == FILE_ACTION_MODIFIE...
__label__POS
0.761466
.annotation j2cc/Nativeify {} .super java/lang/Object .class public Test { .method <init> ()V { parameters: { this }, code: { aload this invokespecial java/lang/Object.<init> ()V return } } .method public static main ([Ljava/lang/String;)V { parameters: { p0 }, code: { iconst_0 // ps, ps, ...
__label__POS
0.931825
package me.x150.j2cc.util; import lombok.Getter; import java.io.PrintStream; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; @Getter public class Graph<T extends Graph.Node> { final Set<T> nodes = new HashSet<>(); final Set<Edge<T>> edges = new HashSet<>(); publi...
__label__POS
0.903493
package me.x150.j2cc.util; import it.unimi.dsi.fastutil.objects.Object2IntMap; import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap; import lombok.SneakyThrows; import me.x150.j2cc.util.natives.chacha20_h; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java...
__label__POS
0.972896
package me.x150.j2cc.util; import java.util.regex.Pattern; public record ClassFilter(Pattern p) { public static Pattern parseGlob(String s) { StringBuilder tx = new StringBuilder("^"); compilePatternInternal(s, tx); tx.append("$"); return Pattern.compile(tx.toString()); } public static void compilePattern...
__label__POS
0.994303