代码搜索结果
找到约 10,000 项符合
Python 的代码
gensdptest
# -*- python -*-
#
# ***** BEGIN LICENSE BLOCK *****
# Source last modified: $Id: gensdptest,v 1.1.28.1 2004/07/09 02:05:10 hubbe Exp $
#
# Portions Copyright (c) 1995-2004 RealNetworks, Inc. A
sitelib
# -*- python -*-
#
# ***** BEGIN LICENSE BLOCK *****
# Source last modified: $Id: sitelib,v 1.1.4.2 2004/07/26 08:57:57 pankajgupta Exp $
#
# Portions Copyright (c) 1995-2004 RealNetworks, Inc.
unix.pcf
# -*- python -*-
#
# ***** BEGIN LICENSE BLOCK *****
# Source last modified: $Id: unix.pcf,v 1.4.10.3.2.1 2004/09/23 22:39:31 neotron Exp $
#
# Portions Copyright (c) 1995-2004 RealNetworks, In
symbian.pcf
# -*- python -*-
#
# ***** BEGIN LICENSE BLOCK *****
# Source last modified: $Id: symbian.pcf,v 1.3.12.2 2004/07/26 08:58:16 pankajgupta Exp $
#
# Portions Copyright (c) 1995-2004 RealNetworks,
openwave.pcf
# -*- python -*-
#
# ***** BEGIN LICENSE BLOCK *****
# Source last modified: $Id: openwave.pcf,v 1.3.12.2 2004/07/26 08:57:17 pankajgupta Exp $
#
# Portions Copyright (c) 1995-2004 RealNetworks
mpdcleanup.py
#!/usr/bin/env python
#
# (C) 2001 by Argonne National Laboratory.
# See COPYRIGHT in top-level directory.
#
## NOTE: we do NOT allow this pgm to run via mpdroot
"""
usage: mpdcleanup [-h] [
mpdexit.py
#!/usr/bin/env python
#
# (C) 2001 by Argonne National Laboratory.
# See COPYRIGHT in top-level directory.
#
"""
usage: mpdexit mpdid
mpdid may be obtained via mpdtrace -l (or may be "loc
testroot.py
#!/usr/bin/env python
# (C) 2001 by Argonne National Laboratory.
# See COPYRIGHT in top-level directory.
#
# This program does installs, etc and needs to run start to finish.
# Presently, it d
calculator.g
grammar Calculator;
options {
language = Python;
}
@header {
import math
}
evaluate returns [result]: r=expression {result = r};
expression returns [result]: r=mult (
'+' r2=mult {r += r2}
symtabtest.g
grammar SymtabTest;
options {
language=Python;
}
/* Scope of symbol names. Both globals and block rules need to push a new
* symbol table upon entry and they must use the same stack. So, I mu