91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 75.45MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2022-07-11
  • 語言: 其他
  • 標簽: opencv??3.1??

資源簡介

opencv 3.1.0 源碼,github上下載來的,鑒于github速度太慢,特發布,只是不能選0分。

資源截圖

代碼片段和文件信息

#?-*-?coding:?utf-8?-*-
“““
????jinja2.bccache
????~~~~~~~~~~~~~~

????This?module?implements?the?bytecode?cache?system?Jinja?is?optionally
????using.??This?is?useful?if?you?have?very?complex?template?situations?and
????the?compiliation?of?all?those?templates?slow?down?your?application?too
????much.

????Situations?where?this?is?useful?are?often?forking?web?applications?that
????are?initialized?on?the?first?request.

????:copyright:?(c)?2010?by?the?Jinja?Team.
????:license:?BSD.
“““
from?os?import?path?listdir
import?sys
import?marshal
import?tempfile
import?fnmatch
from?hashlib?import?sha1
from?jinja2.utils?import?open_if_exists
from?jinja2._compat?import?BytesIO?pickle?PY2?text_type


#?marshal?works?better?on?3.x?one?hack?less?required
if?not?PY2:
????marshal_dump?=?marshal.dump
????marshal_load?=?marshal.load
else:

????def?marshal_dump(code?f):
????????if?isinstance(f?file):
????????????marshal.dump(code?f)
????????else:
????????????f.write(marshal.dumps(code))

????def?marshal_load(f):
????????if?isinstance(f?file):
????????????return?marshal.load(f)
????????return?marshal.loads(f.read())


bc_version?=?2

#?magic?version?used?to?only?change?with?new?jinja?versions.??With?2.6
#?we?change?this?to?also?take?Python?version?changes?into?account.??The
#?reason?for?this?is?that?Python?tends?to?segfault?if?fed?earlier?bytecode
#?versions?because?someone?thought?it?would?be?a?good?idea?to?reuse?opcodes
#?or?make?Python?incompatible?with?earlier?versions.
bc_magic?=?‘j2‘.encode(‘ascii‘)?+?\
????pickle.dumps(bc_version?2)?+?\
????pickle.dumps((sys.version_info[0]?<

class?Bucket(object):
????“““Buckets?are?used?to?store?the?bytecode?for?one?template.??It‘s?created
????and?initialized?by?the?bytecode?cache?and?passed?to?the?loading?functions.

????The?buckets?get?an?internal?checksum?from?the?cache?assigned?and?use?this
????to?automatically?reject?outdated?cache?material.??Individual?bytecode
????cache?subclasses?don‘t?have?to?care?about?cache?invalidation.
????“““

????def?__init__(self?environment?key?checksum):
????????self.environment?=?environment
????????self.key?=?key
????????self.checksum?=?checksum
????????self.reset()

????def?reset(self):
????????“““Resets?the?bucket?(unloads?the?bytecode).“““
????????self.code?=?None

????def?load_bytecode(self?f):
????????“““Loads?bytecode?from?a?file?or?file?like?object.“““
????????#?make?sure?the?magic?header?is?correct
????????magic?=?f.read(len(bc_magic))
????????if?magic?!=?bc_magic:
????????????self.reset()
????????????return
????????#?the?source?code?of?the?file?changed?we?need?to?reload
????????checksum?=?pickle.load(f)
????????if?self.checksum?!=?checksum:
????????????self.reset()
????????????return
????????self.code?=?marshal_load(f)

????def?write_bytecode(self?f):
????????“““Dump?the?bytecode?into?the?file?or?file?like?object?passed.“““
????????if?self.code?is?None:
????????????raise?TypeError(‘can\‘t?write?empty?bucket‘)
????????f.write(bc_magic)
?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-12-18?15:02??opencv\
?????文件??????????33??2015-12-18?15:02??opencv\.tgitconfig
?????目錄???????????0??2015-12-18?15:02??opencv\3rdparty\
?????目錄???????????0??2015-12-18?15:02??opencv\3rdparty\ffmpeg\
?????文件????????1147??2015-12-18?15:02??opencv\3rdparty\ffmpeg\ffmpeg.cmake
?????文件???????27393??2015-12-18?15:02??opencv\3rdparty\ffmpeg\license.txt
?????文件????????2459??2015-12-18?15:02??opencv\3rdparty\ffmpeg\readme.txt
?????目錄???????????0??2015-12-18?15:02??opencv\3rdparty\include\
?????目錄???????????0??2015-12-18?15:02??opencv\3rdparty\include\dshow\
?????文件????????2935??2015-12-18?15:02??opencv\3rdparty\include\dshow\_mingw_dxhelper.h
?????文件????????1210??2015-12-18?15:02??opencv\3rdparty\include\dshow\_mingw_unicode.h
?????文件???????43517??2015-12-18?15:02??opencv\3rdparty\include\dshow\amvideo.h
?????文件?????????643??2015-12-18?15:02??opencv\3rdparty\include\dshow\audevcod.h
?????文件?????????627??2015-12-18?15:02??opencv\3rdparty\include\dshow\bdatypes.h
?????文件??????114687??2015-12-18?15:02??opencv\3rdparty\include\dshow\control.h
?????文件??????159533??2015-12-18?15:02??opencv\3rdparty\include\dshow\ddraw.h
?????文件????????1628??2015-12-18?15:02??opencv\3rdparty\include\dshow\dshow.h
?????文件???????60937??2015-12-18?15:02??opencv\3rdparty\include\dshow\dsound.h
?????文件????????2156??2015-12-18?15:02??opencv\3rdparty\include\dshow\dvdmedia.h
?????文件????????6579??2015-12-18?15:02??opencv\3rdparty\include\dshow\errors.h
?????文件????????1920??2015-12-18?15:02??opencv\3rdparty\include\dshow\evcode.h
?????文件????????7477??2015-12-18?15:02??opencv\3rdparty\include\dshow\ksuuids.h
?????文件??????626764??2015-12-18?15:02??opencv\3rdparty\include\dshow\strmif.h
?????文件???????36338??2015-12-18?15:02??opencv\3rdparty\include\dshow\uuids.h
?????文件????????7869??2015-12-18?15:02??opencv\3rdparty\include\msc_inttypes.h
?????文件????????6892??2015-12-18?15:02??opencv\3rdparty\include\msc_stdint.h
?????目錄???????????0??2015-12-18?15:02??opencv\3rdparty\include\opencl\
?????目錄???????????0??2015-12-18?15:02??opencv\3rdparty\include\opencl\1.2\
?????目錄???????????0??2015-12-18?15:02??opencv\3rdparty\include\opencl\1.2\CL\
?????文件???????61545??2015-12-18?15:02??opencv\3rdparty\include\opencl\1.2\CL\cl.h
?????文件??????277159??2015-12-18?15:02??opencv\3rdparty\include\opencl\1.2\CL\cl.hpp
............此處省略5645個文件信息

評論

共有 條評論