100+ results for 'rpython repo:pypy/pypy'

Not the results you expected?

CMakeLists.txt (https://bitbucket.org/yorik/freecad.git) CMake · 119 lines

88 TaskDlgEditSketch.cpp

89 TaskDlgEditSketch.h

90 ViewProviderPython.cpp

91 ViewProviderPython.h

lldict.py (https://github.com/alemacgo/pypy.git) Python · 100 lines

1 from pypy.rpython.lltypesystem import lltype, llmemory

2 from pypy.rpython.lltypesystem import rdict

3 from pypy.rlib.objectmodel import we_are_translated

4 from pypy.rpython.memory.support import mangle_hash

5

6 # This is a low-level AddressDict, reusing a lot of the logic from rdict.py.

10

11 def count_alloc(delta):

12 "NOT_RPYTHON"

13 global alloc_count

14 alloc_count += delta

future.tex (https://github.com/khskrede/mehh.git) LaTeX · 74 lines

1 \section{Future work}

2

3 \subsection{Rewrite the deserializer to proper RPython}

4

5 The deserializer is currently not written in proper RPython.

6 Converting the code to RPython will allow it to be compiled to a JIT interpreter by

7 the RPython toolchain. This should not be a very big task, but it requires understanding

8 of the RPython coding style. There are also restrictions on how one may use the PyPy parser

9 tools.

10

PythonMonitor.cpp (https://github.com/xbmc/xbmc-rbp.git) C++ · 137 lines

81 m_callback = NULL;

82 m_refs = 1;

83 g_pythonParser.RegisterPythonMonitorCallBack(this);

84 }

85

97 CPythonMonitor::~CPythonMonitor(void)

98 {

99 g_pythonParser.UnregisterPythonMonitorCallBack(this);

100 }

101

test_writeanalyze.py (https://github.com/alemacgo/pypy.git) Python · 406 lines

1 import py

2 from pypy.rpython.lltypesystem import lltype

3 from pypy.rpython.ootypesystem import ootype

197

198 def test_llexternal(self):

199 from pypy.rpython.lltypesystem.rffi import llexternal

200 from pypy.rpython.lltypesystem import lltype

259

260 def test_llexternal_with_callback(self):

261 from pypy.rpython.lltypesystem.rffi import llexternal

262 from pypy.rpython.lltypesystem import lltype

CMakeLists.txt (https://github.com/trondeau/gnuradio-old.git) CMake · 114 lines

21 # generate helper scripts to expand templated files

22 ########################################################################

23 include(GrPython)

24

25 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/generate_helper.py "

testUsdviewMetadatatabSelect.py (https://github.com/PixarAnimationStudios/USD.git) Python · 86 lines

1 #!/pxrpythonsubst

2 #

3 # Copyright 2017 Pixar

eric4.Preferences.ConfigurationPages.DebuggerPythonPage.html (git://pkgs.fedoraproject.org/eric) HTML · 117 lines

32 <table>

33 <tr>

34 <td><a href="#DebuggerPythonPage">DebuggerPythonPage</a></td>

35 <td>Class implementing the Debugger Python configuration page.</td>

36 </tr>

44 </table>

45 <hr /><hr />

46 <a NAME="DebuggerPythonPage" ID="DebuggerPythonPage"></a>

47 <h2>DebuggerPythonPage</h2>

79 <tr><td>None</td></tr>

80 </table>

81 <a NAME="DebuggerPythonPage.__init__" ID="DebuggerPythonPage.__init__"></a>

82 <h4>DebuggerPythonPage (Constructor)</h4>

94 <p>

95 Private slot to handle the Python interpreter selection.

96 </p><a NAME="DebuggerPythonPage.save" ID="DebuggerPythonPage.save"></a>

97 <h4>DebuggerPythonPage.save</h4>

lldict.py (https://bitbucket.org/pypy/pypy/) Python · 101 lines

1 from rpython.rtyper.lltypesystem import lltype, llmemory

2 from rpython.rtyper.lltypesystem import rdict

3 from rpython.rlib.objectmodel import we_are_translated

4 from rpython.memory.support import mangle_hash

10

11 def count_alloc(delta):

12 "NOT_RPYTHON"

13 global alloc_count

14 alloc_count += delta

callbuilder.py (https://bitbucket.org/pypy/pypy/) Python · 105 lines

1 from rpython.rlib.clibffi import FFI_DEFAULT_ABI

2 from rpython.rlib import rgil

3 from rpython.rtyper.lltypesystem import lltype, rffi

4

5

errorbox.py (https://github.com/mozillazg/pypy.git) Python · 115 lines

1 # for Windows only

2 import sys

3 from rpython.rlib import jit

4 from rpython.rtyper.lltypesystem import lltype, rffi

5 from rpython.translator.tool.cbuild import ExternalCompilationInfo

6

7

test_list.py (https://github.com/lalitjsraks/pypy.git) Python · 232 lines

1 from pypy.rpython.lltypesystem import lltype

2 from pypy.translator.unsimplify import varoftype

3 from pypy.objspace.flow.model import Constant, SpaceOperation

DarwinUtils.h (https://github.com/energy6/xbmc.git) C Header · 48 lines

36 const char *GetDarwinVersionString(void);

37 float GetIOSVersion(void);

38 int GetDarwinFrameworkPath(bool forPython, char* path, uint32_t *pathsize);

39 int GetDarwinExecutablePath(char* path, uint32_t *pathsize);

40 bool DarwinHasVideoToolboxDecoder(void);

gcheader.py (https://github.com/alemacgo/pypy.git) Python · 47 lines

1 import weakref

2 from pypy.rpython.lltypesystem import lltype, llmemory

3

4

10

11 def __init__(self, HDR):

12 """NOT_RPYTHON"""

13 self.HDR = HDR

14 self.obj2header = weakref.WeakKeyDictionary()

constant.py (https://github.com/nicolaslara/pypy.git) Python · 46 lines

1 import math

2 from pypy.rlib.rfloat import isinf

3 from pypy.rpython.tool import rffi_platform

4 from pypy.translator.tool.cbuild import ExternalCompilationInfo

5

rbuilder.py (https://github.com/ssadler/pypy.git) Python · 57 lines

1

2 from pypy.rpython.rbuilder import AbstractStringBuilderRepr

3 from pypy.rpython.ootypesystem import ootype

4 from pypy.rpython.ootypesystem.rstr import string_repr, char_repr,\

5 unicode_repr, unichar_repr

6

libclang-v100-dyn.ps1 (https://gitlab.com/f3822/qt5) Powershell · 50 lines

7

8 $libclang_version="10.0"

9 Write-Output "libClang for QtForPython = $libclang_version" >> ~/versions.txt

10

11 # PySide versions following Qt6 use a C++ parser based on Clang (http://clang.org/).

CMakeLists.txt (https://github.com/osh/gnuradio.old.git) CMake · 60 lines

21 # Setup swig generation

22 ########################################################################

23 include(GrPython)

24 include(GrSwig)

25

rbool.py (https://github.com/alemacgo/pypy.git) Python · 78 lines

1 from pypy.tool.pairtype import pairtype

2 from pypy.annotation import model as annmodel

3 from pypy.rpython.lltypesystem.lltype import Signed, Unsigned, Bool, Float

4 from pypy.rpython.error import TyperError

5 from pypy.rpython.rmodel import IntegerRepr, BoolRepr

6 from pypy.rpython.robject import PyObjRepr, pyobj_repr

7 from pypy.rpython.rmodel import log

8

9

48 return llops.genop('cast_bool_to_int', [v], resulttype=Signed)

49 if r_from.lowleveltype == Bool:

50 from pypy.rpython.rint import signed_repr

51 v_int = llops.genop('cast_bool_to_int', [v], resulttype=Signed)

52 return llops.convertvar(v_int, signed_repr, r_to)

linuxprivchecker.py (https://gitlab.com/surajraghuvanshi/Privlage-Esclator) Python · 44 lines

22 self.register_arguments([

23 { 'name' : 'rpath', 'help' : 'Remote file path', 'default' : '/tmp/%s' % (random.randint(1,99999)), 'nargs' : '?' },

24 { 'name' : 'rpython', 'help' : 'Remote python interpreter path', 'default' : 'python', 'nargs' : '?' },

25 ])

26

33 ),

34 ShellCmd(

35 payload = """${rpython} '${rpath}'""",

36 name = 'exec_script'

37 )

test_unicodedata.py (https://bitbucket.org/bwesterb/pypy) Python · 78 lines

4 import py

5

6 from rpython.rlib.unicodedata import unicodedb_3_2_0, unicodedb_5_2_0

7

8

QsciLexerPython.cs (git://pkgs.fedoraproject.org/qyoto) C# · 173 lines

43 public QsciLexerPython(QObject parent) : this((Type) null) {

44 CreateProxy();

45 interceptor.Invoke("QsciLexerPython#", "QsciLexerPython(QObject*)", typeof(void), typeof(QObject), parent);

46 }

47 public QsciLexerPython() : this((Type) null) {

142 public virtual void SetIndentationWarning(QsciLexerPython.IndentationWarning warn) {

143 interceptor.Invoke("setIndentationWarning$", "setIndentationWarning(QsciLexerPython::IndentationWarning)", typeof(void), typeof(QsciLexerPython.IndentationWarning), warn);

144 }

145 [SmokeMethod("readProperties(QSettings&, const QString&)")]

153 ~QsciLexerPython() {

154 interceptor.Invoke("~QsciLexerPython", "~QsciLexerPython()", typeof(void));

155 }

156 public new void Dispose() {

157 interceptor.Invoke("~QsciLexerPython", "~QsciLexerPython()", typeof(void));

158 }

159 public static new string Tr(string s, string c) {

CMakeLists.txt (https://github.com/barche/coolfluid3.git) CMake · 55 lines

3 list( APPEND coolfluid_python_files

4 BoostPython.hpp

5 ComponentFilterPython.hpp

6 ComponentFilterPython.cpp

CMakeLists.txt (https://github.com/balister/GNU-Radio.git) CMake · 45 lines

18 # Boston, MA 02110-1301, USA.

19

20 include(GrPython)

21

22 GR_PYTHON_INSTALL(PROGRAMS

CMakeLists.txt (https://github.com/finetjul/Slicer.git) CMake · 95 lines

24 list(APPEND KIT_TEST_SRCS

25 qSlicerLoadableModuleWithPythonTest.cxx

26 qSlicerPythonManagerWithoutApplicationTest.cxx

27 qSlicerScriptedLoadableModuleTest.cxx

28 qSlicerScriptedLoadableModuleWidgetTest.cxx

39 list(APPEND KIT_TEST_MOC_SRCS

40 qSlicerLoadableModuleWithPythonTest.cxx

41 qSlicerPythonManagerWithoutApplicationTest.cxx

42 qSlicerScriptedLoadableModuleTest.cxx

43 qSlicerScriptedLoadableModuleWidgetTest.cxx

73 if(Slicer_USE_PYTHONQT)

74 simple_test( qSlicerLoadableModuleWithPythonTest )

75 simple_test( qSlicerPythonManagerWithoutApplicationTest )

76 simple_test( qSlicerScriptedLoadableModuleTest )

77 simple_test( qSlicerScriptedLoadableModuleWidgetTest )

ll_os_environ.py (https://github.com/ssadler/pypy.git) Python · 198 lines

1 import os, sys

2 from pypy.annotation import model as annmodel

3 from pypy.rpython.controllerentry import Controller

4 from pypy.rpython.extfunc import register_external

5 from pypy.rpython.lltypesystem import rffi, lltype

6 from pypy.rlib import rposix

7

8 # ____________________________________________________________

9 #

10 # Annotation support to control access to 'os.environ' in the RPython program

11

12 class OsEnvironController(Controller):

17

18 def getitem(self, obj, key):

19 # in the RPython program reads of 'os.environ[key]' are redirected here

20 result = r_getenv(key)

21 if result is None:

Makefile (https://github.com/glk/freebsd-head.git) Makefile · 56 lines

47 ScriptInterpreter.cpp \

48 ScriptInterpreterNone.cpp \

49 ScriptInterpreterPython.cpp

50

51 TGHDRS= DiagnosticCommonKinds \

database.py (https://github.com/nicolaslara/pypy.git) Python · 160 lines

9 from pypy.translator.cli.support import string_literal, Counter

10 from pypy.translator.cli.cts import types

11 from pypy.rpython.ootypesystem import ootype

12 from pypy.rpython.ootypesystem.module import ll_os, ll_math

13 from pypy.rpython.ootypesystem.rtupletype import TUPLE_TYPE

14 from pypy.translator.cli import dotnet

15 from pypy.rlib.objectmodel import CDefinedIntSymbolic

test_rrange.py (https://github.com/nicolaslara/pypy.git) Python · 178 lines

1 from pypy.rpython.rrange import *

2 from pypy.rpython.test.tool import BaseRtypingTest, LLRtypeMixin, OORtypeMixin

172

173 class TestLLtype(BaseTestRrange, LLRtypeMixin):

174 from pypy.rpython.lltypesystem import rrange

175

176

177 class TestOOtype(BaseTestRrange, OORtypeMixin):

178 from pypy.rpython.ootypesystem import rrange

179

interp_epoll.py (https://github.com/nicolaslara/pypy.git) Python · 176 lines

7 from pypy.interpreter.error import OperationError, operationerrfmt, exception_from_errno

8 from pypy.interpreter.typedef import TypeDef, GetSetProperty

9 from pypy.rpython.lltypesystem import lltype, rffi

10 from pypy.rpython.tool import rffi_platform

test_env.py (https://github.com/alemacgo/pypy.git) Python · 163 lines

1 import os, py

2 from pypy.rpython.memory.gc import env

3 from pypy.rlib.rarithmetic import r_uint

4 from pypy.tool.udir import udir

CMakeLists.txt (https://github.com/Slicer/Slicer.git) CMake · 398 lines

345 # Sources

346 list(APPEND KIT_SRCS

347 qSlicerPythonManager.cxx

348 qSlicerPythonManager.h

351 # Headers that should run through moc

352 list(APPEND KIT_MOC_SRCS

353 qSlicerPythonManager.h

354 )

355

fixapplepython23.py (https://github.com/tmacreturns/XBMC_wireless_setup.git) Python · 130 lines

26 ),(

27 'CC=\t\tgcc\n',

28 'CC=\t\t/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config/PantherPythonFix/run-gcc\n'

29 ),(

30 'CXX=\t\tc++\n',

31 'CXX=\t\t/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config/PantherPythonFix/run-g++\n'

32 ))

33

34 GCC_SCRIPT='/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config/PantherPythonFix/run-gcc'

35 GXX_SCRIPT='/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config/PantherPythonFix/run-g++'

test_ll_termios.py (https://bitbucket.org/cbjadwani/pypy) Python · 106 lines

1 import py, re, sys

2 from rpython.tool.udir import udir

3 from rpython.tool.pytest.expecttest import ExpectTest

34

35 def test_tcgetattr(self):

36 from rpython.translator.c.test.test_genc import compile

37 from rpython.rlib import rtermios

44

45 def test_tcgetattr2(self):

46 from rpython.translator.c.test.test_genc import compile

47 from rpython.rlib import rtermios

61 # a test, which doesn't even check anything.

62 # I've got no idea how to test it to be honest :-(

63 from rpython.translator.c.test.test_genc import compile

64 from rpython.rlib import rtermios

lldict.py (https://bitbucket.org/cbjadwani/pypy) Python · 101 lines

1 from rpython.rtyper.lltypesystem import lltype, llmemory

2 from rpython.rtyper.lltypesystem import rdict

3 from rpython.rlib.objectmodel import we_are_translated

4 from rpython.rtyper.memory.support import mangle_hash

10

11 def count_alloc(delta):

12 "NOT_RPYTHON"

13 global alloc_count

14 alloc_count += delta

test_posix.py (https://github.com/alemacgo/pypy.git) Python · 223 lines

1 import py

2 from pypy.rpython.test.tool import BaseRtypingTest, LLRtypeMixin, OORtypeMixin

3 from pypy.tool.udir import udir

4 import os

57 def test_times(self):

58 import py; py.test.skip("llinterp does not like tuple returns")

59 from pypy.rpython.test.test_llinterp import interpret

60 times = interpret(lambda: posix.times(), ())

61 assert isinstance(times, tuple)

187

188 def test_os_wstar(self):

189 from pypy.rpython.module.ll_os import RegisterOs

190 for name in RegisterOs.w_star:

191 if not hasattr(os, name):

test_rtagged.py (https://github.com/nicolaslara/pypy.git) Python · 253 lines

1 import sys

2 from pypy.rpython.test.test_llinterp import interpret, get_interpreter

3 from pypy.rpython.lltypesystem import lltype

XBPython.h (https://gitlab.com/fflayol/xbmc) C Header · 136 lines

77

78 virtual void Announce(ANNOUNCEMENT::AnnouncementFlag flag, const char *sender, const char *message, const CVariant &data);

79 void RegisterPythonPlayerCallBack(IPlayerCallback* pCallback);

80 void UnregisterPythonPlayerCallBack(IPlayerCallback* pCallback);

81 void RegisterPythonMonitorCallBack(XBMCAddon::xbmc::Monitor* pCallback);

82 void UnregisterPythonMonitorCallBack(XBMCAddon::xbmc::Monitor* pCallback);

exception.py (https://github.com/woodrow/pyoac.git) Python · 51 lines

1 import py

2 from pypy.rpython.test.test_exception \

3 import BaseTestException as RBaseTestException

4

heap.py (https://bitbucket.org/cfbolz/pyrolog/) Python · 240 lines ✨ Summary

This Python code implements a heap data structure used in Prolog programming languages. It manages a chain of frames, tracking variable bindings and attributes across different choice points. The heap allows for efficient backtracking and discarding of unnecessary frames, making it suitable for optimizing Prolog execution.

1 from rpython.rlib import debug

2 from prolog.interpreter.term import BindingVar, AttVar

3

4 from rpython.rlib import jit

5

6 INIT_TRAIL_VAR = []

test_refcount.py (https://github.com/nicolaslara/pypy.git) Python · 239 lines

4 from pypy.translator.translator import TranslationContext

5 from pypy.translator.c import genc

6 from pypy.rpython.lltypesystem import lltype

7 from pypy import conftest

8

CMakeLists.txt (https://bitbucket.org/yorik/freecad.git) CMake · 200 lines

69 DocumentObjectPyImp.cpp

70 DocumentObserver.cpp

71 DocumentObserverPython.cpp

72 DocumentPyImp.cpp

73 FeaturePython.cpp

89 DocumentObjectGroup.h

90 DocumentObserver.h

91 DocumentObserverPython.h

92 FeaturePython.h

93 FeatureTest.h

acp.vim (https://github.com/onetown/vimconfig_onetown.git) Vim Script · 170 lines

84 call add(behavs.python, {

85 \ 'command' : "\<C-x>\<C-o>",

86 \ 'meets' : 'acp#meetsForPythonOmni',

87 \ 'repeat' : 0,

88 \ })

140 call s:defineOption('g:acp_behaviorRubyOmniMethodLength', 0)

141 call s:defineOption('g:acp_behaviorRubyOmniSymbolLength', 1)

142 call s:defineOption('g:acp_behaviorPythonOmniLength', 0)

143 call s:defineOption('g:acp_behaviorPerlOmniLength', -1)

144 call s:defineOption('g:acp_behaviorXmlOmniLength', 0)

qSlicerMainWindowCore.cxx (https://github.com/LinjieChen/Slicer3.git) C++ · 140 lines

20 #include "qSlicerAbstractModuleWidget.h"

21 #include "qSlicerModuleManager.h"

22 #include "qSlicerPythonManager.h"

23

24 #include "vtkSlicerConfigure.h" // For Slicer3_USE_PYTHONQT

test_effectinfo.py (https://github.com/alemacgo/pypy.git) Python · 107 lines

1 from pypy.rpython.lltypesystem.rclass import OBJECT

2 from pypy.rpython.lltypesystem import lltype

3 from pypy.rpython.ootypesystem import ootype

4 from pypy.jit.codewriter.effectinfo import effectinfo_from_writeanalyze,\

5 EffectInfo

storesink.py (https://bitbucket.org/halgari/pypy) Python · 98 lines

1

2 from rpython.rtyper.lltypesystem.lloperation import llop

3 from rpython.flowspace.model import mkentrymap, Variable

4 from rpython.translator.backendopt import removenoops

5 from rpython.translator import simplify

__init__.py (https://bitbucket.org/pypy/pypy/) Python · 38 lines ✨ Summary

This Python code defines a custom module for PyPy, a Python interpreter. It initializes and configures various thread-related functions and hooks to work with the PyPy interpreter’s threading system, ensuring compatibility with standard library functions like os_thread and space.fromcache. The code also patches the threadlocals dictionary to use real thread locals.

24

25 def __init__(self, space, *args):

26 "NOT_RPYTHON: patches space.threadlocals to use real threadlocals"

27 from pypy.module.thread import gil

28 MixedModule.__init__(self, space, *args)

ctypeenum.py (https://bitbucket.org/jerith/pypy) Python · 89 lines

4

5 from pypy.interpreter.error import OperationError, operationerrfmt

6 from pypy.rpython.lltypesystem import rffi

7 from pypy.rlib.rarithmetic import intmask, r_ulonglong

8 from pypy.rlib.objectmodel import keepalive_until_here

76 if s.startswith('#'):

77 try:

78 return int(s[1:]) # xxx is it RPython?

79 except ValueError:

80 raise OperationError(space.w_ValueError,

ap.cpp (https://gitlab.com/juan-/topologygenerator) C++ · 210 lines

162 std::vector<std::string> ndc;

163

164 std::vector<std::string> allNodes = this->GroupAsNodeContainerPython(); //all station nodes !

165 for(size_t i = 0; i < allNodes.size(); i++)

166 {

__Python_1.py (https://github.com/QuantConnect/Lean.git) Python · 233 lines

185

186

187 class SecurityInitializerPythonWrapper(System.object, QuantConnect.Securities.ISecurityInitializer):

188 """

189 Wraps a Python.Runtime.PyObject object that represents a type capable of initializing a new security

190

191 SecurityInitializerPythonWrapper(model: PyObject)

192 """

193 def Initialize(self, security: QuantConnect.Securities.Security) -> None:

194 pass

195

196 def __init__(self, model: Python.Runtime.PyObject) -> QuantConnect.Python.SecurityInitializerPythonWrapper:

197 pass

198

rweaklist.py (https://bitbucket.org/pypy/pypy/) Python · 58 lines

1 import weakref

2 from rpython.rlib.rweakref import dead_ref

3

4 INITIAL_SIZE = 4

11 the object at the end of the list, but can put it anywhere.

12

13 See also rpython.rlib.rshrinklist.

14 """

15 _mixin_ = True

main.h (https://bitbucket.org/rokujyouhitoma/pypy/) C Header · 87 lines ✨ Summary

This C header code defines a standalone entry point for a Python interpreter, pypy. It provides a main function that initializes the interpreter and executes the provided command-line arguments. If an error occurs during initialization, it prints an error message and aborts the program. The code also includes a wrapper function PYPY_MAIN_FUNCTION to ensure compatibility with different compilers.

4 #endif

5

6 char *RPython_StartupCode(void); /* forward */

7

8

47 #endif

48

49 errmsg = RPython_StartupCode();

50 if (errmsg) goto error;

51

65

66 if (RPyExceptionOccurred()) {

67 /* print the RPython traceback */

68 pypy_debug_catch_fatal_exception();

69 }

CheckFieldValue.py (https://github.com/demisto/content.git) Python · 61 lines

2

3 import demistomock as demisto

4 from CommonServerPython import * # noqa: F401

5 from typing import Dict, Any, Tuple

6

exception.h (https://bitbucket.org/pypy/pypy/) C Header · 44 lines

39

40 RPY_EXTERN

41 void _RPyRaiseSimpleException(RPYTHON_EXCEPTION rexc);

42

43 #endif

test_inspector.py (https://bitbucket.org/pypy/pypy/) Python · 49 lines

1 import os

2 from rpython.tool.udir import udir

3 from rpython.memory.gc.test.test_direct import BaseDirectGCTest, S

4 from rpython.memory.gc import inspector

5 from rpython.rtyper.lltypesystem import llmemory

40

41 class TestHybridGC(InspectorTest):

42 from rpython.memory.gc.hybrid import HybridGC as GCClass

43

44 class TestMiniMarkGCSimple(InspectorTest):

45 from rpython.memory.gc.minimark import MiniMarkGC as GCClass

46 from rpython.memory.gc.minimarktest import SimpleArenaCollection

helloWorldRedux.py (https://github.com/PixarAnimationStudios/USD.git) Python · 31 lines

1 #!/pxrpythonsubst

2 #

3 # Copyright 2016 Pixar

miscutils.py (https://github.com/mesalock-linux/mesapy.git) Python · 70 lines

5 from rpython.rlib.listsort import make_timsort_class

6 from rpython.rlib.objectmodel import not_rpython

7

8

43 self._value = None

44

45 @not_rpython

46 def make_weak_value_dictionary(space, keytype, valuetype):

47 if space.config.translation.rweakref:

48 from rpython.rlib.rweakref import RWeakValueDictionary

49 return RWeakValueDictionary(keytype, valuetype)

50 else:

test_runner.py (https://bitbucket.org/pypy/pypy/) Python · 30 lines

1 from rpython.jit.backend.test.runner_test import LLtypeBackendTest

2 from rpython.jit.backend.zarch.runner import CPU_S390_64

3 from rpython.jit.tool.oparser import parse

4 from rpython.jit.metainterp.history import (AbstractFailDescr,

8 ConstInt, ConstPtr,

9 Const, ConstFloat)

10 from rpython.jit.metainterp.resoperation import InputArgInt, InputArgFloat

11 from rpython.rtyper.lltypesystem import lltype

12 from rpython.jit.metainterp.resoperation import ResOperation, rop

13 import py

14

tailrecursion.py (https://bitbucket.org/pypy/pypy/) Python · 34 lines

1 from rpython.flowspace.model import mkentrymap, checkgraph

2

3 # this transformation is very academical -- I had too much time

27 changed = True

28 if changed:

29 from rpython.translator import simplify

30 checkgraph(graph)

31 simplify.remove_identical_vars(graph)

__init__.py (https://gitlab.com/orvi2014/rcs-db-ext) Python · 113 lines

19 import pywin.framework.app

20 import dbgpyapp

21 pywin.framework.app.CreateDefaultGUI(dbgpyapp.DebuggerPythonApp)

22

23 else:

sliceobject.py (https://github.com/nicolaslara/pypy.git) Python · 105 lines

1 from pypy.rpython.lltypesystem import rffi, lltype

2 from pypy.module.cpyext.api import (

3 cpython_api, cpython_struct, bootstrap_function, build_type_checkers,

CMakeLists.txt (https://github.com/mhostetter/gr-adsb.git) CMake · 49 lines

22 # Include python install macros

23 ########################################################################

24 include(GrPython)

25 if(NOT PYTHONINTERP_FOUND)

26 return()

release.nix (https://github.com/input-output-hk/cardano-sl.git) Nix · 86 lines

68 ];

69 extraBuilds = {

70 inherit (default) tests demoCluster explorerFrontend faucetFrontend explorerPythonAPI;

71 daedalus-bridge = commonLib.pkgs.lib.mapAttrs (k: v: (getArchDefault k).daedalus-bridge) {

72 x86_64-linux = 1;

listobject.py (https://github.com/nicolaslara/pypy.git) Python · 127 lines

1

2 from pypy.rpython.lltypesystem import rffi, lltype

3 from pypy.module.cpyext.api import (cpython_api, CANNOT_FAIL, Py_ssize_t,

4 build_type_checkers)

referents.py (https://github.com/nicolaslara/pypy.git) Python · 182 lines

71

72 def get_rpy_type_index(space, w_obj):

73 """Return an integer identifying the RPython type of the given

74 object or GcRef. The number starts at 1; it is an index in the

75 file typeids.txt produced at translation."""

119 pending_w = _get_objects_from_rpy(roots)

120 # continue by following every W_Root. Note that this will force a hash

121 # on every W_Root, which is kind of bad, but not on every RPython object,

122 # which is really good.

123 result_w = {}

01_body_from_image.py (https://github.com/burningion/dab-and-tpose-controlled-lights.git) Python · 72 lines

13

14 # Starting OpenPose

15 opWrapper = op.WrapperPython()

16 opWrapper.configure(params)

17 opWrapper.start()

acp.vim (https://github.com/Alan0521/vimfiles.git) Vim Script · 164 lines

78 call add(behavs.python, {

79 \ 'command' : "\<C-x>\<C-o>",

80 \ 'meets' : 'acp#meetsForPythonOmni',

81 \ 'repeat' : 0,

82 \ })

134 call l9#defineVariableDefault('g:acp_behaviorRubyOmniMethodLength', 0)

135 call l9#defineVariableDefault('g:acp_behaviorRubyOmniSymbolLength', 1)

136 call l9#defineVariableDefault('g:acp_behaviorPythonOmniLength', 0)

137 call l9#defineVariableDefault('g:acp_behaviorPerlOmniLength', -1)

138 call l9#defineVariableDefault('g:acp_behaviorXmlOmniLength', 0)

PydevConsoleCli.kt (https://github.com/JetBrains/intellij-community.git) Kotlin · 140 lines

115 */

116 @Throws(ExecutionException::class)

117 fun waitForPythonConsoleServerToBeStarted(process: Process) {

118 PydevConsoleRunnerImpl.getRemotePortFromProcess(process)

119 }

eval.py (https://github.com/lalitjsraks/pypy.git) Python · 132 lines

1 from pypy.interpreter.error import OperationError

2 from pypy.rpython.lltypesystem import rffi, lltype

3 from pypy.module.cpyext.api import (

4 cpython_api, CANNOT_FAIL, CONST_STRING, FILEP, fread, feof, Py_ssize_tP)

test_fficall.py (https://github.com/mozillazg/pypy.git) Python · 23 lines

1 import py

2 from rpython.jit.metainterp.test import test_fficall

3 from rpython.jit.backend.aarch64.test.test_basic import JitAarch64Mixin

16 # are the addresses of the various types.* structures.

17 # Try to comment this code out and run the test to see how it fails :)

18 from rpython.rtyper.lltypesystem import rffi, lltype, ll2ctypes

19 from rpython.rlib.jit_libffi import types

StatResult.java (https://github.com/nicolaslara/pypy.git) Java · 19 lines

2

3 /**

4 * Class returned by the Stat function. The Rpython type is a record

5 * type which is special-cased in database.py to return an instance of

6 * this class. The fields are named item0...itemN to conform with

7 * Rpython, but there are friendly accessors for humans to use.

8 *

9 * <p>The actual stat() function is defined in PyPy.java.

BatchNormFoldForPython.cpp (https://github.com/quic/aimet.git) C++ · 63 lines

37 //==============================================================================

38

39 #include "DlEqualization/BatchNormFoldForPython.h"

40 #include "DlEqualization/BatchNormFold.h"

41 #include <iostream>

43 namespace AimetEqualization

44 {

45 std::vector<float> BatchNormFoldForPython::fold(BNParamsForPython& bnParamsForPython,

46 TensorParamsForPython& weightTensorForPython,

47 TensorParamsForPython& biasTensorForPython, bool isBiasTensorValid,

48 bool foldPrevLayer)

49 {

55 bnParams.runningVar = &bnParamsForPython.runningVar[0];

56

57 TensorParams weightTensor = {weightTensorForPython.shape, &weightTensorForPython.data[0]};

58 TensorParams biasTensor = {biasTensorForPython.shape, &biasTensorForPython.data[0]};

cdatetime.py (https://github.com/nicolaslara/pypy.git) Python · 249 lines

1 from pypy.rpython.lltypesystem import rffi, lltype

2 from pypy.module.cpyext.pyobject import PyObject, make_ref

3 from pypy.module.cpyext.api import (cpython_api, CANNOT_FAIL, cpython_struct,

QgisAlgorithmsTest1.py (https://github.com/ricardogsilva/Quantum-GIS.git) Python · 108 lines

93 self.assertFalse(ok)

94

95 def testParameterPythonImport(self):

96 for t in QgsApplication.processingRegistry().parameterTypes():

97 import_string = t.pythonImportString()

pypy.rst (https://bitbucket.org/pypy/extradoc/) ReStructuredText · 74 lines

25 four different CPU architectures (x86, arm, ppc, s390x).

26

27 We have built a high level language to aid the construction of VMs (called *RPython*)

28 It imports the complete program

29 Flow graphs -> Annotation -> RTyping -> Code generation

32 * Whole program optimizations (take that, C)

33 * Deliver features quickly, without sacrificing speed

34 * Loosely coupled (JIT, Interp., RPython)

35

36 Downsides:

test_unsimplify.py (https://github.com/thepian/pypy.git) Python · 90 lines

2 from pypy.translator.translator import TranslationContext, graphof

3 from pypy.translator.unsimplify import split_block, call_final_function

4 from pypy.rpython.llinterp import LLInterpreter

5 from pypy.objspace.flow.model import checkgraph

6 from pypy.rlib.objectmodel import we_are_translated

test_symbolic_x86.py (https://github.com/thepian/pypy.git) Python · 81 lines

1 import py

2 from pypy.jit.backend.llsupport.symbolic import *

3 from pypy.rpython.lltypesystem import lltype, rffi

4

5 # This test file is here and not in llsupport/test/ because it checks

operations.py (https://github.com/nicolaslara/pypy.git) Python · 227 lines

1 from pypy.rpython.lltypesystem.lloperation import llop

2 from pypy.rpython.lltypesystem import lltype

3 from pypy.rpython.ootypesystem import ootype

4 from pypy.rlib.rarithmetic import r_uint, r_ulonglong, r_longlong, ovfcheck

5 from pypy.rlib import rstack

docker-compose.yml (https://github.com/mozilla/foundation.mozilla.org.git) YAML · 53 lines

37 env_file:

38 - ".env"

39 command: dockerpythonvenv/bin/python network-api/manage.py runserver 0.0.0.0:8000

40 ports:

41 - "8000:8000"

43 volumes:

44 - .:/app:delegated

45 - dockerpythonvenv:/app/dockerpythonvenv/:delegated

46 depends_on:

47 - postgres

51 postgres_data:

52 node_modules:

53 dockerpythonvenv:

54

class_taobao_sdk_1_1_response_1_1_taohua_items_search_response_1_1_taohua_items_search_response-members.html (git://github.com/Maimiaotech/TaobaoOpenPythonSDK.git) HTML · 39 lines

1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312">

3 <title>TaobaoSdkForPython: ????</title>

4 <link href="doxygen.css" rel="stylesheet" type="text/css">

5 <link href="tabs.css" rel="stylesheet" type="text/css">

32 <tr class="memlist"><td><a class="el" href="class_taobao_sdk_1_1_response_1_1_taohua_items_search_response_1_1_taohua_items_search_response.html#3196b1fc917d0a4b113503660a79f31e">responseStatus</a></td><td><a class="el" href="class_taobao_sdk_1_1_response_1_1_taohua_items_search_response_1_1_taohua_items_search_response.html">TaobaoSdk::Response::TaohuaItemsSearchResponse::TaohuaItemsSearchResponse</a></td><td></td></tr>

33 <tr class="memlist"><td><a class="el" href="class_taobao_sdk_1_1_response_1_1_taohua_items_search_response_1_1_taohua_items_search_response.html#ee5f0068339dafd4a385cec738867b10">search_items_result</a></td><td><a class="el" href="class_taobao_sdk_1_1_response_1_1_taohua_items_search_response_1_1_taohua_items_search_response.html">TaobaoSdk::Response::TaohuaItemsSearchResponse::TaohuaItemsSearchResponse</a></td><td></td></tr>

34 </table><hr size="1"><address style="align: right;"><small>Generated at Tue Jun 12 12:31:00 2012 for TaobaoSdkForPython by&nbsp;

35 <a href="http://www.doxygen.org/index.html">

36 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>

test_llop.py (https://github.com/mesalock-linux/mesapy.git) Python · 84 lines

1 import struct

2 from rpython.rtyper.test.tool import BaseRtypingTest

3 from rpython.rtyper.lltypesystem import lltype, llmemory, rffi

4 from rpython.rtyper.lltypesystem.lloperation import llop

5 from rpython.rtyper.lltypesystem.rstr import STR

6 from rpython.rtyper.annlowlevel import llstr

7 from rpython.rlib.rarithmetic import r_singlefloat

8 from rpython.rlib.rgc import (resizable_list_supporting_raw_ptr,

9 ll_for_resizable_list)

10

test_direct.py (https://github.com/nicolaslara/pypy.git) Python · 242 lines

181

182 # The list of test cases. Note that various tests import this,

183 # notably in rpython/lltypesystem/module and in translator/c/test.

184 TESTCASES = (REGCASES + IRREGCASES + OVFCASES + INFCASES + IRREGERRCASES

185 + NANCASES1 + NANCASES2 + NANCASES3 + NANCASES4 + NANCASES5

test_stackcheck.py (https://github.com/nicolaslara/pypy.git) Python · 120 lines

3 from pypy.translator.backendopt.all import backend_optimizations

4 from pypy.translator.transform import insert_ll_stackcheck

5 from pypy.rpython.memory.gctransform import framework

6

7 def _follow_path_naive(block, cur_path, accum):

96

97 class GCTransform(framework.FrameworkGCTransformer):

98 from pypy.rpython.memory.gc.generation import GenerationGC as \

99 GCClass

100 GC_PARAMS = {}

track8.s (https://github.com/nicolaslara/pypy.git) Assembly · 217 lines

51 .L1831:

52 .L1802:

53 movl pypy_g_pypy_rpython_memory_gc_semispace_SemiSpaceGC+12, %edx

54 movl pypy_g_pypy_rpython_memory_gc_semispace_SemiSpaceGC+80, %ecx

61 movl $4, (%edx)

62 movl %edx, %edi

63 movl $pypy_g_pypy_rpython_memory_gc_semispace_SemiSpaceGC, %ebx

64 leal 8(%edx), %edx

65 movl %edx, 12(%ebx)

174 .L1804:

175 .L1817:

176 movl $pypy_g_pypy_rpython_memory_gc_semispace_SemiSpaceGC, (%esp)

177 movl $8, %ebx

178 movl %ebx, 4(%esp)

204 je .L1833

205 .L1822:

206 movl pypy_g_pypy_rpython_memory_gc_semispace_SemiSpaceGC+12, %edx

207 jmp .L1819

208 .L1833:

classes.html (git://pkgs.fedoraproject.org/monkeystudio) HTML · 44 lines

29 <table align="center" width="95%" border="0" cellspacing="0" cellpadding="0">

30 <tr><td><a name="letter_A"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;A&nbsp;&nbsp;</div></td></tr></table>

31 </td><td><a class="el" href="classQsciLexerBatch.html">QsciLexerBatch</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerIDL.html">QsciLexerIDL</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerProperties.html">QsciLexerProperties</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerYAML.html">QsciLexerYAML</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classQsciAbstractAPIs.html">QsciAbstractAPIs</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerCMake.html">QsciLexerCMake</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerJava.html">QsciLexerJava</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerPython.html">QsciLexerPython</a>&nbsp;&nbsp;&nbsp;</td><td><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;M&nbsp;&nbsp;</div></td></tr></table>

32 </td></tr><tr><td><a class="el" href="classQsciAPIs.html">QsciAPIs</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerCPP.html">QsciLexerCPP</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerJavaScript.html">QsciLexerJavaScript</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerRuby.html">QsciLexerRuby</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciMacro.html">QsciMacro</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a name="letter_C"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;C&nbsp;&nbsp;</div></td></tr></table>

33 </td><td><a class="el" href="classQsciLexerCSharp.html">QsciLexerCSharp</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerLua.html">QsciLexerLua</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQsciLexerSpice.html">QsciLexerSpice</a>&nbsp;&nbsp;&nbsp;</td><td><a name="letter_P"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;P&nbsp;&nbsp;</div></td></tr></table>

longlong2float.py (https://bitbucket.org/jakelundy/pypy) Python · 56 lines

6 in which it does not work.

7 """

8 from pypy.rpython.lltypesystem import lltype, rffi

9

10

SBFrame.h (https://gitlab.com/jorjpimm/lldb) C Header · 228 lines

212 friend class SBValue;

213 #ifndef LLDB_DISABLE_PYTHON

214 friend class lldb_private::ScriptInterpreterPython;

215 #endif

216

IronPythonParameterInfo.cs (https://gitlab.com/SplatoonModdingHub/PTVS) C# · 116 lines

54 var ri = _remote;

55 if (ri != null) {

56 _paramType = new[] { _interpreter.GetTypeFromType(ri.GetParameterPythonType(_parameterInfo)) };

57 }

58 }

support.py (https://github.com/woodrow/pyoac.git) Python · 94 lines

1 from pypy.rpython.lltypesystem import lltype

2 from pypy.rpython.ootypesystem import ootype

3 from pypy.rpython.lltypesystem.lltype import \

4 GcStruct, Signed, Array, Char, Ptr, malloc, GcArray

5 from pypy.rpython.rlist import ll_append

6 from pypy.rpython.lltypesystem.rlist import ll_newlist, ListRepr,\

7 ll_getitem_fast

8 from pypy.rpython.lltypesystem.rstr import string_repr

9 from pypy.rpython.lltypesystem.rdict import ll_newdict, DictRepr, dum_items,\

10 ll_kvi, dum_keys, ll_dict_getitem, ll_dict_setitem

11 from pypy.rpython.lltypesystem.rstr import StringRepr

12 from pypy.rpython.lltypesystem.rtuple import TupleRepr

13 from pypy.annotation.dictdef import DictKey, DictValue

14 from pypy.annotation.model import SomeString

rstacklet.py (https://github.com/alemacgo/pypy.git) Python · 126 lines

2 from pypy.rlib import jit

3 from pypy.rlib.objectmodel import we_are_translated

4 from pypy.rpython.lltypesystem import lltype, llmemory

5

6 DEBUG = False

CMakeLists.txt (https://bitbucket.org/mituq/muq.git) CMake · 60 lines

37 ../python/LibMeshInitPython.cpp

38

39 ../python/MeshParameterPython.cpp

40 ../python/KernelModelPython.cpp

41 ../python/MeshKernelModelPython.cpp

rtuple.py (https://github.com/nicolaslara/pypy.git) Python · 139 lines

1 from pypy.tool.pairtype import pairtype

2 from pypy.rpython.rmodel import inputconst

3 from pypy.rpython.robject import PyObjRepr, pyobj_repr

4 from pypy.rpython.rtuple import AbstractTupleRepr, AbstractTupleIteratorRepr

5 from pypy.rpython.lltypesystem.lltype import \

6 Ptr, GcStruct, Void, Signed, malloc, typeOf, nullptr

7 from pypy.rpython.lltypesystem.rtupletype import TUPLE_TYPE

8 from pypy.rpython.lltypesystem import rstr

10 # ____________________________________________________________

11 #

12 # Concrete implementation of RPython tuples:

13 #

14 # struct tuple {

TODO.org (https://github.com/kenpratt/rusty_scheme.git) Org · 68 lines

50 ** Rust: precompiled to machine code (obviously, I guess).

51 ** Python (CPython): no precompilation, compiles to bytecode on first run, VM & VM interpreter.

52 ** PyPy: JIT'ed interpreter written in RPython.

53

54 * Interpreters: My options

test_rerased.py (https://github.com/alemacgo/pypy.git) Python · 325 lines

3 from pypy.rlib.rerased import *

4 from pypy.annotation import model as annmodel

5 from pypy.annotation.annrpython import RPythonAnnotator

6 from pypy.rpython.test.test_llinterp import interpret

7 from pypy.rpython.lltypesystem.rclass import OBJECTPTR

8 from pypy.rpython.ootypesystem.rclass import OBJECT

9 from pypy.rpython.lltypesystem import lltype, llmemory

10

11 from pypy.rpython.test.tool import BaseRtypingTest, LLRtypeMixin, OORtypeMixin

12

13 def make_annotator():

14 a = RPythonAnnotator()

15 a.translator.config.translation.taggedpointers = True

16 return a

zlib.py (https://github.com/cheery/lever.git) Python · 203 lines

1 from space import *

2 from rpython.rlib import rzlib

3 from rpython.rtyper.lltypesystem import rffi, lltype

reader_wrapper.h (https://bitbucket.org/fbriol/lagrangian) C Header · 95 lines

90 // ___________________________________________________________________________//

91

92 void ReaderPythonModule();

93

94 }

QsciLexer.hpp (https://bitbucket.org/mbritanicus/newbreeze.git) C++ Header · 94 lines

11

12 #include <Qsci/qscilexercustom.h>

13 #include <Qsci/qscilexerpython.h>

14 #include <Qsci/qscilexerhtml.h>

15 #include <Qsci/qscilexermakefile.h>

40 };

41

42 class QLexerPython : public QsciLexerPython {

43 Q_OBJECT

44

45 public:

46 QLexerPython( QObject *parent = 0 );

47

48 const char* keywords( int set ) const;

matlab.yml (https://github.com/elasticluster/elasticluster.git) YAML · 47 lines

7 # Unfortunately, as of MATLAB 2016a, the MATLAB Engine API only supports Python

8 # 2.7, 3.3, and 3.4. Since the provided Python module is a *binary* one

9 # (`libmatlabforpython3_4.so`), we cannot play any diff/patch/symlink tricks.

10 #

11 # So here you go, code that only works for Python 2 and little chances of

CMakeLists.txt (https://github.com/thewtex/ITK.git) CMake · 15 lines

1 if(ITK_WRAP_PYTHON)

2 itk_python_add_test(NAME itkGPUNeighborhoodOperatorImageFilterPythonTest2D

3 TEST_DRIVER_ARGS

4 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/itkGPUNeighborhoodOperatorImageFilterTest.py

7 )

8

9 itk_python_add_test(NAME itkGPUNeighborhoodOperatorImageFilterPythonTest3D

10 TEST_DRIVER_ARGS

11 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/itkGPUNeighborhoodOperatorImageFilterTest.py

test_symbolic.py (https://github.com/nicolaslara/pypy.git) Python · 104 lines

1 import py

2 from pypy.jit.backend.llsupport.symbolic import *

3 from pypy.rpython.lltypesystem import lltype, rffi

4 from pypy.rpython.memory.lltypelayout import convert_offset_to_int

number.py (https://github.com/nicolaslara/pypy.git) Python · 120 lines

2 from pypy.module.cpyext.api import cpython_api, CANNOT_FAIL, Py_ssize_t

3 from pypy.module.cpyext.pyobject import PyObject

4 from pypy.rpython.lltypesystem import rffi, lltype

5 from pypy.tool.sourcetools import func_with_new_name

6

PermanentLogEvent.java (https://github.com/cyberpython/ComputationalGeometry.git) Java · 31 lines

1 /*

2 * Copyright (c) 2010 Georgios Migdos <cyberpython@gmail.com>

3 *

4 * Permission is hereby granted, free of charge, to any person obtaining a copy

25 /**

26 *

27 * @author cyberpython

28 */

29 public abstract class PermanentLogEvent extends LogEvent{

TemporaryLogEvent.java (https://github.com/cyberpython/ComputationalGeometry.git) Java · 31 lines

1 /*

2 * Copyright (c) 2010 Georgios Migdos <cyberpython@gmail.com>

3 *

4 * Permission is hereby granted, free of charge, to any person obtaining a copy

25 /**

26 *

27 * @author cyberpython

28 */

29 public abstract class TemporaryLogEvent extends LogEvent{