text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
# This file is part of the ios-cmake project. It was retrieved from
# https://github.com/cristeab/ios-cmake.git, which is a fork of
# https://code.google.com/p/ios-cmake/. Which in turn is based off of
# the Platform/Darwin.cmake and Platform/UnixPaths.cmake files which
# are included with CMake 2.8.4
#
# The ios-cmake... | xLua/build/cmake/ios.toolchain.cmake/0 | {
"file_path": "xLua/build/cmake/ios.toolchain.cmake",
"repo_id": "xLua",
"token_count": 11714
} | 2,013 |
h3 code {
font-family: inherit ;
font-size: inherit ;
}
pre, code {
font-size: 12pt ;
}
span.apii {
float: right ;
font-family: inherit ;
font-style: normal ;
font-size: small ;
color: gray ;
}
p+h1, ul+h1 {
padding-top: 0.4em ;
padding-bottom: 0.4em ;
padding-left: 30px ;
margin-left: -30px ;
backgroun... | xLua/build/lua-5.1.5/doc/manual.css/0 | {
"file_path": "xLua/build/lua-5.1.5/doc/manual.css",
"repo_id": "xLua",
"token_count": 153
} | 2,014 |
/*
** $Id: lauxlib.c,v 1.159.1.3 2008/01/21 13:20:51 roberto Exp $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* This file uses only the official API of Lua... | xLua/build/lua-5.1.5/src/lauxlib.c/0 | {
"file_path": "xLua/build/lua-5.1.5/src/lauxlib.c",
"repo_id": "xLua",
"token_count": 7860
} | 2,015 |
/*
** $Id: liolib.c,v 2.73.1.4 2010/05/14 15:33:51 roberto Exp $
** Standard I/O (and system) library
** See Copyright Notice in lua.h
*/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define liolib_c
#define LUA_LIB
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
#defi... | xLua/build/lua-5.1.5/src/liolib.c/0 | {
"file_path": "xLua/build/lua-5.1.5/src/liolib.c",
"repo_id": "xLua",
"token_count": 5999
} | 2,016 |
/*
** $Id: lstate.h,v 2.24.1.2 2008/01/03 15:20:39 roberto Exp $
** Global State
** See Copyright Notice in lua.h
*/
#ifndef lstate_h
#define lstate_h
#include "lua.h"
#include "lobject.h"
#include "ltm.h"
#include "lzio.h"
struct lua_longjmp; /* defined in ldo.c */
/* table of globals */
#define gt(L) (&L->l_... | xLua/build/lua-5.1.5/src/lstate.h/0 | {
"file_path": "xLua/build/lua-5.1.5/src/lstate.h",
"repo_id": "xLua",
"token_count": 1898
} | 2,017 |
/*
** $Id: lvm.c,v 2.63.1.5 2011/08/17 20:43:11 roberto Exp $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define lvm_c
#define LUA_CORE
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#include "lgc.h"
#include "lobj... | xLua/build/lua-5.1.5/src/lvm.c/0 | {
"file_path": "xLua/build/lua-5.1.5/src/lvm.c",
"repo_id": "xLua",
"token_count": 12328
} | 2,018 |
.TH LUA 1 "$Date: 2014/12/10 15:55:45 $"
.SH NAME
lua \- Lua interpreter
.SH SYNOPSIS
.B lua
[
.I options
]
[
.I script
[
.I args
]
]
.SH DESCRIPTION
.B lua
is the standalone Lua interpreter.
It loads and executes Lua programs,
either in textual source form or
in precompiled binary form.
(Precompiled binaries are outpu... | xLua/build/lua-5.3.3/doc/lua.1/0 | {
"file_path": "xLua/build/lua-5.3.3/doc/lua.1",
"repo_id": "xLua",
"token_count": 680
} | 2,019 |
/*
** $Id: lparser.h,v 1.76 2015/12/30 18:16:13 roberto Exp $
** Lua Parser
** See Copyright Notice in lua.h
*/
#ifndef lparser_h
#define lparser_h
#include "llimits.h"
#include "lobject.h"
#include "lzio.h"
/*
** Expression and variable descriptor.
** Code generation for variables and expressions can be delayed to... | xLua/build/lua-5.3.3/src/lparser.h/0 | {
"file_path": "xLua/build/lua-5.3.3/src/lparser.h",
"repo_id": "xLua",
"token_count": 1550
} | 2,020 |
/*
** $Id: lcode.h,v 1.64 2016/01/05 16:22:37 roberto Exp $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
#ifndef lcode_h
#define lcode_h
#include "llex.h"
#include "lobject.h"
#include "lopcodes.h"
#include "lparser.h"
/*
** Marks the end of a patch list. It is an invalid value both as an absolute
... | xLua/build/lua-5.3.4/src/lcode.h/0 | {
"file_path": "xLua/build/lua-5.3.4/src/lcode.h",
"repo_id": "xLua",
"token_count": 1485
} | 2,021 |
/*
** $Id: llex.c,v 2.96 2016/05/02 14:02:12 roberto Exp $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
#define llex_c
#define LUA_CORE
#include "lprefix.h"
#include <locale.h>
#include <string.h>
#include "lua.h"
#include "lctype.h"
#include "ldebug.h"
#include "ldo.h"
#include "lgc.h"
#include "llex.... | xLua/build/lua-5.3.4/src/llex.c/0 | {
"file_path": "xLua/build/lua-5.3.4/src/llex.c",
"repo_id": "xLua",
"token_count": 7475
} | 2,022 |
/*
** $Id: lstate.h,v 2.133 2016/12/22 13:08:50 roberto Exp $
** Global State
** See Copyright Notice in lua.h
*/
#ifndef lstate_h
#define lstate_h
#include "lua.h"
#include "lobject.h"
#include "ltm.h"
#include "lzio.h"
/*
** Some notes about garbage-collected objects: All objects in Lua must
** be kept somehow ... | xLua/build/lua-5.3.4/src/lstate.h/0 | {
"file_path": "xLua/build/lua-5.3.4/src/lstate.h",
"repo_id": "xLua",
"token_count": 2821
} | 2,023 |
/*
** $Id: lundump.h,v 1.45 2015/09/08 15:41:05 roberto Exp $
** load precompiled Lua chunks
** See Copyright Notice in lua.h
*/
#ifndef lundump_h
#define lundump_h
#include "llimits.h"
#include "lobject.h"
#include "lzio.h"
/* data to catch conversion errors */
#define LUAC_DATA "\x19\x93\r\n\x1a\n"
#define LUAC_... | xLua/build/lua-5.3.4/src/lundump.h/0 | {
"file_path": "xLua/build/lua-5.3.4/src/lundump.h",
"repo_id": "xLua",
"token_count": 359
} | 2,024 |
/*
** $Id: ldebug.h,v 2.14.1.1 2017/04/19 17:20:42 roberto Exp $
** Auxiliary functions from Debug Interface module
** See Copyright Notice in lua.h
*/
#ifndef ldebug_h
#define ldebug_h
#include "lstate.h"
#define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1)
#define getfuncline(f,pc) (((f)->lineinfo) ? (f)->lin... | xLua/build/lua-5.3.5/src/ldebug.h/0 | {
"file_path": "xLua/build/lua-5.3.5/src/ldebug.h",
"repo_id": "xLua",
"token_count": 832
} | 2,025 |
/*
** $Id: loadlib.c,v 1.130.1.1 2017/04/19 17:20:42 roberto Exp $
** Dynamic library loader for Lua
** See Copyright Notice in lua.h
**
** This module contains an implementation of loadlib for Unix systems
** that have dlfcn, an implementation for Windows, and a stub for other
** systems.
*/
#define loadlib_c
#define... | xLua/build/lua-5.3.5/src/loadlib.c/0 | {
"file_path": "xLua/build/lua-5.3.5/src/loadlib.c",
"repo_id": "xLua",
"token_count": 9305
} | 2,026 |
/*
** $Id: ltablib.c,v 1.93.1.1 2017/04/19 17:20:42 roberto Exp $
** Library for Table Manipulation
** See Copyright Notice in lua.h
*/
#define ltablib_c
#define LUA_LIB
#include "lprefix.h"
#include <limits.h>
#include <stddef.h>
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
/*
... | xLua/build/lua-5.3.5/src/ltablib.c/0 | {
"file_path": "xLua/build/lua-5.3.5/src/ltablib.c",
"repo_id": "xLua",
"token_count": 5954
} | 2,027 |
# Makefile for installing Lua
# See doc/readme.html for installation and customization instructions.
# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
# Your platform. See PLATS for possible values.
PLAT= guess
# Where to install. The installation starts in the src and doc directories,
... | xLua/build/lua-5.4.1/Makefile/0 | {
"file_path": "xLua/build/lua-5.4.1/Makefile",
"repo_id": "xLua",
"token_count": 1239
} | 2,028 |
/*
** $Id: lgc.h $
** Garbage Collector
** See Copyright Notice in lua.h
*/
#ifndef lgc_h
#define lgc_h
#include "lobject.h"
#include "lstate.h"
/*
** Collectable objects may have one of three colors: white, which means
** the object is not marked; gray, which means the object is marked, but
** its references may b... | xLua/build/lua-5.4.1/src/lgc.h/0 | {
"file_path": "xLua/build/lua-5.4.1/src/lgc.h",
"repo_id": "xLua",
"token_count": 2304
} | 2,029 |
##############################################################################
# LuaJIT top level Makefile for installation. Requires GNU Make.
#
# Please read doc/install.html before changing any variables!
#
# Suitable for POSIX platforms (Linux, *BSD, OSX etc.).
# Note: src/Makefile has many more configurable option... | xLua/build/luajit-2.1.0b2/Makefile/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/Makefile",
"repo_id": "xLua",
"token_count": 2286
} | 2,030 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Installation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Mike Pall">
<meta name="Copyright" content="Copyright (C) 2005-2016, Mike Pall">
<met... | xLua/build/luajit-2.1.0b2/doc/install.html/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/doc/install.html",
"repo_id": "xLua",
"token_count": 8504
} | 2,031 |
------------------------------------------------------------------------------
-- DynASM. A dynamic assembler for code generation engines.
-- Originally designed and implemented for LuaJIT.
--
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
-- See below for full copyright notice.
----------------------------... | xLua/build/luajit-2.1.0b2/dynasm/dynasm.lua/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/dynasm/dynasm.lua",
"repo_id": "xLua",
"token_count": 11193
} | 2,032 |
/*
** Debug library.
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
**
** Major portions taken verbatim or adapted from the Lua interpreter.
** Copyright (C) 1994-2008 Lua.org, PUC-Rio. See Copyright Notice in lua.h
*/
#define lib_debug_c
#define LUA_LIB
#include "lua.h"
#include "lauxlib.h"
#... | xLua/build/luajit-2.1.0b2/src/lib_debug.c/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/src/lib_debug.c",
"repo_id": "xLua",
"token_count": 4514
} | 2,033 |
/*
** IR assembler (SSA IR -> machine code).
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_ASM_H
#define _LJ_ASM_H
#include "lj_jit.h"
#if LJ_HASJIT
LJ_FUNC void lj_asm_trace(jit_State *J, GCtrace *T);
LJ_FUNC void lj_asm_patchexit(jit_State *J, GCtrace *T, ExitNo exitno,
... | xLua/build/luajit-2.1.0b2/src/lj_asm.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/src/lj_asm.h",
"repo_id": "xLua",
"token_count": 165
} | 2,034 |
/*
** FFI C callback handling.
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
*/
#include "lj_obj.h"
#if LJ_HASFFI
#include "lj_gc.h"
#include "lj_err.h"
#include "lj_tab.h"
#include "lj_state.h"
#include "lj_frame.h"
#include "lj_ctype.h"
#include "lj_cconv.h"
#include "lj_ccall.h"
#include ... | xLua/build/luajit-2.1.0b2/src/lj_ccallback.c/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/src/lj_ccallback.c",
"repo_id": "xLua",
"token_count": 9982
} | 2,035 |
/*
** Debugging and introspection.
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
*/
#define lj_debug_c
#define LUA_CORE
#include "lj_obj.h"
#include "lj_err.h"
#include "lj_debug.h"
#include "lj_buf.h"
#include "lj_tab.h"
#include "lj_state.h"
#include "lj_frame.h"
#include "lj_bc.h"
#include... | xLua/build/luajit-2.1.0b2/src/lj_debug.c/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/src/lj_debug.c",
"repo_id": "xLua",
"token_count": 9140
} | 2,036 |
/*
** Function handling (prototypes, functions and upvalues).
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
**
** Portions taken verbatim or adapted from the Lua interpreter.
** Copyright (C) 1994-2008 Lua.org, PUC-Rio. See Copyright Notice in lua.h
*/
#define lj_func_c
#define LUA_CORE
#incl... | xLua/build/luajit-2.1.0b2/src/lj_func.c/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/src/lj_func.c",
"repo_id": "xLua",
"token_count": 2528
} | 2,037 |
/*
** Machine code management.
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
*/
#define lj_mcode_c
#define LUA_CORE
#include "lj_obj.h"
#if LJ_HASJIT
#include "lj_gc.h"
#include "lj_err.h"
#include "lj_jit.h"
#include "lj_mcode.h"
#include "lj_trace.h"
#include "lj_dispatch.h"
#endif
#if LJ_H... | xLua/build/luajit-2.1.0b2/src/lj_mcode.c/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/src/lj_mcode.c",
"repo_id": "xLua",
"token_count": 4304
} | 2,038 |
/*
** Low-overhead profiling.
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_PROFILE_H
#define _LJ_PROFILE_H
#include "lj_obj.h"
#if LJ_HASPROFILE
LJ_FUNC void LJ_FASTCALL lj_profile_interpreter(lua_State *L);
#if !LJ_PROFILE_SIGPROF
LJ_FUNC void LJ_FASTCALL lj_profile_hook_en... | xLua/build/luajit-2.1.0b2/src/lj_profile.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/src/lj_profile.h",
"repo_id": "xLua",
"token_count": 195
} | 2,039 |
/*
** Definitions for target CPU.
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_TARGET_H
#define _LJ_TARGET_H
#include "lj_def.h"
#include "lj_arch.h"
/* -- Registers and spill slots ------------------------------------------- */
/* Register type (uint8_t in ir->r). */
typede... | xLua/build/luajit-2.1.0b2/src/lj_target.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/src/lj_target.h",
"repo_id": "xLua",
"token_count": 2194
} | 2,040 |
/*
** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $
** Lua - An Extensible Extension Language
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
** See Copyright Notice at the end of this file
*/
#ifndef lua_h
#define lua_h
#include <stdarg.h>
#include <stddef.h>
#include "luaconf.h"
#define LUA_VERSION... | xLua/build/luajit-2.1.0b2/src/lua.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b2/src/lua.h",
"repo_id": "xLua",
"token_count": 5001
} | 2,041 |
<!DOCTYPE html>
<html>
<head>
<title>FFI Tutorial</title>
<meta charset="utf-8">
<meta name="Copyright" content="Copyright (C) 2005-2021">
<meta name="Language" content="en">
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media... | xLua/build/luajit-2.1.0b3/doc/ext_ffi_tutorial.html/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/doc/ext_ffi_tutorial.html",
"repo_id": "xLua",
"token_count": 7954
} | 2,042 |
/*
** DynASM MIPS encoding engine.
** Copyright (C) 2005-2021 Mike Pall. All rights reserved.
** Released under the MIT license. See dynasm.lua for full copyright notice.
*/
#include <stddef.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#define DASM_ARCH "mips"
#ifndef DASM_EXTERN
#define DASM_EXTE... | xLua/build/luajit-2.1.0b3/dynasm/dasm_mips.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/dynasm/dasm_mips.h",
"repo_id": "xLua",
"token_count": 5660
} | 2,043 |
lib_aux.o: lib_aux.c lua.h luaconf.h lauxlib.h lj_obj.h lj_def.h \
lj_arch.h lj_err.h lj_errmsg.h lj_state.h lj_trace.h lj_jit.h lj_ir.h \
lj_dispatch.h lj_bc.h lj_traceerr.h lj_lib.h
lib_base.o: lib_base.c lua.h luaconf.h lauxlib.h lualib.h lj_obj.h \
lj_def.h lj_arch.h lj_gc.h lj_err.h lj_errmsg.h lj_debug.h lj_bu... | xLua/build/luajit-2.1.0b3/src/Makefile.dep/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/Makefile.dep",
"repo_id": "xLua",
"token_count": 10108
} | 2,044 |
----------------------------------------------------------------------------
-- LuaJIT ARM disassembler module.
--
-- Copyright (C) 2005-2021 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | xLua/build/luajit-2.1.0b3/src/jit/dis_arm.lua/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/jit/dis_arm.lua",
"repo_id": "xLua",
"token_count": 9531
} | 2,045 |
/*
** $Id: lauxlib.h,v 1.88.1.1 2007/12/27 13:02:25 roberto Exp $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
#ifndef lauxlib_h
#define lauxlib_h
#include <stddef.h>
#include <stdio.h>
#include "lua.h"
/* extra error code for `luaL_load' */
#define LUA_ERRFILE (LUA_E... | xLua/build/luajit-2.1.0b3/src/lauxlib.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/lauxlib.h",
"repo_id": "xLua",
"token_count": 2753
} | 2,046 |
/*
** Bundled memory allocator.
**
** Beware: this is a HEAVILY CUSTOMIZED version of dlmalloc.
** The original bears the following remark:
**
** This is a version (aka dlmalloc) of malloc/free/realloc written by
** Doug Lea and released to the public domain, as explained at
** https://creativecommons.org/license... | xLua/build/luajit-2.1.0b3/src/lj_alloc.c/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/lj_alloc.c",
"repo_id": "xLua",
"token_count": 18750
} | 2,047 |
/*
** Bytecode writer.
** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h
*/
#define lj_bcwrite_c
#define LUA_CORE
#include "lj_obj.h"
#include "lj_gc.h"
#include "lj_buf.h"
#include "lj_bc.h"
#if LJ_HASFFI
#include "lj_ctype.h"
#endif
#if LJ_HASJIT
#include "lj_dispatch.h"
#include "lj_jit.h"
#en... | xLua/build/luajit-2.1.0b3/src/lj_bcwrite.c/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/lj_bcwrite.c",
"repo_id": "xLua",
"token_count": 5287
} | 2,048 |
/*
** FFI C library loader.
** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_CLIB_H
#define _LJ_CLIB_H
#include "lj_obj.h"
#if LJ_HASFFI
/* Namespace for C library indexing. */
#define CLNS_INDEX ((1u<<CT_FUNC)|(1u<<CT_EXTERN)|(1u<<CT_CONSTVAL))
/* C library namespace. */
typed... | xLua/build/luajit-2.1.0b3/src/lj_clib.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/lj_clib.h",
"repo_id": "xLua",
"token_count": 319
} | 2,049 |
/*
** x86/x64 instruction emitter.
** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h
*/
/* -- Emit basic instructions --------------------------------------------- */
#define MODRM(mode, r1, r2) ((MCode)((mode)+(((r1)&7)<<3)+((r2)&7)))
#if LJ_64
#define REXRB(p, rr, rb) \
{ MCode rex = 0x40 ... | xLua/build/luajit-2.1.0b3/src/lj_emit_x86.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/lj_emit_x86.h",
"repo_id": "xLua",
"token_count": 8100
} | 2,050 |
/*
** IR CALL* instruction definitions.
** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_IRCALL_H
#define _LJ_IRCALL_H
#include "lj_obj.h"
#include "lj_ir.h"
#include "lj_jit.h"
/* C call info for CALL* instructions. */
typedef struct CCallInfo {
ASMFunction func; /* Function ... | xLua/build/luajit-2.1.0b3/src/lj_ircall.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/lj_ircall.h",
"repo_id": "xLua",
"token_count": 7231
} | 2,051 |
/*
** LOOP: Loop Optimizations.
** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h
*/
#define lj_opt_loop_c
#define LUA_CORE
#include "lj_obj.h"
#if LJ_HASJIT
#include "lj_err.h"
#include "lj_buf.h"
#include "lj_ir.h"
#include "lj_jit.h"
#include "lj_iropt.h"
#include "lj_trace.h"
#include "lj_s... | xLua/build/luajit-2.1.0b3/src/lj_opt_loop.c/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/lj_opt_loop.c",
"repo_id": "xLua",
"token_count": 6392
} | 2,052 |
/*
** Snapshot handling.
** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_SNAP_H
#define _LJ_SNAP_H
#include "lj_obj.h"
#include "lj_jit.h"
#if LJ_HASJIT
LJ_FUNC void lj_snap_add(jit_State *J);
LJ_FUNC void lj_snap_purge(jit_State *J);
LJ_FUNC void lj_snap_shrink(jit_State *J);
L... | xLua/build/luajit-2.1.0b3/src/lj_snap.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/lj_snap.h",
"repo_id": "xLua",
"token_count": 446
} | 2,053 |
/*
** Definitions for PPC CPUs.
** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_TARGET_PPC_H
#define _LJ_TARGET_PPC_H
/* -- Registers IDs ------------------------------------------------------- */
#define GPRDEF(_) \
_(R0) _(SP) _(SYS1) _(R3) _(R4) _(R5) _(R6) _(R7) \
_(R8) ... | xLua/build/luajit-2.1.0b3/src/lj_target_ppc.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/lj_target_ppc.h",
"repo_id": "xLua",
"token_count": 3883
} | 2,054 |
/*
** LuaJIT frontend. Runs commands, scripts, read-eval-print (REPL) etc.
** Copyright (C) 2005-2021 Mike Pall. See Copyright Notice in luajit.h
**
** Major portions taken verbatim or adapted from the Lua interpreter.
** Copyright (C) 1994-2008 Lua.org, PUC-Rio. See Copyright Notice in lua.h
*/
#include <stdio.h>
#in... | xLua/build/luajit-2.1.0b3/src/luajit.c/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/luajit.c",
"repo_id": "xLua",
"token_count": 6810
} | 2,055 |
/*
* This file defines string hash function using CRC32. It takes advantage of
* Intel hardware support (crc32 instruction, SSE 4.2) to speedup the CRC32
* computation. The hash functions try to compute CRC32 of length and up
* to 128 bytes of given string.
*/
#ifndef _LJ_STR_HASH_X64_H_
#define _LJ_STR_HASH_X64_... | xLua/build/luajit-2.1.0b3/src/x64/src/lj_str_hash_x64.h/0 | {
"file_path": "xLua/build/luajit-2.1.0b3/src/x64/src/lj_str_hash_x64.h",
"repo_id": "xLua",
"token_count": 3222
} | 2,056 |
/*=========================================================================*\
* Input/Output interface for Lua programs
* LuaSocket toolkit
\*=========================================================================*/
#include "lua.h"
#include "lauxlib.h"
#include "buffer.h"
/*========================================... | xLua/build/luasocket/buffer.c/0 | {
"file_path": "xLua/build/luasocket/buffer.c",
"repo_id": "xLua",
"token_count": 3611
} | 2,057 |
/*=========================================================================*\
* Select implementation
* LuaSocket toolkit
\*=========================================================================*/
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "socket.h"
#include "timeout.h"
#include "select.h"... | xLua/build/luasocket/select.c/0 | {
"file_path": "xLua/build/luasocket/select.c",
"repo_id": "xLua",
"token_count": 3131
} | 2,058 |
if [ -n "$ANDROID_NDK" ]; then
export NDK=${ANDROID_NDK}
elif [ -n "$ANDROID_NDK_HOME" ]; then
export NDK=${ANDROID_NDK_HOME}
elif [ -n "$ANDROID_NDK_HOME" ]; then
export NDK=${ANDROID_NDK_HOME}
else
export NDK=~/android-ndk-r15c
fi
if [ ! -d "$NDK" ]; then
echo "Please set ANDROID_NDK environment ... | xLua/build/make_android_lua53.sh/0 | {
"file_path": "xLua/build/make_android_lua53.sh",
"repo_id": "xLua",
"token_count": 484
} | 2,059 |
mkdir -p build_osx_54 && cd build_osx_54
cmake -DLUA_VERSION=5.4.1 -GXcode ../
cd ..
cmake --build build_osx_54 --config Release
mkdir -p plugin_lua54/Plugins/xlua.bundle/Contents/MacOS/
cp build_osx_54/Release/xlua.bundle/Contents/MacOS/xlua plugin_lua54/Plugins/xlua.bundle/Contents/MacOS/xlua
| xLua/build/make_osx_lua54.sh/0 | {
"file_path": "xLua/build/make_osx_lua54.sh",
"repo_id": "xLua",
"token_count": 125
} | 2,060 |
mkdir build32 & pushd build32
cmake -G "Visual Studio 14 2015" ..
IF %ERRORLEVEL% NEQ 0 cmake -G "Visual Studio 15 2017" ..
popd
cmake --build build32 --config Release
md plugin_lua53\Plugins\x86
copy /Y build32\Release\xlua.dll plugin_lua53\Plugins\x86\xlua.dll
pause | xLua/build/vs2015/make_win32_lua53.bat/0 | {
"file_path": "xLua/build/vs2015/make_win32_lua53.bat",
"repo_id": "xLua",
"token_count": 97
} | 2,061 |
---
title: 特性
type: guide
order: 1001
---
## 特性
### 总体
* **Lua虚拟机支持**
* Lua5.3.3
* Luajit2.1beta2
<br>
* **Unity3D版本支持**
* Unity5
* Unity4
<br>
* **平台支持**
* windows 64/32
* android
* ios 64/32/bitcode
* osx
<br>
* **互访技术**
* 生成适配代码
* 反射
<br>
* **易用性**
* 解压即可用
* 开发期无需生成代码
* 生成代码和反射间可无缝切换
* 更简单的无GC api
... | xLua/docs/source/src/v1/guide/features.md/0 | {
"file_path": "xLua/docs/source/src/v1/guide/features.md",
"repo_id": "xLua",
"token_count": 2892
} | 2,062 |
article
color:rgb(82,82,82);
text-align left
h1,h2
font-size 2.25rem
font-weight 500
margin-bottom 3rem
h3,h4,h5
font-weight 400
h3
font-size 1.375rem
margin-top 3.125rem
margin-bottom 1.875rem
h3:before
content "#"
margi... | xLua/docs/source/themes/catlib/source/css/_markdown.styl/0 | {
"file_path": "xLua/docs/source/themes/catlib/source/css/_markdown.styl",
"repo_id": "xLua",
"token_count": 3816
} | 2,063 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.