content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
--练习5.3 下列代码的输出是什么?为什么?
sunday = "monday";monday = "sunday"
t = {sunday = "monday",[sunday] = monday} -- => t = { ["sunday"] = "monday" , ["monday"] = "sunday" }
print(t.sunday,t[sunday],t[t.sunday]) -- => print(t["sunday"],t["monday"],t["monday"])
--monday sunday sunday
---练习5.2 考虑如下代码
local a = {}
a.a = a
--- ... | __label__POS | 0.968514 |
local function checkstring(str)
if type(str) ~= "string" then
str = tostring(str)
end
return str
end
---练习4.1 请问如何在Lua程序中以字符串的方式使用如下的XML片段?
local s1 = [=[
<![CDATA[
Hello world
]]>
]=]
local s2 = "<![CDATA[\n Hello world\n]]>"
print(s1)
print(s2)
---练习4.2 假设你需要以字符串的常量形式定义一组包含歧义的转义字符序列 你会使用哪种方式... | __label__POS | 0.920621 |
print("please Input N (size for the sequence of previous words):")
local N = tonumber(io.read())
while math.type(N) ~= "integer" do
print("Invalid type, ReInput N:")
N = tonumber(io.read())
end
function allwords ()
local line = io.read() -- current line
local pos = 1 -- current position in the line
... | __label__POS | 0.9394 |
-- Exercise 32.1: Modify the function dir_iter in the directory example so that it closes the DIR structure
-- as soon as it reaches the end of the traversal. With this change, the program does not need to wait for a
-- garbage collection to release a resource that it knows it will not need anymore.
-- (When you close ... | __label__POS | 0.659181 |
local N = 8
local count = 0
local function isplaceok(a,n,c)
count = count + 1
for i = 1,n - 1 do
if a[i] == c or
a[i] - i == c - n or
a[i] + i == c + n then
return false
end
end
return true
end
local function printsolution(a)
for i = 1, N do
... | __label__POS | 0.999171 |
---练习18.1 请编写一个迭代器fromto,使得如下循环与数值for循环等价:
---for i in fromto(n,m) do
---end
---你能否用无状态迭代器实现?
---练习18.2 向上一个练习的迭代器增加一个步长参数。
local function fromto(n,m,step)
step = step or 1
assert(type(step) == "number","invalid arg 'step'")
assert(type(n) == "number","invalid arg 'n'")
assert(type(m) == "number","in... | __label__POS | 0.999935 |
---Exercise 33.1: As we saw, if a function calls lua_yield (the version with no continuation), control
---returns to the function that called it when the thread resumes. What values does the calling function receive
---as results from that call?
---Exercise 33.2: Modify the lproc library so that it can send and rece... | __label__POS | 0.709176 |
---另参见chapter28.cpp
---Exercise 28.1: Write a C program that reads a Lua file defining a function f from numbers to numbers
---and plots that function. (You do not need to do anything fancy; the program can plot the results printing
---ASCII asterisks as we did in the section called “Compilation”(chapter 16.1).)
funct... | __label__POS | 0.785452 |
---练习14.1: 请编写一个函数,该函数用于两个稀疏矩阵相加。
local function printMatrix(matrix)
for i = 1,#matrix do
print(table.concat(matrix[i]," "),"\n")
end
end
local function addition(a,b)
assert(type(a) == "table")
assert(type(b) == "table")
assert(#a == #b,"a and b are not the same dimension!")
local c = {... | __label__POS | 0.999843 |
-- local lib = require "async-lib"
-- function run (code)
-- local co = coroutine.wrap(function ()
-- code()
-- lib.stop() -- finish event loop when done
-- end)
-- co() -- start coroutine
-- lib.runloop() -- start event loop
-- end
-- function putline (stream, line)
-- local co = ... | __label__POS | 0.962004 |
---练习6.1 请编写一个函数,该函数的参数为一个数组,打印出该数组所有的元素
local function printAllElement(t)
if type(t) ~= "table" then
return
end
print(table.unpack(t))
end
local test1 = {1,"a",2,3,5,"b"}
--printAllElement(test1)
---练习6.2 请编写一个函数,该函数的参数为可变数量的一组值,返回除第一个元素之外的其他所有值
local function returnWithoutFirst(first,...)
return ... | __label__POS | 0.999114 |
--- 练习10.1 请编写一个函数split,该函数接受两个参数,第一个参数是字符串,第二个参数是分隔符模式,函数的返回值是分隔符分割后的原始字符串中每一部分的序列。
---你编写的函数是如何处理空字符串的呢?
---use find and sub
function string.split(str, sep)
local result = {}
if not str or str == "" then
return result
end
if sep == "" then
result[#result + 1] = str
return resu... | __label__POS | 0.808339 |
--cocos2d's class implement
function class(classname, ...)
local cls = { __cname = classname }
local supers = { ... }
for _, super in ipairs(supers)
do
local superType = type(super)
assert(superType == "nil" or superType == "table" or superType == "function",
string.form... | __label__POS | 0.757037 |
---练习21.1 实现一个类Stack,该类具有push、pop、top、isempty
local stack = {}
stack.__index = stack
function stack:new(o)
o = o or {}
setmetatable(o,self)
o.list = {}
return o
end
function stack:isempty()
return #self.list == 0
end
function stack:push(v)
assert(v,"push data is nil")
self.list[#self.lis... | __label__POS | 0.873424 |
---9.4 Example
local function disk(cx,cy,r)
return function(x , y)
return ( x - cx) ^ 2 + (y - cy) ^ 2 <= r ^ 2
end
end
local function rect(left,right,bottom,up)
return function(x,y)
return left <= x and x <= right and bottom <= y and y <= up
end
end
local function complement(r)
return func... | __label__POS | 0.999927 |
---Exercise 27.1: Compile and run the simple stand-alone interpreter (Figure 27.1, “A bare-bones stand-alone
---Lua interpreter”).
---Exercise 27.2: Assume the stack is empty. What will be its contents after the following sequence of calls?
--lua_pushnumber(L, 3.5);
--lua_pushstring(L, "hello");
--lua_pushnil(L);
--... | __label__POS | 0.683497 |
---练习22.1 本章开始时定义的函数getfield,由于可以接收像math?sun或string!!!gsub这样的字段而不够严谨。
---请将其重写,使得该函数只能支持 . 作为名称分隔符。
t = {x = {y = 10}}
function getfield(f)
local v = _G
for w in string.gmatch(f,"([%a_][%w_]*)%.") do
if type(v[w]) ~= "table" then
error("invalid field " .. w)
else
print(w)... | __label__POS | 0.762483 |
--- 练习16.1
local function loadwithprefix(prefix,code)
local type_prefix = type(prefix)
local type_code = type(code)
assert(type_prefix == "string","invalid prefix:" .. type_prefix)
assert(type_code == "string" or type_code == "function","invalid code type:" .. type_code)
local func = nil
... | __label__POS | 0.857812 |
import { formatHexColor } from "@/lib/utils/format";
import { Badge } from "@/types";
/**
* Parses the width into a valid number.
*/
export const parseWidth = (width: string | undefined = "495"): number => {
if (width === "495") return 495;
const num = Number(width);
if (isNaN(num)) return 495;
return num;... | __label__POS | 0.617367 |
import { BlockID } from "./Block";
export class DataStore {
data: Record<string, BlockID>;
constructor() {
this.data = {};
}
clear() {
this.data = {};
}
contains(
chunkX: number,
chunkZ: number,
blockX: number,
blockY: number,
blockZ: number
) {
const key = this.#getKey... | __label__POS | 0.970964 |
#region Header
/**
* Lexer.cs
* JSON lexer implementation based on a finite state machine.
*
* The authors disclaim copyright to this source code. For more details, see
* the COPYING file included with this distribution.
**/
#endregion
using System;
using System.Collections.Generic;
using System.IO;
using Sys... | __label__POS | 0.731169 |
using System;
namespace BestHTTP.Extensions
{
public sealed class CircularBuffer<T>
{
public int Capacity { get; private set; }
public int Count { get; private set; }
public T this[int idx]
{
get
{
int realIdx = (this.startIdx + idx) % t... | __label__POS | 0.924105 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
#if NETFX_CORE
using Windows.Security.Cryptography;
using Windows.Security.Cryptography.Core;
using Windows.Storage.Streams;
#else
using Cryptography = System.Security.Cryptography;
using FileStr... | __label__POS | 0.905601 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BestHTTP.Extensions
{
/// <summary>
/// Used for parsing WWW-Authenticate headers:
/// Digest realm="my realm", nonce="4664b327a2963503ba58bbe13ad672c0", qop=auth, opaque="f7e38bdc1c66fce214f9019ffe43117c"
... | __label__POS | 0.972628 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BestHTTP.Extensions
{
public interface IHeartbeat
{
void OnHeartbeatUpdate(TimeSpan dif);
}
/// <summary>
/// A manager class that can handle subscribing and unsubscribeing in the same update.
... | __label__POS | 0.713132 |
using System;
using System.Collections.Generic;
namespace BestHTTP.Authentication
{
/// <summary>
/// Stores and manages already received digest infos.
/// </summary>
public static class DigestStore
{
private static Dictionary<string, Digest> Digests = new Dictionary<string, Digest>();
... | __label__POS | 0.962629 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Text;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
{
/// <summary> General array utilities.</summary>
public abstract cl... | __label__POS | 0.999691 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Text;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
{
/// <summary> General string utilities.</summary>
public abstract class Strings
{
internal static bool IsOneO... | __label__POS | 0.768819 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.GM;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Nist;
using BestHTTP.SecureP... | __label__POS | 0.73198 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
using BestHTTP.Se... | __label__POS | 0.786458 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto
{
/**
* a holding class for public/private parameter pairs.
*/
public class AsymmetricCipherKeyPair
{
private readonly Asym... | __label__POS | 0.839353 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Text;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto
{
/**
* super class for all Password Based Encyrption (Pbe) parame... | __label__POS | 0.837615 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using BestHTTP.S... | __label__POS | 0.794504 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.IO;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1
{
class DefiniteLengthInputStream
: LimitedInputStream
{
p... | __label__POS | 0.725092 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
{
public class RecipientInformationStore
{
private readonly IList a... | __label__POS | 0.699395 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using BestHTTP.SecureProtocol.Org.BouncyCa... | __label__POS | 0.94231 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using BestHTTP.Se... | __label__POS | 0.653363 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using System.IO;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
... | __label__POS | 0.60839 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using BestHTTP.SecureProtocol.Org.BouncyCa... | __label__POS | 0.946413 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using System.Diagnostics;
using System.Globalization;
using System.Text;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilitie... | __label__POS | 0.823964 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
#if UNITY_WSA && !UNITY_EDITOR && !ENABLE_IL2CPP
using System.TypeFix;
#endif
using System;
using System.Collections;
using System.Text;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
{
public ab... | __label__POS | 0.796889 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Globalization;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Net
{
public class IPAddress
{
/**
* Validate the given IPv4 ... | __label__POS | 0.944445 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.IO;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
{
public class HexEncoder
: IEncoder
{
protected readonly byte[] encodingTable =
{
... | __label__POS | 0.966314 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.IO;
using System.Text;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
{
public sealed class Base64
{
private Base64()
{
}
public stati... | __label__POS | 0.852962 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.IO;
using System.Text;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
{
/// <summary>
/// Class to decode and encode Hex.
/// </summary>
public sealed class He... | __label__POS | 0.936896 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.IO;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
{
public class PushbackStream
: FilterStream
{
private int b... | __label__POS | 0.814866 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
{
public class PemHeader
{
private string name;
private string val;
public PemHeader(string name, string val)
{
this.name = name;... | __label__POS | 0.71252 |
<HTML>
<HEAD>
<!-- Generated by CppDoc v2.4.1 on June 07, 2008 at 22:48-->
<META NAME="GENERATOR" Content="CppDoc">
<TITLE>Hierarchy For All Projects</TITLE>
</HEAD>
<BODY>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#eeeeff">
<A NAME="navbar_top_firstrow"><!-- --><... | __label__POS | 0.993769 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using System.IO;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
{
/**
* RFC 5764 DTLS Extension to Establish Keys for SRTP.
*/
public abstract class Tls... | __label__POS | 0.672933 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using System.IO;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ocsp;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;... | __label__POS | 0.741096 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using System.IO;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO;
namespace BestHTTP.SecureProtocol.Org.BouncyCast... | __label__POS | 0.672351 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using System.IO;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypt... | __label__POS | 0.700558 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
{
public class DesEdeParameters
: DesParameters
{
/*
* DES-EDE Key length in bytes.
*/
public const int De... | __label__POS | 0.794733 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers
{
/**
* Interface define ... | __label__POS | 0.784634 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCa... | __label__POS | 0.749153 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers
{
public class PlainDsaEncodi... | __label__POS | 0.867234 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
namespace BestHTTP.SecureProtocol.... | __label__POS | 0.885352 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
namespace BestHTTP.SecureProtocol.... | __label__POS | 0.93864 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
namespace BestHTTP.SecureProtocol.... | __label__POS | 0.648958 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Paddings
{
/**
* A padder that a... | __label__POS | 0.663752 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Paddings
{
/**
* A padder that adds t... | __label__POS | 0.670959 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.Gcm
{
public class Tables1kGcmExponentiator
: IGcm... | __label__POS | 0.797703 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Utilities;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.Gcm
{
public class ... | __label__POS | 0.850913 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Utilities;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Modes.Gcm
{
public sealed... | __label__POS | 0.709404 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.Boun... | __label__POS | 0.901675 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.GM
{
public abstract class GMObjectIdentifiers
{
public static readonly DerObjectIdentifier sm_scheme = new DerObjectIdentifier("1.2.156.10197.1"... | __label__POS | 0.8466 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.BC
{
public abstract class BCObjectIdentifiers
{
/**
* iso.org.dod.internet.private.enterprise.legion-of-the-bouncy-castle
*<p... | __label__POS | 0.99692 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Eac
{
public abstract class EacObjectIdentifiers
{
// bsi-de OBJECT IDENTIFIER ::= {
// ... | __label__POS | 0.965202 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.TeleTrust
{
public sealed class TeleTrusTObjectIdentifiers
{
private TeleTrusTObjectIdentifiers()
{
}
public static readonly DerObjectIdentifier TeleTrusTAlgor... | __label__POS | 0.990258 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Sec
{
public abstract class SecObjectIdentif... | __label__POS | 0.988901 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class PkiMessages
: Asn1Encodable
{
private Asn1Sequence co... | __label__POS | 0.841635 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class CertRepMessage
: Asn1Encodable
{
private readonly Asn1Sequence caPubs;
... | __label__POS | 0.68734 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class PopoDecKeyChallContent
: Asn1Encodable
{
private readonly Asn1Seq... | __label__POS | 0.727754 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public enum PkiStatus
{
Granted ... | __label__POS | 0.601701 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class PollReqContent
: Asn1Encodable
{
private readonly Asn1Sequence content;... | __label__POS | 0.948438 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class RevReqContent
: Asn1Encodable
{
private readonly Asn1Sequence content;
... | __label__POS | 0.796516 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class CertConfirmContent
: Asn1Encodable
{
private readonly Asn1Sequence cont... | __label__POS | 0.763771 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class GenMsgContent
: Asn1Encodable
{
private readonly Asn1Sequence content;
... | __label__POS | 0.761456 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class GenRepContent
: Asn1Encodable
{
private readonly Asn1Sequence content;
... | __label__POS | 0.774907 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class PopoDecKeyRespContent
: Asn1Encodable
{
private readonly Asn1Sequence c... | __label__POS | 0.862709 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
public class CrlAnnContent
: ... | __label__POS | 0.823737 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
{
/**
* The KeyPurposeID object.
* <pre>
* KeyPurposeID ::= OBJECT IDENTIFIER
* </pre>
*/
public sealed class KeyPurposeID
... | __label__POS | 0.829959 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.... | __label__POS | 0.971298 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using System.IO;
using System.Text;
#if SILVERLIGHT || PORTABLE || NETFX_CORE
using System.Collections.Generic;
#endif
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs;
using B... | __label__POS | 0.67648 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Text;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
{
public class CrlDistPoint
: Asn1Encodable
{
in... | __label__POS | 0.878 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
{
public abstract class X509ObjectIdentifiers
{
//
// base id
//
internal const string ID = "2.5.4";
public static readonl... | __label__POS | 0.750322 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
{
public abstract class MiscObjectIdentifiers
{
//
// Netscape
// iso/itu(2) joint-assign(16) us(840) uscompany(1) Netscape(113... | __label__POS | 0.757027 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Gnu
{
public abstract class GnuObjectIdentifiers
{
public static readonly DerObjectIdentifier Gnu = new DerObjectIdentifier("1.3.6.1.4.1.11591.1");... | __label__POS | 0.99033 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf
{
public abstract class EsfAttribut... | __label__POS | 0.671152 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Nist
{
public sealed class NistObjectIdentifiers
{
private NistObjectIdentifiers()
{
... | __label__POS | 0.97441 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Oiw
{
public abstract class OiwObjectIdentifiers
{
public static readonly DerObjectIdentifier MD4WithRsa = new DerObjectIdentifier("1.3.14.3.2.2");
public static ... | __label__POS | 0.977527 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
{
public abstract class X9IntegerConve... | __label__POS | 0.947511 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X9
{
public abstract class X9ObjectIdentifiers
{
//
// X9.62
//
// ansi-X9-62 OBJECT IDENTIFIER ::= { iso(1) member... | __label__POS | 0.817364 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
{
public class Controls
: Asn1Encodable
{
private readonly Asn1Sequ... | __label__POS | 0.773726 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
{
public class CertReqMessages
: Asn1Encodable
{
private readonly A... | __label__POS | 0.774011 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ocsp
{
public abstract class OcspObjectIdentifiers
{
internal const string PkixOcspId = "1.3.6.1.5.5... | __label__POS | 0.708499 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro
{
public abstract class CryptoProObjectIdentifiers
{
// GOST Algorithms OBJ... | __label__POS | 0.959453 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Rosstandart
{
public abstract class RosstandartObjectIdentifiers
{
public static readonly DerObjectIdentifier rosstandart = new DerObjectIdent... | __label__POS | 0.721877 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
{
public abstract class PkcsObjectIdentifiers
{
//
// pkcs-1 OBJECT IDENTIFIER ::= {
// iso(1) member-body(2) us... | __label__POS | 0.935819 |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509... | __label__POS | 0.760861 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.