Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
5e6a3564
Kaydet (Commit)
5e6a3564
authored
Eki 11, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
undo opaque=fopaque changes; make test script more flexible
üst
81a07ced
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
test
Demo/rpc/test
+4
-3
xdr.py
Demo/rpc/xdr.py
+2
-2
No files found.
Demo/rpc/test
Dosyayı görüntüle @
5e6a3564
: ${PYTHON=python}
: ${SERVER=charon.cwi.nl}
set -xe
$PYTHON -c 'from rpc import test; test()'
$PYTHON -c 'from rpc import test; test()'
charon.cwi.nl
$PYTHON -c 'from rpc import test; test()'
${SERVER}
$PYTHON -c 'from rpc import testsvr; testsvr()' &
SVR
=$!
PID
=$!
sleep 2
$PYTHON -c 'from rpc import testclt; testclt()'
kill -2 $
SVR
kill -2 $
PID
$PYTHON -c 'from mountclient import test; test()'
$PYTHON -c 'from mountclient import test; test()' gatekeeper.dec.com
...
...
Demo/rpc/xdr.py
Dosyayı görüntüle @
5e6a3564
...
...
@@ -69,7 +69,7 @@ class Packer:
self
.
pack_uint
(
n
)
self
.
pack_fstring
(
n
,
s
)
pack_opaque
=
pack_
fopaque
pack_opaque
=
pack_
string
def
pack_list
(
self
,
list
,
pack_item
):
for
item
in
list
:
...
...
@@ -176,7 +176,7 @@ class Unpacker:
n
=
self
.
unpack_uint
()
return
self
.
unpack_fstring
(
n
)
unpack_opaque
=
unpack_
fopaque
unpack_opaque
=
unpack_
string
def
unpack_list
(
self
,
unpack_item
):
list
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment