代码搜索结果

找到约 10,000 项符合 Python 的代码

simplec.g

grammar SimpleC; options { language=Python; output=AST; } tokens { VAR_DEF; ARG_DEF; FUNC_HDR; FUNC_DECL; FUNC_DEF; BLOCK; } program : declaration+ ; decla

t044trace.g

grammar t044trace; options { language = Python; } @init { self._stack = None } a: ''; b: c ('+' c)*; c: INT { if self._stack is None: self._stack

t030specialstates.g

grammar t030specialStates; options { language = Python; } @init { self.cond = True } @members { def recover(self, input, re): # no error recovery yet, just crash! raise re } r : ( {se

check_libsndfile.py

#!/usr/bin/env python import commands, os, string, sys # This program tests libsndfile against a user provided list of audio files. # The list is provided as a text file. # _EXE_NAME = 'exampl

rules.mk

etags: etags `find $(srcdir) -name "*.[ch]"` ctags: ctags `find $(srcdir) -name "*.[ch]"` .SUFFIXES: _wrap.c .i .i_wrap.c: [ "$(SWIG)" = "no" ] || $(SWIG) -O -Wall -python -keyword $< .SUFFIXES

bindings.py

#!/usr/bin/python # -*- coding: utf-8 -*- # Unix SMB/CIFS implementation. # Copyright 漏 Jelmer Vernooij 2008 # # This program is free software; you can redistribute it and/or mo

winreg.py

#!/usr/bin/python # # tool to manipulate a remote registry # Copyright Andrew Tridgell 2005 # Copyright Jelmer Vernooij 2007 # Released under the GNU GPL v3 or later # import sys # Find right di

__init__.py

#!/usr/bin/python # Unix SMB/CIFS implementation. # Copyright (C) Jelmer Vernooij 2007-2008 # # This program is free software; you can redistribute it and/or modify # it under t

bare.py

#!/usr/bin/python # -*- coding: utf-8 -*- # Unix SMB/CIFS implementation. # Copyright 漏 Jelmer Vernooij 2008 # # This program is free software; you can redistribute it and/or mo

sam.py

#!/usr/bin/python # -*- coding: utf-8 -*- # Unix SMB/CIFS implementation. # Copyright 漏 Jelmer Vernooij 2008 # # This program is free software; you can redistribute it and/or mo