Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/bsddb/dbobj.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@s�ddlZejddkZer0ddUnddlZejdkr^ddlmZnddlZejZddd	��YZd
efd��YZ	ddd
��YZ
dS(i�Niisfrom . import dbii(t	DictMixintDBEnvcBseZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
ej�d'kr�d�Znd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d �Z"d!�Z#d"�Z$d#�Z%d$�Z&ej�d(kr}d%�Z'd&�Z(nRS()cOstj||�|_dS(N(tdbRt_cobj(tselftargstkwargs((s!/sys/lib/python2.7/bsddb/dbobj.pyt__init__'scOs|jj||�S(N(Rtclose(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR*scOs|jj||�S(N(Rtopen(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR	,scOs|jj||�S(N(Rtremove(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR
.scOs|jj||�S(N(Rtset_shm_key(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR0scOs|jj||�S(N(Rt
set_cachesize(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR2scOs|jj||�S(N(Rtset_data_dir(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR
4scOs|jj||�S(N(Rt	set_flags(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR6scOs|jj||�S(N(Rtset_lg_bsize(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR8scOs|jj||�S(N(Rt
set_lg_dir(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR:scOs|jj||�S(N(Rt
set_lg_max(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR<scOs|jj||�S(N(Rt
set_lk_detect(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR>siicOs|jj||�S(N(Rt
set_lk_max(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRAscOs|jj||�S(N(Rtset_lk_max_locks(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRCscOs|jj||�S(N(Rtset_lk_max_lockers(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyREscOs|jj||�S(N(Rtset_lk_max_objects(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRGscOs|jj||�S(N(Rtset_mp_mmapsize(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRIscOs|jj||�S(N(Rtset_timeout(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRKscOs|jj||�S(N(Rtset_tmp_dir(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRMscOs|jj||�S(N(Rt	txn_begin(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyROscOs|jj||�S(N(Rttxn_checkpoint(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRQscOs|jj||�S(N(Rttxn_stat(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRSscOs|jj||�S(N(Rt
set_tx_max(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRUscOs|jj||�S(N(Rtset_tx_timestamp(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRWscOs|jj||�S(N(Rtlock_detect(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRYscOs|jj||�S(N(Rtlock_get(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR [scOs|jj||�S(N(Rtlock_id(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR!]scOs|jj||�S(N(Rtlock_put(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR"_scOs|jj||�S(N(Rt	lock_stat(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR#ascOs|jj||�S(N(Rtlog_archive(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR$cscOs|jj||�S(N(Rtset_get_returns_none(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR%fscOs|jj||�S(N(Rtlog_stat(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR&iscOs|jj||�S(N(Rtdbremove(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR'lscOs|jj||�S(N(Rtdbrename(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR(nscOs|jj||�S(N(Rtset_encrypt(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR)pscOs|jj||�S(N(Rtfileid_reset(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR*tscOs|jj||�S(N(Rt	lsn_reset(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR+ws(ii(ii()t__name__t
__module__RRR	R
RRR
RRRRRRtversionRRRRRRRRRRRRRR R!R"R#R$R%R&R'R(R)R*R+(((s!/sys/lib/python2.7/bsddb/dbobj.pyR&sN																																			tDBcBs�eZd�Zd�Zd�Zd�Zd�Zejd5krNd�Z	nd�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d �Z"d!�Z#d"�Z$d#�Z%d$�Z&d%�Z'd&�Z(d'�Z)d(�Z*d)�Z+d*�Z,d+�Z-d,�Z.d-�Z/d.�Z0d/�Z1d0�Z2d1�Z3d2�Z4d3�Z5d4�Z6RS(6cOs#tj|jf||�|_dS(N(RR/R(RtdbenvRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR|scCs
t|j�S(N(tlenR(R((s!/sys/lib/python2.7/bsddb/dbobj.pyt__len__�scCs|j|S(N(R(Rtarg((s!/sys/lib/python2.7/bsddb/dbobj.pyt__getitem__�scCs||j|<dS(N(R(Rtkeytvalue((s!/sys/lib/python2.7/bsddb/dbobj.pyt__setitem__�scCs|j|=dS(N(R(RR3((s!/sys/lib/python2.7/bsddb/dbobj.pyt__delitem__�siicCs
|jj�S(N(Rt__iter__(R((s!/sys/lib/python2.7/bsddb/dbobj.pyR9�scOs|jj||�S(N(Rtappend(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR:�scOs|jj||�S(N(Rt	associate(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR;�scOs|jj||�S(N(RR(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR�scOs|jj||�S(N(Rtconsume(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR<�scOs|jj||�S(N(Rtconsume_wait(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR=�scOs|jj||�S(N(Rtcursor(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR>�scOs|jj||�S(N(Rtdelete(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR?�scOs|jj||�S(N(Rtfd(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR@�scOs|jj||�S(N(Rtget(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRA�scOs|jj||�S(N(Rtpget(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRB�scOs|jj||�S(N(Rtget_both(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRC�scOs|jj||�S(N(Rtget_byteswapped(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRD�scOs|jj||�S(N(Rtget_size(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRE�scOs|jj||�S(N(Rtget_type(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRF�scOs|jj||�S(N(Rtjoin(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRG�scOs|jj||�S(N(Rt	key_range(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRH�scOs|jj||�S(N(Rthas_key(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRI�scOs|jj||�S(N(Rtitems(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRJ�scOs|jj||�S(N(Rtkeys(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRK�scOs|jj||�S(N(RR	(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR	�scOs|jj||�S(N(Rtput(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRL�scOs|jj||�S(N(RR
(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR
�scOs|jj||�S(N(Rtrename(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRM�scOs|jj||�S(N(Rt
set_bt_minkey(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRN�scOs|jj||�S(N(Rtset_bt_compare(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRO�scOs|jj||�S(N(RR(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR�scOs|jj||�S(N(Rtset_dup_compare(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRP�scOs|jj||�S(N(RR(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR�scOs|jj||�S(N(Rt
set_h_ffactor(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRQ�scOs|jj||�S(N(Rtset_h_nelem(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRR�scOs|jj||�S(N(Rt
set_lorder(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRS�scOs|jj||�S(N(Rtset_pagesize(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRT�scOs|jj||�S(N(Rtset_re_delim(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRU�scOs|jj||�S(N(Rt
set_re_len(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRV�scOs|jj||�S(N(Rt
set_re_pad(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRW�scOs|jj||�S(N(Rt
set_re_source(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRX�scOs|jj||�S(N(Rtset_q_extentsize(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRY�scOs|jj||�S(N(Rtstat(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRZ�scOs|jj||�S(N(Rtsync(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR[�scOs|jj||�S(N(Rttype(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR\�scOs|jj||�S(N(Rtupgrade(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR]�scOs|jj||�S(N(Rtvalues(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR^�scOs|jj||�S(N(Rtverify(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR_�scOs|jj||�S(N(RR%(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR%�scOs|jj||�S(N(RR)(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR)�s(ii(7R,R-RR2R4R7R8tsystversion_infoR9R:R;RR<R=R>R?R@RARBRCRDRERFRGRHRIRJRKR	RLR
RMRNRORRPRRQRRRSRTRURVRWRXRYRZR[R\R]R^R_R%R)(((s!/sys/lib/python2.7/bsddb/dbobj.pyR/{sh																																																	t
DBSequencecBs�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�ZRS(cOstj||�|_dS(N(RRbR(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR�scOs|jj||�S(N(RR(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR�scOs|jj||�S(N(RRA(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRA�scOs|jj||�S(N(Rtget_dbp(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRc�scOs|jj||�S(N(Rtget_key(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRd�scOs|jj||�S(N(Rt
init_value(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRe�scOs|jj||�S(N(RR	(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR	�scOs|jj||�S(N(RR
(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR
�scOs|jj||�S(N(RRZ(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRZ�scOs|jj||�S(N(RR(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyR�scOs|jj||�S(N(RR(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRscOs|jj||�S(N(Rt	set_range(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRfscOs|jj||�S(N(Rt
get_cachesize(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRgscOs|jj||�S(N(Rt	get_flags(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRhscOs|jj||�S(N(Rt	get_range(RRR((s!/sys/lib/python2.7/bsddb/dbobj.pyRi	s(R,R-RRRARcRdReR	R
RZRRRfRgRhRi(((s!/sys/lib/python2.7/bsddb/dbobj.pyRb�s														(ii(((R`Ratabsolute_importRtUserDictRtMutableMappingtcollectionsRR/Rb(((s!/sys/lib/python2.7/bsddb/dbobj.pyt<module>s	Up

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].