hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
12231198265382fc78ad4d2325da59c302532a44
210
py
Python
python_modules/dagster/dagster_tests/api_tests/conftest.py
asamoal/dagster
08fad28e4b608608ce090ce2e8a52c2cf9dd1b64
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster_tests/api_tests/conftest.py
asamoal/dagster
08fad28e4b608608ce090ce2e8a52c2cf9dd1b64
[ "Apache-2.0" ]
null
null
null
python_modules/dagster/dagster_tests/api_tests/conftest.py
asamoal/dagster
08fad28e4b608608ce090ce2e8a52c2cf9dd1b64
[ "Apache-2.0" ]
null
null
null
# pylint: disable=redefined-outer-name import pytest from dagster.core.test_utils import instance_for_test @pytest.fixture() def instance(): with instance_for_test() as instance: yield instance
17.5
53
0.757143
28
210
5.5
0.678571
0.142857
0.194805
0
0
0
0
0
0
0
0
0
0.161905
210
11
54
19.090909
0.875
0.171429
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
125158bdf2e34b94b4ecd1989eb9e5f331ba1f72
82
py
Python
scripts/edgedet_scripts/edgeDet.py
kajili/GreensOnly
a92d7360a8cd8bc3f998a005684b3787d9b2a0b3
[ "MIT" ]
1
2019-09-11T00:38:17.000Z
2019-09-11T00:38:17.000Z
scripts/edgedet_scripts/edgeDet.py
kajili/GreensOnly
a92d7360a8cd8bc3f998a005684b3787d9b2a0b3
[ "MIT" ]
4
2021-03-19T03:34:29.000Z
2022-01-13T01:36:42.000Z
scripts/edgedet_scripts/edgeDet.py
kajili/GreensOnly
a92d7360a8cd8bc3f998a005684b3787d9b2a0b3
[ "MIT" ]
null
null
null
import matlab.engine eng = matlab.engine.start_matlab() eng.edgeDetMat(nargout=0)
20.5
34
0.804878
12
82
5.416667
0.666667
0.369231
0
0
0
0
0
0
0
0
0
0.013158
0.073171
82
3
35
27.333333
0.842105
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
125eb38774fa98003b85d5b4ecef68d5065bf984
19
py
Python
ibsng/handler/isp/__init__.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
6
2018-03-06T10:16:36.000Z
2021-12-05T12:43:10.000Z
ibsng/handler/isp/__init__.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
3
2018-03-06T10:27:08.000Z
2022-01-02T15:21:27.000Z
ibsng/handler/isp/__init__.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
3
2018-01-06T16:28:31.000Z
2018-09-17T19:47:19.000Z
"""ISP library."""
9.5
18
0.526316
2
19
5
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
19
1
19
19
0.588235
0.631579
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
126d89643917fe1847121a156daacca24ec53668
113
py
Python
cases/__init__.py
medivhXu/AT-M
e1c215ae95085d1be24a7566fd365eb6bfae5e53
[ "Apache-2.0" ]
1
2019-06-05T08:53:47.000Z
2019-06-05T08:53:47.000Z
cases/__init__.py
medivhXu/AT-M
e1c215ae95085d1be24a7566fd365eb6bfae5e53
[ "Apache-2.0" ]
null
null
null
cases/__init__.py
medivhXu/AT-M
e1c215ae95085d1be24a7566fd365eb6bfae5e53
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # encoding: utf-8 """ @author: Medivh Xu @file: __init__.py.py @time: 2020-03-04 21:27 """
16.142857
23
0.654867
20
113
3.5
0.95
0
0
0
0
0
0
0
0
0
0
0.141414
0.123894
113
7
24
16.142857
0.565657
0.902655
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
89dbfef697a54e047740fbf4fd8512de08af65db
243
py
Python
arena/objects/cylinder.py
jameszha/ARENA-py
209d93e9b91ba1d0c306b307e6dcb8411aada5b3
[ "BSD-3-Clause" ]
4
2021-01-22T23:49:52.000Z
2022-03-04T06:01:18.000Z
arena/objects/cylinder.py
jameszha/ARENA-py
209d93e9b91ba1d0c306b307e6dcb8411aada5b3
[ "BSD-3-Clause" ]
50
2020-08-14T22:24:36.000Z
2022-03-18T20:41:12.000Z
arena/objects/cylinder.py
jameszha/ARENA-py
209d93e9b91ba1d0c306b307e6dcb8411aada5b3
[ "BSD-3-Clause" ]
10
2019-10-28T20:15:18.000Z
2021-06-29T18:02:06.000Z
from .arena_object import Object class Cylinder(Object): """ Class for Cylinder in the ARENA. """ object_type = "cylinder" def __init__(self, **kwargs): super().__init__(object_type=Cylinder.object_type, **kwargs)
24.3
68
0.666667
29
243
5.172414
0.517241
0.2
0.24
0
0
0
0
0
0
0
0
0
0.209877
243
9
69
27
0.78125
0.131687
0
0
0
0
0.041026
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
89ddfe75c1816b70b12bb2de2152ef357205cd41
181
py
Python
geotrek/diving/apps.py
claudep/Geotrek
620799cc2667c3b203ef92de6ec35008111fb592
[ "BSD-2-Clause" ]
1
2019-12-11T11:04:05.000Z
2019-12-11T11:04:05.000Z
geotrek/diving/apps.py
numahell/Geotrek-admin
e279875b0b06ef60928c049d51533f76716c902a
[ "BSD-2-Clause" ]
null
null
null
geotrek/diving/apps.py
numahell/Geotrek-admin
e279875b0b06ef60928c049d51533f76716c902a
[ "BSD-2-Clause" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class DivingConfig(AppConfig): name = 'geotrek.diving' verbose_name = _("Diving")
22.625
54
0.762431
22
181
6.090909
0.727273
0.149254
0
0
0
0
0
0
0
0
0
0
0.154696
181
7
55
25.857143
0.875817
0
0
0
0
0
0.110497
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
89e8d0b1c9630c05dc350ab3a83313f80c1c29ba
219
py
Python
Desafios/Desafio 021 (Tocando um MP3).py
Kimberly07-Ernane/Pythondesafios
d5bdf9ad412f73c66d0fda558740923925a78a7b
[ "MIT" ]
null
null
null
Desafios/Desafio 021 (Tocando um MP3).py
Kimberly07-Ernane/Pythondesafios
d5bdf9ad412f73c66d0fda558740923925a78a7b
[ "MIT" ]
null
null
null
Desafios/Desafio 021 (Tocando um MP3).py
Kimberly07-Ernane/Pythondesafios
d5bdf9ad412f73c66d0fda558740923925a78a7b
[ "MIT" ]
null
null
null
#Desafio21 #Faça um programa em Python que obra e reproduza o áudio de um arquivo MP3. #import pygame #pygame.init() #pygame.mixer.music.load(coloca o nome do arquivo) #pygame.mixer.music.play() #pygame.event.wait()
21.9
76
0.753425
36
219
4.583333
0.75
0.133333
0.193939
0
0
0
0
0
0
0
0
0.015789
0.13242
219
9
77
24.333333
0.852632
0.926941
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d617a4d1547445305bb874f21984345052dc586f
64
py
Python
tests/set_up/__init__.py
praveenbommalibits/JSONManipulator
51c6d9ad916d07d96643599ec05faa1abd6da82b
[ "MIT" ]
2
2020-07-21T08:03:41.000Z
2020-09-27T18:19:06.000Z
tests/set_up/__init__.py
praveenbommalibits/JSONManipulator
51c6d9ad916d07d96643599ec05faa1abd6da82b
[ "MIT" ]
8
2020-09-05T11:47:26.000Z
2020-10-19T21:25:12.000Z
tests/set_up/__init__.py
praveenbommalibits/JSONManipulator
51c6d9ad916d07d96643599ec05faa1abd6da82b
[ "MIT" ]
3
2020-07-24T05:24:14.000Z
2020-10-31T20:07:58.000Z
# -*- coding: utf-8 -*- """Pytest package for ``set_up()``."""
16
38
0.5
8
64
3.875
1
0
0
0
0
0
0
0
0
0
0
0.018519
0.15625
64
3
39
21.333333
0.555556
0.859375
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d624e3ee63349f9ab1f9c41c967973fa122e4e56
95
py
Python
selector/__init__.py
yangdangfu/predictor_selection
7c15524e0813c26882b1c55a2ae07a9fceabbe17
[ "MIT" ]
null
null
null
selector/__init__.py
yangdangfu/predictor_selection
7c15524e0813c26882b1c55a2ae07a9fceabbe17
[ "MIT" ]
null
null
null
selector/__init__.py
yangdangfu/predictor_selection
7c15524e0813c26882b1c55a2ae07a9fceabbe17
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Package to implement the predictor-selection-relative functions """
23.75
63
0.694737
11
95
6
1
0
0
0
0
0
0
0
0
0
0
0.012048
0.126316
95
4
64
23.75
0.783133
0.905263
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d63903f639c84afc41757fce188832f16f0dec67
87
py
Python
src/alerta/apps.py
furthz/Colegio
573e9e4006c0d1cd33190b53da5988fdc0c9ca4c
[ "MIT" ]
2
2017-09-26T14:15:43.000Z
2018-03-19T01:03:28.000Z
src/alerta/apps.py
furthz/Colegio
573e9e4006c0d1cd33190b53da5988fdc0c9ca4c
[ "MIT" ]
1
2017-10-21T22:30:39.000Z
2017-10-21T22:30:39.000Z
src/alerta/apps.py
furthz/Colegio
573e9e4006c0d1cd33190b53da5988fdc0c9ca4c
[ "MIT" ]
9
2017-07-22T16:13:29.000Z
2020-11-12T21:03:36.000Z
from django.apps import AppConfig class AlertaConfig(AppConfig): name = 'alerta'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d6512dcb9835b599e54ce83ac2556ff3dc7238a7
46
py
Python
venv/Lib/site-packages/statsmodels/tsa/arima/api.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
76
2019-12-28T08:37:10.000Z
2022-03-29T02:19:41.000Z
venv/Lib/site-packages/statsmodels/tsa/arima/api.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
7
2020-12-04T04:10:42.000Z
2021-03-16T00:53:09.000Z
venv/Lib/site-packages/statsmodels/tsa/arima/api.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
35
2020-02-04T14:46:25.000Z
2022-03-24T03:56:17.000Z
__all__ = ["ARIMA"] from .model import ARIMA
11.5
24
0.695652
6
46
4.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.173913
46
3
25
15.333333
0.736842
0
0
0
0
0
0.108696
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
c390f41f3c83dd1bce76210722f2443b1b5014f9
18
py
Python
main.py
Rmix2021/SweepStakesProject
b82df24ecccef53da099742578c60a73d944033f
[ "MIT" ]
null
null
null
main.py
Rmix2021/SweepStakesProject
b82df24ecccef53da099742578c60a73d944033f
[ "MIT" ]
null
null
null
main.py
Rmix2021/SweepStakesProject
b82df24ecccef53da099742578c60a73d944033f
[ "MIT" ]
null
null
null
run_simulation()
6
16
0.777778
2
18
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
18
2
17
9
0.8125
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c39a22a60673986f96f38551cacd9be666a858dc
112
py
Python
Assets/Resources/Maps/rnamemap.py
THeK3nger/BDP-Benchmark
633f6779b90adafcf4cf087141165b8f541d2fb2
[ "MIT", "Unlicense" ]
null
null
null
Assets/Resources/Maps/rnamemap.py
THeK3nger/BDP-Benchmark
633f6779b90adafcf4cf087141165b8f541d2fb2
[ "MIT", "Unlicense" ]
null
null
null
Assets/Resources/Maps/rnamemap.py
THeK3nger/BDP-Benchmark
633f6779b90adafcf4cf087141165b8f541d2fb2
[ "MIT", "Unlicense" ]
null
null
null
import os import os.path for file in os.listdir("."): if file.endswith(".map"): os.rename(file,file+".txt")
16
29
0.660714
19
112
3.894737
0.631579
0.216216
0
0
0
0
0
0
0
0
0
0
0.133929
112
6
30
18.666667
0.762887
0
0
0
0
0
0.080357
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
c39c1f219dbd0501cb24e10d7234fd3ad4fdc8e7
559
py
Python
07patterns/builds/builder.py
edgells/python-commons
38c0aa0ec10304a4147ea231c92c9e34da462052
[ "MIT" ]
null
null
null
07patterns/builds/builder.py
edgells/python-commons
38c0aa0ec10304a4147ea231c92c9e34da462052
[ "MIT" ]
null
null
null
07patterns/builds/builder.py
edgells/python-commons
38c0aa0ec10304a4147ea231c92c9e34da462052
[ "MIT" ]
null
null
null
""" 建造者模式 将一个复杂对象的构建与它的表示分离 使得同样的构建过程可以创建不同的表示 """ class PersonBuilder: def __init__(self, graphics, pen): self.graphics = graphics self.pen = pen def build_head(self): pass def build_body(self): pass def build_arm_left(self): pass def build_arm_right(self): pass def build_leg_left(self): pass def build_leg_right(self): pass class PersonThinBuilder(PersonBuilder): def __init__(self): super(PersonThinBuilder, self).__init__("")
15.108108
51
0.611807
60
559
5.333333
0.333333
0.15
0.171875
0.25
0.2625
0
0
0
0
0
0
0
0.302326
559
37
51
15.108108
0.820513
0.076923
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.421053
false
0.315789
0
0
0.526316
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
c3df07089c930ffbecb70b1ada8bfa3ae8eac77f
383
py
Python
mlaide/_api_client/dto/__init__.py
MLAide/python-client
f8b1ec1cb22b281088c0fab0b6808b59bc27ca87
[ "Apache-2.0" ]
1
2021-03-05T19:14:06.000Z
2021-03-05T19:14:06.000Z
mlaide/_api_client/dto/__init__.py
MLAide/python-client
f8b1ec1cb22b281088c0fab0b6808b59bc27ca87
[ "Apache-2.0" ]
2
2021-04-18T11:17:43.000Z
2021-05-02T13:22:24.000Z
mlaide/_api_client/dto/__init__.py
MLAide/python-client
f8b1ec1cb22b281088c0fab0b6808b59bc27ca87
[ "Apache-2.0" ]
null
null
null
""" Contains all the data models used in inputs/outputs """ from .artifact_dto import ArtifactDto from .artifact_ref_dto import ArtifactRefDto from .experiment_dto import ExperimentDto, ExperimentStatusDto from .experiment_ref_dto import ExperimentRefDto from .git_dto import GitDto from .run_dto import RunDto from .runs_dto import ExperimentsDto from .status_dto import StatusDto
34.818182
62
0.843342
52
383
6.019231
0.538462
0.230032
0.076677
0
0
0
0
0
0
0
0
0
0.114883
383
10
63
38.3
0.923304
0.133159
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
6134e63afc6b7808a647e9fc2be1aedf8d4c793e
91
py
Python
api/v1/__init__.py
AgentGeek/MangAdventure
48d8e21355e5dc8122a6833d092190d79fef1674
[ "MIT" ]
2
2018-09-24T03:46:55.000Z
2018-10-12T16:20:25.000Z
api/v1/__init__.py
AgentGeek/MangAdventure
48d8e21355e5dc8122a6833d092190d79fef1674
[ "MIT" ]
6
2018-10-08T15:59:40.000Z
2019-02-02T16:35:33.000Z
api/v1/__init__.py
AgentGeek/MangAdventure
48d8e21355e5dc8122a6833d092190d79fef1674
[ "MIT" ]
null
null
null
""" The original version of the API. .. deprecated:: 0.7.4 Use ``api.v2`` instead. """
13
32
0.593407
14
91
3.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.054795
0.197802
91
6
33
15.166667
0.684932
0.901099
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
619690d9b0d7eb2e1bb34c05a5b9237a373cdf74
23,259
py
Python
src/python/tests/core/bot/fuzzers/libFuzzer/libfuzzer_launcher_integration_test.py
ABHIsHEk122811/clusterfuzz
7cac0ee869787e6f547a4b3dac18196c60f03383
[ "Apache-2.0" ]
4
2019-11-26T01:50:51.000Z
2021-08-14T20:32:43.000Z
src/python/tests/core/bot/fuzzers/libFuzzer/libfuzzer_launcher_integration_test.py
ABHIsHEk122811/clusterfuzz
7cac0ee869787e6f547a4b3dac18196c60f03383
[ "Apache-2.0" ]
22
2019-12-26T17:02:34.000Z
2022-03-21T22:16:52.000Z
src/python/tests/core/bot/fuzzers/libFuzzer/libfuzzer_launcher_integration_test.py
ABHIsHEk122811/clusterfuzz
7cac0ee869787e6f547a4b3dac18196c60f03383
[ "Apache-2.0" ]
2
2019-02-09T09:09:20.000Z
2019-02-15T05:25:13.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Integration tests for libfuzzer launcher.py.""" import mock import os import shutil import StringIO import unittest import parameterized from bot.fuzzers import libfuzzer from bot.fuzzers.libFuzzer import launcher from tests.test_libs import helpers as test_helpers from tests.test_libs import test_utils TEST_PATH = os.path.abspath(os.path.dirname(__file__)) TEMP_DIRECTORY = os.path.join(TEST_PATH, 'temp') DATA_DIRECTORY = os.path.join(TEST_PATH, 'data') def clear_temp_dir(): """Clear temp directory.""" if os.path.exists(TEMP_DIRECTORY): shutil.rmtree(TEMP_DIRECTORY) os.mkdir(TEMP_DIRECTORY) def get_fuzz_timeout(fuzz_time): """Return timeout for fuzzing.""" return (fuzz_time + libfuzzer.LibFuzzerCommon.LIBFUZZER_CLEAN_EXIT_TIME + libfuzzer.LibFuzzerCommon.SIGTERM_WAIT_TIME) def mock_random_choice(seq): """Always returns first element from the sequence.""" # We could try to mock a particular |seq| to be a list with a single element, # but it does not work well, as random_choice returns a 'mock.mock.MagicMock' # object that behaves differently from the actual type of |seq[0]|. return seq[0] def setup_testcase_and_corpus(testcase, corpus, fuzz=False): """Setup testcase and corpus.""" clear_temp_dir() copied_testcase_path = os.path.join(TEMP_DIRECTORY, testcase) shutil.copy(os.path.join(DATA_DIRECTORY, testcase), copied_testcase_path) copied_corpus_path = os.path.join(TEMP_DIRECTORY, corpus) src_corpus_path = os.path.join(DATA_DIRECTORY, corpus) if os.path.exists(src_corpus_path): shutil.copytree(src_corpus_path, copied_corpus_path) else: os.mkdir(copied_corpus_path) if fuzz: os.environ['FUZZ_CORPUS_DIR'] = copied_corpus_path return copied_testcase_path def run_launcher(*args): """Run launcher.py.""" string_io = StringIO.StringIO() with mock.patch('sys.stdout', string_io): launcher.main(['launcher.py'] + list(args)) return string_io.getvalue() class BaseLauncherTest(unittest.TestCase): """Base libFuzzer launcher tests.""" def setUp(self): test_helpers.patch_environ(self) os.environ['BUILD_DIR'] = DATA_DIRECTORY os.environ['FAIL_RETRIES'] = '1' os.environ['FUZZ_INPUTS_DISK'] = TEMP_DIRECTORY os.environ['FUZZ_TEST_TIMEOUT'] = '4800' os.environ['JOB_NAME'] = 'libfuzzer_asan' os.environ['INPUT_DIR'] = TEMP_DIRECTORY test_helpers.patch(self, [ 'atexit.register', 'bot.fuzzers.engine_common.do_corpus_subset', 'bot.fuzzers.engine_common.get_merge_timeout', 'bot.fuzzers.engine_common.random_choice', 'bot.fuzzers.libFuzzer.launcher.do_ml_rnn_generator', 'bot.fuzzers.libFuzzer.launcher.do_radamsa_generator', 'bot.fuzzers.libFuzzer.launcher.do_random_max_length', 'bot.fuzzers.libFuzzer.launcher.do_recommended_dictionary', 'bot.fuzzers.libFuzzer.launcher.do_value_profile', 'bot.fuzzers.libFuzzer.launcher.get_dictionary_analysis_timeout', 'os.getpid', ]) # Prevent errors from occurring after tests complete by preventing the # launcher script from registering exit handlers. self.mock.register.side_effect = lambda func, *args, **kwargs: func self.mock.getpid.return_value = 1337 self.mock.do_corpus_subset.return_value = False self.mock.do_ml_rnn_generator.return_value = False self.mock.do_radamsa_generator.return_value = False self.mock.do_random_max_length.return_value = False self.mock.do_recommended_dictionary.return_value = False self.mock.do_value_profile.return_value = False self.mock.get_dictionary_analysis_timeout.return_value = 5 self.mock.get_merge_timeout.return_value = 10 self.mock.random_choice.side_effect = mock_random_choice def assert_has_stats(self, output, testcase_path): """Asserts that libFuzzer stats are in output.""" self.assertIn('stat::number_of_executed_units:', output) self.assertIn('stat::average_exec_per_sec:', output) self.assertIn('stat::new_units_added:', output) self.assertIn('stat::slowest_unit_time_sec:', output) self.assertIn('stat::peak_rss_mb:', output) self.assertTrue(os.path.exists(testcase_path + '.stats2')) def assert_corpus_loaded(self, output, directory): self.assertIn('Loading corpus dir: ' + directory, output) @test_utils.integration class TestLauncher(BaseLauncherTest): """libFuzzer launcher tests.""" def test_single_testcase_crash(self): """Tests launcher with a crashing testcase.""" testcase_path = setup_testcase_and_corpus('crash', 'empty_corpus') output = run_launcher(testcase_path, 'test_fuzzer') self.assertIn( 'Running command: {0}/test_fuzzer ' '-rss_limit_mb=2048 -timeout=25 -runs=100 ' '{1}/crash'.format(DATA_DIRECTORY, TEMP_DIRECTORY), output) self.assertIn( 'ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000', output) def test_single_testcase_empty(self): """Tests launcher with an empty testcase.""" testcase_path = setup_testcase_and_corpus('empty', 'empty_corpus') output = run_launcher(testcase_path, 'test_fuzzer') self.assertIn( 'Running command: {0}/test_fuzzer ' '-rss_limit_mb=2048 -timeout=25 -runs=100 ' '{1}/empty'.format(DATA_DIRECTORY, TEMP_DIRECTORY), output) self.assertIn('NOTE: fuzzing was not performed', output) @test_utils.slow @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_fuzz_no_crash(self, mock_get_timeout): """Tests fuzzing (no crash).""" self.mock.do_value_profile.return_value = True mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus('empty', 'corpus', fuzz=True) output = run_launcher(testcase_path, 'test_fuzzer', '-max_len=256') expected = ('Command: {build_dir}/test_fuzzer -max_len=256 ' '-rss_limit_mb=2048 -timeout=25 -use_value_profile=1 ' '-artifact_prefix={temp_dir}/ -max_total_time=5 ' '-print_final_stats=1 {temp_dir}/temp-1337/new ' '{temp_dir}/corpus'.format( build_dir=DATA_DIRECTORY, temp_dir=TEMP_DIRECTORY)) self.assertIn(expected, output) self.assert_has_stats(output, testcase_path) self.assert_corpus_loaded(output, os.path.join(TEMP_DIRECTORY, 'temp-1337', 'new')) self.assert_corpus_loaded(output, os.path.join(TEMP_DIRECTORY, 'corpus')) # New items should've been added to the corpus. self.assertNotEqual(len(os.listdir(os.environ['FUZZ_CORPUS_DIR'])), 0) @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_fuzz_crash(self, mock_get_timeout): """Tests fuzzing (crash).""" mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus('empty', 'corpus', fuzz=True) output = run_launcher(testcase_path, 'always_crash_fuzzer', '-max_len=100') expected = ( 'Command: {build_dir}/always_crash_fuzzer -max_len=100 ' '-rss_limit_mb=2048 -timeout=25 -artifact_prefix={temp_dir}/ ' '-max_total_time=5 -print_final_stats=1 {temp_dir}/temp-1337/new ' '{temp_dir}/corpus'.format( build_dir=DATA_DIRECTORY, temp_dir=TEMP_DIRECTORY)) self.assertIn(expected, output) self.assert_has_stats(output, testcase_path) self.assert_corpus_loaded(output, os.path.join(TEMP_DIRECTORY, 'temp-1337', 'new')) self.assert_corpus_loaded(output, os.path.join(TEMP_DIRECTORY, 'corpus')) self.assertIn('Test unit written to {0}/crash-'.format(TEMP_DIRECTORY), output) self.assertIn( 'ERROR: AddressSanitizer: SEGV on unknown address ' '0x000000000000', output) # Testcase (non-zero) should've been copied back. self.assertNotEqual(os.path.getsize(testcase_path), 0) @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_fuzz_from_subset(self, mock_get_timeout): """Tests fuzzing from corpus subset.""" self.mock.do_corpus_subset.return_value = True mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus( 'empty', 'corpus_with_some_files', fuzz=True) output = run_launcher(testcase_path, 'test_fuzzer', '-max_len=100') expected = ( 'Command: {build_dir}/test_fuzzer -max_len=100 ' '-rss_limit_mb=2048 -timeout=25 -artifact_prefix={temp_dir}/ ' '-max_total_time=5 -print_final_stats=1 {temp_dir}/temp-1337/new ' '{temp_dir}/temp-1337/subset'.format( build_dir=DATA_DIRECTORY, temp_dir=TEMP_DIRECTORY)) self.assertIn(expected, output) self.assert_has_stats(output, testcase_path) self.assert_corpus_loaded(output, os.path.join(TEMP_DIRECTORY, 'temp-1337', 'new')) self.assert_corpus_loaded( output, os.path.join(TEMP_DIRECTORY, 'temp-1337', 'subset')) self.assertIn('READ units: 10', output) def test_minimize(self): """Tests minimize.""" testcase_path = setup_testcase_and_corpus( 'aaaa', 'empty_corpus', fuzz=False) minimize_output_path = os.path.join(TEMP_DIRECTORY, 'minimized_testcase') output = run_launcher(testcase_path, 'crash_with_A_fuzzer', '-max_len=1337', '--cf-minimize-to=' + minimize_output_path, '--cf-minimize-timeout=60') expected = ('CRASH_MIN: failed to minimize beyond %s (1 bytes), ' 'exiting' % minimize_output_path) self.assertIn(expected, output) self.assertTrue(os.path.exists(minimize_output_path)) with open(minimize_output_path) as f: result = f.read() self.assertEqual('A', result) def test_cleanse(self): """Tests cleanse.""" testcase_path = setup_testcase_and_corpus( 'aaaa', 'empty_corpus', fuzz=False) cleanse_output_path = os.path.join(TEMP_DIRECTORY, 'cleansed_testcase') output = run_launcher(testcase_path, 'crash_with_A_fuzzer', '-max_len=1337', '--cf-cleanse-to=' + cleanse_output_path, '--cf-cleanse-timeout=60') expected = 'CLEANSE: Replaced byte' self.assertIn(expected, output) self.assertTrue(os.path.exists(cleanse_output_path)) with open(cleanse_output_path) as f: result = f.read() self.assertFalse(all(c == 'A' for c in result)) @mock.patch('bot.fuzzers.dictionary_manager.DictionaryManager.' 'parse_recommended_dictionary_from_log_lines') @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_analyze_dict(self, mock_get_timeout, mock_parse_recommended_dictionary): """Tests recommended dictionary analysis.""" test_helpers.patch(self, [ 'bot.fuzzers.dictionary_manager.DictionaryManager.' 'update_recommended_dictionary', ]) mock_parse_recommended_dictionary.return_value = set([ '"USELESS_0"', '"APPLE"', '"USELESS_1"', '"GINGER"', '"USELESS_2"', '"BEET"', '"USELESS_3"', ]) mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus( 'empty', 'corpus_with_some_files', fuzz=True) run_launcher(testcase_path, 'analyze_dict_fuzzer') expected_recommended_dictionary = set([ '"APPLE"', '"GINGER"', '"BEET"', ]) self.assertIn(expected_recommended_dictionary, self.mock.update_recommended_dictionary.call_args[0]) @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_max_length_strategy_with_override(self, mock_get_timeout): """Tests max length strategy with override.""" self.mock.do_random_max_length.return_value = True mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus('empty', 'corpus', fuzz=True) output = run_launcher(testcase_path, 'always_crash_fuzzer', '-max_len=100') expected = ( 'Command: {build_dir}/always_crash_fuzzer -max_len=100 ' '-rss_limit_mb=2048 -timeout=25 -artifact_prefix={temp_dir}/ ' '-max_total_time=5 -print_final_stats=1 {temp_dir}/temp-1337/new ' '{temp_dir}/corpus'.format( build_dir=DATA_DIRECTORY, temp_dir=TEMP_DIRECTORY)) self.assertIn(expected, output) @mock.patch('random.SystemRandom.randint', lambda a, b, c: 1337) @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_max_length_strategy_without_override(self, mock_get_timeout): """Tests max length strategy without override.""" self.mock.do_random_max_length.return_value = True mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus('empty', 'corpus', fuzz=True) output = run_launcher(testcase_path, 'always_crash_fuzzer') expected = ( 'Command: {build_dir}/always_crash_fuzzer -rss_limit_mb=2048 ' '-timeout=25 -max_len=1337 -artifact_prefix={temp_dir}/ ' '-max_total_time=5 -print_final_stats=1 {temp_dir}/temp-1337/new ' '{temp_dir}/corpus'.format( build_dir=DATA_DIRECTORY, temp_dir=TEMP_DIRECTORY)) self.assertIn(expected, output) @mock.patch('metrics.logs.log_error') def test_exit_failure_logged(self, mock_log_error): """Test that we log when libFuzzer's exit code indicates it ran into an error.""" testcase_path = setup_testcase_and_corpus( 'empty', 'corpus_with_some_files', fuzz=True) os.environ['EXIT_FUZZER_CODE'] = '1' run_launcher(testcase_path, 'exit_fuzzer', '-max_len=100') self.assertEqual(1, mock_log_error.call_count) @parameterized.parameterized.expand(['77', '27']) @mock.patch('metrics.logs.log_error') def test_exit_target_bug_not_logged(self, exit_code, mock_log_error): """Test that we dont log when exit code indicates bug found in target.""" def mocked_log_error(*args, **kwargs): # pylint: disable=unused-argument self.assertNotIn(launcher.ENGINE_ERROR_MESSAGE, args) mock_log_error.side_effect = mocked_log_error testcase_path = setup_testcase_and_corpus( 'empty', 'corpus_with_some_files', fuzz=True) os.environ['EXIT_FUZZER_CODE'] = exit_code run_launcher(testcase_path, 'exit_fuzzer', '-max_len=100') @test_utils.integration class TestLauncherMinijail(BaseLauncherTest): """libFuzzer launcher tests (minijail).""" def setUp(self): super(TestLauncherMinijail, self).setUp() os.environ['USE_MINIJAIL'] = 'True' def test_single_testcase_empty(self): """Tests launcher with an empty testcase.""" testcase_path = setup_testcase_and_corpus('empty', 'empty_corpus') output = run_launcher(testcase_path, 'test_fuzzer') self.assertIn( 'Running command: {0}/test_fuzzer ' '-rss_limit_mb=2048 -timeout=25 -runs=100 ' '/empty'.format(DATA_DIRECTORY), output) def test_single_testcase_crash(self): """Tests launcher with a crashing testcase.""" testcase_path = setup_testcase_and_corpus('crash', 'empty_corpus') output = run_launcher(testcase_path, 'test_fuzzer') self.assertIn( 'Running command: {0}/test_fuzzer ' '-rss_limit_mb=2048 -timeout=25 -runs=100 ' '/crash'.format(DATA_DIRECTORY), output) self.assertIn( 'ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000', output) @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_fuzz_no_crash(self, mock_get_timeout): """Tests fuzzing (no crash).""" mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus('empty', 'corpus', fuzz=True) output = run_launcher(testcase_path, 'test_fuzzer', '-max_len=256') expected = ('Command: {build_dir}/test_fuzzer -max_len=256 ' '-rss_limit_mb=2048 -timeout=25 -artifact_prefix=/ ' '-max_total_time=5 -print_final_stats=1 /new ' '/corpus'.format(build_dir=DATA_DIRECTORY)) self.assertIn(expected, output) self.assert_has_stats(output, testcase_path) self.assert_corpus_loaded(output, '/new') self.assert_corpus_loaded(output, '/corpus') # New items should've been added to the corpus. self.assertIn('FUZZ_CORPUS_DIR', os.environ) self.assertNotEqual(len(os.listdir(os.environ['FUZZ_CORPUS_DIR'])), 0) @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_fuzz_crash(self, mock_get_timeout): """Tests fuzzing (crash).""" mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus('empty', 'corpus', fuzz=True) output = run_launcher(testcase_path, 'always_crash_fuzzer', '-max_len=100') expected = ('Command: {build_dir}/always_crash_fuzzer -max_len=100 ' '-rss_limit_mb=2048 -timeout=25 -artifact_prefix=/ ' '-max_total_time=5 -print_final_stats=1 /new ' '/corpus'.format(build_dir=DATA_DIRECTORY)) self.assertIn(expected, output) self.assert_has_stats(output, testcase_path) self.assert_corpus_loaded(output, '/new') self.assert_corpus_loaded(output, '/corpus') self.assertIn('Test unit written to /crash-', output) self.assertIn( 'ERROR: AddressSanitizer: SEGV on unknown address ' '0x000000000000', output) # Testcase (non-zero) should've been copied back. self.assertNotEqual(os.path.getsize(testcase_path), 0) @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_fuzz_from_subset(self, mock_get_timeout): """Tests fuzzing from corpus subset.""" self.mock.do_corpus_subset.return_value = True self.mock.do_value_profile.return_value = True mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus( 'empty', 'corpus_with_some_files', fuzz=True) output = run_launcher(testcase_path, 'test_fuzzer', '-max_len=100') expected = ('Command: {build_dir}/test_fuzzer -max_len=100 ' '-rss_limit_mb=2048 -timeout=25 -use_value_profile=1 ' '-artifact_prefix=/ -max_total_time=5 -print_final_stats=1 ' '/new /subset'.format(build_dir=DATA_DIRECTORY)) self.assertIn(expected, output) self.assert_has_stats(output, testcase_path) self.assert_corpus_loaded(output, '/new') self.assert_corpus_loaded(output, '/subset') self.assertIn('READ units: 10', output) @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_out_directory(self, mock_get_timeout): """Test /out mapping.""" mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus( 'empty', 'corpus_with_some_files', fuzz=True) output = run_launcher(testcase_path, 'check_out', '-max_len=100') self.assertIn('SUCCESS!', output) @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_tmp_directory(self, mock_get_timeout): """Test /tmp mapping.""" mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus( 'empty', 'corpus_with_some_files', fuzz=True) output = run_launcher(testcase_path, 'check_tmp', '-max_len=100') self.assertIn('SUCCESS!', output) def test_minimize(self): """Tests minimize.""" testcase_path = setup_testcase_and_corpus( 'aaaa', 'empty_corpus', fuzz=False) minimize_output_path = os.path.join(TEMP_DIRECTORY, 'minimized_testcase') output = run_launcher(testcase_path, 'crash_with_A_fuzzer', '-max_len=1337', '--cf-minimize-to=' + minimize_output_path, '--cf-minimize-timeout=60') self.assertIn( 'CRASH_MIN: failed to minimize beyond /minimized_crash ' '(1 bytes), exiting', output) self.assertTrue(os.path.exists(minimize_output_path)) with open(minimize_output_path) as f: result = f.read() self.assertEqual('A', result) def test_cleanse(self): """Tests cleanse.""" testcase_path = setup_testcase_and_corpus( 'aaaa', 'empty_corpus', fuzz=False) cleanse_output_path = os.path.join(TEMP_DIRECTORY, 'cleansed_testcase') output = run_launcher(testcase_path, 'crash_with_A_fuzzer', '-max_len=1337', '--cf-cleanse-to=' + cleanse_output_path, '--cf-cleanse-timeout=60') expected = 'CLEANSE: Replaced byte' self.assertIn(expected, output) self.assertTrue(os.path.exists(cleanse_output_path)) with open(cleanse_output_path) as f: result = f.read() self.assertFalse(all(c == 'A' for c in result)) @mock.patch('bot.fuzzers.dictionary_manager.DictionaryManager.' 'parse_recommended_dictionary_from_log_lines') @mock.patch('bot.fuzzers.libFuzzer.launcher.get_fuzz_timeout') def test_analyze_dict(self, mock_get_timeout, mock_parse_recommended_dictionary): """Tests recommended dictionary analysis.""" mock_parse_recommended_dictionary.return_value = set([ '"USELESS_0"', '"APPLE"', '"USELESS_1"', '"GINGER"', '"USELESS_2"', '"BEET"', '"USELESS_3"', ]) mock_get_timeout.return_value = get_fuzz_timeout(5.0) testcase_path = setup_testcase_and_corpus( 'empty', 'corpus_with_some_files', fuzz=True) test_helpers.patch(self, [ 'bot.fuzzers.dictionary_manager.DictionaryManager.' 'update_recommended_dictionary', ]) run_launcher(testcase_path, 'analyze_dict_fuzzer') expected_recommended_dictionary = set([ '"APPLE"', '"GINGER"', '"BEET"', ]) self.assertIn(expected_recommended_dictionary, self.mock.update_recommended_dictionary.call_args[0]) @mock.patch('metrics.logs.log_error') def test_exit_failure_not_logged(self, mock_log_error): """Test that we don't log based on libFuzzer's exit code. Test that we don't log when libFuzzer returns 1 since under minijail, this doesn't mean the fuzzer ran into an error. Minijail returns 1 if the fuzzer returns nonzero. """ testcase_path = setup_testcase_and_corpus( 'empty', 'corpus_with_some_files', fuzz=True) def mocked_log_error(*args, **kwargs): # pylint: disable=unused-argument self.assertNotIn(launcher.ENGINE_ERROR_MESSAGE, args) mock_log_error.side_effect = mocked_log_error os.environ['EXIT_FUZZER_CODE'] = '1' run_launcher(testcase_path, 'exit_fuzzer', '-max_len=100')
40.520906
80
0.70261
3,041
23,259
5.072016
0.117396
0.045902
0.022692
0.035659
0.763032
0.742544
0.713498
0.688667
0.67771
0.664938
0
0.019151
0.17834
23,259
573
81
40.591623
0.787923
0.10396
0
0.702899
0
0
0.275265
0.11347
0
0
0.002714
0
0.173913
1
0.082126
false
0
0.024155
0
0.123188
0.019324
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
61a9f990682210fd278be6574af1cebf9fe26d5a
73
py
Python
ext/killmails/__init__.py
randomic/antinub-gregbot
a13633680e619e0f72b5f8d73ab67ec9cb8d211f
[ "MIT" ]
null
null
null
ext/killmails/__init__.py
randomic/antinub-gregbot
a13633680e619e0f72b5f8d73ab67ec9cb8d211f
[ "MIT" ]
7
2016-11-21T13:28:19.000Z
2021-06-02T23:26:36.000Z
ext/killmails/__init__.py
greg2010/antinub-gregbot
20291aed44a3decd663bc6f0c058fe1821e5943a
[ "MIT" ]
11
2016-11-06T17:53:21.000Z
2021-05-11T03:41:12.000Z
from utils import extension extension.configure(["listener", "poster"])
18.25
43
0.767123
8
73
7
0.875
0
0
0
0
0
0
0
0
0
0
0
0.09589
73
3
44
24.333333
0.848485
0
0
0
0
0
0.191781
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
4ede141f0e323ce7d655eb9e8e416ed69babafe3
2,980
py
Python
libnd4j/include/graph/generated/nd4j/graph/UIHistogram.py
rghwer/testdocs
8fafa40407411ed7a3f8216e691e42e0c7d32083
[ "Apache-2.0" ]
13,006
2015-02-13T18:35:31.000Z
2022-03-18T12:11:44.000Z
libnd4j/include/graph/generated/nd4j/graph/UIHistogram.py
pxiuqin/deeplearning4j
e11ddf3c24d355b43d36431687b807c8561aaae4
[ "Apache-2.0" ]
5,319
2015-02-13T08:21:46.000Z
2019-06-12T14:56:50.000Z
libnd4j/include/graph/generated/nd4j/graph/UIHistogram.py
pxiuqin/deeplearning4j
e11ddf3c24d355b43d36431687b807c8561aaae4
[ "Apache-2.0" ]
4,719
2015-02-13T22:48:55.000Z
2022-03-22T07:25:36.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: graph import flatbuffers class UIHistogram(object): __slots__ = ['_tab'] @classmethod def GetRootAsUIHistogram(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = UIHistogram() x.Init(buf, n + offset) return x # UIHistogram def Init(self, buf, pos): self._tab = flatbuffers.table.Table(buf, pos) # UIHistogram def Type(self): o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4)) if o != 0: return self._tab.Get(flatbuffers.number_types.Int8Flags, o + self._tab.Pos) return 0 # UIHistogram def Numbins(self): o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6)) if o != 0: return self._tab.Get(flatbuffers.number_types.Uint32Flags, o + self._tab.Pos) return 0 # UIHistogram def Binranges(self): o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8)) if o != 0: x = self._tab.Indirect(o + self._tab.Pos) from .FlatArray import FlatArray obj = FlatArray() obj.Init(self._tab.Bytes, x) return obj return None # UIHistogram def Y(self): o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10)) if o != 0: x = self._tab.Indirect(o + self._tab.Pos) from .FlatArray import FlatArray obj = FlatArray() obj.Init(self._tab.Bytes, x) return obj return None # UIHistogram def Binlabels(self, j): o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12)) if o != 0: a = self._tab.Vector(o) return self._tab.String(a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 4)) return "" # UIHistogram def BinlabelsLength(self): o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12)) if o != 0: return self._tab.VectorLen(o) return 0 def UIHistogramStart(builder): builder.StartObject(5) def UIHistogramAddType(builder, type): builder.PrependInt8Slot(0, type, 0) def UIHistogramAddNumbins(builder, numbins): builder.PrependUint32Slot(1, numbins, 0) def UIHistogramAddBinranges(builder, binranges): builder.PrependUOffsetTRelativeSlot(2, flatbuffers.number_types.UOffsetTFlags.py_type(binranges), 0) def UIHistogramAddY(builder, y): builder.PrependUOffsetTRelativeSlot(3, flatbuffers.number_types.UOffsetTFlags.py_type(y), 0) def UIHistogramAddBinlabels(builder, binlabels): builder.PrependUOffsetTRelativeSlot(4, flatbuffers.number_types.UOffsetTFlags.py_type(binlabels), 0) def UIHistogramStartBinlabelsVector(builder, numElems): return builder.StartVector(4, numElems, 4) def UIHistogramEnd(builder): return builder.EndObject()
37.25
149
0.671477
351
2,980
5.566952
0.242165
0.071648
0.135107
0.17912
0.478506
0.478506
0.387922
0.387922
0.355169
0.355169
0
0.016443
0.224497
2,980
79
150
37.721519
0.829078
0.05604
0
0.396552
1
0
0.001427
0
0
0
0
0
0
1
0.275862
false
0
0.051724
0.034483
0.586207
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
4ee9ebb827fcf16d8aa8b0794fe3ad959a2918fd
210
py
Python
server/src/main.py
Raven-s-Eye-Solutions/python-react-dev
33d8c3a195185b50c459cea49eab8cda9dd8d0de
[ "MIT" ]
null
null
null
server/src/main.py
Raven-s-Eye-Solutions/python-react-dev
33d8c3a195185b50c459cea49eab8cda9dd8d0de
[ "MIT" ]
null
null
null
server/src/main.py
Raven-s-Eye-Solutions/python-react-dev
33d8c3a195185b50c459cea49eab8cda9dd8d0de
[ "MIT" ]
null
null
null
import time from flask import Flask app = Flask("__main__") @app.route("/") def root(): return 'Sanity check!' @app.route("/current-time") def get_timestamp(): return {'time': time.time()}
16.153846
31
0.62381
27
210
4.666667
0.555556
0.126984
0
0
0
0
0
0
0
0
0
0
0.2
210
13
32
16.153846
0.75
0
0
0
0
0
0.19598
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
4ef9735ec9b7e1e6950d1d0cab669374068072f7
72
py
Python
Contest/ABC182/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/ABC182/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
Contest/ABC182/a/main.py
mpses/AtCoder
9c101fcc0a1394754fcf2385af54b05c30a5ae2a
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 a, b = map(int, input().split()) print(2*a+100-b)
24
32
0.625
15
72
3
0.866667
0
0
0
0
0
0
0
0
0
0
0.076923
0.097222
72
3
33
24
0.615385
0.291667
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
f6167115f22358ec40ab9c703e3d86b90d5fb785
128,333
py
Python
vivisect/impapi/windows/kernel_32.py
4k4xs4pH1r3/vivisect
dea425eed796176309a3be46936eb682598271aa
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
vivisect/impapi/windows/kernel_32.py
4k4xs4pH1r3/vivisect
dea425eed796176309a3be46936eb682598271aa
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
vivisect/impapi/windows/kernel_32.py
4k4xs4pH1r3/vivisect
dea425eed796176309a3be46936eb682598271aa
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# APIs for Windows 32-bit kernel32 library. # Format: retval, rettype, callconv, exactname, arglist(type, name) # arglist type is one of ['int', 'void *'] # arglist name is one of [None, 'funcptr', 'obj', 'ptr'] api_defs = { 'kernel32.main_entry':( 'int', None, 'stdcall', 'kernel32.main_entry', (('int', None), ('int', None), ('int', None)) ), 'kernel32.activateactctx':( 'int', None, 'stdcall', 'kernel32.ActivateActCtx', (('int', None), ('int', None)) ), 'kernel32.addatoma':( 'int', None, 'stdcall', 'kernel32.AddAtomA', (('int', None),) ), 'kernel32.addatomw':( 'int', None, 'stdcall', 'kernel32.AddAtomW', (('int', None),) ), 'kernel32.addconsolealiasa':( 'int', None, 'stdcall', 'kernel32.AddConsoleAliasA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.addconsolealiasw':( 'int', None, 'stdcall', 'kernel32.AddConsoleAliasW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.addlocalalternatecomputernamea':( 'int', None, 'stdcall', 'kernel32.AddLocalAlternateComputerNameA', (('int', None), ('int', None)) ), 'kernel32.addlocalalternatecomputernamew':( 'int', None, 'stdcall', 'kernel32.AddLocalAlternateComputerNameW', (('int', None), ('int', None)) ), 'kernel32.addrefactctx':( 'int', None, 'cdecl', 'kernel32.AddRefActCtx', () ), 'kernel32.allocconsole':( 'int', None, 'cdecl', 'kernel32.AllocConsole', () ), 'kernel32.allocateuserphysicalpages':( 'int', None, 'stdcall', 'kernel32.AllocateUserPhysicalPages', (('int', None), ('int', None), ('int', None)) ), 'kernel32.arefileapisansi':( 'int', None, 'cdecl', 'kernel32.AreFileApisANSI', () ), 'kernel32.assignprocesstojobobject':( 'int', None, 'stdcall', 'kernel32.AssignProcessToJobObject', (('int', None), ('int', None)) ), 'kernel32.attachconsole':( 'int', None, 'stdcall', 'kernel32.AttachConsole', (('int', None),) ), 'kernel32.backupread':( 'int', None, 'stdcall', 'kernel32.BackupRead', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.backupseek':( 'int', None, 'stdcall', 'kernel32.BackupSeek', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.backupwrite':( 'int', None, 'stdcall', 'kernel32.BackupWrite', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.basecheckappcompatcache':( 'int', None, 'stdcall', 'kernel32.BaseCheckAppcompatCache', (('int', None), ('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.basecleanupappcompatcache':( 'int', None, 'cdecl', 'kernel32.BaseCleanupAppcompatCache', () ), 'kernel32.basecleanupappcompatcachesupport':( 'int', None, 'stdcall', 'kernel32.BaseCleanupAppcompatCacheSupport', (('int', None),) ), 'kernel32.basedumpappcompatcache':( 'int', None, 'cdecl', 'kernel32.BaseDumpAppcompatCache', () ), 'kernel32.baseflushappcompatcache':( 'int', None, 'cdecl', 'kernel32.BaseFlushAppcompatCache', () ), 'kernel32.baseinitappcompatcache':( 'int', None, 'cdecl', 'kernel32.BaseInitAppcompatCache', () ), 'kernel32.baseinitappcompatcachesupport':( 'int', None, 'cdecl', 'kernel32.BaseInitAppcompatCacheSupport', () ), 'kernel32.baseprocessinitpostimport':( 'int', None, 'cdecl', 'kernel32.BaseProcessInitPostImport', () ), 'kernel32.basequerymoduledata':( 'int', None, 'stdcall', 'kernel32.BaseQueryModuleData', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.baseupdateappcompatcache':( 'int', None, 'stdcall', 'kernel32.BaseUpdateAppcompatCache', (('int', None), ('int', None), ('int', None)) ), 'kernel32.basepcheckwinsaferrestrictions':( 'int', None, 'stdcall', 'kernel32.BasepCheckWinSaferRestrictions', (('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.beep':( 'int', None, 'stdcall', 'kernel32.Beep', (('int', None), ('int', None)) ), 'kernel32.beginupdateresourcea':( 'int', None, 'stdcall', 'kernel32.BeginUpdateResourceA', ( ('int', None), ('int', None)) ), 'kernel32.beginupdateresourcew':( 'int', None, 'stdcall', 'kernel32.BeginUpdateResourceW', ( ('void *', 'ptr'), ('int', None)) ), 'kernel32.bindiocompletioncallback':( 'int', None, 'stdcall', 'kernel32.BindIoCompletionCallback', (('int', None), ('int', None), ('int', None)) ), 'kernel32.buildcommdcba':( 'int', None, 'stdcall', 'kernel32.BuildCommDCBA', ( ('int', None),) ), 'kernel32.buildcommdcbandtimeoutsa':( 'int', None, 'stdcall', 'kernel32.BuildCommDCBAndTimeoutsA', ( ('int', None), ('void *', 'ptr')) ), 'kernel32.buildcommdcbandtimeoutsw':( 'int', None, 'stdcall', 'kernel32.BuildCommDCBAndTimeoutsW', (('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.buildcommdcbw':( 'int', None, 'stdcall', 'kernel32.BuildCommDCBW', (('int', None), ('int', None)) ), 'kernel32.callnamedpipea':( 'int', None, 'stdcall', 'kernel32.CallNamedPipeA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.callnamedpipew':( 'int', None, 'stdcall', 'kernel32.CallNamedPipeW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.canceldevicewakeuprequest':( 'int', None, 'stdcall', 'kernel32.CancelDeviceWakeupRequest', (('int', None),) ), 'kernel32.cancelio':( 'int', None, 'stdcall', 'kernel32.CancelIo', (('int', None),) ), 'kernel32.canceltimerqueuetimer':( 'int', None, 'stdcall', 'kernel32.CancelTimerQueueTimer', (('int', None), ('int', None)) ), 'kernel32.cancelwaitabletimer':( 'int', None, 'stdcall', 'kernel32.CancelWaitableTimer', (('int', None),) ), 'kernel32.changetimerqueuetimer':( 'int', None, 'stdcall', 'kernel32.ChangeTimerQueueTimer', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.checknamelegaldos8dot3a':( 'int', None, 'stdcall', 'kernel32.CheckNameLegalDOS8Dot3A', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.checknamelegaldos8dot3w':( 'int', None, 'stdcall', 'kernel32.CheckNameLegalDOS8Dot3W', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.checkremotedebuggerpresent':( 'int', None, 'stdcall', 'kernel32.CheckRemoteDebuggerPresent', (('int', None), ('int', None)) ), 'kernel32.clearcommbreak':( 'int', None, 'stdcall', 'kernel32.ClearCommBreak', (('int', None),) ), 'kernel32.clearcommerror':( 'int', None, 'stdcall', 'kernel32.ClearCommError', (('int', None), ('int', None), ('int', None)) ), 'kernel32.closeconsolehandle':( 'int', None, 'stdcall', 'kernel32.CloseConsoleHandle', (('int', None),) ), 'kernel32.closehandle':( 'int', None, 'stdcall', 'kernel32.CloseHandle', (('int', None),) ), 'kernel32.closeprofileusermapping':( 'int', None, 'cdecl', 'kernel32.CloseProfileUserMapping', () ), 'kernel32.cmdbatnotification':( 'int', None, 'stdcall', 'kernel32.CmdBatNotification', (('int', None),) ), 'kernel32.commconfigdialoga':( 'int', None, 'stdcall', 'kernel32.CommConfigDialogA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.commconfigdialogw':( 'int', None, 'stdcall', 'kernel32.CommConfigDialogW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.comparefiletime':( 'int', None, 'stdcall', 'kernel32.CompareFileTime', (('int', None), ('int', None)) ), 'kernel32.comparestringa':( 'int', None, 'stdcall', 'kernel32.CompareStringA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.comparestringw':( 'int', None, 'stdcall', 'kernel32.CompareStringW', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.connectnamedpipe':( 'int', None, 'stdcall', 'kernel32.ConnectNamedPipe', (('int', None), ('int', None)) ), 'kernel32.consolemenucontrol':( 'int', None, 'stdcall', 'kernel32.ConsoleMenuControl', (('int', None), ('int', None), ('int', None)) ), 'kernel32.continuedebugevent':( 'int', None, 'stdcall', 'kernel32.ContinueDebugEvent', (('int', None), ('int', None), ('int', None)) ), 'kernel32.convertdefaultlocale':( 'int', None, 'stdcall', 'kernel32.ConvertDefaultLocale', (('int', None),) ), 'kernel32.convertfibertothread':( 'int', None, 'cdecl', 'kernel32.ConvertFiberToThread', () ), 'kernel32.convertthreadtofiber':( 'int', None, 'stdcall', 'kernel32.ConvertThreadToFiber', (('int', None),) ), 'kernel32.copyfilea':( 'int', None, 'stdcall', 'kernel32.CopyFileA', ( ('int', None), ('int', None), ('int', None)) ), 'kernel32.copyfileexa':( 'int', None, 'stdcall', 'kernel32.CopyFileExA', ( ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.copyfileexw':( 'int', None, 'stdcall', 'kernel32.CopyFileExW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.copyfilew':( 'int', None, 'stdcall', 'kernel32.CopyFileW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.copylzfile':( 'int', None, 'stdcall', 'kernel32.CopyLZFile', (('int', None), ('int', None)) ), 'kernel32.createactctxa':( 'int', None, 'stdcall', 'kernel32.CreateActCtxA', (('int', None),) ), 'kernel32.createactctxw':( 'int', None, 'stdcall', 'kernel32.CreateActCtxW', (('void *', 'ptr'),) ), 'kernel32.createconsolescreenbuffer':( 'int', None, 'stdcall', 'kernel32.CreateConsoleScreenBuffer', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createdirectorya':( 'int', None, 'stdcall', 'kernel32.CreateDirectoryA', (('int', None), ('int', None)) ), 'kernel32.createdirectoryexa':( 'int', None, 'stdcall', 'kernel32.CreateDirectoryExA', ( ('int', None), ('int', None), ('int', None)) ), 'kernel32.createdirectoryexw':( 'int', None, 'stdcall', 'kernel32.CreateDirectoryExW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.createdirectoryw':( 'int', None, 'stdcall', 'kernel32.CreateDirectoryW', (('int', None), ('int', None)) ), 'kernel32.createeventa':( 'int', None, 'stdcall', 'kernel32.CreateEventA', (('void *', 'ptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createeventw':( 'int', None, 'stdcall', 'kernel32.CreateEventW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createfiber':( 'int', None, 'stdcall', 'kernel32.CreateFiber', (('int', None), ('int', None), ('int', None)) ), 'kernel32.createfiberex':( 'int', None, 'stdcall', 'kernel32.CreateFiberEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createfilea':( 'int', None, 'stdcall', 'kernel32.CreateFileA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createfilemappinga':( 'int', None, 'stdcall', 'kernel32.CreateFileMappingA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createfilemappingw':( 'int', None, 'stdcall', 'kernel32.CreateFileMappingW', (('int', None), ('void *', 'ptr'), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createfilew':( 'int', None, 'stdcall', 'kernel32.CreateFileW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createhardlinka':( 'int', None, 'stdcall', 'kernel32.CreateHardLinkA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.createhardlinkw':( 'int', None, 'stdcall', 'kernel32.CreateHardLinkW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.createiocompletionport':( 'int', None, 'stdcall', 'kernel32.CreateIoCompletionPort', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createjobobjecta':( 'int', None, 'stdcall', 'kernel32.CreateJobObjectA', (('int', None), ('int', None)) ), 'kernel32.createjobobjectw':( 'int', None, 'stdcall', 'kernel32.CreateJobObjectW', (('int', None), ('int', None)) ), 'kernel32.createjobset':( 'int', None, 'stdcall', 'kernel32.CreateJobSet', (('int', None), ('int', None), ('int', None)) ), 'kernel32.createmailslota':( 'int', None, 'stdcall', 'kernel32.CreateMailslotA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createmailslotw':( 'int', None, 'stdcall', 'kernel32.CreateMailslotW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.creatememoryresourcenotification':( 'int', None, 'stdcall', 'kernel32.CreateMemoryResourceNotification', (('int', None),) ), 'kernel32.createmutexa':( 'int', None, 'stdcall', 'kernel32.CreateMutexA', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.createmutexw':( 'int', None, 'stdcall', 'kernel32.CreateMutexW', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.createnamedpipea':( 'int', None, 'stdcall', 'kernel32.CreateNamedPipeA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createnamedpipew':( 'int', None, 'stdcall', 'kernel32.CreateNamedPipeW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createnlssecuritydescriptor':( 'int', None, 'stdcall', 'kernel32.CreateNlsSecurityDescriptor', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.createpipe':( 'int', None, 'stdcall', 'kernel32.CreatePipe', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createprocessa':( 'int', None, 'stdcall', 'kernel32.CreateProcessA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.createprocessinternala':( 'int', None, 'stdcall', 'kernel32.CreateProcessInternalA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('void *', 'ptr'), ('int', None)) ), 'kernel32.createprocessinternalw':( 'int', None, 'stdcall', 'kernel32.CreateProcessInternalW', (('int', None), ('int', None), ('void *', 'obj'), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.createprocessinternalwsecure':( 'int', None, 'cdecl', 'kernel32.CreateProcessInternalWSecure', () ), 'kernel32.createprocessw':( 'int', None, 'stdcall', 'kernel32.CreateProcessW', (('int', None), ('void *', 'obj'), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.createremotethread':( 'int', None, 'stdcall', 'kernel32.CreateRemoteThread', (('int', None), ('void *', 'ptr'), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createsemaphorea':( 'int', None, 'stdcall', 'kernel32.CreateSemaphoreA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createsemaphorew':( 'int', None, 'stdcall', 'kernel32.CreateSemaphoreW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createsockethandle':( 'int', None, 'cdecl', 'kernel32.CreateSocketHandle', () ), 'kernel32.createtapepartition':( 'int', None, 'stdcall', 'kernel32.CreateTapePartition', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createthread':( 'int', None, 'stdcall', 'kernel32.CreateThread', (('void *', 'ptr'), ('int', None), ('void *', 'funcptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createtimerqueue':( 'int', None, 'stdcall', 'kernel32.CreateTimerQueue', () ), 'kernel32.createtimerqueuetimer':( 'int', None, 'stdcall', 'kernel32.CreateTimerQueueTimer', ( ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.createtoolhelp32snapshot':( 'int', None, 'stdcall', 'kernel32.CreateToolhelp32Snapshot', (('int', None), ('int', None)) ), 'kernel32.createvirtualbuffer':( 'int', None, 'stdcall', 'kernel32.CreateVirtualBuffer', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.createwaitabletimera':( 'int', None, 'stdcall', 'kernel32.CreateWaitableTimerA', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.createwaitabletimerw':( 'int', None, 'stdcall', 'kernel32.CreateWaitableTimerW', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.deactivateactctx':( 'int', None, 'stdcall', 'kernel32.DeactivateActCtx', (('int', None), ('int', None)) ), 'kernel32.debugactiveprocess':( 'int', None, 'stdcall', 'kernel32.DebugActiveProcess', (('int', None),) ), 'kernel32.debugactiveprocessstop':( 'int', None, 'stdcall', 'kernel32.DebugActiveProcessStop', (('int', None),) ), 'kernel32.debugbreak':( 'int', None, 'cdecl', 'kernel32.DebugBreak', () ), 'kernel32.debugbreakprocess':( 'int', None, 'stdcall', 'kernel32.DebugBreakProcess', (('int', None),) ), 'kernel32.debugsetprocesskillonexit':( 'int', None, 'stdcall', 'kernel32.DebugSetProcessKillOnExit', (('int', None),) ), 'kernel32.definedosdevicea':( 'int', None, 'stdcall', 'kernel32.DefineDosDeviceA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.definedosdevicew':( 'int', None, 'stdcall', 'kernel32.DefineDosDeviceW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.delayloadfailurehook':( 'int', None, 'stdcall', 'kernel32.DelayLoadFailureHook', (('int', None), ('int', None)) ), 'kernel32.deleteatom':( 'int', None, 'stdcall', 'kernel32.DeleteAtom', (('int', None),) ), 'kernel32.deletefiber':( 'int', None, 'stdcall', 'kernel32.DeleteFiber', (('DWORD', None),) ), 'kernel32.deletefilea':( 'int', None, 'stdcall', 'kernel32.DeleteFileA', (('int', None),) ), 'kernel32.deletefilew':( 'int', None, 'stdcall', 'kernel32.DeleteFileW', (('void *', 'ptr'),) ), 'kernel32.deletetimerqueue':( 'int', None, 'stdcall', 'kernel32.DeleteTimerQueue', (('int', None),) ), 'kernel32.deletetimerqueueex':( 'int', None, 'stdcall', 'kernel32.DeleteTimerQueueEx', (('int', None), ('int', None)) ), 'kernel32.deletetimerqueuetimer':( 'int', None, 'stdcall', 'kernel32.DeleteTimerQueueTimer', (('int', None), ('int', None), ('int', None)) ), 'kernel32.deletevolumemountpointa':( 'int', None, 'stdcall', 'kernel32.DeleteVolumeMountPointA', (('int', None),) ), 'kernel32.deletevolumemountpointw':( 'int', None, 'stdcall', 'kernel32.DeleteVolumeMountPointW', (('int', None),) ), 'kernel32.deviceiocontrol':( 'int', None, 'stdcall', 'kernel32.DeviceIoControl', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('void *', 'ptr'), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.disablethreadlibrarycalls':( 'int', None, 'stdcall', 'kernel32.DisableThreadLibraryCalls', (('int', None),) ), 'kernel32.disconnectnamedpipe':( 'int', None, 'stdcall', 'kernel32.DisconnectNamedPipe', (('int', None),) ), 'kernel32.dnshostnametocomputernamea':( 'int', None, 'stdcall', 'kernel32.DnsHostnameToComputerNameA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.dnshostnametocomputernamew':( 'int', None, 'stdcall', 'kernel32.DnsHostnameToComputerNameW', (('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.dosdatetimetofiletime':( 'int', None, 'stdcall', 'kernel32.DosDateTimeToFileTime', (('int', None), ('int', None), ('int', None)) ), 'kernel32.dospathtosessionpatha':( 'int', None, 'stdcall', 'kernel32.DosPathToSessionPathA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.dospathtosessionpathw':( 'int', None, 'stdcall', 'kernel32.DosPathToSessionPathW', (('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.duplicateconsolehandle':( 'int', None, 'stdcall', 'kernel32.DuplicateConsoleHandle', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.duplicatehandle':( 'int', None, 'stdcall', 'kernel32.DuplicateHandle', (('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.endupdateresourcea':( 'int', None, 'stdcall', 'kernel32.EndUpdateResourceA', (('void *', 'ptr'), ('int', None)) ), 'kernel32.endupdateresourcew':( 'int', None, 'stdcall', 'kernel32.EndUpdateResourceW', (('void *', 'ptr'), ('int', None)) ), 'kernel32.enumcalendarinfoa':( 'int', None, 'stdcall', 'kernel32.EnumCalendarInfoA', (('void *', 'funcptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.enumcalendarinfoexa':( 'int', None, 'stdcall', 'kernel32.EnumCalendarInfoExA', (('void *', 'funcptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.enumcalendarinfoexw':( 'int', None, 'stdcall', 'kernel32.EnumCalendarInfoExW', (('void *', 'funcptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.enumcalendarinfow':( 'int', None, 'stdcall', 'kernel32.EnumCalendarInfoW', (('void *', 'funcptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.enumdateformatsa':( 'int', None, 'stdcall', 'kernel32.EnumDateFormatsA', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumdateformatsexa':( 'int', None, 'stdcall', 'kernel32.EnumDateFormatsExA', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumdateformatsexw':( 'int', None, 'stdcall', 'kernel32.EnumDateFormatsExW', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumdateformatsw':( 'int', None, 'stdcall', 'kernel32.EnumDateFormatsW', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumlanguagegrouplocalesa':( 'int', None, 'stdcall', 'kernel32.EnumLanguageGroupLocalesA', (('void *', 'funcptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.enumlanguagegrouplocalesw':( 'int', None, 'stdcall', 'kernel32.EnumLanguageGroupLocalesW', (('void *', 'funcptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.enumresourcelanguagesa':( 'int', None, 'stdcall', 'kernel32.EnumResourceLanguagesA', (('int', None), ('int', None), ('int', None), ('void *', 'funcptr'), ('int', None)) ), 'kernel32.enumresourcelanguagesw':( 'int', None, 'stdcall', 'kernel32.EnumResourceLanguagesW', (('int', None), ('int', None), ('int', None), ('void *', 'funcptr'), ('int', None)) ), 'kernel32.enumresourcenamesa':( 'int', None, 'stdcall', 'kernel32.EnumResourceNamesA', (('int', None), ('int', None), ('void *', 'funcptr'), ('int', None)) ), 'kernel32.enumresourcenamesw':( 'int', None, 'stdcall', 'kernel32.EnumResourceNamesW', (('int', None), ('int', None), ('void *', 'funcptr'), ('void *', 'ptr')) ), 'kernel32.enumresourcetypesa':( 'int', None, 'stdcall', 'kernel32.EnumResourceTypesA', (('int', None), ('void *', 'funcptr'), ('int', None)) ), 'kernel32.enumresourcetypesw':( 'int', None, 'stdcall', 'kernel32.EnumResourceTypesW', (('int', None), ('void *', 'funcptr'), ('int', None)) ), 'kernel32.enumsystemcodepagesa':( 'int', None, 'stdcall', 'kernel32.EnumSystemCodePagesA', (('void *', 'funcptr'), ('int', None)) ), 'kernel32.enumsystemcodepagesw':( 'int', None, 'stdcall', 'kernel32.EnumSystemCodePagesW', (('void *', 'funcptr'), ('int', None)) ), 'kernel32.enumsystemgeoid':( 'int', None, 'stdcall', 'kernel32.EnumSystemGeoID', ( ('int', None), ('int', None), ('void *', 'funcptr')) ), 'kernel32.enumsystemlanguagegroupsa':( 'int', None, 'stdcall', 'kernel32.EnumSystemLanguageGroupsA', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumsystemlanguagegroupsw':( 'int', None, 'stdcall', 'kernel32.EnumSystemLanguageGroupsW', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumsystemlocalesa':( 'int', None, 'stdcall', 'kernel32.EnumSystemLocalesA', (('void *', 'funcptr'), ('int', None)) ), 'kernel32.enumsystemlocalesw':( 'int', None, 'stdcall', 'kernel32.EnumSystemLocalesW', (('void *', 'funcptr'), ('int', None)) ), 'kernel32.enumtimeformatsa':( 'int', None, 'stdcall', 'kernel32.EnumTimeFormatsA', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumtimeformatsw':( 'int', None, 'stdcall', 'kernel32.EnumTimeFormatsW', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumuilanguagesa':( 'int', None, 'stdcall', 'kernel32.EnumUILanguagesA', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumuilanguagesw':( 'int', None, 'stdcall', 'kernel32.EnumUILanguagesW', (('void *', 'funcptr'), ('int', None), ('int', None)) ), 'kernel32.enumeratelocalcomputernamesa':( 'int', None, 'stdcall', 'kernel32.EnumerateLocalComputerNamesA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.enumeratelocalcomputernamesw':( 'int', None, 'stdcall', 'kernel32.EnumerateLocalComputerNamesW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.erasetape':( 'int', None, 'stdcall', 'kernel32.EraseTape', (('int', None), ('int', None), ('int', None)) ), 'kernel32.escapecommfunction':( 'int', None, 'stdcall', 'kernel32.EscapeCommFunction', (('int', None), ('int', None)) ), 'kernel32.exitprocess':( 'int', None, 'cdecl', 'kernel32.ExitProcess', (('int', None),) ), 'kernel32.exitthread':( 'int', None, 'cdecl', 'kernel32.ExitThread', (('int', None),) ), 'kernel32.exitvdm':( 'int', None, 'stdcall', 'kernel32.ExitVDM', (('int', None), ('int', None)) ), 'kernel32.expandenvironmentstringsa':( 'int', None, 'stdcall', 'kernel32.ExpandEnvironmentStringsA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.expandenvironmentstringsw':( 'int', None, 'stdcall', 'kernel32.ExpandEnvironmentStringsW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.expungeconsolecommandhistorya':( 'int', None, 'stdcall', 'kernel32.ExpungeConsoleCommandHistoryA', (('int', None),) ), 'kernel32.expungeconsolecommandhistoryw':( 'int', None, 'stdcall', 'kernel32.ExpungeConsoleCommandHistoryW', (('int', None),) ), 'kernel32.extendvirtualbuffer':( 'int', None, 'stdcall', 'kernel32.ExtendVirtualBuffer', (('int', None), ('int', None)) ), 'kernel32.fatalappexita':( 'int', None, 'stdcall', 'kernel32.FatalAppExitA', (('int', None), ('int', None)) ), 'kernel32.fatalappexitw':( 'int', None, 'stdcall', 'kernel32.FatalAppExitW', (('int', None), ('int', None)) ), 'kernel32.fatalexit':( 'int', None, 'cdecl', 'kernel32.FatalExit', (('int', None),) ), 'kernel32.filetimetodosdatetime':( 'int', None, 'stdcall', 'kernel32.FileTimeToDosDateTime', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.filetimetolocalfiletime':( 'int', None, 'stdcall', 'kernel32.FileTimeToLocalFileTime', (('void *', 'ptr'), ('int', None)) ), 'kernel32.filetimetosystemtime':( 'int', None, 'stdcall', 'kernel32.FileTimeToSystemTime', (('void *', 'ptr'), ('int', None)) ), 'kernel32.fillconsoleoutputattribute':( 'int', None, 'stdcall', 'kernel32.FillConsoleOutputAttribute', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.fillconsoleoutputcharactera':( 'int', None, 'stdcall', 'kernel32.FillConsoleOutputCharacterA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.fillconsoleoutputcharacterw':( 'int', None, 'stdcall', 'kernel32.FillConsoleOutputCharacterW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.findactctxsectionguid':( 'int', None, 'stdcall', 'kernel32.FindActCtxSectionGuid', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.findactctxsectionstringa':( 'int', None, 'stdcall', 'kernel32.FindActCtxSectionStringA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.findactctxsectionstringw':( 'int', None, 'stdcall', 'kernel32.FindActCtxSectionStringW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.findatoma':( 'int', None, 'stdcall', 'kernel32.FindAtomA', (('int', None),) ), 'kernel32.findatomw':( 'int', None, 'stdcall', 'kernel32.FindAtomW', (('int', None),) ), 'kernel32.findclose':( 'int', None, 'stdcall', 'kernel32.FindClose', (('void *', 'ptr'),) ), 'kernel32.findclosechangenotification':( 'int', None, 'stdcall', 'kernel32.FindCloseChangeNotification', (('int', None),) ), 'kernel32.findfirstchangenotificationa':( 'int', None, 'stdcall', 'kernel32.FindFirstChangeNotificationA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findfirstchangenotificationw':( 'int', None, 'stdcall', 'kernel32.FindFirstChangeNotificationW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findfirstfilea':( 'int', None, 'stdcall', 'kernel32.FindFirstFileA', (('int', None), ('int', None)) ), 'kernel32.findfirstfileexa':( 'int', None, 'stdcall', 'kernel32.FindFirstFileExA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.findfirstfileexw':( 'int', None, 'stdcall', 'kernel32.FindFirstFileExW', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.findfirstfilew':( 'int', None, 'stdcall', 'kernel32.FindFirstFileW', (('int', None), ('void *', 'ptr')) ), 'kernel32.findfirstvolumea':( 'int', None, 'stdcall', 'kernel32.FindFirstVolumeA', (('int', None), ('int', None)) ), 'kernel32.findfirstvolumemountpointa':( 'int', None, 'stdcall', 'kernel32.FindFirstVolumeMountPointA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findfirstvolumemountpointw':( 'int', None, 'stdcall', 'kernel32.FindFirstVolumeMountPointW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findfirstvolumew':( 'int', None, 'stdcall', 'kernel32.FindFirstVolumeW', (('int', None), ('int', None)) ), 'kernel32.findnextchangenotification':( 'int', None, 'stdcall', 'kernel32.FindNextChangeNotification', (('int', None),) ), 'kernel32.findnextfilea':( 'int', None, 'stdcall', 'kernel32.FindNextFileA', (('int', None), ('int', None)) ), 'kernel32.findnextfilew':( 'int', None, 'stdcall', 'kernel32.FindNextFileW', (('int', None), ('void *', 'ptr')) ), 'kernel32.findnextvolumea':( 'int', None, 'stdcall', 'kernel32.FindNextVolumeA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findnextvolumemountpointa':( 'int', None, 'stdcall', 'kernel32.FindNextVolumeMountPointA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findnextvolumemountpointw':( 'int', None, 'stdcall', 'kernel32.FindNextVolumeMountPointW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findnextvolumew':( 'int', None, 'stdcall', 'kernel32.FindNextVolumeW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findresourcea':( 'int', None, 'stdcall', 'kernel32.FindResourceA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findresourceexa':( 'int', None, 'stdcall', 'kernel32.FindResourceExA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.findresourceexw':( 'int', None, 'stdcall', 'kernel32.FindResourceExW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.findresourcew':( 'int', None, 'stdcall', 'kernel32.FindResourceW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.findvolumeclose':( 'int', None, 'stdcall', 'kernel32.FindVolumeClose', (('void *', 'ptr'),) ), 'kernel32.findvolumemountpointclose':( 'int', None, 'stdcall', 'kernel32.FindVolumeMountPointClose', (('int', None),) ), 'kernel32.flushconsoleinputbuffer':( 'int', None, 'stdcall', 'kernel32.FlushConsoleInputBuffer', (('int', None),) ), 'kernel32.flushfilebuffers':( 'int', None, 'stdcall', 'kernel32.FlushFileBuffers', (('int', None),) ), 'kernel32.flushinstructioncache':( 'int', None, 'stdcall', 'kernel32.FlushInstructionCache', (('int', None), ('int', None), ('int', None)) ), 'kernel32.flushviewoffile':( 'int', None, 'stdcall', 'kernel32.FlushViewOfFile', (('int', None), ('int', None)) ), 'kernel32.foldstringa':( 'int', None, 'stdcall', 'kernel32.FoldStringA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.foldstringw':( 'int', None, 'stdcall', 'kernel32.FoldStringW', (('int', None), ('void *', 'obj'), ('int', None), ('void *', 'obj'), ('int', None)) ), 'kernel32.formatmessagea':( 'int', None, 'stdcall', 'kernel32.FormatMessageA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.formatmessagew':( 'int', None, 'stdcall', 'kernel32.FormatMessageW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.freeconsole':( 'int', None, 'cdecl', 'kernel32.FreeConsole', () ), 'kernel32.freeenvironmentstringsa':( 'int', None, 'stdcall', 'kernel32.FreeEnvironmentStringsA', (('void *', 'ptr'),) ), 'kernel32.freeenvironmentstringsw':( 'int', None, 'stdcall', 'kernel32.FreeEnvironmentStringsW', (('int', None),) ), 'kernel32.freelibrary':( 'int', None, 'stdcall', 'kernel32.FreeLibrary', (('int', None),) ), 'kernel32.freelibraryandexitthread':( 'int', None, 'stdcall', 'kernel32.FreeLibraryAndExitThread', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.freeresource':( 'int', None, 'stdcall', 'kernel32.FreeResource', (('int', None),) ), 'kernel32.freeuserphysicalpages':( 'int', None, 'stdcall', 'kernel32.FreeUserPhysicalPages', (('int', None), ('int', None), ('int', None)) ), 'kernel32.freevirtualbuffer':( 'int', None, 'stdcall', 'kernel32.FreeVirtualBuffer', (('void *', 'ptr'),) ), 'kernel32.generateconsolectrlevent':( 'int', None, 'stdcall', 'kernel32.GenerateConsoleCtrlEvent', (('int', None), ('int', None)) ), 'kernel32.getacp':( 'int', None, 'cdecl', 'kernel32.GetACP', () ), 'kernel32.getatomnamea':( 'int', None, 'stdcall', 'kernel32.GetAtomNameA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getatomnamew':( 'int', None, 'stdcall', 'kernel32.GetAtomNameW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getbinarytype':( 'int', None, 'stdcall', 'kernel32.GetBinaryType', (('int', None), ('int', None)) ), 'kernel32.getbinarytypea':( 'int', None, 'stdcall', 'kernel32.GetBinaryTypeA', (('int', None), ('int', None)) ), 'kernel32.getbinarytypew':( 'int', None, 'stdcall', 'kernel32.GetBinaryTypeW', (('int', None), ('int', None)) ), 'kernel32.getcpfilenamefromregistry':( 'int', None, 'stdcall', 'kernel32.GetCPFileNameFromRegistry', (('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getcpinfo':( 'int', None, 'stdcall', 'kernel32.GetCPInfo', ( ('int', None),) ), 'kernel32.getcpinfoexa':( 'int', None, 'stdcall', 'kernel32.GetCPInfoExA', ( ('int', None), ('int', None)) ), 'kernel32.getcpinfoexw':( 'int', None, 'stdcall', 'kernel32.GetCPInfoExW', ( ('int', None), ('void *', 'ptr')) ), 'kernel32.getcalendarinfoa':( 'int', None, 'stdcall', 'kernel32.GetCalendarInfoA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getcalendarinfow':( 'int', None, 'stdcall', 'kernel32.GetCalendarInfoW', (('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.getcompluspackageinstallstatus':( 'int', None, 'cdecl', 'kernel32.GetComPlusPackageInstallStatus', () ), 'kernel32.getcommconfig':( 'int', None, 'stdcall', 'kernel32.GetCommConfig', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getcommmask':( 'int', None, 'stdcall', 'kernel32.GetCommMask', (('int', None), ('int', None)) ), 'kernel32.getcommmodemstatus':( 'int', None, 'stdcall', 'kernel32.GetCommModemStatus', (('int', None), ('int', None)) ), 'kernel32.getcommproperties':( 'int', None, 'stdcall', 'kernel32.GetCommProperties', (('int', None), ('int', None)) ), 'kernel32.getcommstate':( 'int', None, 'stdcall', 'kernel32.GetCommState', (('int', None), ('void *', 'ptr')) ), 'kernel32.getcommtimeouts':( 'int', None, 'stdcall', 'kernel32.GetCommTimeouts', (('int', None), ('int', None)) ), 'kernel32.getcommandlinea':( 'int', None, 'cdecl', 'kernel32.GetCommandLineA', () ), 'kernel32.getcommandlinew':( 'int', None, 'cdecl', 'kernel32.GetCommandLineW', () ), 'kernel32.getcompressedfilesizea':( 'int', None, 'stdcall', 'kernel32.GetCompressedFileSizeA', (('int', None), ('void *', 'ptr')) ), 'kernel32.getcompressedfilesizew':( 'int', None, 'stdcall', 'kernel32.GetCompressedFileSizeW', (('int', None), ('void *', 'ptr')) ), 'kernel32.getcomputernamea':( 'int', None, 'stdcall', 'kernel32.GetComputerNameA', (('int', None), ('int', None)) ), 'kernel32.getcomputernameexa':( 'int', None, 'stdcall', 'kernel32.GetComputerNameExA', (('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.getcomputernameexw':( 'int', None, 'stdcall', 'kernel32.GetComputerNameExW', (('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.getcomputernamew':( 'int', None, 'stdcall', 'kernel32.GetComputerNameW', (('int', None), ('void *', 'ptr')) ), 'kernel32.getconsolealiasa':( 'int', None, 'stdcall', 'kernel32.GetConsoleAliasA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsolealiasexesa':( 'int', None, 'stdcall', 'kernel32.GetConsoleAliasExesA', (('int', None), ('int', None)) ), 'kernel32.getconsolealiasexeslengtha':( 'int', None, 'cdecl', 'kernel32.GetConsoleAliasExesLengthA', () ), 'kernel32.getconsolealiasexeslengthw':( 'int', None, 'cdecl', 'kernel32.GetConsoleAliasExesLengthW', () ), 'kernel32.getconsolealiasexesw':( 'int', None, 'stdcall', 'kernel32.GetConsoleAliasExesW', (('int', None), ('int', None)) ), 'kernel32.getconsolealiasw':( 'int', None, 'stdcall', 'kernel32.GetConsoleAliasW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsolealiasesa':( 'int', None, 'stdcall', 'kernel32.GetConsoleAliasesA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsolealiaseslengtha':( 'int', None, 'stdcall', 'kernel32.GetConsoleAliasesLengthA', (('int', None),) ), 'kernel32.getconsolealiaseslengthw':( 'int', None, 'stdcall', 'kernel32.GetConsoleAliasesLengthW', (('int', None),) ), 'kernel32.getconsolealiasesw':( 'int', None, 'stdcall', 'kernel32.GetConsoleAliasesW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsolecp':( 'int', None, 'cdecl', 'kernel32.GetConsoleCP', () ), 'kernel32.getconsolechartype':( 'int', None, 'stdcall', 'kernel32.GetConsoleCharType', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsolecommandhistorya':( 'int', None, 'stdcall', 'kernel32.GetConsoleCommandHistoryA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsolecommandhistorylengtha':( 'int', None, 'stdcall', 'kernel32.GetConsoleCommandHistoryLengthA', (('int', None),) ), 'kernel32.getconsolecommandhistorylengthw':( 'int', None, 'stdcall', 'kernel32.GetConsoleCommandHistoryLengthW', (('int', None),) ), 'kernel32.getconsolecommandhistoryw':( 'int', None, 'stdcall', 'kernel32.GetConsoleCommandHistoryW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsolecursorinfo':( 'int', None, 'stdcall', 'kernel32.GetConsoleCursorInfo', (('int', None), ('int', None)) ), 'kernel32.getconsolecursormode':( 'int', None, 'stdcall', 'kernel32.GetConsoleCursorMode', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsoledisplaymode':( 'int', None, 'stdcall', 'kernel32.GetConsoleDisplayMode', (('void *', 'ptr'),) ), 'kernel32.getconsolefontinfo':( 'int', None, 'stdcall', 'kernel32.GetConsoleFontInfo', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsolefontsize':( 'int', None, 'stdcall', 'kernel32.GetConsoleFontSize', (('int', None), ('int', None)) ), 'kernel32.getconsolehardwarestate':( 'int', None, 'stdcall', 'kernel32.GetConsoleHardwareState', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getconsoleinputexenamea':( 'int', None, 'stdcall', 'kernel32.GetConsoleInputExeNameA', (('int', None), ('int', None)) ), 'kernel32.getconsoleinputexenamew':( 'int', None, 'stdcall', 'kernel32.GetConsoleInputExeNameW', (('int', None), ('void *', 'ptr')) ), 'kernel32.getconsoleinputwaithandle':( 'int', None, 'cdecl', 'kernel32.GetConsoleInputWaitHandle', () ), 'kernel32.getconsolekeyboardlayoutnamea':( 'int', None, 'stdcall', 'kernel32.GetConsoleKeyboardLayoutNameA', (('int', None),) ), 'kernel32.getconsolekeyboardlayoutnamew':( 'int', None, 'stdcall', 'kernel32.GetConsoleKeyboardLayoutNameW', (('int', None),) ), 'kernel32.getconsolemode':( 'int', None, 'stdcall', 'kernel32.GetConsoleMode', (('int', None), ('void *', 'ptr')) ), 'kernel32.getconsolenlsmode':( 'int', None, 'stdcall', 'kernel32.GetConsoleNlsMode', (('int', None), ('int', None)) ), 'kernel32.getconsoleoutputcp':( 'int', None, 'cdecl', 'kernel32.GetConsoleOutputCP', () ), 'kernel32.getconsoleprocesslist':( 'int', None, 'stdcall', 'kernel32.GetConsoleProcessList', (('int', None), ('int', None)) ), 'kernel32.getconsolescreenbufferinfo':( 'int', None, 'stdcall', 'kernel32.GetConsoleScreenBufferInfo', (('int', None), ('int', None)) ), 'kernel32.getconsoleselectioninfo':( 'int', None, 'stdcall', 'kernel32.GetConsoleSelectionInfo', (('int', None),) ), 'kernel32.getconsoletitlea':( 'int', None, 'stdcall', 'kernel32.GetConsoleTitleA', (('int', None), ('int', None)) ), 'kernel32.getconsoletitlew':( 'int', None, 'stdcall', 'kernel32.GetConsoleTitleW', (('int', None), ('int', None)) ), 'kernel32.getconsolewindow':( 'int', None, 'cdecl', 'kernel32.GetConsoleWindow', () ), 'kernel32.getcurrencyformata':( 'int', None, 'stdcall', 'kernel32.GetCurrencyFormatA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getcurrencyformatw':( 'int', None, 'stdcall', 'kernel32.GetCurrencyFormatW', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getcurrentactctx':( 'int', None, 'stdcall', 'kernel32.GetCurrentActCtx', (('int', None),) ), 'kernel32.getcurrentconsolefont':( 'int', None, 'stdcall', 'kernel32.GetCurrentConsoleFont', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getcurrentdirectorya':( 'int', None, 'stdcall', 'kernel32.GetCurrentDirectoryA', (('int', None), ('int', None)) ), 'kernel32.getcurrentdirectoryw':( 'int', None, 'stdcall', 'kernel32.GetCurrentDirectoryW', (('int', None), ('int', None)) ), 'kernel32.getcurrentprocess':( 'int', None, 'cdecl', 'kernel32.GetCurrentProcess', () ), 'kernel32.getcurrentprocessid':( 'int', None, 'cdecl', 'kernel32.GetCurrentProcessId', () ), 'kernel32.getcurrentthread':( 'int', None, 'cdecl', 'kernel32.GetCurrentThread', () ), 'kernel32.getcurrentthreadid':( 'int', None, 'cdecl', 'kernel32.GetCurrentThreadId', () ), 'kernel32.getdateformata':( 'int', None, 'stdcall', 'kernel32.GetDateFormatA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getdateformatw':( 'int', None, 'stdcall', 'kernel32.GetDateFormatW', (('int', None), ('int', None), ('int', None), ('void *', 'obj'), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getdefaultcommconfiga':( 'int', None, 'stdcall', 'kernel32.GetDefaultCommConfigA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getdefaultcommconfigw':( 'int', None, 'stdcall', 'kernel32.GetDefaultCommConfigW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getdefaultsortkeysize':( 'int', None, 'stdcall', 'kernel32.GetDefaultSortkeySize', (('int', None),) ), 'kernel32.getdevicepowerstate':( 'int', None, 'stdcall', 'kernel32.GetDevicePowerState', (('int', None), ('int', None)) ), 'kernel32.getdiskfreespacea':( 'int', None, 'stdcall', 'kernel32.GetDiskFreeSpaceA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getdiskfreespaceexa':( 'int', None, 'stdcall', 'kernel32.GetDiskFreeSpaceExA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getdiskfreespaceexw':( 'int', None, 'stdcall', 'kernel32.GetDiskFreeSpaceExW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getdiskfreespacew':( 'int', None, 'stdcall', 'kernel32.GetDiskFreeSpaceW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getdlldirectorya':( 'int', None, 'stdcall', 'kernel32.GetDllDirectoryA', (('int', None), ('int', None)) ), 'kernel32.getdlldirectoryw':( 'int', None, 'stdcall', 'kernel32.GetDllDirectoryW', (('int', None), ('int', None)) ), 'kernel32.getdrivetypea':( 'int', None, 'stdcall', 'kernel32.GetDriveTypeA', (('int', None),) ), 'kernel32.getdrivetypew':( 'int', None, 'stdcall', 'kernel32.GetDriveTypeW', (('int', None),) ), 'kernel32.getenvironmentstrings':( 'int', None, 'cdecl', 'kernel32.GetEnvironmentStrings', () ), 'kernel32.getenvironmentstringsa':( 'int', None, 'cdecl', 'kernel32.GetEnvironmentStringsA', () ), 'kernel32.getenvironmentstringsw':( 'int', None, 'cdecl', 'kernel32.GetEnvironmentStringsW', () ), 'kernel32.getenvironmentvariablea':( 'int', None, 'stdcall', 'kernel32.GetEnvironmentVariableA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getenvironmentvariablew':( 'int', None, 'stdcall', 'kernel32.GetEnvironmentVariableW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getexitcodeprocess':( 'int', None, 'stdcall', 'kernel32.GetExitCodeProcess', (('int', None), ('int', None)) ), 'kernel32.getexitcodethread':( 'int', None, 'stdcall', 'kernel32.GetExitCodeThread', (('int', None), ('int', None)) ), 'kernel32.getexpandednamea':( 'int', None, 'stdcall', 'kernel32.GetExpandedNameA', (('void *', 'ptr'), ('int', None)) ), 'kernel32.getexpandednamew':( 'int', None, 'stdcall', 'kernel32.GetExpandedNameW', (('int', None), ('int', None)) ), 'kernel32.getfileattributesa':( 'int', None, 'stdcall', 'kernel32.GetFileAttributesA', (('int', None),) ), 'kernel32.getfileattributesexa':( 'int', None, 'stdcall', 'kernel32.GetFileAttributesExA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getfileattributesexw':( 'int', None, 'stdcall', 'kernel32.GetFileAttributesExW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getfileattributesw':( 'int', None, 'stdcall', 'kernel32.GetFileAttributesW', (('int', None),) ), 'kernel32.getfileinformationbyhandle':( 'int', None, 'stdcall', 'kernel32.GetFileInformationByHandle', (('int', None), ('int', None)) ), 'kernel32.getfilesize':( 'int', None, 'stdcall', 'kernel32.GetFileSize', (('int', None), ('void *', 'ptr')) ), 'kernel32.getfilesizeex':( 'int', None, 'stdcall', 'kernel32.GetFileSizeEx', (('int', None), ('void *', 'ptr')) ), 'kernel32.getfiletime':( 'int', None, 'stdcall', 'kernel32.GetFileTime', (('int', None), ('void *', 'ptr'), ('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.getfiletype':( 'int', None, 'stdcall', 'kernel32.GetFileType', (('int', None),) ), 'kernel32.getfirmwareenvironmentvariablea':( 'int', None, 'stdcall', 'kernel32.GetFirmwareEnvironmentVariableA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getfirmwareenvironmentvariablew':( 'int', None, 'stdcall', 'kernel32.GetFirmwareEnvironmentVariableW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getfullpathnamea':( 'int', None, 'stdcall', 'kernel32.GetFullPathNameA', (('int', None), ('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.getfullpathnamew':( 'int', None, 'stdcall', 'kernel32.GetFullPathNameW', (('int', None), ('int', None), ('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.getgeoinfoa':( 'int', None, 'stdcall', 'kernel32.GetGeoInfoA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getgeoinfow':( 'int', None, 'stdcall', 'kernel32.GetGeoInfoW', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.gethandlecontext':( 'int', None, 'stdcall', 'kernel32.GetHandleContext', (('int', None),) ), 'kernel32.gethandleinformation':( 'int', None, 'stdcall', 'kernel32.GetHandleInformation', (('int', None), ('void *', 'ptr')) ), 'kernel32.getlargestconsolewindowsize':( 'int', None, 'stdcall', 'kernel32.GetLargestConsoleWindowSize', (('int', None),) ), 'kernel32.getlinguistlangsize':( 'int', None, 'stdcall', 'kernel32.GetLinguistLangSize', (('int', None),) ), 'kernel32.getlocaltime':( 'int', None, 'stdcall', 'kernel32.GetLocalTime', (('void *', 'ptr'),) ), 'kernel32.getlocaleinfoa':( 'int', None, 'stdcall', 'kernel32.GetLocaleInfoA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getlocaleinfow':( 'int', None, 'stdcall', 'kernel32.GetLocaleInfoW', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getlogicaldrivestringsa':( 'int', None, 'stdcall', 'kernel32.GetLogicalDriveStringsA', (('int', None), ('int', None)) ), 'kernel32.getlogicaldrivestringsw':( 'int', None, 'stdcall', 'kernel32.GetLogicalDriveStringsW', (('int', None), ('int', None)) ), 'kernel32.getlogicaldrives':( 'int', None, 'cdecl', 'kernel32.GetLogicalDrives', () ), 'kernel32.getlogicalprocessorinformation':( 'int', None, 'stdcall', 'kernel32.GetLogicalProcessorInformation', (('int', None), ('int', None)) ), 'kernel32.getlongpathnamea':( 'int', None, 'stdcall', 'kernel32.GetLongPathNameA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getlongpathnamew':( 'int', None, 'stdcall', 'kernel32.GetLongPathNameW', (('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getmailslotinfo':( 'int', None, 'stdcall', 'kernel32.GetMailslotInfo', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getmodulefilenamea':( 'int', None, 'stdcall', 'kernel32.GetModuleFileNameA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getmodulefilenamew':( 'int', None, 'stdcall', 'kernel32.GetModuleFileNameW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getmodulehandlea':( 'int', None, 'stdcall', 'kernel32.GetModuleHandleA', (('int', None),) ), 'kernel32.getmodulehandleexa':( 'int', None, 'stdcall', 'kernel32.GetModuleHandleExA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getmodulehandleexw':( 'int', None, 'stdcall', 'kernel32.GetModuleHandleExW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getmodulehandlew':( 'int', None, 'stdcall', 'kernel32.GetModuleHandleW', (('int', None),) ), 'kernel32.getnamedpipehandlestatea':( 'int', None, 'stdcall', 'kernel32.GetNamedPipeHandleStateA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getnamedpipehandlestatew':( 'int', None, 'stdcall', 'kernel32.GetNamedPipeHandleStateW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getnamedpipeinfo':( 'int', None, 'stdcall', 'kernel32.GetNamedPipeInfo', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getnativesysteminfo':( 'int', None, 'stdcall', 'kernel32.GetNativeSystemInfo', (('int', None),) ), 'kernel32.getnextvdmcommand':( 'int', None, 'stdcall', 'kernel32.GetNextVDMCommand', (('int', None),) ), 'kernel32.getnlssectionname':( 'int', None, 'stdcall', 'kernel32.GetNlsSectionName', (('int', None), ('int', None), ('int', None), ('void *', 'obj'), ('void *', 'obj'), ('int', None)) ), 'kernel32.getnumaavailablememory':( 'int', None, 'stdcall', 'kernel32.GetNumaAvailableMemory', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getnumaavailablememorynode':( 'int', None, 'stdcall', 'kernel32.GetNumaAvailableMemoryNode', (('int', None), ('int', None)) ), 'kernel32.getnumahighestnodenumber':( 'int', None, 'stdcall', 'kernel32.GetNumaHighestNodeNumber', (('int', None),) ), 'kernel32.getnumanodeprocessormask':( 'int', None, 'stdcall', 'kernel32.GetNumaNodeProcessorMask', (('int', None), ('int', None)) ), 'kernel32.getnumaprocessormap':( 'int', None, 'stdcall', 'kernel32.GetNumaProcessorMap', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getnumaprocessornode':( 'int', None, 'stdcall', 'kernel32.GetNumaProcessorNode', (('int', None), ('int', None)) ), 'kernel32.getnumberformata':( 'int', None, 'stdcall', 'kernel32.GetNumberFormatA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getnumberformatw':( 'int', None, 'stdcall', 'kernel32.GetNumberFormatW', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getnumberofconsolefonts':( 'int', None, 'cdecl', 'kernel32.GetNumberOfConsoleFonts', () ), 'kernel32.getnumberofconsoleinputevents':( 'int', None, 'stdcall', 'kernel32.GetNumberOfConsoleInputEvents', (('int', None), ('int', None)) ), 'kernel32.getnumberofconsolemousebuttons':( 'int', None, 'stdcall', 'kernel32.GetNumberOfConsoleMouseButtons', (('int', None),) ), 'kernel32.getoemcp':( 'int', None, 'cdecl', 'kernel32.GetOEMCP', () ), 'kernel32.getoverlappedresult':( 'int', None, 'stdcall', 'kernel32.GetOverlappedResult', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getpriorityclass':( 'int', None, 'stdcall', 'kernel32.GetPriorityClass', (('int', None),) ), 'kernel32.getprivateprofileinta':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileIntA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getprivateprofileintw':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileIntW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getprivateprofilesectiona':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileSectionA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getprivateprofilesectionnamesa':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileSectionNamesA', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.getprivateprofilesectionnamesw':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileSectionNamesW', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.getprivateprofilesectionw':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileSectionW', (('void *', 'ptr'), ('void *', 'ptr'), ('int', None), ('void *', 'ptr')) ), 'kernel32.getprivateprofilestringa':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileStringA', (('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.getprivateprofilestringw':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileStringW', (('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.getprivateprofilestructa':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileStructA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getprivateprofilestructw':( 'int', None, 'stdcall', 'kernel32.GetPrivateProfileStructW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getprocaddress':( 'int', None, 'stdcall', 'kernel32.GetProcAddress', (('int', None), ('int', None)) ), 'kernel32.getprocessaffinitymask':( 'int', None, 'stdcall', 'kernel32.GetProcessAffinityMask', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getprocessdeppolicy':( 'int', None, 'stdcall', 'kernel32.GetProcessDEPPolicy', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getprocesshandlecount':( 'int', None, 'stdcall', 'kernel32.GetProcessHandleCount', (('int', None), ('int', None)) ), 'kernel32.getprocessheap':( 'int', None, 'cdecl', 'kernel32.GetProcessHeap', () ), 'kernel32.getprocessheaps':( 'int', None, 'cdecl', 'kernel32.GetProcessHeaps', () ), 'kernel32.getprocessid':( 'int', None, 'stdcall', 'kernel32.GetProcessId', (('int', None),) ), 'kernel32.getprocessiocounters':( 'int', None, 'stdcall', 'kernel32.GetProcessIoCounters', (('int', None), ('int', None)) ), 'kernel32.getprocesspriorityboost':( 'int', None, 'stdcall', 'kernel32.GetProcessPriorityBoost', (('int', None), ('int', None)) ), 'kernel32.getprocessshutdownparameters':( 'int', None, 'stdcall', 'kernel32.GetProcessShutdownParameters', (('int', None), ('int', None)) ), 'kernel32.getprocesstimes':( 'int', None, 'stdcall', 'kernel32.GetProcessTimes', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getprocessversion':( 'int', None, 'stdcall', 'kernel32.GetProcessVersion', (('int', None),) ), 'kernel32.getprocessworkingsetsize':( 'int', None, 'stdcall', 'kernel32.GetProcessWorkingSetSize', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getprofileinta':( 'int', None, 'stdcall', 'kernel32.GetProfileIntA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getprofileintw':( 'int', None, 'stdcall', 'kernel32.GetProfileIntW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getprofilesectiona':( 'int', None, 'stdcall', 'kernel32.GetProfileSectionA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getprofilesectionw':( 'int', None, 'stdcall', 'kernel32.GetProfileSectionW', (('void *', 'ptr'), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getprofilestringa':( 'int', None, 'stdcall', 'kernel32.GetProfileStringA', (('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getprofilestringw':( 'int', None, 'stdcall', 'kernel32.GetProfileStringW', (('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getqueuedcompletionstatus':( 'int', None, 'stdcall', 'kernel32.GetQueuedCompletionStatus', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getshortpathnamea':( 'int', None, 'stdcall', 'kernel32.GetShortPathNameA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getshortpathnamew':( 'int', None, 'stdcall', 'kernel32.GetShortPathNameW', (('void *', 'ptr'), ('void *', 'ptr'), ('int', None)) ), 'kernel32.getstartupinfoa':( 'int', None, 'stdcall', 'kernel32.GetStartupInfoA', (('int', None),) ), 'kernel32.getstartupinfow':( 'int', None, 'stdcall', 'kernel32.GetStartupInfoW', (('void *', 'ptr'),) ), 'kernel32.getstdhandle':( 'int', None, 'stdcall', 'kernel32.GetStdHandle', (('int', None),) ), 'kernel32.getstringtypea':( 'int', None, 'stdcall', 'kernel32.GetStringTypeA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getstringtypeexa':( 'int', None, 'stdcall', 'kernel32.GetStringTypeExA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getstringtypeexw':( 'int', None, 'stdcall', 'kernel32.GetStringTypeExW', (('int', None), ('int', None), ('void *', 'obj'), ('int', None), ('int', None)) ), 'kernel32.getstringtypew':( 'int', None, 'stdcall', 'kernel32.GetStringTypeW', (('int', None), ('void *', 'obj'), ('int', None), ('void *', 'ptr')) ), 'kernel32.getsystemdeppolicy':( 'int', None, 'cdecl', 'kernel32.GetSystemDEPPolicy', () ), 'kernel32.getsystemdefaultlcid':( 'int', None, 'cdecl', 'kernel32.GetSystemDefaultLCID', () ), 'kernel32.getsystemdefaultlangid':( 'int', None, 'cdecl', 'kernel32.GetSystemDefaultLangID', () ), 'kernel32.getsystemdefaultuilanguage':( 'int', None, 'cdecl', 'kernel32.GetSystemDefaultUILanguage', () ), 'kernel32.getsystemdirectorya':( 'int', None, 'stdcall', 'kernel32.GetSystemDirectoryA', (('int', None), ('int', None)) ), 'kernel32.getsystemdirectoryw':( 'int', None, 'stdcall', 'kernel32.GetSystemDirectoryW', (('void *', 'ptr'), ('int', None)) ), 'kernel32.getsysteminfo':( 'int', None, 'stdcall', 'kernel32.GetSystemInfo', (('int', None),) ), 'kernel32.getsystempowerstatus':( 'int', None, 'stdcall', 'kernel32.GetSystemPowerStatus', (('int', None),) ), 'kernel32.getsystemregistryquota':( 'int', None, 'stdcall', 'kernel32.GetSystemRegistryQuota', (('int', None), ('int', None)) ), 'kernel32.getsystemtime':( 'int', None, 'stdcall', 'kernel32.GetSystemTime', (('void *', 'ptr'),) ), 'kernel32.getsystemtimeadjustment':( 'int', None, 'stdcall', 'kernel32.GetSystemTimeAdjustment', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getsystemtimeasfiletime':( 'int', None, 'stdcall', 'kernel32.GetSystemTimeAsFileTime', (('void *', 'ptr'),) ), 'kernel32.getsystemtimes':( 'int', None, 'stdcall', 'kernel32.GetSystemTimes', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getsystemwindowsdirectorya':( 'int', None, 'stdcall', 'kernel32.GetSystemWindowsDirectoryA', (('int', None), ('int', None)) ), 'kernel32.getsystemwindowsdirectoryw':( 'int', None, 'stdcall', 'kernel32.GetSystemWindowsDirectoryW', (('void *', 'ptr'), ('int', None)) ), 'kernel32.getsystemwow64directorya':( 'int', None, 'stdcall', 'kernel32.GetSystemWow64DirectoryA', (('int', None), ('int', None)) ), 'kernel32.getsystemwow64directoryw':( 'int', None, 'stdcall', 'kernel32.GetSystemWow64DirectoryW', (('int', None), ('int', None)) ), 'kernel32.gettapeparameters':( 'int', None, 'stdcall', 'kernel32.GetTapeParameters', (('int', None), ('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.gettapeposition':( 'int', None, 'stdcall', 'kernel32.GetTapePosition', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.gettapestatus':( 'int', None, 'stdcall', 'kernel32.GetTapeStatus', (('int', None),) ), 'kernel32.gettempfilenamea':( 'int', None, 'stdcall', 'kernel32.GetTempFileNameA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.gettempfilenamew':( 'int', None, 'stdcall', 'kernel32.GetTempFileNameW', (('void *', 'ptr'), ('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.gettemppatha':( 'int', None, 'stdcall', 'kernel32.GetTempPathA', (('int', None), ('int', None)) ), 'kernel32.gettemppathw':( 'int', None, 'stdcall', 'kernel32.GetTempPathW', (('int', None), ('void *', 'ptr')) ), 'kernel32.getthreadcontext':( 'int', None, 'stdcall', 'kernel32.GetThreadContext', (('int', None), ('int', None)) ), 'kernel32.getthreadiopendingflag':( 'int', None, 'stdcall', 'kernel32.GetThreadIOPendingFlag', (('int', None), ('int', None)) ), 'kernel32.getthreadlocale':( 'int', None, 'cdecl', 'kernel32.GetThreadLocale', () ), 'kernel32.getthreadpriority':( 'int', None, 'stdcall', 'kernel32.GetThreadPriority', (('int', None),) ), 'kernel32.getthreadpriorityboost':( 'int', None, 'stdcall', 'kernel32.GetThreadPriorityBoost', (('int', None), ('int', None)) ), 'kernel32.getthreadselectorentry':( 'int', None, 'stdcall', 'kernel32.GetThreadSelectorEntry', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getthreadtimes':( 'int', None, 'stdcall', 'kernel32.GetThreadTimes', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.gettickcount':( 'int', None, 'cdecl', 'kernel32.GetTickCount', () ), 'kernel32.gettimeformata':( 'int', None, 'stdcall', 'kernel32.GetTimeFormatA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.gettimeformatw':( 'int', None, 'stdcall', 'kernel32.GetTimeFormatW', (('int', None), ('int', None), ('int', None), ('void *', 'obj'), ('void *', 'ptr'), ('int', None)) ), 'kernel32.gettimezoneinformation':( 'int', None, 'stdcall', 'kernel32.GetTimeZoneInformation', (('void *', 'ptr'),) ), 'kernel32.getuserdefaultlcid':( 'int', None, 'cdecl', 'kernel32.GetUserDefaultLCID', () ), 'kernel32.getuserdefaultlangid':( 'int', None, 'cdecl', 'kernel32.GetUserDefaultLangID', () ), 'kernel32.getuserdefaultuilanguage':( 'int', None, 'cdecl', 'kernel32.GetUserDefaultUILanguage', () ), 'kernel32.getusergeoid':( 'int', None, 'stdcall', 'kernel32.GetUserGeoID', (('int', None),) ), 'kernel32.getvdmcurrentdirectories':( 'int', None, 'stdcall', 'kernel32.GetVDMCurrentDirectories', (('int', None), ('int', None)) ), 'kernel32.getversion':( 'int', None, 'cdecl', 'kernel32.GetVersion', () ), 'kernel32.getversionexa':( 'int', None, 'stdcall', 'kernel32.GetVersionExA', (('int', None),) ), 'kernel32.getversionexw':( 'int', None, 'stdcall', 'kernel32.GetVersionExW', (('void *', 'ptr'),) ), 'kernel32.getvolumeinformationa':( 'int', None, 'stdcall', 'kernel32.GetVolumeInformationA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getvolumeinformationw':( 'int', None, 'stdcall', 'kernel32.GetVolumeInformationW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getvolumenameforvolumemountpointa':( 'int', None, 'stdcall', 'kernel32.GetVolumeNameForVolumeMountPointA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getvolumenameforvolumemountpointw':( 'int', None, 'stdcall', 'kernel32.GetVolumeNameForVolumeMountPointW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getvolumepathnamea':( 'int', None, 'stdcall', 'kernel32.GetVolumePathNameA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getvolumepathnamew':( 'int', None, 'stdcall', 'kernel32.GetVolumePathNameW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.getvolumepathnamesforvolumenamea':( 'int', None, 'stdcall', 'kernel32.GetVolumePathNamesForVolumeNameA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.getvolumepathnamesforvolumenamew':( 'int', None, 'stdcall', 'kernel32.GetVolumePathNamesForVolumeNameW', (('int', None), ('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.getwindowsdirectorya':( 'int', None, 'stdcall', 'kernel32.GetWindowsDirectoryA', (('int', None), ('int', None)) ), 'kernel32.getwindowsdirectoryw':( 'int', None, 'stdcall', 'kernel32.GetWindowsDirectoryW', (('void *', 'ptr'), ('int', None)) ), 'kernel32.getwritewatch':( 'int', None, 'stdcall', 'kernel32.GetWriteWatch', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.globaladdatoma':( 'int', None, 'stdcall', 'kernel32.GlobalAddAtomA', (('int', None),) ), 'kernel32.globaladdatomw':( 'int', None, 'stdcall', 'kernel32.GlobalAddAtomW', (('int', None),) ), 'kernel32.globalalloc':( 'int', None, 'stdcall', 'kernel32.GlobalAlloc', (('int', None), ('DWORD', None)) ), 'kernel32.globalcompact':( 'int', None, 'stdcall', 'kernel32.GlobalCompact', (('int', None),) ), 'kernel32.globaldeleteatom':( 'int', None, 'stdcall', 'kernel32.GlobalDeleteAtom', (('int', None),) ), 'kernel32.globalfindatoma':( 'int', None, 'stdcall', 'kernel32.GlobalFindAtomA', (('int', None),) ), 'kernel32.globalfindatomw':( 'int', None, 'stdcall', 'kernel32.GlobalFindAtomW', (('int', None),) ), 'kernel32.globalfix':( 'int', None, 'stdcall', 'kernel32.GlobalFix', (('int', None),) ), 'kernel32.globalflags':( 'int', None, 'stdcall', 'kernel32.GlobalFlags', (('int', None),) ), 'kernel32.globalfree':( 'int', None, 'stdcall', 'kernel32.GlobalFree', (('void *', 'ptr'),) ), 'kernel32.globalgetatomnamea':( 'int', None, 'stdcall', 'kernel32.GlobalGetAtomNameA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.globalgetatomnamew':( 'int', None, 'stdcall', 'kernel32.GlobalGetAtomNameW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.globalhandle':( 'int', None, 'stdcall', 'kernel32.GlobalHandle', (('int', None),) ), 'kernel32.globallock':( 'int', None, 'stdcall', 'kernel32.GlobalLock', (('int', None),) ), 'kernel32.globalmemorystatus':( 'int', None, 'stdcall', 'kernel32.GlobalMemoryStatus', (('int', None),) ), 'kernel32.globalmemorystatusex':( 'int', None, 'stdcall', 'kernel32.GlobalMemoryStatusEx', (('int', None),) ), 'kernel32.globalrealloc':( 'int', None, 'stdcall', 'kernel32.GlobalReAlloc', (('void *', 'ptr'), ('DWORD', None), ('int', None)) ), 'kernel32.globalsize':( 'int', None, 'stdcall', 'kernel32.GlobalSize', (('int', None),) ), 'kernel32.globalunwire':( 'int', None, 'stdcall', 'kernel32.GlobalUnWire', (('int', None),) ), 'kernel32.globalunfix':( 'int', None, 'stdcall', 'kernel32.GlobalUnfix', (('int', None),) ), 'kernel32.globalunlock':( 'int', None, 'stdcall', 'kernel32.GlobalUnlock', (('int', None),) ), 'kernel32.globalwire':( 'int', None, 'stdcall', 'kernel32.GlobalWire', (('int', None),) ), 'kernel32.heap32first':( 'int', None, 'stdcall', 'kernel32.Heap32First', (('int', None), ('int', None), ('int', None)) ), 'kernel32.heap32listfirst':( 'int', None, 'stdcall', 'kernel32.Heap32ListFirst', (('int', None), ('int', None)) ), 'kernel32.heap32listnext':( 'int', None, 'stdcall', 'kernel32.Heap32ListNext', (('int', None), ('int', None)) ), 'kernel32.heap32next':( 'int', None, 'stdcall', 'kernel32.Heap32Next', (('int', None),) ), 'kernel32.heapcompact':( 'int', None, 'cdecl', 'kernel32.HeapCompact', () ), 'kernel32.heapcreate':( 'int', None, 'stdcall', 'kernel32.HeapCreate', (('int', None), ('int', None), ('int', None)) ), 'kernel32.heapcreatetagsw':( 'int', None, 'cdecl', 'kernel32.HeapCreateTagsW', () ), 'kernel32.heapdestroy':( 'int', None, 'stdcall', 'kernel32.HeapDestroy', (('int', None),) ), 'kernel32.heapextend':( 'int', None, 'stdcall', 'kernel32.HeapExtend', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.heaplock':( 'int', None, 'stdcall', 'kernel32.HeapLock', (('int', None),) ), 'kernel32.heapqueryinformation':( 'int', None, 'stdcall', 'kernel32.HeapQueryInformation', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.heapquerytagw':( 'int', None, 'cdecl', 'kernel32.HeapQueryTagW', () ), 'kernel32.heapsetinformation':( 'int', None, 'stdcall', 'kernel32.HeapSetInformation', (('HEAP', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.heapsummary':( 'int', None, 'stdcall', 'kernel32.HeapSummary', (('int', None), ('int', None), ('int', None)) ), 'kernel32.heapunlock':( 'int', None, 'stdcall', 'kernel32.HeapUnlock', (('int', None),) ), 'kernel32.heapusage':( 'int', None, 'stdcall', 'kernel32.HeapUsage', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.heapvalidate':( 'int', None, 'stdcall', 'kernel32.HeapValidate', (('HEAP', None), ('int', None), ('int', None)) ), 'kernel32.heapwalk':( 'int', None, 'stdcall', 'kernel32.HeapWalk', (('HEAP', None), ('int', None)) ), 'kernel32.initatomtable':( 'int', None, 'stdcall', 'kernel32.InitAtomTable', (('int', None),) ), 'kernel32.initializecriticalsection':( 'int', None, 'stdcall', 'kernel32.InitializeCriticalSection', (('int', None),) ), 'kernel32.initializecriticalsectionandspincount':( 'int', None, 'stdcall', 'kernel32.InitializeCriticalSectionAndSpinCount', (('int', None), ('int', None)) ), 'kernel32.interlockedcompareexchange':( 'int', None, 'stdcall', 'kernel32.InterlockedCompareExchange', (('int', None), ('int', None), ('int', None)) ), 'kernel32.interlockeddecrement':( 'int', None, 'stdcall', 'kernel32.InterlockedDecrement', (('int', None),) ), 'kernel32.interlockedexchange':( 'int', None, 'stdcall', 'kernel32.InterlockedExchange', (('int', None), ('int', None)) ), 'kernel32.interlockedexchangeadd':( 'int', None, 'stdcall', 'kernel32.InterlockedExchangeAdd', (('int', None), ('int', None)) ), 'kernel32.interlockedincrement':( 'int', None, 'stdcall', 'kernel32.InterlockedIncrement', (('int', None),) ), 'kernel32.invalidateconsoledibits':( 'int', None, 'stdcall', 'kernel32.InvalidateConsoleDIBits', (('int', None), ('int', None)) ), 'kernel32.isbadcodeptr':( 'int', None, 'stdcall', 'kernel32.IsBadCodePtr', (('int', None),) ), 'kernel32.isbadhugereadptr':( 'int', None, 'stdcall', 'kernel32.IsBadHugeReadPtr', (('int', None), ('int', None)) ), 'kernel32.isbadhugewriteptr':( 'int', None, 'stdcall', 'kernel32.IsBadHugeWritePtr', (('int', None), ('int', None)) ), 'kernel32.isbadreadptr':( 'int', None, 'stdcall', 'kernel32.IsBadReadPtr', (('int', None), ('int', None)) ), 'kernel32.isbadstringptra':( 'int', None, 'stdcall', 'kernel32.IsBadStringPtrA', (('int', None), ('int', None)) ), 'kernel32.isbadstringptrw':( 'int', None, 'stdcall', 'kernel32.IsBadStringPtrW', (('int', None), ('int', None)) ), 'kernel32.isbadwriteptr':( 'int', None, 'stdcall', 'kernel32.IsBadWritePtr', (('int', None), ('int', None)) ), 'kernel32.isdbcsleadbyte':( 'int', None, 'stdcall', 'kernel32.IsDBCSLeadByte', (('int', None),) ), 'kernel32.isdbcsleadbyteex':( 'int', None, 'stdcall', 'kernel32.IsDBCSLeadByteEx', ( ('int', None),) ), 'kernel32.isdebuggerpresent':( 'int', None, 'cdecl', 'kernel32.IsDebuggerPresent', () ), 'kernel32.isprocessinjob':( 'int', None, 'stdcall', 'kernel32.IsProcessInJob', (('int', None), ('int', None), ('int', None)) ), 'kernel32.isprocessorfeaturepresent':( 'int', None, 'stdcall', 'kernel32.IsProcessorFeaturePresent', (('int', None),) ), 'kernel32.issystemresumeautomatic':( 'int', None, 'stdcall', 'kernel32.IsSystemResumeAutomatic', () ), 'kernel32.isvalidcodepage':( 'int', None, 'stdcall', 'kernel32.IsValidCodePage', (('int', None),) ), 'kernel32.isvalidlanguagegroup':( 'int', None, 'stdcall', 'kernel32.IsValidLanguageGroup', (('int', None), ('int', None)) ), 'kernel32.isvalidlocale':( 'int', None, 'stdcall', 'kernel32.IsValidLocale', ( ('int', None),) ), 'kernel32.isvaliduilanguage':( 'int', None, 'stdcall', 'kernel32.IsValidUILanguage', (('int', None),) ), 'kernel32.iswow64process':( 'int', None, 'stdcall', 'kernel32.IsWow64Process', (('int', None), ('int', None)) ), 'kernel32.lcmapstringa':( 'int', None, 'stdcall', 'kernel32.LCMapStringA', (('int', None), ('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.lcmapstringw':( 'int', None, 'stdcall', 'kernel32.LCMapStringW', (('int', None), ('int', None), ('void *', 'obj'), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.lzclose':( 'int', None, 'stdcall', 'kernel32.LZClose', (('int', None),) ), 'kernel32.lzclosefile':( 'int', None, 'stdcall', 'kernel32.LZCloseFile', (('int', None),) ), 'kernel32.lzcopy':( 'int', None, 'stdcall', 'kernel32.LZCopy', (('int', None), ('int', None)) ), 'kernel32.lzcreatefilew':( 'int', None, 'stdcall', 'kernel32.LZCreateFileW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.lzdone':( 'int', None, 'cdecl', 'kernel32.LZDone', () ), 'kernel32.lzinit':( 'int', None, 'stdcall', 'kernel32.LZInit', (('int', None),) ), 'kernel32.lzopenfilea':( 'int', None, 'stdcall', 'kernel32.LZOpenFileA', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.lzopenfilew':( 'int', None, 'stdcall', 'kernel32.LZOpenFileW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.lzread':( 'int', None, 'stdcall', 'kernel32.LZRead', (('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.lzseek':( 'int', None, 'stdcall', 'kernel32.LZSeek', (('int', None), ('int', None), ('int', None)) ), 'kernel32.lzstart':( 'int', None, 'cdecl', 'kernel32.LZStart', () ), 'kernel32.loadlibrarya':( 'int', None, 'stdcall', 'kernel32.LoadLibraryA', (('int', None),) ), 'kernel32.loadlibraryexa':( 'int', None, 'stdcall', 'kernel32.LoadLibraryExA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.loadlibraryexw':( 'int', None, 'stdcall', 'kernel32.LoadLibraryExW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.loadlibraryw':( 'int', None, 'stdcall', 'kernel32.LoadLibraryW', (('void *', 'ptr'),) ), 'kernel32.loadmodule':( 'int', None, 'stdcall', 'kernel32.LoadModule', (('int', None), ('int', None)) ), 'kernel32.loadresource':( 'int', None, 'stdcall', 'kernel32.LoadResource', (('int', None), ('int', None)) ), 'kernel32.localalloc':( 'int', None, 'stdcall', 'kernel32.LocalAlloc', (('int', None), ('DWORD', None)) ), 'kernel32.localcompact':( 'int', None, 'stdcall', 'kernel32.LocalCompact', (('int', None),) ), 'kernel32.localfiletimetofiletime':( 'int', None, 'stdcall', 'kernel32.LocalFileTimeToFileTime', (('int', None), ('int', None)) ), 'kernel32.localflags':( 'int', None, 'stdcall', 'kernel32.LocalFlags', (('int', None),) ), 'kernel32.localfree':( 'int', None, 'stdcall', 'kernel32.LocalFree', (('void *', 'ptr'),) ), 'kernel32.localhandle':( 'int', None, 'stdcall', 'kernel32.LocalHandle', (('int', None),) ), 'kernel32.locallock':( 'int', None, 'stdcall', 'kernel32.LocalLock', (('int', None),) ), 'kernel32.localrealloc':( 'int', None, 'stdcall', 'kernel32.LocalReAlloc', (('int', None), ('DWORD', None), ('int', None)) ), 'kernel32.localshrink':( 'int', None, 'stdcall', 'kernel32.LocalShrink', (('int', None), ('int', None)) ), 'kernel32.localsize':( 'int', None, 'stdcall', 'kernel32.LocalSize', (('int', None),) ), 'kernel32.localunlock':( 'int', None, 'stdcall', 'kernel32.LocalUnlock', (('int', None),) ), 'kernel32.lockfile':( 'int', None, 'stdcall', 'kernel32.LockFile', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.lockfileex':( 'int', None, 'stdcall', 'kernel32.LockFileEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.lockresource':( 'int', None, 'stdcall', 'kernel32.LockResource', (('int', None),) ), 'kernel32.mapuserphysicalpages':( 'int', None, 'stdcall', 'kernel32.MapUserPhysicalPages', (('int', None), ('int', None), ('int', None)) ), 'kernel32.mapuserphysicalpagesscatter':( 'int', None, 'stdcall', 'kernel32.MapUserPhysicalPagesScatter', (('int', None), ('int', None), ('int', None)) ), 'kernel32.mapviewoffile':( 'int', None, 'stdcall', 'kernel32.MapViewOfFile', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.mapviewoffileex':( 'int', None, 'stdcall', 'kernel32.MapViewOfFileEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.module32first':( 'int', None, 'stdcall', 'kernel32.Module32First', (('int', None), ('int', None)) ), 'kernel32.module32firstw':( 'int', None, 'stdcall', 'kernel32.Module32FirstW', (('int', None), ('void *', 'ptr')) ), 'kernel32.module32next':( 'int', None, 'stdcall', 'kernel32.Module32Next', (('int', None), ('int', None)) ), 'kernel32.module32nextw':( 'int', None, 'stdcall', 'kernel32.Module32NextW', (('int', None), ('void *', 'ptr')) ), 'kernel32.movefilea':( 'int', None, 'stdcall', 'kernel32.MoveFileA', (('int', None), ('int', None)) ), 'kernel32.movefileexa':( 'int', None, 'stdcall', 'kernel32.MoveFileExA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.movefileexw':( 'int', None, 'stdcall', 'kernel32.MoveFileExW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.movefilew':( 'int', None, 'stdcall', 'kernel32.MoveFileW', (('void *', 'ptr'), ('int', None)) ), 'kernel32.movefilewithprogressa':( 'int', None, 'stdcall', 'kernel32.MoveFileWithProgressA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.movefilewithprogressw':( 'int', None, 'stdcall', 'kernel32.MoveFileWithProgressW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.muldiv':( 'int', None, 'stdcall', 'kernel32.MulDiv', (('int', None), ('int', None), ('int', None)) ), 'kernel32.multibytetowidechar':( 'int', None, 'stdcall', 'kernel32.MultiByteToWideChar', ( ('int', None), ('int', None), ('int', None), ('void *', 'obj'), ('int', None)) ), 'kernel32.nlsconvertintegertostring':( 'int', None, 'stdcall', 'kernel32.NlsConvertIntegerToString', (('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.nlsgetcacheupdatecount':( 'int', None, 'cdecl', 'kernel32.NlsGetCacheUpdateCount', () ), 'kernel32.nlsresetprocesslocale':( 'int', None, 'cdecl', 'kernel32.NlsResetProcessLocale', () ), 'kernel32.numavirtualquerynode':( 'int', None, 'stdcall', 'kernel32.NumaVirtualQueryNode', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.openconsolew':( 'int', None, 'stdcall', 'kernel32.OpenConsoleW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.opendatafile':( 'int', None, 'stdcall', 'kernel32.OpenDataFile', (('void *', 'ptr'), ('int', None)) ), 'kernel32.openeventa':( 'int', None, 'stdcall', 'kernel32.OpenEventA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openeventw':( 'int', None, 'stdcall', 'kernel32.OpenEventW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openfile':( 'int', None, 'stdcall', 'kernel32.OpenFile', (('void *', 'ptr'), ('void *', 'ptr'), ('int', None)) ), 'kernel32.openfilemappinga':( 'int', None, 'stdcall', 'kernel32.OpenFileMappingA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openfilemappingw':( 'int', None, 'stdcall', 'kernel32.OpenFileMappingW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openjobobjecta':( 'int', None, 'stdcall', 'kernel32.OpenJobObjectA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openjobobjectw':( 'int', None, 'stdcall', 'kernel32.OpenJobObjectW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openmutexa':( 'int', None, 'stdcall', 'kernel32.OpenMutexA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openmutexw':( 'int', None, 'stdcall', 'kernel32.OpenMutexW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openprocess':( 'int', None, 'stdcall', 'kernel32.OpenProcess', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openprofileusermapping':( 'int', None, 'cdecl', 'kernel32.OpenProfileUserMapping', () ), 'kernel32.opensemaphorea':( 'int', None, 'stdcall', 'kernel32.OpenSemaphoreA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.opensemaphorew':( 'int', None, 'stdcall', 'kernel32.OpenSemaphoreW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openthread':( 'int', None, 'stdcall', 'kernel32.OpenThread', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openwaitabletimera':( 'int', None, 'stdcall', 'kernel32.OpenWaitableTimerA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.openwaitabletimerw':( 'int', None, 'stdcall', 'kernel32.OpenWaitableTimerW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.outputdebugstringa':( 'int', None, 'stdcall', 'kernel32.OutputDebugStringA', (('int', None),) ), 'kernel32.outputdebugstringw':( 'int', None, 'stdcall', 'kernel32.OutputDebugStringW', (('int', None),) ), 'kernel32.peekconsoleinputa':( 'int', None, 'stdcall', 'kernel32.PeekConsoleInputA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.peekconsoleinputw':( 'int', None, 'stdcall', 'kernel32.PeekConsoleInputW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.peeknamedpipe':( 'int', None, 'stdcall', 'kernel32.PeekNamedPipe', (('int', None), ('int', None), ('DWORD', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.postqueuedcompletionstatus':( 'int', None, 'stdcall', 'kernel32.PostQueuedCompletionStatus', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.preparetape':( 'int', None, 'stdcall', 'kernel32.PrepareTape', (('int', None), ('int', None), ('int', None)) ), 'kernel32.privcopyfileexw':( 'int', None, 'stdcall', 'kernel32.PrivCopyFileExW', (('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.privmovefileidentityw':( 'int', None, 'stdcall', 'kernel32.PrivMoveFileIdentityW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.process32first':( 'int', None, 'stdcall', 'kernel32.Process32First', (('int', None), ('int', None)) ), 'kernel32.process32firstw':( 'int', None, 'stdcall', 'kernel32.Process32FirstW', (('int', None), ('void *', 'ptr')) ), 'kernel32.process32next':( 'int', None, 'stdcall', 'kernel32.Process32Next', (('int', None), ('int', None)) ), 'kernel32.process32nextw':( 'int', None, 'stdcall', 'kernel32.Process32NextW', (('int', None), ('void *', 'ptr')) ), 'kernel32.processidtosessionid':( 'int', None, 'stdcall', 'kernel32.ProcessIdToSessionId', (('int', None), ('int', None)) ), 'kernel32.pulseevent':( 'int', None, 'stdcall', 'kernel32.PulseEvent', (('int', None),) ), 'kernel32.purgecomm':( 'int', None, 'stdcall', 'kernel32.PurgeComm', (('int', None), ('int', None)) ), 'kernel32.queryactctxw':( 'int', None, 'stdcall', 'kernel32.QueryActCtxW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.querydosdevicea':( 'int', None, 'stdcall', 'kernel32.QueryDosDeviceA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.querydosdevicew':( 'int', None, 'stdcall', 'kernel32.QueryDosDeviceW', (('void *', 'ptr'), ('void *', 'ptr'), ('int', None)) ), 'kernel32.queryinformationjobobject':( 'int', None, 'stdcall', 'kernel32.QueryInformationJobObject', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.querymemoryresourcenotification':( 'int', None, 'stdcall', 'kernel32.QueryMemoryResourceNotification', (('int', None), ('int', None)) ), 'kernel32.queryperformancecounter':( 'int', None, 'stdcall', 'kernel32.QueryPerformanceCounter', (('int', None),) ), 'kernel32.queryperformancefrequency':( 'int', None, 'stdcall', 'kernel32.QueryPerformanceFrequency', (('int', None),) ), 'kernel32.querywin31inifilesmappedtoregistry':( 'int', None, 'stdcall', 'kernel32.QueryWin31IniFilesMappedToRegistry', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.queueuserapc':( 'int', None, 'stdcall', 'kernel32.QueueUserAPC', (('int', None), ('int', None), ('int', None)) ), 'kernel32.queueuserworkitem':( 'int', None, 'stdcall', 'kernel32.QueueUserWorkItem', (('int', None), ('int', None), ('int', None)) ), 'kernel32.raiseexception':( 'int', None, 'stdcall', 'kernel32.RaiseException', (('int', None), ('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.readconsolea':( 'int', None, 'stdcall', 'kernel32.ReadConsoleA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsoleinputa':( 'int', None, 'stdcall', 'kernel32.ReadConsoleInputA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsoleinputexa':( 'int', None, 'stdcall', 'kernel32.ReadConsoleInputExA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsoleinputexw':( 'int', None, 'stdcall', 'kernel32.ReadConsoleInputExW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsoleinputw':( 'int', None, 'stdcall', 'kernel32.ReadConsoleInputW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsoleoutputa':( 'int', None, 'stdcall', 'kernel32.ReadConsoleOutputA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsoleoutputattribute':( 'int', None, 'stdcall', 'kernel32.ReadConsoleOutputAttribute', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsoleoutputcharactera':( 'int', None, 'stdcall', 'kernel32.ReadConsoleOutputCharacterA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsoleoutputcharacterw':( 'int', None, 'stdcall', 'kernel32.ReadConsoleOutputCharacterW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsoleoutputw':( 'int', None, 'stdcall', 'kernel32.ReadConsoleOutputW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readconsolew':( 'int', None, 'stdcall', 'kernel32.ReadConsoleW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readdirectorychangesw':( 'int', None, 'stdcall', 'kernel32.ReadDirectoryChangesW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readfile':( 'int', None, 'stdcall', 'kernel32.ReadFile', (('int', None), ('void *', 'ptr'), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.readfileex':( 'int', None, 'stdcall', 'kernel32.ReadFileEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readfilescatter':( 'int', None, 'stdcall', 'kernel32.ReadFileScatter', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.readprocessmemory':( 'int', None, 'stdcall', 'kernel32.ReadProcessMemory', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.registerconsoleime':( 'int', None, 'stdcall', 'kernel32.RegisterConsoleIME', (('int', None), ('int', None)) ), 'kernel32.registerconsoleos2':( 'int', None, 'stdcall', 'kernel32.RegisterConsoleOS2', (('int', None),) ), 'kernel32.registerconsolevdm':( 'int', None, 'stdcall', 'kernel32.RegisterConsoleVDM', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.registerwaitforinputidle':( 'int', None, 'stdcall', 'kernel32.RegisterWaitForInputIdle', (('int', None),) ), 'kernel32.registerwaitforsingleobject':( 'int', None, 'stdcall', 'kernel32.RegisterWaitForSingleObject', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.registerwaitforsingleobjectex':( 'int', None, 'stdcall', 'kernel32.RegisterWaitForSingleObjectEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.registerwowbasehandlers':( 'int', None, 'stdcall', 'kernel32.RegisterWowBaseHandlers', (('int', None),) ), 'kernel32.registerwowexec':( 'int', None, 'stdcall', 'kernel32.RegisterWowExec', (('int', None),) ), 'kernel32.releaseactctx':( 'int', None, 'cdecl', 'kernel32.ReleaseActCtx', () ), 'kernel32.releasemutex':( 'int', None, 'stdcall', 'kernel32.ReleaseMutex', (('int', None),) ), 'kernel32.releasesemaphore':( 'int', None, 'stdcall', 'kernel32.ReleaseSemaphore', (('int', None), ('int', None), ('int', None)) ), 'kernel32.removedirectorya':( 'int', None, 'stdcall', 'kernel32.RemoveDirectoryA', (('int', None),) ), 'kernel32.removedirectoryw':( 'int', None, 'stdcall', 'kernel32.RemoveDirectoryW', (('int', None),) ), 'kernel32.removelocalalternatecomputernamea':( 'int', None, 'stdcall', 'kernel32.RemoveLocalAlternateComputerNameA', (('int', None), ('int', None)) ), 'kernel32.removelocalalternatecomputernamew':( 'int', None, 'stdcall', 'kernel32.RemoveLocalAlternateComputerNameW', (('int', None), ('int', None)) ), 'kernel32.replacefile':( 'int', None, 'stdcall', 'kernel32.ReplaceFile', (('void *', 'ptr'), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.replacefilea':( 'int', None, 'stdcall', 'kernel32.ReplaceFileA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.replacefilew':( 'int', None, 'stdcall', 'kernel32.ReplaceFileW', (('void *', 'ptr'), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.requestdevicewakeup':( 'int', None, 'stdcall', 'kernel32.RequestDeviceWakeup', (('int', None),) ), 'kernel32.requestwakeuplatency':( 'int', None, 'stdcall', 'kernel32.RequestWakeupLatency', (('int', None),) ), 'kernel32.resetevent':( 'int', None, 'stdcall', 'kernel32.ResetEvent', (('int', None),) ), 'kernel32.resetwritewatch':( 'int', None, 'stdcall', 'kernel32.ResetWriteWatch', (('int', None), ('int', None)) ), 'kernel32.resumethread':( 'int', None, 'stdcall', 'kernel32.ResumeThread', (('int', None),) ), 'kernel32.scrollconsolescreenbuffera':( 'int', None, 'stdcall', 'kernel32.ScrollConsoleScreenBufferA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.scrollconsolescreenbufferw':( 'int', None, 'stdcall', 'kernel32.ScrollConsoleScreenBufferW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.searchpatha':( 'int', None, 'stdcall', 'kernel32.SearchPathA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.searchpathw':( 'int', None, 'stdcall', 'kernel32.SearchPathW', (('int', None), ('int', None), ('int', None), ('int', None), ('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.setcpglobal':( 'int', None, 'stdcall', 'kernel32.SetCPGlobal', (('int', None),) ), 'kernel32.setcalendarinfoa':( 'int', None, 'stdcall', 'kernel32.SetCalendarInfoA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.setcalendarinfow':( 'int', None, 'stdcall', 'kernel32.SetCalendarInfoW', (('int', None), ('int', None), ('int', None), ('void *', 'obj')) ), 'kernel32.setclienttimezoneinformation':( 'int', None, 'stdcall', 'kernel32.SetClientTimeZoneInformation', (('int', None),) ), 'kernel32.setcompluspackageinstallstatus':( 'int', None, 'stdcall', 'kernel32.SetComPlusPackageInstallStatus', (('int', None),) ), 'kernel32.setcommbreak':( 'int', None, 'stdcall', 'kernel32.SetCommBreak', (('int', None),) ), 'kernel32.setcommconfig':( 'int', None, 'stdcall', 'kernel32.SetCommConfig', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setcommmask':( 'int', None, 'stdcall', 'kernel32.SetCommMask', (('int', None), ('int', None)) ), 'kernel32.setcommstate':( 'int', None, 'stdcall', 'kernel32.SetCommState', (('int', None), ('int', None)) ), 'kernel32.setcommtimeouts':( 'int', None, 'stdcall', 'kernel32.SetCommTimeouts', (('int', None), ('int', None)) ), 'kernel32.setcomputernamea':( 'int', None, 'stdcall', 'kernel32.SetComputerNameA', (('int', None),) ), 'kernel32.setcomputernameexa':( 'int', None, 'stdcall', 'kernel32.SetComputerNameExA', (('int', None), ('int', None)) ), 'kernel32.setcomputernameexw':( 'int', None, 'stdcall', 'kernel32.SetComputerNameExW', (('int', None), ('int', None)) ), 'kernel32.setcomputernamew':( 'int', None, 'stdcall', 'kernel32.SetComputerNameW', (('int', None),) ), 'kernel32.setconsoleactivescreenbuffer':( 'int', None, 'stdcall', 'kernel32.SetConsoleActiveScreenBuffer', (('int', None),) ), 'kernel32.setconsolecp':( 'int', None, 'stdcall', 'kernel32.SetConsoleCP', (('int', None),) ), 'kernel32.setconsolecommandhistorymode':( 'int', None, 'stdcall', 'kernel32.SetConsoleCommandHistoryMode', (('int', None),) ), 'kernel32.setconsolectrlhandler':( 'int', None, 'stdcall', 'kernel32.SetConsoleCtrlHandler', (('int', None), ('int', None)) ), 'kernel32.setconsolecursor':( 'int', None, 'stdcall', 'kernel32.SetConsoleCursor', (('int', None), ('int', None)) ), 'kernel32.setconsolecursorinfo':( 'int', None, 'stdcall', 'kernel32.SetConsoleCursorInfo', (('int', None), ('int', None)) ), 'kernel32.setconsolecursormode':( 'int', None, 'stdcall', 'kernel32.SetConsoleCursorMode', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setconsolecursorposition':( 'int', None, 'stdcall', 'kernel32.SetConsoleCursorPosition', (('int', None), ('int', None)) ), 'kernel32.setconsoledisplaymode':( 'int', None, 'stdcall', 'kernel32.SetConsoleDisplayMode', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setconsolefont':( 'int', None, 'stdcall', 'kernel32.SetConsoleFont', (('int', None), ('int', None)) ), 'kernel32.setconsolehardwarestate':( 'int', None, 'stdcall', 'kernel32.SetConsoleHardwareState', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setconsoleicon':( 'int', None, 'stdcall', 'kernel32.SetConsoleIcon', (('int', None),) ), 'kernel32.setconsoleinputexenamea':( 'int', None, 'stdcall', 'kernel32.SetConsoleInputExeNameA', (('int', None),) ), 'kernel32.setconsoleinputexenamew':( 'int', None, 'stdcall', 'kernel32.SetConsoleInputExeNameW', (('int', None),) ), 'kernel32.setconsolekeyshortcuts':( 'int', None, 'stdcall', 'kernel32.SetConsoleKeyShortcuts', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.setconsolelocaleudc':( 'int', None, 'stdcall', 'kernel32.SetConsoleLocalEUDC', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.setconsolemaximumwindowsize':( 'int', None, 'stdcall', 'kernel32.SetConsoleMaximumWindowSize', (('int', None), ('int', None)) ), 'kernel32.setconsolemenuclose':( 'int', None, 'stdcall', 'kernel32.SetConsoleMenuClose', (('int', None),) ), 'kernel32.setconsolemode':( 'int', None, 'stdcall', 'kernel32.SetConsoleMode', (('int', None), ('int', None)) ), 'kernel32.setconsolenlsmode':( 'int', None, 'stdcall', 'kernel32.SetConsoleNlsMode', (('int', None), ('int', None)) ), 'kernel32.setconsolenumberofcommandsa':( 'int', None, 'stdcall', 'kernel32.SetConsoleNumberOfCommandsA', (('int', None), ('int', None)) ), 'kernel32.setconsolenumberofcommandsw':( 'int', None, 'stdcall', 'kernel32.SetConsoleNumberOfCommandsW', (('int', None), ('int', None)) ), 'kernel32.setconsoleos2oemformat':( 'int', None, 'stdcall', 'kernel32.SetConsoleOS2OemFormat', (('int', None),) ), 'kernel32.setconsoleoutputcp':( 'int', None, 'stdcall', 'kernel32.SetConsoleOutputCP', (('int', None),) ), 'kernel32.setconsolepalette':( 'int', None, 'stdcall', 'kernel32.SetConsolePalette', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setconsolescreenbuffersize':( 'int', None, 'stdcall', 'kernel32.SetConsoleScreenBufferSize', (('int', None), ('int', None)) ), 'kernel32.setconsoletextattribute':( 'int', None, 'stdcall', 'kernel32.SetConsoleTextAttribute', (('int', None), ('int', None)) ), 'kernel32.setconsoletitlea':( 'int', None, 'stdcall', 'kernel32.SetConsoleTitleA', (('int', None),) ), 'kernel32.setconsoletitlew':( 'int', None, 'stdcall', 'kernel32.SetConsoleTitleW', (('int', None),) ), 'kernel32.setconsolewindowinfo':( 'int', None, 'stdcall', 'kernel32.SetConsoleWindowInfo', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setcurrentdirectorya':( 'int', None, 'stdcall', 'kernel32.SetCurrentDirectoryA', (('int', None),) ), 'kernel32.setcurrentdirectoryw':( 'int', None, 'stdcall', 'kernel32.SetCurrentDirectoryW', (('int', None),) ), 'kernel32.setdefaultcommconfiga':( 'int', None, 'stdcall', 'kernel32.SetDefaultCommConfigA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setdefaultcommconfigw':( 'int', None, 'stdcall', 'kernel32.SetDefaultCommConfigW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setdlldirectorya':( 'int', None, 'stdcall', 'kernel32.SetDllDirectoryA', (('int', None),) ), 'kernel32.setdlldirectoryw':( 'int', None, 'stdcall', 'kernel32.SetDllDirectoryW', (('int', None),) ), 'kernel32.setendoffile':( 'int', None, 'stdcall', 'kernel32.SetEndOfFile', (('int', None),) ), 'kernel32.setenvironmentvariablea':( 'int', None, 'stdcall', 'kernel32.SetEnvironmentVariableA', (('int', None), ('int', None)) ), 'kernel32.setenvironmentvariablew':( 'int', None, 'stdcall', 'kernel32.SetEnvironmentVariableW', (('int', None), ('int', None)) ), 'kernel32.seterrormode':( 'int', None, 'stdcall', 'kernel32.SetErrorMode', (('int', None),) ), 'kernel32.setevent':( 'int', None, 'stdcall', 'kernel32.SetEvent', (('int', None),) ), 'kernel32.setfileapistoansi':( 'int', None, 'cdecl', 'kernel32.SetFileApisToANSI', () ), 'kernel32.setfileapistooem':( 'int', None, 'cdecl', 'kernel32.SetFileApisToOEM', () ), 'kernel32.setfileattributesa':( 'int', None, 'stdcall', 'kernel32.SetFileAttributesA', (('int', None), ('int', None)) ), 'kernel32.setfileattributesw':( 'int', None, 'stdcall', 'kernel32.SetFileAttributesW', (('int', None), ('int', None)) ), 'kernel32.setfilepointer':( 'int', None, 'stdcall', 'kernel32.SetFilePointer', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.setfilepointerex':( 'int', None, 'stdcall', 'kernel32.SetFilePointerEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.setfileshortnamea':( 'int', None, 'stdcall', 'kernel32.SetFileShortNameA', (('int', None), ('int', None)) ), 'kernel32.setfileshortnamew':( 'int', None, 'stdcall', 'kernel32.SetFileShortNameW', (('int', None), ('int', None)) ), 'kernel32.setfiletime':( 'int', None, 'stdcall', 'kernel32.SetFileTime', (('int', None), ('void *', 'ptr'), ('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.setfilevaliddata':( 'int', None, 'stdcall', 'kernel32.SetFileValidData', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setfirmwareenvironmentvariablea':( 'int', None, 'stdcall', 'kernel32.SetFirmwareEnvironmentVariableA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.setfirmwareenvironmentvariablew':( 'int', None, 'stdcall', 'kernel32.SetFirmwareEnvironmentVariableW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.sethandlecontext':( 'int', None, 'stdcall', 'kernel32.SetHandleContext', (('int', None), ('int', None)) ), 'kernel32.sethandlecount':( 'int', None, 'stdcall', 'kernel32.SetHandleCount', (('int', None),) ), 'kernel32.sethandleinformation':( 'int', None, 'stdcall', 'kernel32.SetHandleInformation', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setinformationjobobject':( 'int', None, 'stdcall', 'kernel32.SetInformationJobObject', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.setlastconsoleeventactive':( 'int', None, 'cdecl', 'kernel32.SetLastConsoleEventActive', () ), 'kernel32.setlocalprimarycomputernamea':( 'int', None, 'stdcall', 'kernel32.SetLocalPrimaryComputerNameA', (('int', None), ('int', None)) ), 'kernel32.setlocalprimarycomputernamew':( 'int', None, 'stdcall', 'kernel32.SetLocalPrimaryComputerNameW', (('int', None), ('int', None)) ), 'kernel32.setlocaltime':( 'int', None, 'stdcall', 'kernel32.SetLocalTime', (('int', None),) ), 'kernel32.setlocaleinfoa':( 'int', None, 'stdcall', 'kernel32.SetLocaleInfoA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.setlocaleinfow':( 'int', None, 'stdcall', 'kernel32.SetLocaleInfoW', (('int', None), ('int', None), ('void *', 'obj')) ), 'kernel32.setmailslotinfo':( 'int', None, 'stdcall', 'kernel32.SetMailslotInfo', (('int', None), ('int', None)) ), 'kernel32.setmessagewaitingindicator':( 'int', None, 'stdcall', 'kernel32.SetMessageWaitingIndicator', (('int', None), ('int', None)) ), 'kernel32.setnamedpipehandlestate':( 'int', None, 'stdcall', 'kernel32.SetNamedPipeHandleState', (('int', None), ('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.setpriorityclass':( 'int', None, 'stdcall', 'kernel32.SetPriorityClass', ( ('int', None), ('int', None)) ), 'kernel32.setprocessaffinitymask':( 'int', None, 'stdcall', 'kernel32.SetProcessAffinityMask', (('int', None), ('int', None)) ), 'kernel32.setprocessdeppolicy':( 'int', None, 'stdcall', 'kernel32.SetProcessDEPPolicy', (('int', None),) ), 'kernel32.setprocesspriorityboost':( 'int', None, 'stdcall', 'kernel32.SetProcessPriorityBoost', (('int', None), ('int', None)) ), 'kernel32.setprocessshutdownparameters':( 'int', None, 'stdcall', 'kernel32.SetProcessShutdownParameters', (('int', None), ('int', None)) ), 'kernel32.setprocessworkingsetsize':( 'int', None, 'stdcall', 'kernel32.SetProcessWorkingSetSize', (('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.setsearchpathmode':( 'int', None, 'stdcall', 'kernel32.SetSearchPathMode', (('int', None),) ), 'kernel32.setstdhandle':( 'int', None, 'stdcall', 'kernel32.SetStdHandle', (('int', None), ('int', None)) ), 'kernel32.setsystempowerstate':( 'int', None, 'stdcall', 'kernel32.SetSystemPowerState', (('int', None), ('int', None)) ), 'kernel32.setsystemtime':( 'int', None, 'stdcall', 'kernel32.SetSystemTime', (('void *', 'ptr'),) ), 'kernel32.setsystemtimeadjustment':( 'int', None, 'stdcall', 'kernel32.SetSystemTimeAdjustment', (('int', None), ('int', None)) ), 'kernel32.settapeparameters':( 'int', None, 'stdcall', 'kernel32.SetTapeParameters', (('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.settapeposition':( 'int', None, 'stdcall', 'kernel32.SetTapePosition', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.settermsrvappinstallmode':( 'int', None, 'stdcall', 'kernel32.SetTermsrvAppInstallMode', (('int', None),) ), 'kernel32.setthreadaffinitymask':( 'int', None, 'stdcall', 'kernel32.SetThreadAffinityMask', (('int', None), ('int', None)) ), 'kernel32.setthreadcontext':( 'int', None, 'stdcall', 'kernel32.SetThreadContext', (('int', None), ('int', None)) ), 'kernel32.setthreadexecutionstate':( 'int', None, 'stdcall', 'kernel32.SetThreadExecutionState', (('int', None),) ), 'kernel32.setthreadidealprocessor':( 'int', None, 'stdcall', 'kernel32.SetThreadIdealProcessor', (('int', None), ('int', None)) ), 'kernel32.setthreadlocale':( 'int', None, 'stdcall', 'kernel32.SetThreadLocale', (('int', None),) ), 'kernel32.setthreadpriority':( 'int', None, 'stdcall', 'kernel32.SetThreadPriority', (('int', None), ('int', None)) ), 'kernel32.setthreadpriorityboost':( 'int', None, 'stdcall', 'kernel32.SetThreadPriorityBoost', (('int', None), ('int', None)) ), 'kernel32.setthreaduilanguage':( 'int', None, 'stdcall', 'kernel32.SetThreadUILanguage', (('int', None),) ), 'kernel32.settimezoneinformation':( 'int', None, 'stdcall', 'kernel32.SetTimeZoneInformation', ( ('int', None),) ), 'kernel32.settimerqueuetimer':( 'int', None, 'stdcall', 'kernel32.SetTimerQueueTimer', ( ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.setunhandledexceptionfilter':( 'int', None, 'stdcall', 'kernel32.SetUnhandledExceptionFilter', (('int', None),) ), 'kernel32.setusergeoid':( 'int', None, 'stdcall', 'kernel32.SetUserGeoID', (('int', None),) ), 'kernel32.setvdmcurrentdirectories':( 'int', None, 'stdcall', 'kernel32.SetVDMCurrentDirectories', (('int', None), ('int', None)) ), 'kernel32.setvolumelabela':( 'int', None, 'stdcall', 'kernel32.SetVolumeLabelA', (('int', None), ('int', None)) ), 'kernel32.setvolumelabelw':( 'int', None, 'stdcall', 'kernel32.SetVolumeLabelW', (('int', None), ('int', None)) ), 'kernel32.setvolumemountpointa':( 'int', None, 'stdcall', 'kernel32.SetVolumeMountPointA', (('int', None), ('int', None)) ), 'kernel32.setvolumemountpointw':( 'int', None, 'stdcall', 'kernel32.SetVolumeMountPointW', (('int', None), ('int', None)) ), 'kernel32.setwaitabletimer':( 'int', None, 'stdcall', 'kernel32.SetWaitableTimer', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.setupcomm':( 'int', None, 'stdcall', 'kernel32.SetupComm', (('int', None), ('int', None), ('int', None)) ), 'kernel32.showconsolecursor':( 'int', None, 'stdcall', 'kernel32.ShowConsoleCursor', (('int', None), ('int', None)) ), 'kernel32.signalobjectandwait':( 'int', None, 'stdcall', 'kernel32.SignalObjectAndWait', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.sizeofresource':( 'int', None, 'stdcall', 'kernel32.SizeofResource', (('int', None), ('int', None)) ), 'kernel32.sleep':( 'int', None, 'stdcall', 'kernel32.Sleep', (('int', None),) ), 'kernel32.sleepex':( 'int', None, 'stdcall', 'kernel32.SleepEx', (('int', None), ('int', None)) ), 'kernel32.suspendthread':( 'int', None, 'stdcall', 'kernel32.SuspendThread', (('int', None),) ), 'kernel32.switchtofiber':( 'int', None, 'cdecl', 'kernel32.SwitchToFiber', (('int', None),) ), 'kernel32.switchtothread':( 'int', None, 'stdcall', 'kernel32.SwitchToThread', () ), 'kernel32.systemtimetofiletime':( 'int', None, 'stdcall', 'kernel32.SystemTimeToFileTime', (('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.systemtimetotzspecificlocaltime':( 'int', None, 'stdcall', 'kernel32.SystemTimeToTzSpecificLocalTime', (('void *', 'ptr'), ('void *', 'ptr'), ('int', None)) ), 'kernel32.terminatejobobject':( 'int', None, 'stdcall', 'kernel32.TerminateJobObject', (('int', None), ('int', None)) ), 'kernel32.terminateprocess':( 'int', None, 'stdcall', 'kernel32.TerminateProcess', (('int', None), ('int', None)) ), 'kernel32.terminatethread':( 'int', None, 'stdcall', 'kernel32.TerminateThread', (('int', None), ('int', None)) ), 'kernel32.termsrvappinstallmode':( 'int', None, 'cdecl', 'kernel32.TermsrvAppInstallMode', () ), 'kernel32.thread32first':( 'int', None, 'stdcall', 'kernel32.Thread32First', (('int', None), ('int', None)) ), 'kernel32.thread32next':( 'int', None, 'stdcall', 'kernel32.Thread32Next', (('int', None), ('int', None)) ), 'kernel32.tlsalloc':( 'int', None, 'cdecl', 'kernel32.TlsAlloc', () ), 'kernel32.tlsfree':( 'int', None, 'stdcall', 'kernel32.TlsFree', (('int', None),) ), 'kernel32.tlsgetvalue':( 'int', None, 'stdcall', 'kernel32.TlsGetValue', (('int', None),) ), 'kernel32.tlssetvalue':( 'int', None, 'stdcall', 'kernel32.TlsSetValue', (('int', None), ('int', None)) ), 'kernel32.toolhelp32readprocessmemory':( 'int', None, 'stdcall', 'kernel32.Toolhelp32ReadProcessMemory', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.transactnamedpipe':( 'int', None, 'stdcall', 'kernel32.TransactNamedPipe', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.transmitcommchar':( 'int', None, 'stdcall', 'kernel32.TransmitCommChar', (('int', None), ('int', None)) ), 'kernel32.trimvirtualbuffer':( 'int', None, 'stdcall', 'kernel32.TrimVirtualBuffer', (('int', None),) ), 'kernel32.tzspecificlocaltimetosystemtime':( 'int', None, 'stdcall', 'kernel32.TzSpecificLocalTimeToSystemTime', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.utregister':( 'int', None, 'stdcall', 'kernel32.UTRegister', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.utunregister':( 'int', None, 'stdcall', 'kernel32.UTUnRegister', (('int', None),) ), 'kernel32.unhandledexceptionfilter':( 'int', None, 'stdcall', 'kernel32.UnhandledExceptionFilter', (('int', None),) ), 'kernel32.unlockfile':( 'int', None, 'stdcall', 'kernel32.UnlockFile', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.unlockfileex':( 'int', None, 'stdcall', 'kernel32.UnlockFileEx', (('int', None), ('int', None), ('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.unmapviewoffile':( 'int', None, 'stdcall', 'kernel32.UnmapViewOfFile', (('int', None),) ), 'kernel32.unregisterconsoleime':( 'int', None, 'cdecl', 'kernel32.UnregisterConsoleIME', () ), 'kernel32.unregisterwait':( 'int', None, 'stdcall', 'kernel32.UnregisterWait', (('void *', 'ptr'),) ), 'kernel32.unregisterwaitex':( 'int', None, 'stdcall', 'kernel32.UnregisterWaitEx', (('void *', 'ptr'), ('int', None)) ), 'kernel32.updateresourcea':( 'int', None, 'stdcall', 'kernel32.UpdateResourceA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('DWORD', None)) ), 'kernel32.updateresourcew':( 'int', None, 'stdcall', 'kernel32.UpdateResourceW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None), ('DWORD', None)) ), 'kernel32.vdmconsoleoperation':( 'int', None, 'stdcall', 'kernel32.VDMConsoleOperation', (('int', None), ('int', None)) ), 'kernel32.vdmoperationstarted':( 'int', None, 'stdcall', 'kernel32.VDMOperationStarted', (('int', None),) ), 'kernel32.validatelctype':( 'int', None, 'stdcall', 'kernel32.ValidateLCType', (('int', None), ('int', None), ('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.validatelocale':( 'int', None, 'stdcall', 'kernel32.ValidateLocale', (('int', None),) ), 'kernel32.verlanguagenamea':( 'int', None, 'stdcall', 'kernel32.VerLanguageNameA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.verlanguagenamew':( 'int', None, 'stdcall', 'kernel32.VerLanguageNameW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.verifyconsoleiohandle':( 'int', None, 'stdcall', 'kernel32.VerifyConsoleIoHandle', (('int', None),) ), 'kernel32.verifyversioninfoa':( 'int', None, 'stdcall', 'kernel32.VerifyVersionInfoA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.verifyversioninfow':( 'int', None, 'stdcall', 'kernel32.VerifyVersionInfoW', (('void *', 'ptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.virtualalloc':( 'int', None, 'stdcall', 'kernel32.VirtualAlloc', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.virtualallocex':( 'int', None, 'stdcall', 'kernel32.VirtualAllocEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.virtualbufferexceptionhandler':( 'int', None, 'stdcall', 'kernel32.VirtualBufferExceptionHandler', (('int', None), ('int', None), ('int', None)) ), 'kernel32.virtualfree':( 'int', None, 'stdcall', 'kernel32.VirtualFree', (('int', None), ('int', None), ('int', None)) ), 'kernel32.virtualfreeex':( 'int', None, 'stdcall', 'kernel32.VirtualFreeEx', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.virtuallock':( 'int', None, 'stdcall', 'kernel32.VirtualLock', (('int', None), ('int', None)) ), 'kernel32.virtualprotect':( 'int', None, 'stdcall', 'kernel32.VirtualProtect', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.virtualprotectex':( 'int', None, 'stdcall', 'kernel32.VirtualProtectEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.virtualquery':( 'int', None, 'stdcall', 'kernel32.VirtualQuery', (('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.virtualqueryex':( 'int', None, 'stdcall', 'kernel32.VirtualQueryEx', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.virtualunlock':( 'int', None, 'stdcall', 'kernel32.VirtualUnlock', (('int', None), ('int', None)) ), 'kernel32.wtsgetactiveconsolesessionid':( 'int', None, 'cdecl', 'kernel32.WTSGetActiveConsoleSessionId', () ), 'kernel32.waitcommevent':( 'int', None, 'stdcall', 'kernel32.WaitCommEvent', (('int', None), ('int', None), ('int', None)) ), 'kernel32.waitfordebugevent':( 'int', None, 'stdcall', 'kernel32.WaitForDebugEvent', (('int', None), ('int', None)) ), 'kernel32.waitformultipleobjects':( 'int', None, 'stdcall', 'kernel32.WaitForMultipleObjects', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.waitformultipleobjectsex':( 'int', None, 'stdcall', 'kernel32.WaitForMultipleObjectsEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.waitforsingleobject':( 'int', None, 'stdcall', 'kernel32.WaitForSingleObject', (('int', None), ('int', None)) ), 'kernel32.waitforsingleobjectex':( 'int', None, 'stdcall', 'kernel32.WaitForSingleObjectEx', (('int', None), ('int', None), ('int', None)) ), 'kernel32.waitnamedpipea':( 'int', None, 'stdcall', 'kernel32.WaitNamedPipeA', ( ('int', None), ('int', None)) ), 'kernel32.waitnamedpipew':( 'int', None, 'stdcall', 'kernel32.WaitNamedPipeW', (('int', None), ('int', None)) ), 'kernel32.widechartomultibyte':( 'int', None, 'stdcall', 'kernel32.WideCharToMultiByte', ( ('int', None), ('void *', 'obj'), ('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.winexec':( 'int', None, 'stdcall', 'kernel32.WinExec', (('int', None), ('int', None)) ), 'kernel32.writeconsolea':( 'int', None, 'stdcall', 'kernel32.WriteConsoleA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsoleinputa':( 'int', None, 'stdcall', 'kernel32.WriteConsoleInputA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsoleinputvdma':( 'int', None, 'stdcall', 'kernel32.WriteConsoleInputVDMA', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsoleinputvdmw':( 'int', None, 'stdcall', 'kernel32.WriteConsoleInputVDMW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsoleinputw':( 'int', None, 'stdcall', 'kernel32.WriteConsoleInputW', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsoleoutputa':( 'int', None, 'stdcall', 'kernel32.WriteConsoleOutputA', (('int', None), ('void *', 'ptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsoleoutputattribute':( 'int', None, 'stdcall', 'kernel32.WriteConsoleOutputAttribute', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsoleoutputcharactera':( 'int', None, 'stdcall', 'kernel32.WriteConsoleOutputCharacterA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsoleoutputcharacterw':( 'int', None, 'stdcall', 'kernel32.WriteConsoleOutputCharacterW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsoleoutputw':( 'int', None, 'stdcall', 'kernel32.WriteConsoleOutputW', (('int', None), ('void *', 'ptr'), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeconsolew':( 'int', None, 'stdcall', 'kernel32.WriteConsoleW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writefile':( 'int', None, 'stdcall', 'kernel32.WriteFile', (('int', None), ('void *', 'ptr'), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.writefileex':( 'int', None, 'stdcall', 'kernel32.WriteFileEx', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writefilegather':( 'int', None, 'stdcall', 'kernel32.WriteFileGather', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeprivateprofilesectiona':( 'int', None, 'stdcall', 'kernel32.WritePrivateProfileSectionA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.writeprivateprofilesectionw':( 'int', None, 'stdcall', 'kernel32.WritePrivateProfileSectionW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.writeprivateprofilestringa':( 'int', None, 'stdcall', 'kernel32.WritePrivateProfileStringA', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.writeprivateprofilestringw':( 'int', None, 'stdcall', 'kernel32.WritePrivateProfileStringW', (('int', None), ('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.writeprivateprofilestructa':( 'int', None, 'stdcall', 'kernel32.WritePrivateProfileStructA', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeprivateprofilestructw':( 'int', None, 'stdcall', 'kernel32.WritePrivateProfileStructW', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeprocessmemory':( 'int', None, 'stdcall', 'kernel32.WriteProcessMemory', (('int', None), ('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.writeprofilesectiona':( 'int', None, 'stdcall', 'kernel32.WriteProfileSectionA', (('int', None), ('int', None)) ), 'kernel32.writeprofilesectionw':( 'int', None, 'stdcall', 'kernel32.WriteProfileSectionW', (('int', None), ('int', None)) ), 'kernel32.writeprofilestringa':( 'int', None, 'stdcall', 'kernel32.WriteProfileStringA', (('int', None), ('int', None), ('int', None)) ), 'kernel32.writeprofilestringw':( 'int', None, 'stdcall', 'kernel32.WriteProfileStringW', (('int', None), ('int', None), ('void *', 'ptr')) ), 'kernel32.writetapemark':( 'int', None, 'stdcall', 'kernel32.WriteTapemark', (('int', None), ('int', None), ('int', None), ('int', None)) ), 'kernel32.zombifyactctx':( 'int', None, 'stdcall', 'kernel32.ZombifyActCtx', (('int', None),) ), 'kernel32._hread':( 'int', None, 'stdcall', 'kernel32._hread', (('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32._hwrite':( 'int', None, 'stdcall', 'kernel32._hwrite', (('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32._lclose':( 'int', None, 'stdcall', 'kernel32._lclose', (('int', None),) ), 'kernel32._lcreat':( 'int', None, 'stdcall', 'kernel32._lcreat', (('int', None), ('int', None)) ), 'kernel32._llseek':( 'int', None, 'stdcall', 'kernel32._llseek', (('int', None), ('int', None), ('int', None)) ), 'kernel32._lopen':( 'int', None, 'stdcall', 'kernel32._lopen', (('int', None), ('int', None)) ), 'kernel32._lread':( 'int', None, 'stdcall', 'kernel32._lread', (('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32._lwrite':( 'int', None, 'stdcall', 'kernel32._lwrite', (('int', None), ('void *', 'ptr'), ('int', None)) ), 'kernel32.lstrcat':( 'int', None, 'stdcall', 'kernel32.lstrcat', (('int', None), ('int', None)) ), 'kernel32.lstrcata':( 'int', None, 'stdcall', 'kernel32.lstrcatA', (('int', None), ('int', None)) ), 'kernel32.lstrcatw':( 'int', None, 'stdcall', 'kernel32.lstrcatW', (('int', None), ('void *', 'ptr')) ), 'kernel32.lstrcmp':( 'int', None, 'stdcall', 'kernel32.lstrcmp', (('void *', 'ptr'), ('int', None)) ), 'kernel32.lstrcmpa':( 'int', None, 'stdcall', 'kernel32.lstrcmpA', (('void *', 'ptr'), ('int', None)) ), 'kernel32.lstrcmpw':( 'int', None, 'stdcall', 'kernel32.lstrcmpW', (('void *', 'ptr'), ('void *', 'ptr')) ), 'kernel32.lstrcmpi':( 'int', None, 'stdcall', 'kernel32.lstrcmpi', (('int', None), ('int', None)) ), 'kernel32.lstrcmpia':( 'int', None, 'stdcall', 'kernel32.lstrcmpiA', (('int', None), ('int', None)) ), 'kernel32.lstrcmpiw':( 'int', None, 'stdcall', 'kernel32.lstrcmpiW', (('int', None), ('int', None)) ), 'kernel32.lstrcpy':( 'int', None, 'stdcall', 'kernel32.lstrcpy', (('int', None), ('int', None)) ), 'kernel32.lstrcpya':( 'int', None, 'stdcall', 'kernel32.lstrcpyA', (('int', None), ('int', None)) ), 'kernel32.lstrcpyw':( 'int', None, 'stdcall', 'kernel32.lstrcpyW', (('int', None), ('int', None)) ), 'kernel32.lstrcpyn':( 'int', None, 'stdcall', 'kernel32.lstrcpyn', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.lstrcpyna':( 'int', None, 'stdcall', 'kernel32.lstrcpynA', (('void *', 'ptr'), ('int', None), ('int', None)) ), 'kernel32.lstrcpynw':( 'int', None, 'stdcall', 'kernel32.lstrcpynW', (('int', None), ('int', None), ('int', None)) ), 'kernel32.lstrlen':( 'int', None, 'stdcall', 'kernel32.lstrlen', (('int', None),) ), 'kernel32.lstrlena':( 'int', None, 'stdcall', 'kernel32.lstrlenA', (('int', None),) ), 'kernel32.lstrlenw':( 'int', None, 'stdcall', 'kernel32.lstrlenW', (('int', None),) ), 'kernel32.addvectoredexceptionhandler':('int', None, 'stdcall', 'ntdll.RtlAddVectoredExceptionHandler', ( ('int', None), ('int', None))), 'kernel32.decodepointer':('int', None, 'stdcall', 'ntdll.RtlDecodePointer', (('int', None),)), 'kernel32.decodesystempointer':('int', None, 'stdcall', 'ntdll.RtlDecodeSystemPointer', (('int', None),)), 'kernel32.deletecriticalsection':('int', None, 'stdcall', 'ntdll.RtlDeleteCriticalSection', (('int', None),) ), 'kernel32.encodepointer':('int', None, 'stdcall', 'ntdll.RtlEncodePointer', (('int', None),)), 'kernel32.encodesystempointer':('int', None, 'stdcall', 'ntdll.RtlEncodeSystemPointer', (('int', None),)), 'kernel32.entercriticalsection':('int', None, 'stdcall', 'ntdll.RtlEnterCriticalSection', (('int', None),)), 'kernel32.getlasterror':('int', None, 'cdecl', 'ntdll.RtlGetLastWin32Error', ()), 'kernel32.heapalloc':('int', None, 'stdcall', 'ntdll.RtlAllocateHeap', (('void *', 'ptr'), ('int', None), ('int', None))), 'kernel32.heapfree':('int', None, 'stdcall', 'ntdll.RtlFreeHeap', (('void *', 'ptr'), ('int', None), ('void *', 'ptr'))), 'kernel32.heaprealloc':('int', None, 'stdcall', 'ntdll.RtlReAllocateHeap', ( ('void *', 'ptr'), ('int', None), ('void *', 'ptr'), ('int', None))), 'kernel32.heapsize':('int', None, 'stdcall', 'ntdll.RtlSizeHeap', ( ('void *', 'ptr'), ('int', None), ('int', None))), 'kernel32.initializeslisthead':('int', None, 'stdcall', 'ntdll.RtlInitializeSListHead', (('int', None),)), 'kernel32.interlockedflushslist':('int', None, 'stdcall', 'ntdll.RtlInterlockedFlushSList', ()), 'kernel32.interlockedpopentryslist':('int', None, 'stdcall', 'ntdll.RtlInterlockedPopEntrySList', ()), 'kernel32.interlockedpushentryslist':('int', None, 'stdcall', 'ntdll.RtlInterlockedPushEntrySList', (('int', None), ('int', None))), 'kernel32.leavecriticalsection':('int', None, 'stdcall', 'ntdll.RtlLeaveCriticalSection', ( ('int', None),)), 'kernel32.querydepthslist':('int', None, 'stdcall', 'ntdll.RtlQueryDepthSList', (('int', None),)), 'kernel32.removevectoredexceptionhandler':('int', None, 'stdcall', 'ntdll.RtlRemoveVectoredExceptionHandler', ( ('int', None),)), 'kernel32.restorelasterror':('int', None, 'stdcall', 'ntdll.RtlRestoreLastWin32Error', (('int', None),)), 'kernel32.rtlcapturecontext':('int', None, 'stdcall', 'ntdll.RtlCaptureContext', (('void *', 'ptr'),)), 'kernel32.rtlcapturestackbacktrace':('int', None, 'stdcall', 'ntdll.RtlCaptureStackBackTrace', (('int', None), ('int', None), ('void *', 'ptr'), ('void *', 'ptr'))), 'kernel32.rtlfillmemory':('int', None, 'stdcall', 'ntdll.RtlFillMemory', (('int', None), ('int', None), ('int', None))), 'kernel32.rtlmovememory':('int', None, 'stdcall', 'ntdll.RtlMoveMemory', (('int', None), ('int', None), ('int', None))), 'kernel32.rtlunwind':('int', None, 'stdcall', 'ntdll.RtlUnwind', (('int', None), ('int', None), ('int', None), ('int', None))), 'kernel32.rtlzeromemory':('int', None, 'stdcall', 'ntdll.RtlZeroMemory', (('int', None), ('int', None))), 'kernel32.setcriticalsectionspincount':('int', None, 'stdcall', 'ntdll.RtlSetCriticalSectionSpinCount', (('int', None), ('int', None))), 'kernel32.setlasterror':('int', None, 'stdcall', 'ntdll.RtlSetLastWin32Error', (('int', None),)), 'kernel32.tryentercriticalsection':('int', None, 'stdcall', 'ntdll.RtlTryEnterCriticalSection', (('int', None),)), 'kernel32.versetconditionmask':('int', None, 'stdcall', 'ntdll.VerSetConditionMask', (('int', None), ('int', None), ('int', None), ('int', None))), }
133.263759
290
0.618524
11,702
128,333
6.781576
0.08631
0.282971
0.183939
0.233045
0.268543
0.202261
0.200408
0.128884
0.126112
0.087817
0
0.034034
0.115769
128,333
962
291
133.402287
0.665304
0.00173
0
0
0
0
0.536368
0.348618
0
0
0
0
0
1
0
false
0
0.001045
0
0.001045
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f61eb7f81261fd4b4808b59460c363ec5b518f7f
933
py
Python
src/compas_fab/backends/pybullet/__init__.py
yck011522/compas_fab
db7c8e54184dbbad9be5a818cf7ff814c95cf162
[ "MIT" ]
64
2019-08-07T07:19:06.000Z
2022-03-22T16:48:23.000Z
src/compas_fab/backends/pybullet/__init__.py
yck011522/compas_fab
db7c8e54184dbbad9be5a818cf7ff814c95cf162
[ "MIT" ]
228
2019-07-08T07:55:30.000Z
2022-03-25T16:39:17.000Z
src/compas_fab/backends/pybullet/__init__.py
yck011522/compas_fab
db7c8e54184dbbad9be5a818cf7ff814c95cf162
[ "MIT" ]
18
2019-08-04T16:42:37.000Z
2022-01-12T18:36:06.000Z
""" ******************************************************************************* compas_fab.backends.pybullet ******************************************************************************* .. module:: compas_fab.backends.pybullet Package with functionality to interact with `PyBullet <http://pybullet.org/>`_. .. autosummary:: :toctree: generated/ PyBulletClient PyBulletError CollisionError InverseKinematicsError PyBulletPlanner """ from __future__ import absolute_import from .client import * # noqa: F401,F403 from .const import * # noqa: F401,F403 from .conversions import * # noqa: F401,F403 from .exceptions import * # noqa: F401,F403 from .planner import * # noqa: F401,F403 from .utils import * # noqa: F401,F403 __all__ = [name for name in dir() if not name.startswith('_')]
30.096774
79
0.513398
78
933
5.974359
0.525641
0.128755
0.180258
0.23176
0.236052
0
0
0
0
0
0
0.050847
0.241158
933
30
80
31.1
0.607345
0.594855
0
0
0
0
0.002747
0
0
0
0
0
0
1
0
false
0
0.875
0
0.875
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
f61f18cc8c933e4d5b2bc1eda7e050cc2e98491b
51
py
Python
build/lib/tests/__init__.py
edepanaf/fitting_text_distance
d3eb44fdebb5f15c34ff41f1bc47e90b7851bf56
[ "BSD-3-Clause" ]
null
null
null
build/lib/tests/__init__.py
edepanaf/fitting_text_distance
d3eb44fdebb5f15c34ff41f1bc47e90b7851bf56
[ "BSD-3-Clause" ]
null
null
null
build/lib/tests/__init__.py
edepanaf/fitting_text_distance
d3eb44fdebb5f15c34ff41f1bc47e90b7851bf56
[ "BSD-3-Clause" ]
null
null
null
"""Unit test package for fitting_text_distance."""
25.5
50
0.764706
7
51
5.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.098039
51
1
51
51
0.804348
0.862745
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
f61fb53918fc3e0c8a365cac9acc459d81ff41f1
150
py
Python
todo/__init__.py
antonpaquin/todo-placeholder
40b175006625074b5cc7bcaec6ac81efc974cf41
[ "MIT" ]
1
2020-05-12T01:33:39.000Z
2020-05-12T01:33:39.000Z
todo/__init__.py
antonpaquin/todo-placeholder
40b175006625074b5cc7bcaec6ac81efc974cf41
[ "MIT" ]
null
null
null
todo/__init__.py
antonpaquin/todo-placeholder
40b175006625074b5cc7bcaec6ac81efc974cf41
[ "MIT" ]
null
null
null
from todo.placeholder import ( set_placeholder, Placeholder, ExpressionPlaceholder, StatementPlaceholder, MultilinePlaceholder, )
18.75
30
0.746667
10
150
11.1
0.8
0
0
0
0
0
0
0
0
0
0
0
0.2
150
7
31
21.428571
0.925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
f62b3de08054725b52c6cf730c9a94aaf11cadc6
555
py
Python
compilacion/analisis_semantico/objectContext.py
Gusta2307/Football-Simulation-IA-SIM-COM-
8c29c5b1ef61708a4f8b34f5e0e00990aeecfacd
[ "MIT" ]
null
null
null
compilacion/analisis_semantico/objectContext.py
Gusta2307/Football-Simulation-IA-SIM-COM-
8c29c5b1ef61708a4f8b34f5e0e00990aeecfacd
[ "MIT" ]
null
null
null
compilacion/analisis_semantico/objectContext.py
Gusta2307/Football-Simulation-IA-SIM-COM-
8c29c5b1ef61708a4f8b34f5e0e00990aeecfacd
[ "MIT" ]
1
2022-02-07T04:47:15.000Z
2022-02-07T04:47:15.000Z
class ObjectContext: def __init__(self) -> None: self.definedTypes = {} self.definedSymbols = {} def get_type(self, typeName: str): return self.definedTypes[typeName] def type_of(self, symbol: str): if self.definedSymbols.__contains__(symbol): return self.definedSymbols[symbol] def define_symbol(self, symbol: str, sym_type) -> bool: if not self.definedSymbols.__contains__(symbol): self.definedSymbols[symbol] = sym_type return True return False
30.833333
59
0.636036
59
555
5.694915
0.389831
0.267857
0.077381
0.190476
0
0
0
0
0
0
0
0
0.27027
555
18
60
30.833333
0.82963
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.071429
0.642857
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
f66571ad01403db72fe6089b890e97526b3ec9d1
276
py
Python
musicapp/models.py
karthik540/Beatsite_Django
d6c49d95f1cd0596912ffd8392526543828f71c0
[ "MIT" ]
1
2019-12-02T05:16:26.000Z
2019-12-02T05:16:26.000Z
musicapp/models.py
m4sterDestroyer/Beatsite_Django
d6c49d95f1cd0596912ffd8392526543828f71c0
[ "MIT" ]
9
2019-12-04T23:29:06.000Z
2022-02-10T13:07:10.000Z
musicapp/models.py
m4sterDestroyer/Beatsite_Django
d6c49d95f1cd0596912ffd8392526543828f71c0
[ "MIT" ]
1
2019-12-02T05:16:23.000Z
2019-12-02T05:16:23.000Z
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class CustomUser(AbstractUser): songlist = models.CharField(max_length = 1000 , default = '' , blank = True) def __str__(self): return self.email
27.6
80
0.717391
34
276
5.676471
0.764706
0.103627
0
0
0
0
0
0
0
0
0
0.018018
0.195652
276
9
81
30.666667
0.851351
0.086957
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
9caaf0c37b15146b5b9bee3d0d0023b5c20b6385
236
py
Python
03 Web/Pilot App/models/order.py
culee/c4e
775c53fa92a31696431760f58a79a52889bfb46f
[ "MIT" ]
null
null
null
03 Web/Pilot App/models/order.py
culee/c4e
775c53fa92a31696431760f58a79a52889bfb46f
[ "MIT" ]
null
null
null
03 Web/Pilot App/models/order.py
culee/c4e
775c53fa92a31696431760f58a79a52889bfb46f
[ "MIT" ]
null
null
null
from mongoengine import * from .service import Service from .user import User class Order(Document): service_id = ReferenceField(Service) user_id = ReferenceField(User) time = StringField() is_accepted = BooleanField()
23.6
40
0.741525
27
236
6.37037
0.555556
0.186047
0
0
0
0
0
0
0
0
0
0
0.182203
236
9
41
26.222222
0.891192
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
9ce77a0c05f8171b178b06e03fa31178c8b2c9b8
226
py
Python
tests/test_cli.py
dominikwalk/importtime-output-wrapper
7a39fa0be053c8de5183e3a98fa3c6ad0d8c0e85
[ "MIT" ]
1
2022-01-10T14:24:55.000Z
2022-01-10T14:24:55.000Z
tests/test_cli.py
dominikwalk/importtime-output-wrapper
7a39fa0be053c8de5183e3a98fa3c6ad0d8c0e85
[ "MIT" ]
1
2022-01-10T14:36:22.000Z
2022-01-12T19:33:38.000Z
tests/test_cli.py
dominikwalk/importtime-output-wrapper
7a39fa0be053c8de5183e3a98fa3c6ad0d8c0e85
[ "MIT" ]
1
2021-09-01T17:38:52.000Z
2021-09-01T17:38:52.000Z
import pytest from _pytest.capture import capsys import importtime_output_wrapper def test_cli_empty_module(): with pytest.raises(SystemExit) as e: importtime_output_wrapper.main([]) assert e.value == 2
20.545455
42
0.743363
30
226
5.333333
0.733333
0.2
0.2875
0
0
0
0
0
0
0
0
0.005435
0.185841
226
10
43
22.6
0.86413
0
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.142857
true
0
0.571429
0
0.714286
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
140f7752790691470a7826455af451c1e5e9e6c0
267
py
Python
settings.py
rafaelhenrique/birdwatching
4e8c9ff01da51cc7e4ff925f78727e055350341c
[ "MIT" ]
null
null
null
settings.py
rafaelhenrique/birdwatching
4e8c9ff01da51cc7e4ff925f78727e055350341c
[ "MIT" ]
null
null
null
settings.py
rafaelhenrique/birdwatching
4e8c9ff01da51cc7e4ff925f78727e055350341c
[ "MIT" ]
null
null
null
from decouple import config TWITTER_CONSUMER_KEY = config("TWITTER_CONSUMER_KEY") TWITTER_CONSUMER_SECRET = config("TWITTER_CONSUMER_SECRET") TWITTER_ACCESS_TOKEN = config("TWITTER_ACCESS_TOKEN") TWITTER_ACCESS_TOKEN_SECRET = config("TWITTER_ACCESS_TOKEN_SECRET")
29.666667
67
0.853933
34
267
6.176471
0.294118
0.309524
0.342857
0.228571
0
0
0
0
0
0
0
0
0.071161
267
8
68
33.375
0.846774
0
0
0
0
0
0.338346
0.18797
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
14144f079e92cab8a3b409d465e9a001f973cdc8
598
py
Python
trolls/spaces/vector/vector_observation_space.py
sintefneodroid/trolls
724fea14522029596e87be3115e90672466a1c8d
[ "Apache-2.0" ]
null
null
null
trolls/spaces/vector/vector_observation_space.py
sintefneodroid/trolls
724fea14522029596e87be3115e90672466a1c8d
[ "Apache-2.0" ]
null
null
null
trolls/spaces/vector/vector_observation_space.py
sintefneodroid/trolls
724fea14522029596e87be3115e90672466a1c8d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "Christian Heider Nielsen" __doc__ = r""" Created on 29/01/2020 """ from trolls.spaces import ObservationSpace __all__ = ["VectorObservationSpace"] class VectorObservationSpace: """ """ def __init__(self, observation_space: ObservationSpace, num_env: int): self.observation_space = observation_space self.num_env = num_env def __getattr__(self, item): return getattr(self.observation_space, item) def __repr__(self): return self.observation_space.__repr__()
21.357143
74
0.670569
64
598
5.703125
0.578125
0.219178
0.219178
0
0
0
0
0
0
0
0
0.021459
0.220736
598
27
75
22.148148
0.761803
0.071906
0
0
0
0
0.168498
0.040293
0
0
0
0
0
1
0.214286
false
0
0.071429
0.142857
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
14476d3a65d5ce581034fba259a3e7b1373f6cf5
79
py
Python
Hologram/Authentication/__init__.py
kevswims/hologram-python
f1dac5e7d461146120b4f077ecbe90ccb3f4adaa
[ "MIT" ]
1
2019-04-23T11:36:46.000Z
2019-04-23T11:36:46.000Z
Hologram/Authentication/__init__.py
kevswims/hologram-python
f1dac5e7d461146120b4f077ecbe90ccb3f4adaa
[ "MIT" ]
null
null
null
Hologram/Authentication/__init__.py
kevswims/hologram-python
f1dac5e7d461146120b4f077ecbe90ccb3f4adaa
[ "MIT" ]
1
2020-12-06T20:49:02.000Z
2020-12-06T20:49:02.000Z
__all__ = ['Authentication', 'HologramAuthentication', 'CSRPSKAuthentication']
39.5
78
0.797468
4
79
14.75
1
0
0
0
0
0
0
0
0
0
0
0
0.063291
79
1
79
79
0.797297
0
0
0
0
0
0.708861
0.278481
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
144863099250d497167d7495272a479cf56060c3
1,410
py
Python
service/dao/model/experience.py
CyberArkForTheCommunity/jobli-backend
2309c9ac33993cb89a8e1581630d99b46f8d55aa
[ "MIT" ]
null
null
null
service/dao/model/experience.py
CyberArkForTheCommunity/jobli-backend
2309c9ac33993cb89a8e1581630d99b46f8d55aa
[ "MIT" ]
1
2021-12-23T13:36:43.000Z
2021-12-23T13:36:43.000Z
service/dao/model/experience.py
CyberArkForTheCommunity/jobli-backend
2309c9ac33993cb89a8e1581630d99b46f8d55aa
[ "MIT" ]
null
null
null
from typing import Dict, Optional from pydantic.main import BaseModel from service.dao.single_table_service import SingleTableRecord, DATA_DELIMITER _EXPERIENCE_PK_PREFIX = "EXPERIENCE_BY_JOB_SEEKER_ID" + DATA_DELIMITER EXPERIENCE_SK_PREFIX = "EXPERIENCE_ID" + DATA_DELIMITER class Experience(BaseModel, SingleTableRecord): # def __init__(self, **kwargs): # if 'version' not in kwargs: # self.version = 0 # for attribute, value in kwargs.items(): # if hasattr(self, attribute): # setattr(self, attribute, value) job_seeker_id: str experience_id: str workplace_name: str start_year: int end_year: Optional[int] role: Optional[str] role_description: Optional[str] creationTime: Optional[str] lastUpdateTime: Optional[str] version: int = 0 @staticmethod def build_pk(job_seeker_id: str): return _EXPERIENCE_PK_PREFIX + job_seeker_id @staticmethod def build_sk(experience_id: str): return EXPERIENCE_SK_PREFIX + experience_id def produce_pk(self) -> str: return self.build_pk(self.job_seeker_id) def produce_sk(self) -> str: return self.build_sk(self.experience_id) def produce_gsi1_sk(self) -> Optional[str]: pass def produce_gsi1_pk(self) -> Optional[str]: pass def as_dict(self) -> Dict: return self.dict()
27.647059
78
0.684397
177
1,410
5.163842
0.322034
0.07221
0.060175
0.061269
0.161926
0
0
0
0
0
0
0.003687
0.230496
1,410
50
79
28.2
0.83871
0.149645
0
0.125
0
0
0.033557
0.022651
0
0
0
0
0
1
0.21875
false
0.0625
0.09375
0.15625
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
144cec2efb0559a2e153991bb084c892b4171a2f
42
py
Python
reddit-bot/authentication_example.py
AFFogarty/SEP-Bot
a3db29a5fb71f1bb99a849edbfa179d719e0a103
[ "MIT" ]
1
2015-06-16T02:01:58.000Z
2015-06-16T02:01:58.000Z
reddit-bot/authentication_example.py
AFFogarty/SEP-Bot
a3db29a5fb71f1bb99a849edbfa179d719e0a103
[ "MIT" ]
null
null
null
reddit-bot/authentication_example.py
AFFogarty/SEP-Bot
a3db29a5fb71f1bb99a849edbfa179d719e0a103
[ "MIT" ]
null
null
null
username = "myaccount" password = "1234"
10.5
22
0.690476
4
42
7.25
1
0
0
0
0
0
0
0
0
0
0
0.114286
0.166667
42
3
23
14
0.714286
0
0
0
0
0
0.317073
0
0
0
0
0
0
1
0
false
0.5
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
14510ec388a5e90c33aaf0fce757294914f000d4
92
py
Python
prince_cr/_deprecated/__init__.py
afedynitch/PriNCe
372f037f6c114528c52c6d5ca3624897b72a8605
[ "BSD-3-Clause" ]
6
2020-05-01T12:21:56.000Z
2020-08-26T16:18:39.000Z
prince_cr/_deprecated/__init__.py
afedynitch/PriNCe
372f037f6c114528c52c6d5ca3624897b72a8605
[ "BSD-3-Clause" ]
12
2020-05-03T11:37:42.000Z
2020-05-15T12:37:40.000Z
prince_cr/_deprecated/__init__.py
afedynitch/PriNCe
372f037f6c114528c52c6d5ca3624897b72a8605
[ "BSD-3-Clause" ]
3
2020-05-16T01:35:17.000Z
2020-10-02T13:08:11.000Z
'''Contains deprecated functions and classes, which kept for compatibility or future use '''
46
88
0.793478
12
92
6.083333
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
92
2
89
46
0.9125
0.923913
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
146f2aecb3ecab67be192ab9e290b9ce2f0dc860
199
py
Python
web3/input_sample.py
abhi3700/evm_contracts_hello
51bb8c851dcf428b3c36b94a8bf954c5dee8b481
[ "MIT" ]
1
2022-02-11T08:28:17.000Z
2022-02-11T08:28:17.000Z
web3/input_sample.py
abhi3700/evm_contracts_hello
51bb8c851dcf428b3c36b94a8bf954c5dee8b481
[ "MIT" ]
null
null
null
web3/input_sample.py
abhi3700/evm_contracts_hello
51bb8c851dcf428b3c36b94a8bf954c5dee8b481
[ "MIT" ]
1
2021-11-17T03:17:13.000Z
2021-11-17T03:17:13.000Z
INFURA_PROJECT_ID = 'FILL_YOUR_KEY' # Networks # Rinkeby NETWORK = 'rinkeby' PRIVATE_KEY = 'FILL_YOUR_PRIVATE_KEY' # ETH mainnet # NETWORK = 'mainnet' PRIVATE_KEY = 'FILL_YOUR_PRIVATE_KEY'
19.9
38
0.738693
26
199
5.192308
0.461538
0.296296
0.207407
0.266667
0.414815
0.414815
0
0
0
0
0
0
0.165829
199
10
39
19.9
0.813253
0.241206
0
0.5
0
0
0.449275
0.304348
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
148779797390e874a9e660875a6e4714adc82234
8,741
py
Python
facegan/utils/nets.py
AmrMKayid/FaceGAN
5cf3b8e5aeab2d340b653f48e78b4fa524cd92dc
[ "MIT" ]
null
null
null
facegan/utils/nets.py
AmrMKayid/FaceGAN
5cf3b8e5aeab2d340b653f48e78b4fa524cd92dc
[ "MIT" ]
null
null
null
facegan/utils/nets.py
AmrMKayid/FaceGAN
5cf3b8e5aeab2d340b653f48e78b4fa524cd92dc
[ "MIT" ]
null
null
null
# Copyright (c) 2019, NVIDIA Corporation. All rights reserved. # # This work is made available under the Nvidia Source Code License-NC. # To view a copy of this license, visit # https://nvlabs.github.io/stylegan2/license.html """List of pre-trained StyleGAN2 networks located on Google Drive.""" import os import glob import gdown import pickle from facegan import ROOT_PATH import facegan.dnnlib as dnnlib import facegan.dnnlib.tflib as tflib # ---------------------------------------------------------------------------- # StyleGAN2 Google Drive root: https://drive.google.com/open?id=1QHc-yF5C3DChRwSdZKcx1w6K8JvSxQi7 gdrive_urls = { 'gdrive:networks/stylegan2-car-config-a.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-a.pkl', 'gdrive:networks/stylegan2-car-config-b.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-b.pkl', 'gdrive:networks/stylegan2-car-config-c.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-c.pkl', 'gdrive:networks/stylegan2-car-config-d.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-d.pkl', 'gdrive:networks/stylegan2-car-config-e.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-e.pkl', 'gdrive:networks/stylegan2-car-config-f.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-f.pkl', 'gdrive:networks/stylegan2-cat-config-a.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-cat-config-a.pkl', 'gdrive:networks/stylegan2-cat-config-f.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-cat-config-f.pkl', 'gdrive:networks/stylegan2-church-config-a.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-church-config-a.pkl', 'gdrive:networks/stylegan2-church-config-f.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-church-config-f.pkl', 'gdrive:networks/stylegan2-ffhq-config-a.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-ffhq-config-a.pkl', 'gdrive:networks/stylegan2-ffhq-config-b.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-ffhq-config-b.pkl', 'gdrive:networks/stylegan2-ffhq-config-c.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-ffhq-config-c.pkl', 'gdrive:networks/stylegan2-ffhq-config-d.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-ffhq-config-d.pkl', 'gdrive:networks/stylegan2-ffhq-config-e.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-ffhq-config-e.pkl', 'gdrive:networks/stylegan2-ffhq-config-f.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-ffhq-config-f.pkl', 'gdrive:networks/stylegan2-horse-config-a.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-horse-config-a.pkl', 'gdrive:networks/stylegan2-horse-config-f.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-horse-config-f.pkl', 'gdrive:networks/table2/stylegan2-car-config-e-Gorig-Dorig.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-car-config-e-Gorig-Dorig.pkl', 'gdrive:networks/table2/stylegan2-car-config-e-Gorig-Dresnet.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-car-config-e-Gorig-Dresnet.pkl', 'gdrive:networks/table2/stylegan2-car-config-e-Gorig-Dskip.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-car-config-e-Gorig-Dskip.pkl', 'gdrive:networks/table2/stylegan2-car-config-e-Gresnet-Dorig.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-car-config-e-Gresnet-Dorig.pkl', 'gdrive:networks/table2/stylegan2-car-config-e-Gresnet-Dresnet.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-car-config-e-Gresnet-Dresnet.pkl', 'gdrive:networks/table2/stylegan2-car-config-e-Gresnet-Dskip.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-car-config-e-Gresnet-Dskip.pkl', 'gdrive:networks/table2/stylegan2-car-config-e-Gskip-Dorig.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-car-config-e-Gskip-Dorig.pkl', 'gdrive:networks/table2/stylegan2-car-config-e-Gskip-Dresnet.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-car-config-e-Gskip-Dresnet.pkl', 'gdrive:networks/table2/stylegan2-car-config-e-Gskip-Dskip.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-car-config-e-Gskip-Dskip.pkl', 'gdrive:networks/table2/stylegan2-ffhq-config-e-Gorig-Dorig.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-ffhq-config-e-Gorig-Dorig.pkl', 'gdrive:networks/table2/stylegan2-ffhq-config-e-Gorig-Dresnet.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-ffhq-config-e-Gorig-Dresnet.pkl', 'gdrive:networks/table2/stylegan2-ffhq-config-e-Gorig-Dskip.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-ffhq-config-e-Gorig-Dskip.pkl', 'gdrive:networks/table2/stylegan2-ffhq-config-e-Gresnet-Dorig.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-ffhq-config-e-Gresnet-Dorig.pkl', 'gdrive:networks/table2/stylegan2-ffhq-config-e-Gresnet-Dresnet.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-ffhq-config-e-Gresnet-Dresnet.pkl', 'gdrive:networks/table2/stylegan2-ffhq-config-e-Gresnet-Dskip.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-ffhq-config-e-Gresnet-Dskip.pkl', 'gdrive:networks/table2/stylegan2-ffhq-config-e-Gskip-Dorig.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-ffhq-config-e-Gskip-Dorig.pkl', 'gdrive:networks/table2/stylegan2-ffhq-config-e-Gskip-Dresnet.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-ffhq-config-e-Gskip-Dresnet.pkl', 'gdrive:networks/table2/stylegan2-ffhq-config-e-Gskip-Dskip.pkl': 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/table2/stylegan2-ffhq-config-e-Gskip-Dskip.pkl', } vgg16 = 'vgg16_zhang_perceptual.pkl' model = 'stylegan2-ffhq-config-f.pkl' networks_urls = { 'default': [ 'http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-ffhq-config-f.pkl', 'stylegan2-ffhq-config-f.pkl' ], 'european': [ 'https://drive.google.com/uc?id=1--kh2Em5U1qh-H7Lin9FzppkZCQ18c4W', 'generator_model-stylegan2-config-f.pkl' ], 'asian': [ 'https://drive.google.com/uc?id=1-3XU6KzIVywFoKXx2zG1hW8mH4OYpyO9', 'generator_yellow-stylegan2-config-f.pkl' ], 'asian beauty': [ 'https://drive.google.com/uc?id=1-04v78_pI59M0IvhcKxsm3YhK2-plnbj', 'generator_star-stylegan2-config-f.pkl' ], 'baby': [ 'https://drive.google.com/uc?id=1--684mANXSgC3aDhLc7lPM7OBHWuVRXa', 'generator_baby-stylegan2-config-f.pkl' ] } def download_networks(network: str = 'default'): network_url = networks_urls[network][0] network_name = networks_urls[network][1] network_pkl = f'{ROOT_PATH}/data/models/{network_name}' if network == 'default': load_networks('gdrive:networks/stylegan2-ffhq-config-f.pkl') network_path = glob.glob( f'{ROOT_PATH}/data/models/*stylegan2-ffhq-config-f.pkl')[0] print(network_path) os.rename(network_path, network_pkl) else: gdown.download( network_url, network_name, quiet=False, ) os.rename(f"{os.getcwd()}/{network_name}", network_pkl) return network_pkl _cached_networks = dict() def load_networks(path_or_url_path): if path_or_url_path in _cached_networks: return _cached_networks[path_or_url_path] url_path = gdrive_urls.get(path_or_url_path, '') if dnnlib.util.is_url(url_path): stream = dnnlib.util.open_url( url_path, cache_dir=f'{ROOT_PATH}/data/models', ) else: stream = open( path_or_url_path, 'rb', ) tflib.init_tf() with stream: G, D, Gs = pickle.load(stream, encoding='latin1') _cached_networks[path_or_url_path] = G, D, Gs return G, D, Gs # ----------------------------------------------------------------------------
52.029762
117
0.720513
1,106
8,741
5.635624
0.122966
0.044922
0.166212
0.184021
0.795764
0.760789
0.669341
0.643671
0.643671
0.524306
0
0.055656
0.112001
8,741
167
118
52.341317
0.747359
0.060634
0
0.055944
0
0.258741
0.738961
0.282752
0
0
0
0
0
1
0.013986
false
0
0.048951
0
0.083916
0.006993
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
14aea7557b2674d1f22978917e8f6a78220c32e4
12,745
py
Python
corrupt_person_register/migrations/0001_initial.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
corrupt_person_register/migrations/0001_initial.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
corrupt_person_register/migrations/0001_initial.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-08 12:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ActivityShpere', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(auto_now_add=True, help_text='When the object was created. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='When the object was update. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.', null=True)), ('deleted_at', models.DateTimeField(blank=True, db_index=True, default=None, editable=False, null=True)), ('nazk_id', models.PositiveIntegerField(help_text='Identifier of the sphere of activity of an individual at the time of the offense', unique=True, verbose_name='NAZK id')), ('name', models.CharField(help_text='Name of the sphere of activity of an individual at the time of the offense.', max_length=200, verbose_name='name')), ], options={ 'verbose_name': 'Activity sphere', }, ), migrations.CreateModel( name='CorruptCodexArticle', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(auto_now_add=True, help_text='When the object was created. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='When the object was update. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.', null=True)), ('deleted_at', models.DateTimeField(blank=True, db_index=True, default=None, editable=False, null=True)), ('nazk_id', models.PositiveIntegerField(help_text='Identifier of the article according to which the person was prosecuted.', unique=True, verbose_name='NAZK id')), ('name', models.TextField(help_text='The name of the article under which the person was prosecuted.', verbose_name='name')), ], options={ 'verbose_name': 'Codex articles', }, ), migrations.CreateModel( name='Court', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(auto_now_add=True, help_text='When the object was created. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='When the object was update. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.', null=True)), ('deleted_at', models.DateTimeField(blank=True, db_index=True, default=None, editable=False, null=True)), ('nazk_id', models.PositiveIntegerField(help_text='Identifier of court.', unique=True, verbose_name='NAZK id')), ('name', models.CharField(help_text='The name of the court.', max_length=100, verbose_name='name')), ], options={ 'verbose_name': 'Court', }, ), migrations.CreateModel( name='LegalForm', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(auto_now_add=True, help_text='When the object was created. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='When the object was update. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.', null=True)), ('deleted_at', models.DateTimeField(blank=True, db_index=True, default=None, editable=False, null=True)), ('nazk_id', models.PositiveIntegerField(help_text='Identifier of organizational and legal form of ownership of a legal entity.', unique=True, verbose_name='NAZK id')), ('name', models.CharField(help_text='The name of the organizational and legal form of ownership of the legal entity.', max_length=50, verbose_name='name')), ], options={ 'verbose_name': 'Organizational and legal form', }, ), migrations.CreateModel( name='Offense', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(auto_now_add=True, help_text='When the object was created. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='When the object was update. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.', null=True)), ('deleted_at', models.DateTimeField(blank=True, db_index=True, default=None, editable=False, null=True)), ('nazk_id', models.PositiveIntegerField(help_text='Identifier of the corruption offense.', unique=True, verbose_name='NAZK id')), ('name', models.TextField(help_text='The name of the composition of the corruption offense / Method of imposing a disciplinary process.', verbose_name='name')), ], options={ 'verbose_name': 'Corruption offense', }, ), migrations.CreateModel( name='CorruptPerson', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(auto_now_add=True, help_text='When the object was created. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.')), ('updated_at', models.DateTimeField(auto_now=True, help_text='When the object was update. In YYYY-MM-DDTHH:mm:ss.SSSSSSZ format.', null=True)), ('deleted_at', models.DateTimeField(blank=True, db_index=True, default=None, editable=False, null=True)), ('person_nazk_id', models.PositiveIntegerField(help_text='Identifier of the person in the NAZK database.', unique=True, verbose_name='NAZK id')), ('punishment_type', models.CharField(blank=True, choices=[('CD', 'Court decision'), ('DA', 'Disciplinary action')], help_text="Punishment type. Can be 'Court decision' or 'Disciplinary action'.", max_length=2, null=True, verbose_name='punishment type')), ('entity_type', models.CharField(blank=True, choices=[('I', 'Individual'), ('LE', 'Legal entity')], help_text="Entity type. Can be 'Individual' or 'Legal entity'.", max_length=2, null=True, verbose_name='entity type')), ('last_name', models.CharField(blank=True, db_index=True, help_text='The last name of the individual at the time of the offense.', max_length=30, null=True, verbose_name='last name')), ('first_name', models.CharField(blank=True, db_index=True, help_text='The name of the individual at the time of the offense.', max_length=20, null=True, verbose_name='first name')), ('middle_name', models.CharField(blank=True, db_index=True, help_text='The middle name of the individual at the time of the offense.', max_length=25, null=True, verbose_name='middle name')), ('place_of_work', models.CharField(blank=True, help_text='Place of work of an individual at the time of the offense.', max_length=350, null=True, verbose_name='place of work')), ('position', models.CharField(blank=True, help_text='Position of an individual at the time of the offense.', max_length=100, null=True, verbose_name='position')), ('addr_post_index', models.CharField(blank=True, help_text='Address of registration of a legal entity at the time of the offense: postal code.', max_length=50, null=True, verbose_name='postcode')), ('addr_country_id', models.PositiveIntegerField(blank=True, help_text='Address of registration of a legal entity at the time of law enforcement: country identifier.', null=True, verbose_name='country identifier')), ('addr_country_name', models.CharField(blank=True, help_text='Address of registration of a legal entity at the time of the offense: name of the country.', max_length=50, null=True, verbose_name='country')), ('addr_state_id', models.PositiveIntegerField(blank=True, help_text='The address of registration of the legal entity at the time of the offense: the identifier of the region/city of national importance.', null=True, verbose_name='the identifier of the region/city')), ('addr_state_name', models.CharField(blank=True, help_text='The address of registration of the legal entity at the time of the offense: the name of the region/city of national importance', max_length=50, null=True, verbose_name='the name of the region/city')), ('addr_str', models.CharField(blank=True, help_text='The address of registration of the legal entity at the time of the offense: district, town, street, house, premises in the form of a line.', max_length=200, null=True, verbose_name='full address')), ('short_name', models.CharField(blank=True, db_index=True, help_text='Abbreviated name of the legal entity at the time of the offense.', max_length=20, null=True, verbose_name='short name of the legal entity')), ('legal_entity_name', models.CharField(blank=True, db_index=True, help_text='The name of the legal entity at the time of the offense.', max_length=50, null=True, verbose_name='the name of the legal entity')), ('registration_number', models.CharField(blank=True, db_index=True, help_text='EDRPOU code of the legal entity.', max_length=15, null=True, verbose_name='EDRPOU')), ('punishment', models.TextField(blank=True, default='data are missing.', help_text='The essence of satisfaction of claims / Type of disciplinary action.', null=True, verbose_name='punishment')), ('decree_date', models.DateField(blank=True, help_text='Date in YYYY-MM-DD format. Date of the order on imposition of disciplinary sanction.', null=True, verbose_name='decree date')), ('decree_number', models.CharField(blank=True, help_text='The number of the order imposing a disciplinary sanction.', max_length=20, null=True, verbose_name='decree number')), ('court_case_number', models.CharField(blank=True, help_text='The number of court case.', max_length=20, null=True, verbose_name='court case number')), ('sentence_date', models.DateField(blank=True, help_text='Date in YYYY-MM-DD format. Date of court decision.', null=True, verbose_name='sentence date')), ('sentence_number', models.CharField(blank=True, help_text='The number of court decision.', max_length=20, null=True, verbose_name='sentence number')), ('punishment_start', models.DateField(blank=True, help_text='Date in YYYY-MM-DD format. Date of entry into force of the court decision.', null=True, verbose_name='punishment start')), ('activity_sphere', models.ForeignKey(blank=True, help_text='The sphere of activity of an individual at the time of the offense.', null=True, on_delete=django.db.models.deletion.CASCADE, to='corrupt_person_register.activityshpere', verbose_name='activity sphere')), ('codex_articles', models.ManyToManyField(help_text='The article under which the person was prosecuted.', to='corrupt_person_register.CorruptCodexArticle', verbose_name='codex articles')), ('court', models.ForeignKey(blank=True, help_text='The court that made the judgment.', null=True, on_delete=django.db.models.deletion.CASCADE, to='corrupt_person_register.court', verbose_name='court')), ('legal_form', models.ForeignKey(blank=True, help_text='The organizational and legal form of ownership of the legal entity.', null=True, on_delete=django.db.models.deletion.CASCADE, to='corrupt_person_register.legalform', verbose_name='legal form')), ('offense', models.ForeignKey(blank=True, help_text='The composition of the corruption offense / Method of imposing a disciplinary process.', null=True, on_delete=django.db.models.deletion.CASCADE, to='corrupt_person_register.offense', verbose_name='offense')), ], options={ 'verbose_name': 'Persons who have committed corruption or corruption-related offenses', }, ), ]
100.354331
283
0.674304
1,674
12,745
4.993429
0.11589
0.067113
0.051681
0.052279
0.770188
0.745185
0.686924
0.625194
0.615504
0.602943
0
0.005692
0.200471
12,745
126
284
101.150794
0.814622
0.003531
0
0.453782
1
0.02521
0.393054
0.039219
0
0
0
0
0
1
0
false
0
0.033613
0
0.067227
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
14b0ccfdb2e5bccc5f171c786f04822a4e7cc16e
9,166
py
Python
tests/test_cli_summarize_job.py
NERSC/pytokio
22244718cf82567c50620cbe0e635dfc990de36b
[ "BSD-3-Clause-LBNL" ]
22
2017-11-14T01:30:48.000Z
2022-01-01T21:51:00.000Z
tests/test_cli_summarize_job.py
glennklockwood/pytokio
22244718cf82567c50620cbe0e635dfc990de36b
[ "BSD-3-Clause-LBNL" ]
39
2017-12-20T01:42:19.000Z
2020-05-28T21:17:26.000Z
tests/test_cli_summarize_job.py
glennklockwood/pytokio
22244718cf82567c50620cbe0e635dfc990de36b
[ "BSD-3-Clause-LBNL" ]
5
2018-02-06T19:39:19.000Z
2019-07-10T01:20:26.000Z
#!/usr/bin/env python """ Test the cli.summarize_job tool """ import os import json try: import StringIO as io except ImportError: import io import pandas import tokiotest import tokio.cli.summarize_job ### For tests that base all tests off of the sample Darshan log SAMPLE_DARSHAN_LOG_2 = os.path.join(tokiotest.INPUT_DIR, 'sample-2.darshan') def verify_output_json(output_str, key=None, value=None): """ Given the stdout of summarize_job.py --json, ensure that it is valid json, and ensure that a given key is present """ for parsed_data in json.loads(output_str): if key is not None: print("Checking if %s is present" % key) assert key in list(parsed_data.keys()) if value is not None: assert parsed_data[key] == value return True def verify_output_csv(output_str, key=None, value=None, expected_rows=None): """ Given the stdout of summarize_job.py, ensure that it is re-readable by pandas.read_csv and ensure that a given column (key) is present """ dataframe = pandas.read_csv(io.StringIO(output_str)) if key is not None: assert key in dataframe.columns if value is not None: assert dataframe[key][0] == value if expected_rows is not None: assert len(dataframe) == expected_rows return True @tokiotest.needs_darshan def test_get_biggest_fs(): """ cli.summarize_job.get_biggest_fs() functionality """ tokiotest.check_darshan() argv = ['--json', tokiotest.SAMPLE_DARSHAN_LOG] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_json(output_str, key='darshan_biggest_read_fs') @tokiotest.needs_darshan def test_get_biggest_api(): """ cli.summarize_job.get_biggest_api() functionality """ tokiotest.check_darshan() argv = ['--json', tokiotest.SAMPLE_DARSHAN_LOG] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_json(output_str, key='darshan_biggest_read_api') @tokiotest.needs_darshan def test_json(): """ cli.summarize_job: darshan and LMT data (json) """ tokiotest.check_darshan() argv = ['--json', tokiotest.SAMPLE_DARSHAN_LOG] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_json(output_str, key='darshan_agg_perf_by_slowest_posix') assert verify_output_json(output_str, key='darshan_biggest_read_api') assert verify_output_json(output_str, key='darshan_biggest_read_fs') assert verify_output_json(output_str, key='fs_tot_gibs_written') @tokiotest.needs_darshan def test_csv(): """ cli.summarize_job: darshan and LMT data (csv) """ tokiotest.check_darshan() argv = [tokiotest.SAMPLE_DARSHAN_LOG] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_csv(output_str, key='darshan_agg_perf_by_slowest_posix') assert verify_output_csv(output_str, key='darshan_biggest_read_api') assert verify_output_csv(output_str, key='darshan_biggest_read_fs') assert verify_output_csv(output_str, key='fs_tot_gibs_written') @tokiotest.needs_darshan def test_darshan_summaries(): """ cli.summarize_job: multiple Darshan logs (csv) """ tokiotest.check_darshan() argv = [tokiotest.SAMPLE_DARSHAN_LOG, SAMPLE_DARSHAN_LOG_2] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_csv(output_str, key='darshan_agg_perf_by_slowest_posix', expected_rows=2) assert verify_output_csv(output_str, key='darshan_biggest_read_api') assert verify_output_csv(output_str, key='darshan_biggest_read_fs') assert verify_output_csv(output_str, key='fs_tot_gibs_written', expected_rows=2) @tokiotest.needs_darshan def test_bogus_darshans(): """ cli.summarize_job: mix of valid and invalid Darshan logs """ tokiotest.check_darshan() argv = ['--silent-errors', tokiotest.SAMPLE_DARSHAN_LOG, # valid log tokiotest.SAMPLE_XTDB2PROC_FILE, # not valid log SAMPLE_DARSHAN_LOG_2, # valid log 'garbagefile'] # file doesn't exist print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_csv(output_str, key='darshan_agg_perf_by_slowest_posix', expected_rows=2) assert verify_output_csv(output_str, key='darshan_biggest_read_api') assert verify_output_csv(output_str, key='darshan_biggest_read_fs') assert verify_output_csv(output_str, key='fs_tot_gibs_written', expected_rows=2) @tokiotest.needs_darshan def test_with_topology(): """ cli.summarize_job --topology --slurm-jobid requires either an SDB cache file or access to xtdb2proc requires either access to Slurm or a Slurm job cache file (to map jobid to node list) """ tokiotest.check_darshan() argv = ['--topology', tokiotest.SAMPLE_XTDB2PROC_FILE, '--slurm-jobid', tokiotest.SAMPLE_SLURM_CACHE_FILE, '--json', tokiotest.SAMPLE_DARSHAN_LOG] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_json(output_str, key='darshan_agg_perf_by_slowest_posix') assert verify_output_json(output_str, key='darshan_biggest_read_api') assert verify_output_json(output_str, key='darshan_biggest_read_fs') assert verify_output_json(output_str, key='fs_tot_gibs_written') assert verify_output_json(output_str, key='topology_job_max_radius') @tokiotest.needs_darshan def test_with_lfsstatus(): """ cli.summarize_job --ost --ost-fullness --ost-map """ tokiotest.check_darshan() argv = ['--json', '--ost', '--ost-fullness', tokiotest.SAMPLE_OSTFULLNESS_FILE, '--ost-map', tokiotest.SAMPLE_OSTMAP_FILE, tokiotest.SAMPLE_DARSHAN_LOG] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_json(output_str, key='darshan_agg_perf_by_slowest_posix') assert verify_output_json(output_str, key='darshan_biggest_read_api') assert verify_output_json(output_str, key='darshan_biggest_read_fs') assert verify_output_json(output_str, key='fs_tot_gibs_written') assert verify_output_json(output_str, key='fshealth_ost_overloaded_pct') @tokiotest.needs_darshan def test_with_nersc_jobsdb(): """ cli.summarize_job --concurrentjobs --jobhost """ tokiotest.check_darshan() argv = ['--json', '--concurrentjobs', tokiotest.SAMPLE_NERSCJOBSDB_FILE, '--jobhost', tokiotest.SAMPLE_DARSHAN_JOBHOST, tokiotest.SAMPLE_DARSHAN_LOG] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_json(output_str, key='darshan_agg_perf_by_slowest_posix') assert verify_output_json(output_str, key='darshan_biggest_read_api') assert verify_output_json(output_str, key='darshan_biggest_read_fs') assert verify_output_json(output_str, key='fs_tot_gibs_written') assert verify_output_json(output_str, key='jobsdb_concurrent_nodehrs') def test_without_darshan(): """ cli.summarize_job sans Darshan log (h5lmt-only) """ argv = ['--json', '--slurm-jobid', tokiotest.SAMPLE_DARSHAN_JOBID, '--start-time', tokiotest.SAMPLE_DARSHAN_START_TIME, '--end-time', tokiotest.SAMPLE_DARSHAN_END_TIME, '--file-system', tokiotest.SAMPLE_DARSHAN_FILE_SYSTEM] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_json(output_str, key='fs_tot_gibs_written') def test_most_without_darshan(): """ cli.summarize_job sans Darshan log (most functionality) """ argv = ['--json', '--slurm-jobid', tokiotest.SAMPLE_SLURM_CACHE_FILE, '--start-time', tokiotest.SAMPLE_DARSHAN_START_TIME, '--end-time', tokiotest.SAMPLE_DARSHAN_END_TIME, '--file-system', tokiotest.SAMPLE_DARSHAN_FILE_SYSTEM, '--concurrentjobs', tokiotest.SAMPLE_NERSCJOBSDB_FILE, '--jobhost', tokiotest.SAMPLE_DARSHAN_JOBHOST, '--ost', '--ost-fullness', tokiotest.SAMPLE_OSTFULLNESS_FILE, '--ost-map', tokiotest.SAMPLE_OSTMAP_FILE, '--topology', tokiotest.SAMPLE_XTDB2PROC_FILE] print("Executing: %s" % ' '.join(argv)) output_str = tokiotest.run_bin(tokio.cli.summarize_job, argv) assert verify_output_json(output_str, key='fs_tot_gibs_written') assert verify_output_json(output_str, key='jobsdb_concurrent_nodehrs') assert verify_output_json(output_str, key='fshealth_ost_overloaded_pct') assert verify_output_json(output_str, key='topology_job_max_radius')
40.378855
98
0.712525
1,223
9,166
4.988553
0.125102
0.078184
0.078676
0.097361
0.804786
0.761187
0.723488
0.672021
0.646779
0.633503
0
0.001858
0.177831
9,166
226
99
40.557522
0.807723
0.119463
0
0.696774
0
0
0.182537
0.096495
0
0
0
0
0.277419
1
0.083871
false
0
0.051613
0
0.148387
0.077419
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
14b33a7e39403ee34a1e51e639ec56b1323b03d1
1,001
py
Python
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GLES2/NV/framebuffer_blit.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GLES2/NV/framebuffer_blit.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/raw/GLES2/NV/framebuffer_blit.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GLES2 import _types as _cs # End users want this... from OpenGL.raw.GLES2._types import * from OpenGL.raw.GLES2 import _errors from OpenGL.constant import Constant as _C import ctypes _EXTENSION_NAME = 'GLES2_NV_framebuffer_blit' def _f( function ): return _p.createFunction( function,_p.PLATFORM.GLES2,'GLES2_NV_framebuffer_blit',error_checker=_errors._error_checker) GL_DRAW_FRAMEBUFFER_BINDING_NV=_C('GL_DRAW_FRAMEBUFFER_BINDING_NV',0x8CA6) GL_DRAW_FRAMEBUFFER_NV=_C('GL_DRAW_FRAMEBUFFER_NV',0x8CA9) GL_READ_FRAMEBUFFER_BINDING_NV=_C('GL_READ_FRAMEBUFFER_BINDING_NV',0x8CAA) GL_READ_FRAMEBUFFER_NV=_C('GL_READ_FRAMEBUFFER_NV',0x8CA8) @_f @_p.types(None,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLbitfield,_cs.GLenum) def glBlitFramebufferNV(srcX0,srcY0,srcX1,srcY1,dstX0,dstY0,dstX1,dstY1,mask,filter):pass
47.666667
122
0.829171
158
1,001
4.835443
0.417722
0.073298
0.094241
0.128272
0.363874
0.075916
0.075916
0.075916
0.075916
0.075916
0
0.026824
0.068931
1,001
20
123
50.05
0.792918
0.0999
0
0
1
0
0.17226
0.17226
0
0
0.026846
0
0
1
0.125
false
0.0625
0.375
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
1ada14aea60a932d51cf5c9734d8ce55a41d9a03
162
py
Python
scratch/testing_getpass.py
IskyN/submeter-bill-generator
0639d25f99f35d10a8dbb6c81843fa27daf3f32f
[ "Apache-2.0" ]
null
null
null
scratch/testing_getpass.py
IskyN/submeter-bill-generator
0639d25f99f35d10a8dbb6c81843fa27daf3f32f
[ "Apache-2.0" ]
null
null
null
scratch/testing_getpass.py
IskyN/submeter-bill-generator
0639d25f99f35d10a8dbb6c81843fa27daf3f32f
[ "Apache-2.0" ]
null
null
null
from getpass import getpass from io import StringIO print("here") s = StringIO() p = getpass("don't enter a password. ", stream=s) print(p, s.getvalue())
20.25
50
0.679012
25
162
4.4
0.64
0
0
0
0
0
0
0
0
0
0
0
0.185185
162
7
51
23.142857
0.833333
0
0
0
0
0
0.180645
0
0
0
0
0
0
1
0
false
0.333333
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
4
1aeeb8aaef8531060b747f1e81244c2318ea2d44
151
py
Python
paintfactory/paintmaker/__init__.py
Ammad-ud-din/paint_factory_puzzle
ce94c5b327c84d1f3ca7fe7396ffe319b8a0993e
[ "MIT" ]
null
null
null
paintfactory/paintmaker/__init__.py
Ammad-ud-din/paint_factory_puzzle
ce94c5b327c84d1f3ca7fe7396ffe319b8a0993e
[ "MIT" ]
null
null
null
paintfactory/paintmaker/__init__.py
Ammad-ud-din/paint_factory_puzzle
ce94c5b327c84d1f3ca7fe7396ffe319b8a0993e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Paint Factory Puzzle # Author: mu.ammad.ud.din@gmail.com # Last Update: 09 March 2019 # License: MIT
18.875
35
0.668874
24
151
4.208333
1
0
0
0
0
0
0
0
0
0
0
0.062992
0.15894
151
7
36
21.571429
0.732283
0.913907
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
21060b3a9518cabb3b9a7e11455c935fd00795ed
541
py
Python
fdk_client/platform/models/ProductAvailability.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/platform/models/ProductAvailability.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/platform/models/ProductAvailability.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
"""Platform Models.""" from marshmallow import fields, Schema from marshmallow.validate import OneOf from ..enums import * from ..models.BaseSchema import BaseSchema class ProductAvailability(BaseSchema): # Cart swagger.json other_store_quantity = fields.Int(required=False) sizes = fields.List(fields.Str(required=False), required=False) out_of_stock = fields.Boolean(required=False) is_valid = fields.Boolean(required=False) deliverable = fields.Boolean(required=False)
15.911765
67
0.7061
60
541
6.283333
0.533333
0.206897
0.167109
0.206897
0
0
0
0
0
0
0
0
0.201479
541
33
68
16.393939
0.872685
0.064695
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
213603d35746be7facf9e282621f87c80e00eacb
85
py
Python
src/config.py
teamrubicks/EMLO-session3
feb98878e08a6dd99c065da68fcb981c52ec8b6c
[ "MIT" ]
null
null
null
src/config.py
teamrubicks/EMLO-session3
feb98878e08a6dd99c065da68fcb981c52ec8b6c
[ "MIT" ]
null
null
null
src/config.py
teamrubicks/EMLO-session3
feb98878e08a6dd99c065da68fcb981c52ec8b6c
[ "MIT" ]
null
null
null
import os path = os.path.abspath("") IMG_STORE = os.path.join(path, "data_files")
12.142857
44
0.682353
14
85
4
0.642857
0.321429
0
0
0
0
0
0
0
0
0
0
0.141176
85
6
45
14.166667
0.767123
0
0
0
0
0
0.119048
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
dce1ff3675f020cd734c433f3eeb46b76d925127
708
py
Python
src/mbed_cloud/_backends/connector_bootstrap/__init__.py
GQMai/mbed-cloud-sdk-python
76ef009903415f37f69dcc5778be8f5fb14c08fe
[ "Apache-2.0" ]
12
2017-12-28T11:18:43.000Z
2020-10-04T12:11:15.000Z
src/mbed_cloud/_backends/connector_bootstrap/__init__.py
GQMai/mbed-cloud-sdk-python
76ef009903415f37f69dcc5778be8f5fb14c08fe
[ "Apache-2.0" ]
50
2017-12-21T12:50:41.000Z
2020-01-13T16:07:08.000Z
src/mbed_cloud/_backends/connector_bootstrap/__init__.py
GQMai/mbed-cloud-sdk-python
76ef009903415f37f69dcc5778be8f5fb14c08fe
[ "Apache-2.0" ]
8
2018-04-25T17:47:29.000Z
2019-08-29T06:38:27.000Z
# coding: utf-8 """ Bootstrap API Bootstrap API allows web applications to control the device bootstrapping process. OpenAPI spec version: 2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import # import models into sdk package from .models.list_of_pre_shared_keys_without_secret import ListOfPreSharedKeysWithoutSecret from .models.pre_shared_key import PreSharedKey from .models.pre_shared_key_without_secret import PreSharedKeyWithoutSecret # import apis into sdk package from .apis.pre_shared_keys_api import PreSharedKeysApi # import ApiClient from .api_client import ApiClient from .configuration import Configuration
25.285714
91
0.813559
91
708
6.098901
0.549451
0.064865
0.05045
0.064865
0.079279
0
0
0
0
0
0
0.003279
0.138418
708
27
92
26.222222
0.906557
0.39548
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
0d1b60fa94c07d0e89848995367ec4e15a0f0db5
25
py
Python
tardis/util/__init__.py
GOLoDovkA-A/tardis
847b562022ccda2db2486549f739188ba48f172c
[ "BSD-3-Clause" ]
1
2020-02-24T20:58:02.000Z
2020-02-24T20:58:02.000Z
tardis/util/__init__.py
GOLoDovkA-A/tardis
847b562022ccda2db2486549f739188ba48f172c
[ "BSD-3-Clause" ]
2
2019-06-10T11:24:50.000Z
2019-06-18T17:28:59.000Z
tardis/util/__init__.py
GOLoDovkA-A/tardis
847b562022ccda2db2486549f739188ba48f172c
[ "BSD-3-Clause" ]
1
2019-06-10T10:21:41.000Z
2019-06-10T10:21:41.000Z
# Utilities for TARDIS
6.25
22
0.72
3
25
6
1
0
0
0
0
0
0
0
0
0
0
0
0.24
25
3
23
8.333333
0.947368
0.8
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0d1e11decb4f57460ae7157322008ad15d351e19
249
py
Python
src/ethereum/tangerine_whistle/utils/__init__.py
petertdavies/execution-specs
fabda289c747f535f1d2851ec7ebd0caa89f423f
[ "CC0-1.0" ]
102
2021-08-19T02:44:03.000Z
2022-03-27T23:46:00.000Z
src/ethereum/tangerine_whistle/utils/__init__.py
petertdavies/execution-specs
fabda289c747f535f1d2851ec7ebd0caa89f423f
[ "CC0-1.0" ]
264
2021-08-18T14:15:26.000Z
2022-03-31T12:24:23.000Z
src/ethereum/tangerine_whistle/utils/__init__.py
ultratwo/execution-specs
55d7fd716fc194b30e37a6e487c191445dfec9bc
[ "CC0-1.0" ]
30
2021-08-20T05:38:34.000Z
2022-01-19T06:49:29.000Z
""" Tangerine Whistle Utility Functions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. contents:: Table of Contents :backlinks: none :local: Introduction ------------ Utility functions used in this tangerine whistle version of specification. """
17.785714
74
0.598394
22
249
6.772727
0.727273
0.214765
0
0
0
0
0
0
0
0
0
0
0.15261
249
13
75
19.153846
0.706161
0.963855
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0d2f64eb0ae8a964971ce27b61ec030ce73103ab
25
py
Python
homeassistant/components/uvc/__init__.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/uvc/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
homeassistant/components/uvc/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""The uvc component."""
12.5
24
0.6
3
25
5
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.681818
0.72
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
0d55b444fe498e454a47bc350496eb7da14c57ac
783
py
Python
illumiprocessor/cli/__init__.py
faircloth-lab/illumiprocessor
8fae16e5147d5e65f4cc518d30b07fe77f9cc72a
[ "BSD-3-Clause" ]
12
2015-03-20T16:12:57.000Z
2019-01-18T13:10:33.000Z
illumiprocessor/cli/__init__.py
faircloth-lab/illumiprocessor
8fae16e5147d5e65f4cc518d30b07fe77f9cc72a
[ "BSD-3-Clause" ]
11
2015-03-13T16:18:57.000Z
2021-07-10T22:11:43.000Z
illumiprocessor/cli/__init__.py
faircloth-lab/illumiprocessor
8fae16e5147d5e65f4cc518d30b07fe77f9cc72a
[ "BSD-3-Clause" ]
12
2015-03-13T16:58:04.000Z
2020-06-16T05:09:46.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ (c) 2013 Brant Faircloth || http://faircloth-lab.org/ All rights reserved. This code is distributed under a 3-clause BSD license. Please see LICENSE.txt for more information. Created on 26 December 2013 16:12 PST (-0800) NOTE: The layout of the cli subdirectory of this package draws heavily from the "conda" package manager for the anaconda package distribution. I have followed the general code structure used for the CLI of the conda package manager because it is excellent, and the structure of the code aligns well with a complex CLI interface. The conda package manger is (c) 2012 Continuum Analytics, Inc. http://continuum.io and available under a 3-clause BSD license. """ from illumiprocessor.cli.main import main
30.115385
76
0.763729
126
783
4.746032
0.634921
0.025084
0.075251
0.043478
0.076923
0.076923
0
0
0
0
0
0.038168
0.163474
783
25
77
31.32
0.874809
0.925926
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
b49312e94f833aaf86e274361ef717ab40e8deeb
68
py
Python
guess.py
rkomorn/git-guess
6c6cb6fe6b13f0de9508dbf4a9e158116b3607ba
[ "MIT" ]
null
null
null
guess.py
rkomorn/git-guess
6c6cb6fe6b13f0de9508dbf4a9e158116b3607ba
[ "MIT" ]
4
2018-05-21T23:11:07.000Z
2018-05-22T17:13:21.000Z
guess.py
rkomorn/git-guess
6c6cb6fe6b13f0de9508dbf4a9e158116b3607ba
[ "MIT" ]
null
null
null
# commit number: 100 # broken status: broken import sys sys.exit(1)
13.6
23
0.735294
11
68
4.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0.070175
0.161765
68
4
24
17
0.807018
0.588235
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
b4a4052e2f7e483f9f8c2011e0a56dc0a5660a88
106
py
Python
ringogw/py/ringo_reader.py
tuulos/ringo
57a8e510a5b4fa77c8ab6f2dbf5795b41fbc631f
[ "BSD-3-Clause" ]
25
2015-01-07T14:22:09.000Z
2021-12-09T12:56:39.000Z
ringogw/py/ringo_reader.py
zhou/ringo
02791aab2ef2a44cae796537636deb8aa2c7f82d
[ "BSD-3-Clause" ]
null
null
null
ringogw/py/ringo_reader.py
zhou/ringo
02791aab2ef2a44cae796537636deb8aa2c7f82d
[ "BSD-3-Clause" ]
7
2015-04-28T03:47:35.000Z
2019-11-02T06:19:50.000Z
import ringodisco, sys for k, v in ringodisco.ringo_reader(file(sys.argv[1]), 0, ""): print k, v
21.2
62
0.641509
18
106
3.722222
0.777778
0.059701
0
0
0
0
0
0
0
0
0
0.02381
0.207547
106
4
63
26.5
0.77381
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
b4f08ca8837f79512cd7f914930859ce19ae3cfb
271
py
Python
whatsapp/browser/__init__.py
jaobernardi/robosdocovid
e620b2951e5bdd9046f81abf38e767080a9695f4
[ "Apache-2.0" ]
null
null
null
whatsapp/browser/__init__.py
jaobernardi/robosdocovid
e620b2951e5bdd9046f81abf38e767080a9695f4
[ "Apache-2.0" ]
null
null
null
whatsapp/browser/__init__.py
jaobernardi/robosdocovid
e620b2951e5bdd9046f81abf38e767080a9695f4
[ "Apache-2.0" ]
null
null
null
''' This package is basically the brain for the bot. It detects, processes and awnser the messages. Also, messages are serialized using dill, so it can run handle multi-threaded/proceses projects. ''' from .task import run_browser from .methods import send_message
38.714286
97
0.774908
41
271
5.073171
0.829268
0
0
0
0
0
0
0
0
0
0
0
0.166052
271
6
98
45.166667
0.920354
0.708487
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
2e9bcb8b014005ee9f25df8a6d6d7e0d85fab48e
91
py
Python
standard_lib/unicode_source_code.py
DahlitzFlorian/python-snippets
212f63f820b6f5842f74913ed08da18d41dfe7a4
[ "MIT" ]
29
2019-03-25T09:35:12.000Z
2022-01-08T22:09:03.000Z
standard_lib/unicode_source_code.py
DahlitzFlorian/python-snippets
212f63f820b6f5842f74913ed08da18d41dfe7a4
[ "MIT" ]
null
null
null
standard_lib/unicode_source_code.py
DahlitzFlorian/python-snippets
212f63f820b6f5842f74913ed08da18d41dfe7a4
[ "MIT" ]
4
2020-05-19T21:18:12.000Z
2021-05-18T12:49:21.000Z
# Only works in Python REPL def ^2(' ): f"result" = ' * ' return f"result" ^2(4)
11.375
27
0.516484
14
91
3.357143
0.785714
0.297872
0
0
0
0
0
0
0
0
0
0.046875
0.296703
91
8
28
11.375
0.6875
0.274725
0
0
0
0
0.230769
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
2ec52cb3d52f03039884e930cf941a6446007a16
305
py
Python
destructify/__init__.py
mvdnes/destructify
eb37ee3465da429685a8301ec00b4a63cd375561
[ "MIT" ]
null
null
null
destructify/__init__.py
mvdnes/destructify
eb37ee3465da429685a8301ec00b4a63cd375561
[ "MIT" ]
null
null
null
destructify/__init__.py
mvdnes/destructify
eb37ee3465da429685a8301ec00b4a63cd375561
[ "MIT" ]
null
null
null
class _NOT_PROVIDED_META(type): def __repr__(self): return "NOT_PROVIDED" class NOT_PROVIDED(metaclass=_NOT_PROVIDED_META): pass from destructify.parsing import * from destructify.fields import * from destructify.structures import * from destructify import gui __version__ = '0.2.0'
17.941176
49
0.760656
39
305
5.538462
0.538462
0.203704
0.291667
0
0
0
0
0
0
0
0
0.011765
0.163934
305
16
50
19.0625
0.835294
0
0
0
0
0
0.055738
0
0
0
0
0
0
1
0.1
false
0.1
0.4
0.1
0.8
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
4
2ee86a3a8a9413bb0883c688e32252acc0ae7a69
1,029
py
Python
src/cltl/object_recognition/api.py
leolani/cltl-objectdetection
2a1f76982aa8032468d09022b9ce90135c8353bb
[ "MIT" ]
null
null
null
src/cltl/object_recognition/api.py
leolani/cltl-objectdetection
2a1f76982aa8032468d09022b9ce90135c8353bb
[ "MIT" ]
null
null
null
src/cltl/object_recognition/api.py
leolani/cltl-objectdetection
2a1f76982aa8032468d09022b9ce90135c8353bb
[ "MIT" ]
null
null
null
import abc import dataclasses from typing import List, Optional, Iterable, Tuple import numpy as np from cltl.backend.api.camera import Bounds @dataclasses.dataclass class Object: """ Information about a Face. Includes a vector representation of the face and optional meta information. """ # TODO switch to np.typing.ArrayLike type: Optional[int] class ObjectDetector(abc.ABC): """ Detect faces in an image. """ def detect(self, image: np.ndarray) -> Tuple[Iterable[Object], Iterable[Bounds]]: """ Detect objects in an image. Parameters ---------- image : np.ndarray The binary image. Returns ------- Iterable[Object] The faces detected in the image. Iterable[Bounds] The positions of the detected objects in the image. """ raise NotImplementedError() def __enter__(self): pass def __exit__(self, exc_type, exc_val, exc_tb): pass
21.4375
85
0.612245
118
1,029
5.245763
0.508475
0.016155
0.029079
0
0
0
0
0
0
0
0
0
0.297376
1,029
47
86
21.893617
0.856155
0.388727
0
0.133333
0
0
0
0
0
0
0
0.021277
0
1
0.2
false
0.133333
0.333333
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
1
0
1
0
0
4
2c126b0a48ac26807c7d46da8839798e2ee6607e
574
py
Python
web_utils.py
ostev/argo
91641965cb3816c7e9f0dfec99d32e91b3a882a6
[ "MIT" ]
null
null
null
web_utils.py
ostev/argo
91641965cb3816c7e9f0dfec99d32e91b3a882a6
[ "MIT" ]
null
null
null
web_utils.py
ostev/argo
91641965cb3816c7e9f0dfec99d32e91b3a882a6
[ "MIT" ]
null
null
null
from http.server import BaseHTTPRequestHandler def respond(handler: BaseHTTPRequestHandler, text: str, content_type: str): handler.send_response(200) handler.send_header("Content-type", content_type) handler.end_headers() handler.wfile.write(bytes(text, "utf-8")) def respond_html(handler: BaseHTTPRequestHandler, text: str): respond(handler, text, "text/html") def respond_json(handler: BaseHTTPRequestHandler, text: str): respond(handler, text, "application/json") def not_found(handler: BaseHTTPRequestHandler): handler.send_error(404)
28.7
75
0.761324
68
574
6.294118
0.441176
0.271028
0.231308
0.252336
0.252336
0.252336
0.252336
0
0
0
0
0.013944
0.125436
574
20
76
28.7
0.838645
0
0
0
0
0
0.073043
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0
0.416667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
2c1691e833575f030c17f88a780769f8099601f2
320
py
Python
common/middleware.py
lxtonghhh/todoist-backend
429b97e2130b90752ebe7629e14fc94f8735de44
[ "MIT" ]
null
null
null
common/middleware.py
lxtonghhh/todoist-backend
429b97e2130b90752ebe7629e14fc94f8735de44
[ "MIT" ]
null
null
null
common/middleware.py
lxtonghhh/todoist-backend
429b97e2130b90752ebe7629e14fc94f8735de44
[ "MIT" ]
null
null
null
from django.utils.deprecation import MiddlewareMixin class NotloginMiddleware(MiddlewareMixin): def process_request(self, request): pass def process_view(self, request, callback, callback_args, callback_kwargs): pass def process_response(self, request, response): return response
24.615385
78
0.7375
34
320
6.794118
0.558824
0.12987
0.121212
0
0
0
0
0
0
0
0
0
0.196875
320
12
79
26.666667
0.898833
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0.25
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
2c19c0b3de701dae03f1f6fac4c79f94c24c8cff
19,266
py
Python
malapiclient/__init__.py
jonathanlo411/malapiclient
9adb9065cd7e1bcb313b98a45f5b784e1261f7ff
[ "MIT" ]
null
null
null
malapiclient/__init__.py
jonathanlo411/malapiclient
9adb9065cd7e1bcb313b98a45f5b784e1261f7ff
[ "MIT" ]
null
null
null
malapiclient/__init__.py
jonathanlo411/malapiclient
9adb9065cd7e1bcb313b98a45f5b784e1261f7ff
[ "MIT" ]
null
null
null
# Packages import requests import secrets # Custom Errors from .errors import * class malclient: ########### Meta ########### def __init__(self, client_id, client_secret=None, **kwargs): # Base self.authed = False self.cid = client_id self.cis = client_secret self.code = None self.token = None def __repr__(self): return f'{"Authorized " if self.authed else ""}MAL API Client, ID: {self.cid}' ########### Setters ########### def set_client_secret(self, secret: str): """ Sets the secret to the client @params secret: Secret to add """ self.cis = secret def set_token(self, token: dict): """ Sets the token to the client @params token: dict in the format of JSON token response """ self.token = token self.authed = True ########### Getters ########### def get_client_id(self): """ Returns the Client ID """ return self.cid def get_client_secret(self): """ Returns the Client Secret if there is one, otherwise returns None """ return self.cis def get_token(self): """ Returns the token if there is one, otherwise returns None """ return self.token ########### Authorizing and Tokens ########### def get_authorize_link(self): """ Returns the link to authorize """ self.code = secrets.token_urlsafe(100)[:120] url = f'https://myanimelist.net/v1/oauth2/authorize?response_type=code&client_id={self.cid}&code_challenge={self.code}' return url def generate_token(self, authorisation_code: str): """ Generates MAL User token (modified from ZeroCrystal) @params authorisation_code: Code returned after redirected from the auth URL """ # Need Client Secret to generate token if self.cis == None: raise NoClientSecretError url = 'https://myanimelist.net/v1/oauth2/token' data = { 'client_id': self.cid, 'client_secret': self.cis, 'code': authorisation_code, 'code_verifier': self.code, 'grant_type': 'authorization_code' } # Request response = requests.post(url, data) response.raise_for_status() token = response.json() response.close() self.token = token self.authed = True return token def refresh_token(self): """ Refreshes the token currently assigned to the client """ url = "https://myanimelist.net/v1/oauth2/token" data = { 'client_id': self.cid, 'client_secret': self.cis, 'refresh_token': self.token['refresh_token'], 'grant_type': 'refresh_token' } # Request response = requests.post(url, data) response.raise_for_status() token = response.json() response.close() self.token = token return token ########### MAL Endpoints ########### ### Anime ### def search_anime(self, query: str, **kwargs: iter): """ Returns the results of an anime search @params query: What you want to search """ url = f"https://api.myanimelist.net/v2/anime?q={query}" # User Specified Scopes if "fields" in kwargs.keys(): url += "&fields=" for i in kwargs['fields']: url += f"{i}," if "limit" in kwargs.keys(): url += f"&limit={kwargs['limit']}" # Request response = requests.get(url, headers= { 'X-MAL-CLIENT-ID': self.cid }) response.raise_for_status() results = response.json() response.close() return results def get_anime_details(self, anime_id: str, **kwargs: iter): """ Returns anime details given @params anime_id: ID of the anime @params fields: Called when fields={some sort of iterable. When querying for specific fields """ url = f'https://api.myanimelist.net/v2/anime/{anime_id}?fields=id,title,main_picture,alternative_titles,start_date,end_date,synopsis,mean,rank,popularity,num_list_users,num_scoring_users,nsfw,created_at,updated_at,media_type,status,genres,my_list_status,num_episodes,start_season,broadcast,source,average_episode_duration,rating,pictures,background,related_anime,related_manga,recommendations,studios,statistics' # User Specified Scopes if "fields" in kwargs.keys(): url = f'https://api.myanimelist.net/v2/anime/{anime_id}?fields=' for i in kwargs['fields']: url += f"{i}," # Request response = requests.get(url, headers= { 'X-MAL-CLIENT-ID': self.cid }) response.raise_for_status() anime_stats = response.json() response.close() return anime_stats def get_anime_ranking(self, ranking_type="all", **kwargs: iter): """ Returns the anime rankings @params ranking_type: Type of ranking """ url = f"https://api.myanimelist.net/v2/anime/ranking?ranking_type={ranking_type}" # User Specified Scopes if "fields" in kwargs.keys(): url += "&fields=" for i in kwargs['fields']: url += f"{i}," if "limit" in kwargs.keys(): url += f"&limit={kwargs['limit']}" if "offset" in kwargs.keys(): url += f"&offset={kwargs['offset']}" # Request response = requests.get(url, headers= { 'X-MAL-CLIENT-ID': self.cid }) response.raise_for_status() results = response.json() response.close() return results def get_anime_seasonal(self, year: int, season: str, **kwargs: iter): """ Returns the anime during the specified season and year @params year: Year of season you are searching for @params season: Specific season (Fall, Winter, etc.) """ url = f"https://api.myanimelist.net/v2/anime/season/{year}/{season.lower()}" # User Specified Scopes if len(kwargs) != 0: url += "?" if "fields" in kwargs.keys(): url += "&fields=" for i in kwargs['fields']: url += f"{i}," if "limit" in kwargs.keys(): url += f"&limit={kwargs['limit']}" if "offset" in kwargs.keys(): url += f"&offset={kwargs['offset']}" if "sort" in kwargs.keys(): url += f"&sort={kwargs['sort']}" # Request response = requests.get(url, headers= { 'X-MAL-CLIENT-ID': self.cid }) response.raise_for_status() results = response.json() response.close() return results def get_anime_suggestions(self, **kwargs: iter): # Not Authed if not self.authed: raise NeedAuthentificationError url = "https://api.myanimelist.net/v2/anime/suggestions" # User Specified Scopes if len(kwargs) != 0: url += "?" if "fields" in kwargs.keys(): url += "&fields=" for i in kwargs['fields']: url += f"{i}," if "limit" in kwargs.keys(): url += f"&limit={kwargs['limit']}" if "offset" in kwargs.keys(): url += f"&offset={kwargs['offset']}" # Request response = requests.get(url, headers = { "Authorization": f"Bearer {self.token['access_token']}" }) response.raise_for_status() results = response.json() response.close() return results ### User Anime ### def update_anime(self, anime_id: int, **kwargs: iter): # Not Authed: if not self.authed: raise NeedAuthentificationError url = f"https://api.myanimelist.net/v2/anime/{anime_id}/my_list_status" # User Specified Scopes data = {} if len(kwargs) != 0: if "status" in kwargs.keys(): data['status'] = kwargs['status'] if "is_rewatching" in kwargs.keys(): data['is_rewatching'] = kwargs['is_rewatching'] if "score" in kwargs.keys(): data['score'] = kwargs['score'] if "num_watched_episodes" in kwargs.keys(): data['num_watched_episodes'] = kwargs['num_watched_episodes'] if "priority" in kwargs.keys(): data['priority'] = kwargs['priority'] if "num_times_rewatched" in kwargs.keys(): data['num_times_rewatched'] = kwargs['num_times_rewatched'] if "rewatch_value" in kwargs.keys(): data['rewatch_value'] = kwargs['rewatch_value'] if "tags" in kwargs.keys(): data['tags'] = kwargs['tags'] if "comments" in kwargs.keys(): data['comments'] = kwargs['comments'] else: print("raise error here") # Request response = requests.patch(url, data = data, headers= { 'Authorization': f'Bearer {self.token["access_token"]}' }) response.raise_for_status() data = response.json() response.close() return data def delete_anime(self, anime_id: str, **kwargs): """ Removes the anime from the user's animelist given the anime ID @params anime_id: ID of the anime """ url = f"https://api.myanimelist.net/v2/anime/{anime_id}/my_list_status" # Request response = requests.delete(url, headers = { 'Authorization': f'Bearer {self.token["access_token"]}' }) response.raise_for_status() data = response.json() response.close() return data def get_user_anime(self, user_name="@me", **kwargs: iter): """ Returns the animelist of a user. If no user_name is provded, defaults to token owner. @params user_name: User name of anime list to be returned """ # Need auth if querying for @me if user_name == "@me" and not self.authed: raise NeedAuthentificationError url = f'https://api.myanimelist.net/v2/users/{user_name}/animelist' # User Specified Scopes if len(kwargs) != 0: url += "?" if "fields" in kwargs.keys(): url += "&fields=" for i in kwargs['fields']: url += f"{i}," if "limit" in kwargs.keys(): url += f"&limit={kwargs['limit']}" if "sort" in kwargs.keys(): url += f"&sort={kwargs['sort']}" if "offset" in kwargs.keys(): url += f"&offset={kwargs['offset']}" if "status" in kwargs.keys(): url += f"&status={kwargs['status']}" # Request if user_name == "@me": response = requests.get(url, headers= { 'Authorization': f'Bearer {self.token["access_token"]}' }) else: response = requests.get(url, headers= { 'X-MAL-CLIENT-ID': self.cid }) response.raise_for_status() anime_list = response.json() response.close() return anime_list ### Manga ### def search_manga(self, query: str, **kwargs: iter): """ Returns the results of an manga search @params query: What you want to search """ url = f"https://api.myanimelist.net/v2/manga?q={query}" # User Specified Scopes if "fields" in kwargs.keys(): url += "&fields=" for i in kwargs['fields']: url += f"{i}," if "limit" in kwargs.keys(): url += f"&limit={kwargs['limit']}" if "offset" in kwargs.keys(): url += f"&offset={kwargs['offset']}" # Request response = requests.get(url, headers= { 'X-MAL-CLIENT-ID': self.cid }) response.raise_for_status() results = response.json() response.close() return results def get_manga_details(self, manga_id: str, **kwargs: iter): """ Returns manga details given @params manga_id: ID of the manga """ url = f'https://api.myanimelist.net/v2/manga/{manga_id}?fields=id,title,main_picture,alternative_titles,start_date,end_date,synopsis,mean,rank,popularity,num_list_users,num_scoring_users,nsfw,created_at,updated_at,media_type,status,genres,my_list_status,num_episodes,start_season,broadcast,source,average_episode_duration,rating,pictures,background,related_anime,related_manga,recommendations,studios,statistics' # User Specified Scopes if "fields" in kwargs.keys(): url = f'https://api.myanimelist.net/v2/manga/{manga_id}?fields=' for i in kwargs['fields']: url += f"{i}," # Request response = requests.get(url, headers= { 'X-MAL-CLIENT-ID': self.cid }) response.raise_for_status() manga_stats = response.json() response.close() return manga_stats def get_manga_ranking(self, ranking_type="all", **kwargs: iter): """ Returns the manga rankings @params ranking_type: Type of ranking """ url = f"https://api.myanimelist.net/v2/manga/ranking?ranking_type={ranking_type}" # User Specified Scopes if "fields" in kwargs.keys(): url += "&fields=" for i in kwargs['fields']: url += f"{i}," if "limit" in kwargs.keys(): url += f"&limit={kwargs['limit']}" if "offset" in kwargs.keys(): url += f"&offset={kwargs['offset']}" # Request response = requests.get(url, headers= { 'X-MAL-CLIENT-ID': self.cid }) response.raise_for_status() results = response.json() response.close() return results ### User Manga ### def update_manga(self, manga_id: int, **kwargs: iter): """ Updates the user's status on the given manga @params manga_id: Manga to be updated """ # Need auth if not self.authed: raise NeedAuthentificationError url = f"https://api.myanimelist.net/v2/manga/{manga_id}/my_list_status" # User Specified Scopes data = {} if len(kwargs) != 0: if "status" in kwargs.keys(): data['status'] = kwargs['status'] if "is_rereading" in kwargs.keys(): data['is_rereading'] = kwargs['is_rereading'] if "score" in kwargs.keys(): data['score'] = kwargs['score'] if "num_chapters_read" in kwargs.keys(): data['num_chapters_read'] = kwargs['num_chapters_read'] if "num_volumes_read" in kwargs.keys(): data['num_volumes_read'] = kwargs['num_volumes_read'] if "priority" in kwargs.keys(): data['priority'] = kwargs['priority'] if "num_times_reread" in kwargs.keys(): data['num_times_reread'] = kwargs['num_times_reread'] if "reread_value" in kwargs.keys(): data['reread_value'] = kwargs['reread_value'] if "tags" in kwargs.keys(): data['tags'] = kwargs['tags'] if "comments" in kwargs.keys(): data['comments'] = kwargs['comments'] else: print("raise error here") # Request response = requests.patch(url, data = data, headers= { 'Authorization': f'Bearer {self.token["access_token"]}' }) response.raise_for_status() data = response.json() response.close() return data def delete_manga(self, manga_id: str, **kwargs): """ Removes the manga from the user's mangalist given the manga ID @params manga_id: ID of the manga """ # Need auth if not self.authed: raise NeedAuthentificationError url = f"https://api.myanimelist.net/v2/manga/{manga_id}/my_list_status" # Request response = requests.delete(url, headers = { 'Authorization': f'Bearer {self.token["access_token"]}' }) response.raise_for_status() data = response.json() response.close() return data def get_user_manga(self, user_name="@me", **kwargs: iter): """ Returns the mangalist of a user. If no user_name is provded, defaults to token owner. @params user_name: User name of manga list to be returned """ # Need auth if querying for @me if user_name == '@me' and not self.authed: raise NeedAuthentificationError url = f'https://api.myanimelist.net/v2/users/{user_name}/mangalist' # User Specified Scopes if len(kwargs) != 0: url += "?" if "fields" in kwargs.keys(): url += "&fields=" for i in kwargs['fields']: url += f"{i}," if "limit" in kwargs.keys(): url += f"&limit={kwargs['limit']}" if "sort" in kwargs.keys(): url += f"&sort={kwargs['sort']}" if "offset" in kwargs.keys(): url += f"&offset={kwargs['offset']}" if "status" in kwargs.keys(): url += f"&status={kwargs['status']}" # Request if user_name == "@me": response = requests.get(url, headers= { 'Authorization': f'Bearer {self.token["access_token"]}' }) else: response = requests.get(url, headers= { 'X-MAL-CLIENT-ID': self.cid }) response.raise_for_status() manga_list = response.json() response.close() return manga_list ### User Information ### def get_user(self, **kwargs): """ Gets user information based from the token """ # Need auth if not self.authed: raise NeedAuthentificationError user_name = "@me" url = f'https://api.myanimelist.net/v2/users/{user_name}?fields="anime_statistics"' # User Specified Scopes if "fields" in kwargs.keys(): url = f"https://api.myanimelist.net/v2/users/{user_name}?fields=" for i in kwargs['fields']: url += f"{i}," # Request response = requests.get(url, headers = { 'Authorization': f'Bearer {self.token["access_token"]}' }) response.raise_for_status() info = response.json() response.close() return info
36.41966
420
0.539292
2,141
19,266
4.737973
0.105091
0.048107
0.059148
0.04584
0.769519
0.738959
0.706723
0.696865
0.679712
0.662559
0
0.002792
0.330842
19,266
529
421
36.41966
0.784052
0.129503
0
0.722689
0
0.008403
0.261395
0.044828
0
0
0
0
0
1
0.070028
false
0
0.008403
0.002801
0.142857
0.005602
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
257dbf24c51831c9479eb0cd44cfdb587968efb8
197
py
Python
mptb/__init__.py
to-aoki/my-pytorch-bert
8e412ae6331f5f19fee55b430be389de2f5c49a6
[ "Apache-2.0" ]
21
2019-03-04T03:43:19.000Z
2022-02-14T15:50:41.000Z
mptb/__init__.py
to-aoki/my-pytorch-bert
8e412ae6331f5f19fee55b430be389de2f5c49a6
[ "Apache-2.0" ]
1
2019-10-07T17:49:21.000Z
2019-12-14T11:50:10.000Z
mptb/__init__.py
to-aoki/my-pytorch-bert
8e412ae6331f5f19fee55b430be389de2f5c49a6
[ "Apache-2.0" ]
5
2019-07-19T07:04:55.000Z
2020-07-01T13:24:14.000Z
__version__ = "0.0.1" from .helper import Helper from .optimization import get_optimizer from .pretrain import BertPretrainier from .classification import BertClassifier from .swem import BertSWEM
28.142857
42
0.832487
25
197
6.36
0.6
0
0
0
0
0
0
0
0
0
0
0.017241
0.116751
197
6
43
32.833333
0.896552
0
0
0
0
0
0.025381
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
25e1d3ccc863afe6994cff3f2e780b936315d7c2
607
py
Python
sample.py
CBraeuninger/behavioral_cloning
71d98d48a4ccdde33e821cfb52f26b7e98163f84
[ "MIT" ]
null
null
null
sample.py
CBraeuninger/behavioral_cloning
71d98d48a4ccdde33e821cfb52f26b7e98163f84
[ "MIT" ]
null
null
null
sample.py
CBraeuninger/behavioral_cloning
71d98d48a4ccdde33e821cfb52f26b7e98163f84
[ "MIT" ]
null
null
null
''' Class for samples of input data ''' import csv class Sample: # constructor def __init__(self, line, images_path, correction_factor): self._line = line self._images_path = images_path self._correction_factor = correction_factor # getter for path to images folder def get_images_path(self): return self._images_path # getter for correction factor def get_correction_factor(self): return self._correction_factor # getter for line data def get_line(self): return self._line
20.931034
61
0.629325
71
607
5.056338
0.323944
0.267409
0.116992
0.139276
0
0
0
0
0
0
0
0
0.313015
607
29
62
20.931034
0.860911
0.209226
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.25
0.75
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
25fe851872c07c02881a68e51688d07378dbadbe
912
py
Python
01_Permutacion.py
vazeri/Agente-Inteligente
b0b563a52ad8d83599034112daf82f9349d78960
[ "MIT" ]
null
null
null
01_Permutacion.py
vazeri/Agente-Inteligente
b0b563a52ad8d83599034112daf82f9349d78960
[ "MIT" ]
null
null
null
01_Permutacion.py
vazeri/Agente-Inteligente
b0b563a52ad8d83599034112daf82f9349d78960
[ "MIT" ]
null
null
null
from itertools import permutations, combinations print(" ____ _________ _ _ ____ ") print(" / __// __|\ \| \ / || __\ ") print(" / /__| |_ | |\/| \/ || |__ ") print(" / ___/\_ \ | | | || __\ ") print(" / /__ __/ | | |__| |\/| || |____ ") print("/____/ /____/ /____/|_/ |_||______\ ") print("------------------------------------ ") print("Unidad Zacatenco, 9CV11, Practica 02") print("------------------------------------\n") A = (1,2,3) B = (3,2,1) n = len(A) #Longitud de A print("Punto Inicial") print(A) print("Punto Final") print(B) def permutaciones(inicio, objetivo): perms = list(permutations(inicio)) perms2 = list(combinations(A, n)) if tuple(objetivo) not in perms: return [] Var = perms[: perms.index(tuple(objetivo)) + 1] return Var print("Todas las permutaciones son: \n") print permutaciones(A, B)
29.419355
52
0.5
83
912
4.698795
0.481928
0.179487
0.230769
0.25641
0.102564
0.102564
0.102564
0
0
0
0
0.018705
0.237939
912
30
53
30.4
0.542446
0.014254
0
0
0
0
0.435484
0.085253
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.576923
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
d3091280cb4233655a2b0204ff28081c96919dfe
101
py
Python
projectsubmit/apps.py
Aniketh896/BitWork
8e8a9d4664b5e64ebdb8ddccd2335170bd16e453
[ "MIT" ]
2
2020-06-20T07:34:02.000Z
2020-06-20T11:07:31.000Z
projectsubmit/apps.py
Aniketh896/BitWork
8e8a9d4664b5e64ebdb8ddccd2335170bd16e453
[ "MIT" ]
8
2021-03-30T13:50:55.000Z
2022-02-27T07:00:48.000Z
projectsubmit/apps.py
Aniketh896/BitWork
8e8a9d4664b5e64ebdb8ddccd2335170bd16e453
[ "MIT" ]
1
2020-06-22T11:49:40.000Z
2020-06-22T11:49:40.000Z
from django.apps import AppConfig class ProjectsubmitConfig(AppConfig): name = 'projectsubmit'
16.833333
37
0.782178
10
101
7.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.148515
101
5
38
20.2
0.918605
0
0
0
0
0
0.128713
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d33c0e01b09027c02d1a25aa58e5d19140d8d4c9
125
py
Python
server/wiki/urls.py
Jesterboxboy/mahjong-portal
c09362d69a81e81ed30c9159f3a35f9e9def4ac3
[ "MIT" ]
10
2018-02-12T10:30:22.000Z
2020-06-29T21:06:15.000Z
server/wiki/urls.py
Jesterboxboy/mahjong-portal
c09362d69a81e81ed30c9159f3a35f9e9def4ac3
[ "MIT" ]
62
2018-01-05T04:52:38.000Z
2021-04-10T07:14:45.000Z
server/wiki/urls.py
MahjongRepository/mahjong-leaderboard
77dfd26cb812c12fa7c2b11e862bb80a9135ccb0
[ "MIT" ]
8
2018-05-11T11:05:41.000Z
2021-03-10T08:10:50.000Z
from django.urls import path from wiki.views import wiki_home urlpatterns = [ path("", wiki_home, name="wiki_home"), ]
15.625
42
0.712
18
125
4.777778
0.555556
0.27907
0
0
0
0
0
0
0
0
0
0
0.168
125
7
43
17.857143
0.826923
0
0
0
0
0
0.072
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
d3864c6e769511646e42d4f5deeec4fb63f0c8ae
163
py
Python
languages/python/design_sorted_loop.py
Andilyn/learntosolveit
fd15345c74ef543e4e26f4691bf91cb6dac568a4
[ "BSD-3-Clause" ]
1
2021-04-09T04:15:24.000Z
2021-04-09T04:15:24.000Z
languages/python/design_sorted_loop.py
Andilyn/learntosolveit
fd15345c74ef543e4e26f4691bf91cb6dac568a4
[ "BSD-3-Clause" ]
null
null
null
languages/python/design_sorted_loop.py
Andilyn/learntosolveit
fd15345c74ef543e4e26f4691bf91cb6dac568a4
[ "BSD-3-Clause" ]
1
2021-07-31T02:45:29.000Z
2021-07-31T02:45:29.000Z
import random import time start = time.time() r = random.sample(range(10), 5) for x in range(1000): for i in sorted(r): pass print time.time() - start
18.111111
31
0.650307
28
163
3.785714
0.607143
0.169811
0
0
0
0
0
0
0
0
0
0.055118
0.220859
163
8
32
20.375
0.779528
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.125
0.25
null
null
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
d38e866b20fe20902b09af234f6107bdfd3be12d
20
py
Python
data/studio21_generated/introductory/4519/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4519/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/4519/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def max_number(n):
10
18
0.7
4
20
3.25
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
2
19
10
0.764706
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
d39862b994ea08bd7cdbbc388e5dfa7287e45d5d
201
py
Python
cleanup.py
vramdhanie/bahaiWords
bbb1d267669a7bc3d7c0f2032778e56acac11461
[ "MIT" ]
null
null
null
cleanup.py
vramdhanie/bahaiWords
bbb1d267669a7bc3d7c0f2032778e56acac11461
[ "MIT" ]
null
null
null
cleanup.py
vramdhanie/bahaiWords
bbb1d267669a7bc3d7c0f2032778e56acac11461
[ "MIT" ]
null
null
null
with open("source.txt") as filehandle: lines = filehandle.readlines() with open("source.txt", 'w') as filehandle: lines = filter(lambda x: x.strip(), lines) filehandle.writelines(lines)
22.333333
46
0.681592
26
201
5.269231
0.538462
0.116788
0.20438
0.248175
0
0
0
0
0
0
0
0
0.169154
201
8
47
25.125
0.820359
0
0
0
0
0
0.105528
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d39dfa489b477792e499a6d5114d84fa79c70664
104
py
Python
music_site/music_streaming/apps.py
UVG-Teams/music-space
8f464b6b1cbe59afea3be3ab1b9ed4e25ab0b424
[ "MIT" ]
null
null
null
music_site/music_streaming/apps.py
UVG-Teams/music-space
8f464b6b1cbe59afea3be3ab1b9ed4e25ab0b424
[ "MIT" ]
null
null
null
music_site/music_streaming/apps.py
UVG-Teams/music-space
8f464b6b1cbe59afea3be3ab1b9ed4e25ab0b424
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MusicStreamingConfig(AppConfig): name = 'music_streaming'
17.333333
38
0.788462
11
104
7.363636
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.144231
104
5
39
20.8
0.910112
0
0
0
0
0
0.144231
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d3a0a2791a77004a888514b320e67fc84872486e
29
py
Python
venv/lib/python3.6/re.py
bradjballard/personal_search_engine
530c5224721a7d700ca0c7c78a513bbc81f05c38
[ "NCSA" ]
null
null
null
venv/lib/python3.6/re.py
bradjballard/personal_search_engine
530c5224721a7d700ca0c7c78a513bbc81f05c38
[ "NCSA" ]
null
null
null
venv/lib/python3.6/re.py
bradjballard/personal_search_engine
530c5224721a7d700ca0c7c78a513bbc81f05c38
[ "NCSA" ]
null
null
null
/anaconda/lib/python3.6/re.py
29
29
0.793103
6
29
3.833333
1
0
0
0
0
0
0
0
0
0
0
0.068966
0
29
1
29
29
0.724138
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
d3a7740bc629df7b9ea037cfea3c9c8a165de6d2
261
py
Python
trajplotlib/__init__.py
Yuricst/trajplotlib
30c06d922cb4d7bf2b57e3cf11b84fe510f00e1f
[ "MIT" ]
null
null
null
trajplotlib/__init__.py
Yuricst/trajplotlib
30c06d922cb4d7bf2b57e3cf11b84fe510f00e1f
[ "MIT" ]
null
null
null
trajplotlib/__init__.py
Yuricst/trajplotlib
30c06d922cb4d7bf2b57e3cf11b84fe510f00e1f
[ "MIT" ]
null
null
null
""" trajplotlib init file """ from .helper2d import quickplot2 from .helper3d import quickplot3, set_equal_axis, get_sphere_coordinates, plot_sphere_wireframe, plot_ellipsoid_wireframe, get_ellipsoid_coordinates from .linecolor import get_lc_traj_singleColor
29
148
0.854406
33
261
6.363636
0.666667
0
0
0
0
0
0
0
0
0
0
0.016878
0.091954
261
8
149
32.625
0.869198
0.08046
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
6c9257c094ad768cd5141fa9be4782ed52aa1858
61
py
Python
performance_utils/parameters/__init__.py
CESS21/PerformanceUtils
3044e20894968f487aabba872b341cb1250262a5
[ "MIT" ]
null
null
null
performance_utils/parameters/__init__.py
CESS21/PerformanceUtils
3044e20894968f487aabba872b341cb1250262a5
[ "MIT" ]
8
2018-09-18T20:30:46.000Z
2021-11-23T08:03:57.000Z
performance_utils/parameters/__init__.py
CESS21/PerformanceUtils
3044e20894968f487aabba872b341cb1250262a5
[ "MIT" ]
1
2021-05-24T17:45:13.000Z
2021-05-24T17:45:13.000Z
# -*- coding: utf-8 -*- """ Parameter-related utilities. """
12.2
28
0.57377
6
61
5.833333
1
0
0
0
0
0
0
0
0
0
0
0.019231
0.147541
61
4
29
15.25
0.653846
0.836066
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
6c95524fdd7aade82e75e842c2fbc2e45762f3b7
136
py
Python
yzrpc/tests/__init__.py
ml444/yz-rpc
f3b6cb76dab72e1763d759080854c11aa6ade872
[ "Apache-2.0" ]
5
2021-04-28T09:12:04.000Z
2021-11-25T13:50:32.000Z
yzrpc/tests/__init__.py
ml444/yz-rpc
f3b6cb76dab72e1763d759080854c11aa6ade872
[ "Apache-2.0" ]
null
null
null
yzrpc/tests/__init__.py
ml444/yz-rpc
f3b6cb76dab72e1763d759080854c11aa6ade872
[ "Apache-2.0" ]
2
2021-07-27T04:11:51.000Z
2022-01-06T09:36:06.000Z
#!/usr/bin/python3.7+ # -*- coding:utf-8 -*- """ @auth: cml @date: 2021/4/8 @desc: ... """ from ._fixture import * from ._mock import *
13.6
23
0.573529
20
136
3.8
0.85
0
0
0
0
0
0
0
0
0
0
0.078261
0.154412
136
9
24
15.111111
0.582609
0.580882
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
6cd5dee3c21f0672fb186e74687fd6c50023d309
1,530
py
Python
src/autoencoding_rl/latent_extractors/FakeLatentExtractor.py
c-rizz/autoencoding_rl
65775630e87184c8809a31a8ef980853d5b49f9f
[ "MIT" ]
null
null
null
src/autoencoding_rl/latent_extractors/FakeLatentExtractor.py
c-rizz/autoencoding_rl
65775630e87184c8809a31a8ef980853d5b49f9f
[ "MIT" ]
null
null
null
src/autoencoding_rl/latent_extractors/FakeLatentExtractor.py
c-rizz/autoencoding_rl
65775630e87184c8809a31a8ef980853d5b49f9f
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Dict, OrderedDict, Any, List, Union import csv import os import time import torch as th import torch.nn as nn import traceback from autoencoding_rl.utils import Transition, ImageComparisonWindow from autoencoding_rl.latent_extractors.LatentExtractor import LatentExtractor class FakeLatentExtractor(LatentExtractor): def __init__(self, torchDevice, encoding_size, debug_out_folder : str = None, dbg_info_keys : List[str] = ["train_iterations_done","training_samples_used","time_from_start","loss","skippedMinibatches"]): super().__init__(debug_out_folder,dbg_info_keys) self._encoding_size = encoding_size self._torchDevice = torchDevice def train_model(self, transition_batch : Transition) -> float: return 0 def evaluate(self, transition_batch : Transition): return 0 def extractFeatures(self, observation_batch : Dict[Union[str, int], th.Tensor]): return observation_batch def preAndPostProcess(self, observation_batch : Dict[Union[str, int], th.Tensor]): return observation_batch def reset(self): pass @property def encoding_size(self) -> int: return self._encoding_size def displayDebugInfo(self, transition_batch_example : Transition, id : str = None) -> None: pass def decode(self, encodedImg_batch : th.Tensor, action_batch : th.Tensor): return encodedImg_batch def torchDevice(self): return self._torchDevice
31.875
207
0.732026
183
1,530
5.868852
0.393443
0.055866
0.053073
0.054004
0.126629
0.126629
0.126629
0.126629
0.126629
0.126629
0
0.001612
0.188889
1,530
48
208
31.875
0.86382
0
0
0.176471
0
0
0.0516
0.027433
0
0
0
0
0
1
0.294118
false
0.058824
0.294118
0.205882
0.823529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
6ce1bb9e6c856e80b3d1f6e62656161a37dac31f
122
py
Python
rpgtk/exceptions.py
is-gabs/rpgtk
11f657ed52374b0d9a106f5e0f9b433441141f6d
[ "MIT" ]
2
2022-02-18T01:22:11.000Z
2022-03-02T02:32:19.000Z
rpgtk/exceptions.py
is-gabs/rpgtk
11f657ed52374b0d9a106f5e0f9b433441141f6d
[ "MIT" ]
null
null
null
rpgtk/exceptions.py
is-gabs/rpgtk
11f657ed52374b0d9a106f5e0f9b433441141f6d
[ "MIT" ]
null
null
null
"""Core exceptions""" class RPGTKBaseException(Exception): pass class DiceException(RPGTKBaseException): pass
12.2
40
0.737705
10
122
9
0.7
0
0
0
0
0
0
0
0
0
0
0
0.163934
122
9
41
13.555556
0.882353
0.122951
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
6ce5ed37d3dd18b9b436c6d849e1e25c06c4aba8
519
py
Python
weekly/models.py
lhirdman/planner
b376c490abc96645d360fc3b9ffdf5fb324ab75d
[ "BSD-3-Clause" ]
null
null
null
weekly/models.py
lhirdman/planner
b376c490abc96645d360fc3b9ffdf5fb324ab75d
[ "BSD-3-Clause" ]
null
null
null
weekly/models.py
lhirdman/planner
b376c490abc96645d360fc3b9ffdf5fb324ab75d
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class Event(models.Model): name = models.CharField(max_length=40) userid = models.ForeignKey(User) workdate = models.DateField() description = models.CharField(max_length=300, blank=True) def __unicode__(self): return self.name class StdEvent(models.Model): name = models.CharField(max_length=40) description = models.CharField(max_length=300, blank=True) def __unicode__(self): return self.name
30.529412
62
0.726397
67
519
5.447761
0.432836
0.164384
0.19726
0.263014
0.635616
0.635616
0.635616
0.635616
0.410959
0.410959
0
0.02331
0.17341
519
16
63
32.4375
0.827506
0
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
9f18cde9c3ba71b48309a5c4f06c62832dc39e4f
348
py
Python
python/schuelerpraktika/sascha_mueller/Aufgaben/Aufgabe7.py
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
python/schuelerpraktika/sascha_mueller/Aufgaben/Aufgabe7.py
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
python/schuelerpraktika/sascha_mueller/Aufgaben/Aufgabe7.py
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
#-*- coding: utf-8 -*- text_file = open("Test.odt", "r+") text_file.readlines() def main(): text = text_file.write() wort_alt = raw_input('altes Wort:') x = wort_neu = raw_input('neues Wort:') text = text_file.replace(wort_alt, wort_neu) text = text_file.write(x) print text if __name__ == '__main__': main()
17.4
48
0.612069
50
348
3.88
0.5
0.206186
0.185567
0.175258
0
0
0
0
0
0
0
0.00369
0.221264
348
19
49
18.315789
0.712177
0.060345
0
0
0
0
0.122699
0
0
0
0
0
0
0
null
null
0
0
null
null
0.090909
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
9f4113e5bdb37c3834b4375168d13f3c29376e23
270
py
Python
pyfoamsetup/coreLibrary/__init__.py
BeaAnn/pyfoamsetup
fba265610c3f2d094179c1488fe80451aba8067a
[ "MIT" ]
7
2019-08-29T18:23:42.000Z
2022-02-17T14:28:37.000Z
pyfoamsetup/coreLibrary/__init__.py
aakash30jan/pyfoamsetup
5908aea41bfbde3fad7d6957feab58a50d58e262
[ "MIT" ]
null
null
null
pyfoamsetup/coreLibrary/__init__.py
aakash30jan/pyfoamsetup
5908aea41bfbde3fad7d6957feab58a50d58e262
[ "MIT" ]
5
2021-03-12T02:47:15.000Z
2021-12-01T13:55:57.000Z
__all__ = ["BlockMesh", "ControlDict", "createPatch", "DecomposePar", "dynamicMesh", "eMesh", "FileHandling", "FoamFile", "Forces", "fvOptions", "fvSchemes", "fvSolution", "Sampling", "SnappyHexMesh", "topoSet", "transportProperties", "turbulenceProperties"]
90
94
0.692593
18
270
10.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
270
3
95
90
0.7625
0
0
0
0
0
0.664207
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9f58e41a9183a444a0acf5922759c41b993978f3
206
py
Python
Lib/tdb/tests/examples/memofib.py
smnbackwards/jython_tdb
6d0e13c0c51b8d92d7b45691998c5928206162b0
[ "CNRI-Jython" ]
null
null
null
Lib/tdb/tests/examples/memofib.py
smnbackwards/jython_tdb
6d0e13c0c51b8d92d7b45691998c5928206162b0
[ "CNRI-Jython" ]
null
null
null
Lib/tdb/tests/examples/memofib.py
smnbackwards/jython_tdb
6d0e13c0c51b8d92d7b45691998c5928206162b0
[ "CNRI-Jython" ]
null
null
null
__fib_cache = {} def fib(n): if n in __fib_cache: return __fib_cache[n] else: __fib_cache[n] = n if n < 2 else fib(n-2) + fib(n-1) return __fib_cache[n] f8 = fib(8) print f8
20.6
60
0.572816
38
206
2.710526
0.342105
0.38835
0.262136
0.291262
0
0
0
0
0
0
0
0.041667
0.300971
206
10
61
20.6
0.673611
0
0
0.222222
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.111111
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
9fadb0cec1abd8ce3b070843d5c8adf8cd56ca3f
899
py
Python
hals/transition_system/base.py
andersjo/hals
9cc4067d581f6a97136e0f186dc8aa1dbc734e47
[ "MIT" ]
null
null
null
hals/transition_system/base.py
andersjo/hals
9cc4067d581f6a97136e0f186dc8aa1dbc734e47
[ "MIT" ]
null
null
null
hals/transition_system/base.py
andersjo/hals
9cc4067d581f6a97136e0f186dc8aa1dbc734e47
[ "MIT" ]
null
null
null
class AbstractTransitionSystem: def __init__(self, num_labels): self.num_labels = num_labels def num_actions(self): raise NotImplementedError() def state(self, num_tokens): raise NotImplementedError() def is_final(self, state): raise NotImplementedError() def extract_parse(self, state): raise NotImplementedError() def allowed(self, state): raise NotImplementedError() def reference_policy(self): raise NotImplementedError() def action_name(self, action_index): return 'Action=' + str(action_index) def describe_action(self, state, action_index): raise self.action_name(action_index) + ' at ' + str(state) def perform(self, state, action_index): raise NotImplementedError() class AbstractReferencePolicy: def is_optimal(self): raise NotImplementedError()
24.972222
66
0.679644
94
899
6.276596
0.308511
0.325424
0.274576
0.167797
0.267797
0
0
0
0
0
0
0
0.233593
899
36
67
24.972222
0.856314
0
0
0.333333
0
0
0.012222
0
0
0
0
0
0
1
0.458333
false
0
0
0.041667
0.583333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
4ca5f309babfa398a8f45d411bfbfd5abaadfed2
102
py
Python
tests/__init__.py
Den4200/falcon_framework
8a7d198b371247717a83e41aa4e3a2fa39af16a0
[ "MIT" ]
1
2020-02-10T23:17:02.000Z
2020-02-10T23:17:02.000Z
tests/__init__.py
Den4200/falcon_framework
8a7d198b371247717a83e41aa4e3a2fa39af16a0
[ "MIT" ]
null
null
null
tests/__init__.py
Den4200/falcon_framework
8a7d198b371247717a83e41aa4e3a2fa39af16a0
[ "MIT" ]
1
2020-01-27T00:52:35.000Z
2020-01-27T00:52:35.000Z
from sys import path from os.path import dirname path.append(dirname(path[0])) __package__ = 'tests'
17
29
0.764706
16
102
4.625
0.625
0.297297
0
0
0
0
0
0
0
0
0
0.011236
0.127451
102
5
30
20.4
0.820225
0
0
0
0
0
0.04902
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
4cab9dcfefa7cb0d6e85160296cfd34386770546
126
py
Python
src/run.py
arkavo/cuQM
cfa6c8ec37ee942ec6f2156df0946ffe7599d274
[ "Apache-2.0" ]
2
2021-09-24T08:01:53.000Z
2021-09-24T20:41:46.000Z
src/run.py
arkavo/cuQM
cfa6c8ec37ee942ec6f2156df0946ffe7599d274
[ "Apache-2.0" ]
null
null
null
src/run.py
arkavo/cuQM
cfa6c8ec37ee942ec6f2156df0946ffe7599d274
[ "Apache-2.0" ]
null
null
null
import subprocess as sp sp.call(['nvcc','test.cu','-o','test']) sp.call(['./test.exe','100','4']) sp.call(['py','analyze.py'])
31.5
39
0.595238
22
126
3.409091
0.636364
0.24
0
0
0
0
0
0
0
0
0
0.033333
0.047619
126
4
40
31.5
0.591667
0
0
0
0
0
0.338583
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4cb2912f51cdc540a6e3ec468f68763f20e04b49
34
py
Python
tests/roots/test-correct-year/conf.py
zhsj/sphinx
169297d0b76bf0b503033dadeb14f9a2b735e422
[ "BSD-2-Clause" ]
1
2021-06-17T13:38:42.000Z
2021-06-17T13:38:42.000Z
tests/roots/test-correct-year/conf.py
zhsj/sphinx
169297d0b76bf0b503033dadeb14f9a2b735e422
[ "BSD-2-Clause" ]
null
null
null
tests/roots/test-correct-year/conf.py
zhsj/sphinx
169297d0b76bf0b503033dadeb14f9a2b735e422
[ "BSD-2-Clause" ]
1
2021-07-23T12:09:13.000Z
2021-07-23T12:09:13.000Z
copyright = u'2006-2009, Author'
11.333333
32
0.705882
5
34
4.8
1
0
0
0
0
0
0
0
0
0
0
0.275862
0.147059
34
2
33
17
0.551724
0
0
0
0
0
0.515152
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4cc162938a7d8b13fcd2d48b3e4dabac69d6486d
2,672
py
Python
core/migrations/0008_auto_20170727_1555.py
schiller/cartolafc
909568401791af2970a39b266826deb8bfa0a80e
[ "MIT" ]
null
null
null
core/migrations/0008_auto_20170727_1555.py
schiller/cartolafc
909568401791af2970a39b266826deb8bfa0a80e
[ "MIT" ]
3
2020-02-12T00:34:28.000Z
2021-06-10T20:10:04.000Z
core/migrations/0008_auto_20170727_1555.py
schiller/cartolafc
909568401791af2970a39b266826deb8bfa0a80e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-07-27 15:55 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0007_pontuacao'), ] operations = [ migrations.CreateModel( name='Scout', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('ano', models.IntegerField()), ('rodada', models.IntegerField()), ('pontos_num', models.FloatField()), ('preco_num', models.FloatField()), ('variacao_num', models.FloatField()), ('media_num', models.FloatField()), ('jogos_num', models.IntegerField(default=0)), ('FS', models.IntegerField(default=0)), ('PE', models.IntegerField(default=0)), ('A', models.IntegerField(default=0)), ('FT', models.IntegerField(default=0)), ('FD', models.IntegerField(default=0)), ('FF', models.IntegerField(default=0)), ('G', models.IntegerField(default=0)), ('I', models.IntegerField(default=0)), ('PP', models.IntegerField(default=0)), ('RB', models.IntegerField(default=0)), ('FC', models.IntegerField(default=0)), ('GC', models.IntegerField(default=0)), ('CA', models.IntegerField(default=0)), ('CV', models.IntegerField(default=0)), ('SG', models.IntegerField(default=0)), ('DD', models.IntegerField(default=0)), ('DP', models.IntegerField(default=0)), ('GS', models.IntegerField(default=0)), ('atleta', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Atleta')), ('clube', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Clube')), ('posicao', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Posicao')), ('status', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Status')), ], ), migrations.AlterField( model_name='pontuacao', name='abreviacao', field=models.CharField(max_length=3), ), migrations.AlterField( model_name='pontuacao', name='nome', field=models.CharField(max_length=200), ), ]
43.096774
114
0.548278
255
2,672
5.658824
0.364706
0.261954
0.329175
0.342342
0.261954
0.22176
0.163548
0.163548
0.163548
0.163548
0
0.023293
0.293039
2,672
61
115
43.803279
0.740603
0.025449
0
0.12963
1
0
0.083814
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.111111
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4cf9eca83b792f4dda5c5c0476a064b84ff126ae
225
py
Python
kasaya/core/backend/generic.py
AYAtechnologies/Kasaya-esb
150fa96d4136641cd4632f3c9a09d4fc2610df07
[ "BSD-2-Clause" ]
1
2015-06-26T18:05:20.000Z
2015-06-26T18:05:20.000Z
kasaya/core/backend/generic.py
AYAtechnologies/Kasaya-esb
150fa96d4136641cd4632f3c9a09d4fc2610df07
[ "BSD-2-Clause" ]
null
null
null
kasaya/core/backend/generic.py
AYAtechnologies/Kasaya-esb
150fa96d4136641cd4632f3c9a09d4fc2610df07
[ "BSD-2-Clause" ]
null
null
null
__author__ = 'wektor' class GenericBackend(object): def set(self, key, value): raise NotImplemented def get(self, key): raise NotImplemented def delete(self, key): raise NotImplemented
17.307692
30
0.644444
24
225
5.875
0.583333
0.148936
0.312057
0.368794
0
0
0
0
0
0
0
0
0.271111
225
13
31
17.307692
0.859756
0
0
0.375
0
0
0.026549
0
0
0
0
0
0
1
0.375
false
0
0
0
0.5
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
980638cf01dece7653ddf7d2454c9312823a59bb
583
py
Python
ggpy/cruft/autocode/MetaGamingException.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
1
2015-01-26T19:07:45.000Z
2015-01-26T19:07:45.000Z
ggpy/cruft/autocode/MetaGamingException.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
ggpy/cruft/autocode/MetaGamingException.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ generated source for module MetaGamingException """ # package: org.ggp.base.player.gamer.exception @SuppressWarnings("serial") class MetaGamingException(Exception): """ generated source for class MetaGamingException """ def __init__(self, cause): """ generated source for method __init__ """ super(MetaGamingException, self).__init__(cause) def __str__(self): """ generated source for method toString """ return "An unhandled exception occurred during metagaming: " + super(MetaGamingException, self).__str__()
38.866667
113
0.713551
59
583
6.711864
0.559322
0.151515
0.181818
0.121212
0
0
0
0
0
0
0
0
0.171527
583
14
114
41.642857
0.819876
0.408233
0
0
1
0
0.179245
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
981779a5a7fe0dedb4c7e609327e8bf3cf79a0cb
353
py
Python
src/modules/config/configurations.py
mhaberler/gribmagic
f7a8c3f0653e421ca57f4200ec2e0ba0ce4064e0
[ "MIT" ]
1
2021-11-14T06:25:44.000Z
2021-11-14T06:25:44.000Z
src/modules/config/configurations.py
mhaberler/gribmagic
f7a8c3f0653e421ca57f4200ec2e0ba0ce4064e0
[ "MIT" ]
null
null
null
src/modules/config/configurations.py
mhaberler/gribmagic
f7a8c3f0653e421ca57f4200ec2e0ba0ce4064e0
[ "MIT" ]
null
null
null
""" provides parsed configurations""" from src.modules.config.parse_configurations import parse_model_config, \ parse_model_variables_mapping, parse_model_variables_levels_mapping MODEL_CONFIG = parse_model_config() MODEL_VARIABLES_MAPPING = parse_model_variables_mapping() MODEL_VARIABLES_LEVELS_MAPPING = parse_model_variables_levels_mapping()
35.3
73
0.864023
43
353
6.511628
0.302326
0.214286
0.271429
0.278571
0.471429
0.471429
0
0
0
0
0
0
0.076487
353
9
74
39.222222
0.858896
0.084986
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e21a4c568bb0a2e93ce2a422d7b6025ba9e8a228
58
py
Python
backend/__init__.py
Hori1234/WebApp-VanBerkel
2d246ca35b5518b6a3b4e383af25558d35c166db
[ "MIT" ]
null
null
null
backend/__init__.py
Hori1234/WebApp-VanBerkel
2d246ca35b5518b6a3b4e383af25558d35c166db
[ "MIT" ]
null
null
null
backend/__init__.py
Hori1234/WebApp-VanBerkel
2d246ca35b5518b6a3b4e383af25558d35c166db
[ "MIT" ]
null
null
null
# this file is needed to make the folder a Python module
29
57
0.758621
11
58
4
1
0
0
0
0
0
0
0
0
0
0
0
0.224138
58
1
58
58
0.977778
0.931034
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
e25031fb8ec4346329ef3eff9844832f9d2e6723
3,330
py
Python
src/spaceone/statistics/api/v1/storage.py
jean1042/statistics
747a93b130e341a8863383a7740800285dd0b897
[ "Apache-2.0" ]
1
2021-07-09T07:55:26.000Z
2021-07-09T07:55:26.000Z
src/spaceone/statistics/api/v1/storage.py
jean1042/statistics
747a93b130e341a8863383a7740800285dd0b897
[ "Apache-2.0" ]
null
null
null
src/spaceone/statistics/api/v1/storage.py
jean1042/statistics
747a93b130e341a8863383a7740800285dd0b897
[ "Apache-2.0" ]
null
null
null
from spaceone.api.statistics.v1 import storage_pb2, storage_pb2_grpc from spaceone.core.pygrpc import BaseAPI class Storage(BaseAPI, storage_pb2_grpc.StorageServicer): pb2 = storage_pb2 pb2_grpc = storage_pb2_grpc def register(self, request, context): params, metadata = self.parse_request(request, context) with self.locator.get_service('StorageService', metadata) as storage_service: return self.locator.get_info('StorageInfo', storage_service.register(params)) def update(self, request, context): print(f'[REQUEST IN API] {request}') params, metadata = self.parse_request(request, context) print(f'[REQUEST PARAMS] {params}') with self.locator.get_service('StorageService', metadata) as storage_service: return self.locator.get_info('StorageInfo', storage_service.update(params)) def update_plugin(self, request, context): params, metadata = self.parse_request(request, context) with self.locator.get_service('StorageService', metadata) as storage_service: return self.locator.get_info('StorageInfo', storage_service.update_plugin(params)) def verify_plugin(self, request, context): params, metadata = self.parse_request(request, context) with self.locator.get_service('StorageService', metadata) as storage_service: return self.locator.get_info('StorageInfo', storage_service.verify_plugin(params)) def enable(self, request, context): params, metadata = self.parse_request(request, context) with self.locator.get_service('StorageService', metadata) as storage_service: return self.locator.get_info('StorageInfo', storage_service.enable(params)) def disable(self, request, context): params, metadata = self.parse_request(request, context) with self.locator.get_service('StorageService', metadata) as storage_service: return self.locator.get_info('StorageInfo', storage_service.disable(params)) def deregister(self, request, context): params, metadata = self.parse_request(request, context) with self.locator.get_service('StorageService', metadata) as storage_service: storage_service.deregister(params) return self.locator.get_info('StorageInfo', storage_service.deregister(params)) def get(self, request, context): params, metadata = self.parse_request(request, context) with self.locator.get_service('StorageService', metadata) as storage_service: return self.locator.get_info('StorageInfo', storage_service.get(params)) def list(self, request, context): params, metadata = self.parse_request(request, context) with self.locator.get_service('StorageService', metadata) as storage_service: storage_vos, total_count = storage_service.list(params) return self.locator.get_info('StoragesInfo', storage_vos, total_count, minimal=self.get_minimal(params)) def stat(self, request, context): params, metadata = self.parse_request(request, context) with self.locator.get_service('StorageService', metadata) as storage_service: return self.locator.get_info('StatisticsInfo', storage_service.stat(params))
46.25
94
0.711111
384
3,330
5.986979
0.125
0.127882
0.121792
0.100044
0.76642
0.749021
0.733362
0.714224
0.69291
0.69291
0
0.002965
0.18979
3,330
71
95
46.901408
0.849148
0
0
0.4
0
0
0.091592
0
0
0
0
0
0
1
0.2
false
0
0.04
0
0.5
0.04
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2c4e982af542390f0cb62d944aa14795cf30df57
140
py
Python
src/biosim/__init__.py
talha-naveed97/BioSim
a5a7bf4e31433ce8f2e70904f0c119f6bb7d58b1
[ "MIT" ]
null
null
null
src/biosim/__init__.py
talha-naveed97/BioSim
a5a7bf4e31433ce8f2e70904f0c119f6bb7d58b1
[ "MIT" ]
null
null
null
src/biosim/__init__.py
talha-naveed97/BioSim
a5a7bf4e31433ce8f2e70904f0c119f6bb7d58b1
[ "MIT" ]
null
null
null
__version__ = "1.0" __author__ = "Muntazir Naqvi & Talha Naveed" __author_email__ = "muhammad.muntazir.naqvi@nmbu.no, talha.naveed@nmbu.no"
35
74
0.764286
19
140
4.947368
0.631579
0.276596
0
0
0
0
0
0
0
0
0
0.015873
0.1
140
3
75
46.666667
0.730159
0
0
0
0
0
0.607143
0.228571
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2c60673007d2459dac83ab693ccd99c256daefd7
385
py
Python
packages/errors/handlers.py
pHarith/CaShTracK
19687b7eb354660ff785044be07feb211937650b
[ "MIT" ]
null
null
null
packages/errors/handlers.py
pHarith/CaShTracK
19687b7eb354660ff785044be07feb211937650b
[ "MIT" ]
null
null
null
packages/errors/handlers.py
pHarith/CaShTracK
19687b7eb354660ff785044be07feb211937650b
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template as rnd_tmp errors = Blueprint('errors', __name__) @errors.app_errorhandler(404) def error_404(error): return rnd_tmp('errors/404.html'), 404 @errors.app_errorhandler(403) def error_403(error): return rnd_tmp('errors/403.html'), 403 @errors.app_errorhandler(500) def error_500(error): return rnd_tmp('errors/500.html'), 500
22.647059
55
0.753247
58
385
4.741379
0.344828
0.087273
0.174545
0.185455
0.250909
0
0
0
0
0
0
0.106195
0.119481
385
16
56
24.0625
0.705015
0
0
0
0
0
0.132813
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.272727
0.636364
0.181818
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
2c60c6c49f7eb7d30528c0adc46759f29de80682
1,374
py
Python
mpunet/image/queue/base_queue.py
alexsosn/MultiPlanarUNet
2d1cecdee391be8e9f72da95e33077ed82a2183a
[ "MIT" ]
156
2018-12-19T19:21:30.000Z
2022-03-10T13:14:52.000Z
mpunet/image/queue/base_queue.py
alexsosn/MultiPlanarUNet
2d1cecdee391be8e9f72da95e33077ed82a2183a
[ "MIT" ]
25
2019-07-30T07:45:26.000Z
2022-02-10T00:38:31.000Z
mpunet/image/queue/base_queue.py
alexsosn/MultiPlanarUNet
2d1cecdee391be8e9f72da95e33077ed82a2183a
[ "MIT" ]
33
2019-01-26T16:34:50.000Z
2022-02-20T13:48:44.000Z
import numpy as np from mpunet.logging.default_logger import ScreenLogger class BaseQueue: """ The base queue object defines the Queue API and stores basic attributes used across all queue objects The BaseQueue should normally not be initialized directly. """ def __init__(self, dataset, logger=None): """ TODO Args: datasets: logger: """ self.dataset = dataset self.logger = logger or ScreenLogger() @property def all_loaded(self): raise NotImplemented def __len__(self): return len(self.dataset) def __iter__(self): for i in range(len(self.dataset.images)): yield self.get_image_by_idx(i) def __getitem__(self, idx): return self.get_image_by_idx(idx) def get_image_iterator(self, max_load=None): load_inds = np.arange(len(self)) if max_load and max_load < len(self): load_inds = np.random.choice(load_inds, max_load, False) for idx in load_inds: yield self.get_image_by_idx(idx) def get_random_image(self): return np.random.choice(self.dataset.images, 1)[0] def get_image_by_idx(self, image_idx): return self.dataset.images[image_idx] def get_image_by_id(self, image_id): return self.dataset.id_to_image[image_id]
27.48
75
0.644833
187
1,374
4.465241
0.385027
0.092216
0.05988
0.062275
0.094611
0.094611
0.062275
0.062275
0
0
0
0.001998
0.27147
1,374
49
76
28.040816
0.832168
0.143377
0
0
0
0
0
0
0
0
0
0.020408
0
1
0.321429
false
0
0.071429
0.178571
0.607143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
2c85f26d3cb8b1a7b23808d122297f91ee1c3f2c
126
py
Python
play.py
jdlambright/Guess_who-1
e5071ff803e1e7a82a9597839a46b15f259ce30e
[ "MIT" ]
1
2021-07-24T09:50:59.000Z
2021-07-24T09:50:59.000Z
play.py
jdlambright/Guess_who-1
e5071ff803e1e7a82a9597839a46b15f259ce30e
[ "MIT" ]
2
2021-07-20T18:11:30.000Z
2021-07-29T10:24:17.000Z
play.py
jdlambright/Guess_who-1
e5071ff803e1e7a82a9597839a46b15f259ce30e
[ "MIT" ]
5
2021-07-15T07:19:57.000Z
2021-07-29T16:44:20.000Z
""" Runner Script Executes src/__main__.py """ from src.__main__ import main if __name__ == "__main__": main()
11.454545
29
0.634921
15
126
4.266667
0.666667
0.21875
0
0
0
0
0
0
0
0
0
0
0.238095
126
10
30
12.6
0.666667
0.309524
0
0
0
0
0.112676
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
2c97513962e606674a81cb8abf0b43f677cd766d
56
py
Python
uwu.py
Scripter17/uwu
2299bafde9fa45299a6da0e891a31c24529285ca
[ "WTFPL" ]
null
null
null
uwu.py
Scripter17/uwu
2299bafde9fa45299a6da0e891a31c24529285ca
[ "WTFPL" ]
null
null
null
uwu.py
Scripter17/uwu
2299bafde9fa45299a6da0e891a31c24529285ca
[ "WTFPL" ]
null
null
null
# "uwu" in Python 3, because Python 2 sucks print("uwu")
28
43
0.696429
10
56
3.9
0.8
0
0
0
0
0
0
0
0
0
0
0.042553
0.160714
56
2
44
28
0.787234
0.732143
0
0
0
0
0.214286
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
2ca0736e7fa23d2f558d95d50bebca7aece8c527
90
py
Python
ML/__init__.py
techietrader/MachineLearningFromScratch
9d3f300df3076859388b34b19f568aafce156f73
[ "MIT" ]
2
2018-12-06T10:07:50.000Z
2020-02-22T01:25:12.000Z
ML/__init__.py
techietrader/MachineLearningFromScratch
9d3f300df3076859388b34b19f568aafce156f73
[ "MIT" ]
null
null
null
ML/__init__.py
techietrader/MachineLearningFromScratch
9d3f300df3076859388b34b19f568aafce156f73
[ "MIT" ]
1
2021-04-24T15:32:33.000Z
2021-04-24T15:32:33.000Z
# -*- coding: utf-8 -*- """ Created on Fri Nov 09 19:07:20 2018 @author: techietrader """
15
35
0.611111
14
90
3.928571
1
0
0
0
0
0
0
0
0
0
0
0.175676
0.177778
90
6
36
15
0.567568
0.9
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2cb73efe438b15a226ee522b968dc39be70426db
181
py
Python
glycowork/network.py
Old-Shatterhand/glycowork
544fde03dd38cf95fb97792e050d7ff68f5637b1
[ "MIT" ]
null
null
null
glycowork/network.py
Old-Shatterhand/glycowork
544fde03dd38cf95fb97792e050d7ff68f5637b1
[ "MIT" ]
null
null
null
glycowork/network.py
Old-Shatterhand/glycowork
544fde03dd38cf95fb97792e050d7ff68f5637b1
[ "MIT" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 06_network.ipynb (unless otherwise specified). __all__ = [] # Cell from .network.biosynthesis import * from .network.evolution import *
25.857143
90
0.756906
23
181
5.73913
0.782609
0.166667
0
0
0
0
0
0
0
0
0
0.012903
0.143646
181
7
91
25.857143
0.83871
0.513812
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
2cb88d0654617d7ef137ea122d5c7f97377b83dc
256
py
Python
advanced/views.py
viethngn/Data_Collection_Demo
c83b648ad066083d3df52f8dab3f280e9713e51f
[ "MIT" ]
null
null
null
advanced/views.py
viethngn/Data_Collection_Demo
c83b648ad066083d3df52f8dab3f280e9713e51f
[ "MIT" ]
null
null
null
advanced/views.py
viethngn/Data_Collection_Demo
c83b648ad066083d3df52f8dab3f280e9713e51f
[ "MIT" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render from survey.models import SurveyResult def view_names(request): return render(request, 'view_names.html', { 'names': [r.name for r in SurveyResult.objects.all()] })
25.6
61
0.734375
34
256
5.470588
0.647059
0.107527
0
0
0
0
0
0
0
0
0
0
0.167969
256
9
62
28.444444
0.873239
0
0
0
0
0
0.078125
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
4
2cbdf191c633f16492774e87e53578f9b90dd9d1
1,508
py
Python
tensorflow/python/__init__.py
Monnoroch/tensorflow
e4af1c4023826c815135ed330576f7bfeb74f052
[ "Apache-2.0" ]
1
2015-11-12T06:52:22.000Z
2015-11-12T06:52:22.000Z
tensorflow/python/__init__.py
danilodorgam/tensorflow
1d76583411038767f673a0c96174c80eaf9ff42f
[ "Apache-2.0" ]
null
null
null
tensorflow/python/__init__.py
danilodorgam/tensorflow
1d76583411038767f673a0c96174c80eaf9ff42f
[ "Apache-2.0" ]
2
2016-05-18T12:48:06.000Z
2019-03-30T03:56:31.000Z
# pylint: disable=wildcard-import,unused-import,g-bad-import-order,line-too-long """Import core names of TensorFlow. Programs that want to build Brain Ops and Graphs without having to import the constructors and utilities individually can import this file: from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow.python.platform import tensorflow as tf """ import tensorflow.python.platform from tensorflow.core.framework.graph_pb2 import * from tensorflow.core.framework.summary_pb2 import * from tensorflow.core.framework.config_pb2 import * from tensorflow.core.util.event_pb2 import * # Framework from tensorflow.python.framework.framework_lib import * # Session from tensorflow.python.client.client_lib import * # Ops from tensorflow.python.ops.standard_ops import * # Bring nn, image_ops, user_ops as a subpackages from tensorflow.python.ops import nn from tensorflow.python.ops import image_ops as image from tensorflow.python.user_ops import user_ops # Import the names from python/training.py as train.Name. from tensorflow.python.training import training as train # Sub-package for performing i/o directly instead of via ops in a graph. from tensorflow.python.lib.io import python_io # Make some application and test modules available. from tensorflow.python.platform import app from tensorflow.python.platform import flags from tensorflow.python.platform import logging from tensorflow.python.platform import test
32.085106
80
0.825597
221
1,508
5.511312
0.380091
0.183908
0.197044
0.123153
0.240558
0.059113
0
0
0
0
0
0.002999
0.115385
1,508
46
81
32.782609
0.910045
0.442971
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
2cc7b3a709103c966e254db55c3049695ca52069
75
py
Python
web/apps.py
discovercorg/migraineapp
b30b08abea9ee97187c0eac9fe6f1f1b1874197f
[ "MIT" ]
null
null
null
web/apps.py
discovercorg/migraineapp
b30b08abea9ee97187c0eac9fe6f1f1b1874197f
[ "MIT" ]
null
null
null
web/apps.py
discovercorg/migraineapp
b30b08abea9ee97187c0eac9fe6f1f1b1874197f
[ "MIT" ]
null
null
null
from django.apps import AppConfig class web(AppConfig): name = 'web'
12.5
33
0.706667
10
75
5.3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.2
75
5
34
15
0.883333
0
0
0
0
0
0.04
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3939e61cfc96971936df347453629f2978689b8b
110
py
Python
server/frontend_bootstrap/apps.py
evinism/camphoric
fb576f813a6dee366f59fdc9e2cac83fde61921a
[ "MIT" ]
2
2020-09-25T01:20:14.000Z
2021-08-18T18:49:47.000Z
server/frontend_bootstrap/apps.py
evinism/camphoric
fb576f813a6dee366f59fdc9e2cac83fde61921a
[ "MIT" ]
57
2020-05-30T03:22:56.000Z
2022-03-07T01:52:11.000Z
server/frontend_bootstrap/apps.py
evinism/camphoric
fb576f813a6dee366f59fdc9e2cac83fde61921a
[ "MIT" ]
1
2020-01-24T04:30:07.000Z
2020-01-24T04:30:07.000Z
from django.apps import AppConfig class FrontendBootstrapConfig(AppConfig): name = 'frontend_bootstrap'
18.333333
41
0.8
11
110
7.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.136364
110
5
42
22
0.915789
0
0
0
0
0
0.163636
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
393baa8c24f2c168ff328abc28aeb8afadb5f44e
3,094
py
Python
tests/test_namespaces.py
commarla/python-nomad
37df37e4de21e6f8ac41c6154e7f1f44f1800020
[ "MIT" ]
109
2016-06-06T09:18:02.000Z
2022-03-17T17:41:20.000Z
tests/test_namespaces.py
commarla/python-nomad
37df37e4de21e6f8ac41c6154e7f1f44f1800020
[ "MIT" ]
104
2016-06-04T23:06:06.000Z
2021-12-08T04:49:43.000Z
tests/test_namespaces.py
commarla/python-nomad
37df37e4de21e6f8ac41c6154e7f1f44f1800020
[ "MIT" ]
80
2016-06-05T00:33:23.000Z
2021-11-20T15:17:38.000Z
import tests.common as common import pytest import responses # integration tests was mocked. If you have an enterprise nomad please uncomenet ##### ENTERPRISE TEST ##### @responses.activate def test_get_namespaces(nomad_setup): responses.add( responses.GET, "http://{ip}:{port}/v1/namespaces".format(ip=common.IP, port=common.NOMAD_PORT), status=200, json=[ { "CreateIndex": 31, "Description": "Production API Servers", "ModifyIndex": 31, "Name": "api-prod" }, { "CreateIndex": 5, "Description": "Default shared namespace", "ModifyIndex": 5, "Name": "default" } ] ) assert isinstance(nomad_setup.namespaces.get_namespaces(), list) == True @responses.activate def test_get_namespaces_prefix(nomad_setup): responses.add( responses.GET, "http://{ip}:{port}/v1/namespaces?prefix=api-".format(ip=common.IP, port=common.NOMAD_PORT), status=200, json=[ { "CreateIndex": 31, "Description": "Production API Servers", "ModifyIndex": 31, "Name": "api-prod" }, ] ) assert isinstance(nomad_setup.namespaces.get_namespaces(prefix="api-"), list) == True @responses.activate def test_namespaces_iter(nomad_setup): responses.add( responses.GET, "http://{ip}:{port}/v1/namespaces".format(ip=common.IP, port=common.NOMAD_PORT), status=200, json=[ { "CreateIndex": 31, "Description": "Production API Servers", "ModifyIndex": 31, "Name": "api-prod" }, { "CreateIndex": 5, "Description": "Default shared namespace", "ModifyIndex": 5, "Name": "default" } ] ) assert "api-prod" in nomad_setup.namespaces @responses.activate def test_namespaces_len(nomad_setup): responses.add( responses.GET, "http://{ip}:{port}/v1/namespaces".format(ip=common.IP, port=common.NOMAD_PORT), status=200, json=[ { "CreateIndex": 31, "Description": "Production API Servers", "ModifyIndex": 31, "Name": "api-prod" }, { "CreateIndex": 5, "Description": "Default shared namespace", "ModifyIndex": 5, "Name": "default" } ] ) assert 2 == len(nomad_setup.namespaces) ###### ENTERPRISE TEST ########### # def test_get_namespaces(nomad_setup): # assert isinstance(nomad_setup.namespaces.get_namespaces(), list) == True
29.188679
108
0.486425
262
3,094
5.637405
0.206107
0.067705
0.067705
0.064997
0.844279
0.814489
0.72241
0.689235
0.689235
0.616114
0
0.020723
0.391726
3,094
105
109
29.466667
0.764081
0.073691
0
0.6
0
0
0.220106
0
0
0
0
0
0.047059
1
0.047059
false
0
0.035294
0
0.082353
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1a5c228ce01a47e000e9604906a9d442940aebee
66
py
Python
api/__init__.py
summunity-django/file_system
ddc9c1d0c8eb9ef40c77616b7faba0d4dfc0f5a5
[ "MIT" ]
null
null
null
api/__init__.py
summunity-django/file_system
ddc9c1d0c8eb9ef40c77616b7faba0d4dfc0f5a5
[ "MIT" ]
null
null
null
api/__init__.py
summunity-django/file_system
ddc9c1d0c8eb9ef40c77616b7faba0d4dfc0f5a5
[ "MIT" ]
null
null
null
from file_system.api import file urlpatterns = file.urlpatterns
13.2
32
0.818182
9
66
5.888889
0.666667
0.566038
0
0
0
0
0
0
0
0
0
0
0.136364
66
4
33
16.5
0.929825
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4