Skip to content

Commit 0106a15

Browse files
committed
rename and delete file
1 parent f8968ba commit 0106a15

8 files changed

+16
-3922
lines changed
File renamed without changes.

Client4decoder_greedsearch.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import zerorpc
2+
import sys
3+
4+
# graphRepresent = sys.argv[1]
5+
# graphVocab = sys.argv[2]
6+
# variableName = sys.argv[3]
7+
8+
c = zerorpc.Client()
9+
c.connect("tcp://127.0.0.1:6666")
10+
11+
graphRepresent = "[[1,1,2],[2,1,3],[2,2,4],[2,2,5],[3,1,6],[3,1,7],[3,1,8],[3,4,9],[7,1,10],[8,1,11],[10,3,12],[11,1,5],[12,1,4]]"
12+
graphVocab = "{1:'java.lang.String.getBytes()',2:'java.lang.String.Null',3:'if',4:'java.lang.String.Constant',5:'java.lang.String.Constant',6:'condition',7:'then',8:'else',9:'hole',10:'java.security.PrivateKey.Constant',11:'java.security.PrivateKey.getAlgorithm()',12:'java.security.PrivateKey.getAlgorithm()'}"
13+
variableName = "sign message digest algorithm pk byte mode encryption"
14+
ans = c.predict(graphRepresent,graphVocab,variableName)
15+
print('startrecord')
16+
print(ans)

ggnn+variable+decoder(1).py

-1,236
This file was deleted.

ggnn+variable+decoder(2).py

-1,240
This file was deleted.

ggnn+variable+decoder(4).py

-1,446
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)