100+ results for 'rpython repo:pypy/pypy'
Not the results you expected?
CMakeLists.txt (https://bitbucket.org/yorik/freecad.git) CMake · 119 lines
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
6 # This is a low-level AddressDict, reusing a lot of the logic from rdict.py.
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}
3 \subsection{Rewrite the deserializer to proper RPython}
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.
PythonMonitor.cpp (https://github.com/xbmc/xbmc-rbp.git) C++ · 137 lines
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
198 def test_llexternal(self):
199 from pypy.rpython.lltypesystem.rffi import llexternal
200 from pypy.rpython.lltypesystem import lltype
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
testUsdviewMetadatatabSelect.py (https://github.com/PixarAnimationStudios/USD.git) Python · 86 lines
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
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
errorbox.py (https://github.com/mozillazg/pypy.git) Python · 115 lines
test_list.py (https://github.com/lalitjsraks/pypy.git) Python · 232 lines
DarwinUtils.h (https://github.com/energy6/xbmc.git) C Header · 48 lines
gcheader.py (https://github.com/alemacgo/pypy.git) Python · 47 lines
constant.py (https://github.com/nicolaslara/pypy.git) Python · 46 lines
rbuilder.py (https://github.com/ssadler/pypy.git) Python · 57 lines
libclang-v100-dyn.ps1 (https://gitlab.com/f3822/qt5) Powershell · 50 lines
CMakeLists.txt (https://github.com/osh/gnuradio.old.git) CMake · 60 lines
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
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 ])
33 ),
34 ShellCmd(
35 payload = """${rpython} '${rpath}'""",
36 name = 'exec_script'
37 )
test_unicodedata.py (https://bitbucket.org/bwesterb/pypy) Python · 78 lines
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
CMakeLists.txt (https://github.com/balister/GNU-Radio.git) CMake · 45 lines
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
8 # ____________________________________________________________
9 #
10 # Annotation support to control access to 'os.environ' in the RPython program
12 class OsEnvironController(Controller):
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
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
173 class TestLLtype(BaseTestRrange, LLRtypeMixin):
174 from pypy.rpython.lltypesystem import rrange
177 class TestOOtype(BaseTestRrange, OORtypeMixin):
178 from pypy.rpython.ootypesystem import rrange
interp_epoll.py (https://github.com/nicolaslara/pypy.git) Python · 176 lines
test_env.py (https://github.com/alemacgo/pypy.git) Python · 163 lines
CMakeLists.txt (https://github.com/Slicer/Slicer.git) CMake · 398 lines
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 ))
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
35 def test_tcgetattr(self):
36 from rpython.translator.c.test.test_genc import compile
37 from rpython.rlib import rtermios
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
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)
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
XBPython.h (https://gitlab.com/fflayol/xbmc) C Header · 136 lines
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
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.
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.
test_refcount.py (https://github.com/nicolaslara/pypy.git) Python · 239 lines
CMakeLists.txt (https://bitbucket.org/yorik/freecad.git) CMake · 200 lines
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
test_effectinfo.py (https://github.com/alemacgo/pypy.git) Python · 107 lines
storesink.py (https://bitbucket.org/halgari/pypy) Python · 98 lines
__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.
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.
ctypeenum.py (https://bitbucket.org/jerith/pypy) Python · 89 lines
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
__Python_1.py (https://github.com/QuantConnect/Lean.git) Python · 233 lines
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
191 SecurityInitializerPythonWrapper(model: PyObject)
192 """
193 def Initialize(self, security: QuantConnect.Securities.Security) -> None:
194 pass
196 def __init__(self, model: Python.Runtime.PyObject) -> QuantConnect.Python.SecurityInitializerPythonWrapper:
197 pass
rweaklist.py (https://bitbucket.org/pypy/pypy/) Python · 58 lines
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.
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.
CheckFieldValue.py (https://github.com/demisto/content.git) Python · 61 lines
exception.h (https://bitbucket.org/pypy/pypy/) C Header · 44 lines
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
41 class TestHybridGC(InspectorTest):
42 from rpython.memory.gc.hybrid import HybridGC as GCClass
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
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
43 self._value = None
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
tailrecursion.py (https://bitbucket.org/pypy/pypy/) Python · 34 lines
__init__.py (https://gitlab.com/orvi2014/rcs-db-ext) Python · 113 lines
sliceobject.py (https://github.com/nicolaslara/pypy.git) Python · 105 lines
CMakeLists.txt (https://github.com/mhostetter/gr-adsb.git) CMake · 49 lines
release.nix (https://github.com/input-output-hk/cardano-sl.git) Nix · 86 lines
listobject.py (https://github.com/nicolaslara/pypy.git) Python · 127 lines
referents.py (https://github.com/nicolaslara/pypy.git) Python · 182 lines
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
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
eval.py (https://github.com/lalitjsraks/pypy.git) Python · 132 lines
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
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 //==============================================================================
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];
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
QgisAlgorithmsTest1.py (https://github.com/ricardogsilva/Quantum-GIS.git) Python · 108 lines
pypy.rst (https://bitbucket.org/pypy/extradoc/) ReStructuredText · 74 lines
25 four different CPU architectures (x86, arm, ppc, s390x).
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)
36 Downsides:
test_unsimplify.py (https://github.com/thepian/pypy.git) Python · 90 lines
test_symbolic_x86.py (https://github.com/thepian/pypy.git) Python · 81 lines
operations.py (https://github.com/nicolaslara/pypy.git) Python · 227 lines
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:
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
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)
test_direct.py (https://github.com/nicolaslara/pypy.git) Python · 242 lines
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
7 def _follow_path_naive(block, cur_path, accum):
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"> A </div></td></tr></table>
31 </td><td><a class="el" href="classQsciLexerBatch.html">QsciLexerBatch</a> </td><td><a class="el" href="classQsciLexerIDL.html">QsciLexerIDL</a> </td><td><a class="el" href="classQsciLexerProperties.html">QsciLexerProperties</a> </td><td><a class="el" href="classQsciLexerYAML.html">QsciLexerYAML</a> </td></tr><tr><td><a class="el" href="classQsciAbstractAPIs.html">QsciAbstractAPIs</a> </td><td><a class="el" href="classQsciLexerCMake.html">QsciLexerCMake</a> </td><td><a class="el" href="classQsciLexerJava.html">QsciLexerJava</a> </td><td><a class="el" href="classQsciLexerPython.html">QsciLexerPython</a> </td><td><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table>
32 </td></tr><tr><td><a class="el" href="classQsciAPIs.html">QsciAPIs</a> </td><td><a class="el" href="classQsciLexerCPP.html">QsciLexerCPP</a> </td><td><a class="el" href="classQsciLexerJavaScript.html">QsciLexerJavaScript</a> </td><td><a class="el" href="classQsciLexerRuby.html">QsciLexerRuby</a> </td><td><a class="el" href="classQsciMacro.html">QsciMacro</a> </td></tr><tr><td><a name="letter_C"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table>
33 </td><td><a class="el" href="classQsciLexerCSharp.html">QsciLexerCSharp</a> </td><td><a class="el" href="classQsciLexerLua.html">QsciLexerLua</a> </td><td><a class="el" href="classQsciLexerSpice.html">QsciLexerSpice</a> </td><td><a name="letter_P"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> P </div></td></tr></table>
longlong2float.py (https://bitbucket.org/jakelundy/pypy) Python · 56 lines
SBFrame.h (https://gitlab.com/jorjpimm/lldb) C Header · 228 lines
IronPythonParameterInfo.cs (https://gitlab.com/SplatoonModdingHub/PTVS) C# · 116 lines
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
CMakeLists.txt (https://bitbucket.org/mituq/muq.git) CMake · 60 lines
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
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
11 from pypy.rpython.test.tool import BaseRtypingTest, LLRtypeMixin, OORtypeMixin
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
reader_wrapper.h (https://bitbucket.org/fbriol/lagrangian) C Header · 95 lines
QsciLexer.hpp (https://bitbucket.org/mbritanicus/newbreeze.git) C++ Header · 94 lines
12 #include <Qsci/qscilexercustom.h>
13 #include <Qsci/qscilexerpython.h>
14 #include <Qsci/qscilexerhtml.h>
15 #include <Qsci/qscilexermakefile.h>
40 };
42 class QLexerPython : public QsciLexerPython {
43 Q_OBJECT
45 public:
46 QLexerPython( QObject *parent = 0 );
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 )
9 itk_python_add_test(NAME itkGPUNeighborhoodOperatorImageFilterPythonTest3D
10 TEST_DRIVER_ARGS
11 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/itkGPUNeighborhoodOperatorImageFilterTest.py