代码搜索结果

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

10_create_fastdestroy.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Dan Smith from XmTestLib import * import re # # Check to see if the output resembles the

15_create_smallmem_pos.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Dan Smith from XmTestLib import * # Create a domain with the minimum memory allocation MEM

03_security-acm_dom_conflict.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2006 # Author: Stefan Berger # # A test that exercises the conflict set of the chinese wall policy. # Sta

01_sched_credit_weight_cap_pos.py

#!/usr/bin/python # # Sched-credit tests modified from SEDF tests # import re from XmTestLib import * paramsRE = re.compile(r'^[^ ]* *[^ ]* *([^ ]*) *([^ ]*)$') def get_sched_credit_params(domain)

pxa_reg_calcs.py

#!/usr/bin/python # (C) Copyright 2004 # BEC Systems # Cliff Brake # This program is free software; you can redistribute it and/or # modify it under

run_expt.py

#!/usr/bin/env python # collect stats for each machine # ssh and start click # set up parameters, arp and routing table # set up flows # start flows and sleep # stop flows and collect stats # display

statisticsmodule2.c

#include "Python.h" static PyObject * stats_mavm(self, args) PyObject *self, *args; { float total; float minimum = 1E32; float maximum = -1E3

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

pxa_reg_calcs.py

#!/usr/bin/python # (C) Copyright 2004 # BEC Systems # Cliff Brake # This program is free software; you can redistribute it and/or # modify it under

trilinos.py

#!/usr/bin/env python import os,sys import string import os.path import commands from commonPkgConfigUtils import * def getTrilinosDir(sconsEnv=None): trilinos_dir = getPackageDir("trilinos", sc