CacheServer-5.6.2p4
CacheServer-5.6.2p4,资源平台切换之缓存服务器,用于资源平台切换之缓存服务器的部署与使用
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-07-18 21:30 CacheServer
文件 564 2017-07-18 07:39 CacheServerRunLinux.sh
文件 15900 2017-07-18 07:39 CacheServerLegacyCacheServer.js
文件 84 2017-07-18 07:39 CacheServerRunWin.cmd
文件 27191 2017-07-18 21:27 CacheServerCacheServer.js
文件 14286 2017-07-18 21:30 CacheServerunity3d-cacheserver_5.6.2p4_all.deb
文件 4899 2017-07-17 08:16 CacheServermain.js
目录 0 2017-07-18 21:29 CacheServer
odejs
文件 60789 2017-07-18 21:29 CacheServer
odejsLICENSE
目录 0 2017-07-18 21:29 CacheServer
odejswin64
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules.bin
文件 184 2017-07-18 21:29 CacheServer
odejswin64
ode_modules.bin
pm.cmd
文件 276 2017-07-18 21:29 CacheServer
odejswin64
ode_modules.bin
pm
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modules
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflight
文件 748 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflightLICENSE
文件 1787 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflight est.js
文件 1986 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflightpackage.json
文件 991 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflightREADME.md
文件 897 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflightinflight.js
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonce
文件 765 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonceLICENSE
文件 1928 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesoncepackage.json
文件 1012 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonceREADME.md
文件 417 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonceonce.js
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonce est
文件 452 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonce estonce.js
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulespath-array
文件 3037 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulespath-arrayindex.js
............此处省略11049个文件信息
#!/usr/bin/env python
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
__doc__ = “““
gyptest.py -- test runner for GYP tests.
“““
import os
import optparse
import subprocess
import sys
class CommandRunner(object):
“““
Executor class for commands including “commands“ implemented by
Python functions.
“““
verbose = True
active = True
def __init__(self dictionary={}):
self.subst_dictionary(dictionary)
def subst_dictionary(self dictionary):
self._subst_dictionary = dictionary
def subst(self string dictionary=None):
“““
Substitutes (via the format operator) the values in the specified
dictionary into the specified command.
The command can be an (action string) tuple. In all cases we
perform substitution on strings and don‘t worry if something isn‘t
a string. (It‘s probably a Python function to be executed.)
“““
if dictionary is None:
dictionary = self._subst_dictionary
if dictionary:
try:
string = string % dictionary
except TypeError:
pass
return string
def display(self command stdout=None stderr=None):
if not self.verbose:
return
if type(command) == type(()):
func = command[0]
args = command[1:]
s = ‘%s(%s)‘ % (func.__name__ ‘ ‘.join(map(repr args)))
if type(command) == type([]):
# TODO: quote arguments containing spaces
# TODO: handle meta characters?
s = ‘ ‘.join(command)
else:
s = self.subst(command)
if not s.endswith(‘
‘):
s += ‘
‘
sys.stdout.write(s)
sys.stdout.flush()
def execute(self command stdout=None stderr=None):
“““
Executes a single command.
“““
if not self.active:
return 0
if type(command) == type(‘‘):
command = self.subst(command)
cmdargs = shlex.split(command)
if cmdargs[0] == ‘cd‘:
command = (os.chdir) + tuple(cmdargs[1:])
if type(command) == type(()):
func = command[0]
args = command[1:]
return func(*args)
else:
if stdout is sys.stdout:
# Same as passing sys.stdout except python2.4 doesn‘t fail on it.
subout = None
else:
# Open pipe for anything else so Popen works on python2.4.
subout = subprocess.PIPE
if stderr is sys.stderr:
# Same as passing sys.stderr except python2.4 doesn‘t fail on it.
suberr = None
elif stderr is None:
# Merge with stdout if stderr isn‘t specified.
suberr = subprocess.STDOUT
else:
# Open pipe for anything else so Popen works on python2.4.
suberr = subprocess.PIPE
p = subprocess.Popen(command
shell=(sys.platform == ‘win32‘)
stdout=subout
stderr=suberr)
p.wait()
if stdout is None:
self.stdout = p
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-07-18 21:30 CacheServer
文件 564 2017-07-18 07:39 CacheServerRunLinux.sh
文件 15900 2017-07-18 07:39 CacheServerLegacyCacheServer.js
文件 84 2017-07-18 07:39 CacheServerRunWin.cmd
文件 27191 2017-07-18 21:27 CacheServerCacheServer.js
文件 14286 2017-07-18 21:30 CacheServerunity3d-cacheserver_5.6.2p4_all.deb
文件 4899 2017-07-17 08:16 CacheServermain.js
目录 0 2017-07-18 21:29 CacheServer
odejs
文件 60789 2017-07-18 21:29 CacheServer
odejsLICENSE
目录 0 2017-07-18 21:29 CacheServer
odejswin64
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules.bin
文件 184 2017-07-18 21:29 CacheServer
odejswin64
ode_modules.bin
pm.cmd
文件 276 2017-07-18 21:29 CacheServer
odejswin64
ode_modules.bin
pm
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modules
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflight
文件 748 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflightLICENSE
文件 1787 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflight est.js
文件 1986 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflightpackage.json
文件 991 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflightREADME.md
文件 897 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesinflightinflight.js
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonce
文件 765 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonceLICENSE
文件 1928 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesoncepackage.json
文件 1012 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonceREADME.md
文件 417 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonceonce.js
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonce est
文件 452 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulesonce estonce.js
目录 0 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulespath-array
文件 3037 2017-07-18 21:29 CacheServer
odejswin64
ode_modules
pm
ode_modulespath-arrayindex.js
............此处省略11049个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)