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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
00ee2872fe511ef9d2143592268930c7e5bec72a
| 212
|
py
|
Python
|
jasper_erpnext_report/jasper_erpnext_report/doctype/jasper_reports/test_jasper_reports.py
|
Zyten/jasper_erpnext_report
|
499fc07d9e1b7e7393d392e1544366ab176ca8ef
|
[
"MIT"
] | 27
|
2015-07-07T11:43:24.000Z
|
2022-03-12T03:46:10.000Z
|
jasper_erpnext_report/jasper_erpnext_report/doctype/jasper_reports/test_jasper_reports.py
|
Zyten/jasper_erpnext_report
|
499fc07d9e1b7e7393d392e1544366ab176ca8ef
|
[
"MIT"
] | 13
|
2015-11-10T14:25:18.000Z
|
2021-12-20T06:23:30.000Z
|
jasper_erpnext_report/jasper_erpnext_report/doctype/jasper_reports/test_jasper_reports.py
|
Zyten/jasper_erpnext_report
|
499fc07d9e1b7e7393d392e1544366ab176ca8ef
|
[
"MIT"
] | 27
|
2015-05-21T21:16:56.000Z
|
2021-09-05T17:40:10.000Z
|
# Copyright (c) 2013, Luis Fernandes and Contributors
# See license.txt
import frappe
import unittest
test_records = frappe.get_test_records('Jasper Reports')
class TestJasperReports(unittest.TestCase):
pass
| 19.272727
| 56
| 0.801887
| 27
| 212
| 6.185185
| 0.814815
| 0.131737
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.021505
| 0.122642
| 212
| 10
| 57
| 21.2
| 0.876344
| 0.316038
| 0
| 0
| 0
| 0
| 0.098592
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.2
| 0.4
| 0
| 0.6
| 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
| 0
| 0
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
daabaadb0301a384dd8bb37b292d53ff39ad46ac
| 421
|
py
|
Python
|
testfiles.py
|
avarchival/IFI_scripts
|
c4fd5a11de6d12a2b9f315c9fcec80f13306eadc
|
[
"MIT"
] | null | null | null |
testfiles.py
|
avarchival/IFI_scripts
|
c4fd5a11de6d12a2b9f315c9fcec80f13306eadc
|
[
"MIT"
] | null | null | null |
testfiles.py
|
avarchival/IFI_scripts
|
c4fd5a11de6d12a2b9f315c9fcec80f13306eadc
|
[
"MIT"
] | 1
|
2020-07-09T06:14:31.000Z
|
2020-07-09T06:14:31.000Z
|
#!/usr/bin/env python
import sys
import subprocess
input_dir = sys.argv[1]
subprocess.call(['ffmpeg', '-f', 'lavfi', '-i', 'testsrc', '-c:v', 'prores', '-t', '20', input_dir + 'bars.mov'])
subprocess.call(['ffmpeg', '-f', 'lavfi', '-i', 'mandelbrot', '-c:v', 'prores', '-t', '20', input_dir + 'mandel.mov'])
subprocess.call(['ffmpeg', '-f', 'lavfi', '-i', 'life', '-c:v', 'prores', '-t', '20', input_dir + 'life.mov'])
| 42.1
| 118
| 0.574822
| 61
| 421
| 3.901639
| 0.442623
| 0.134454
| 0.252101
| 0.264706
| 0.605042
| 0.605042
| 0.491597
| 0
| 0
| 0
| 0
| 0.018717
| 0.111639
| 421
| 9
| 119
| 46.777778
| 0.617647
| 0.047506
| 0
| 0
| 0
| 0
| 0.335
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 0
| 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
| 1
| 0
| 0
| 0
|
0
| 4
|
dab35101a6c5c05d91503ff542d6ea92cc583540
| 175
|
py
|
Python
|
tests/unit/servicemanager/test_service_manager_config.py
|
pauleveritt/predico
|
2bbf88a7775d31907d2229a32a89490172acd988
|
[
"Apache-2.0"
] | null | null | null |
tests/unit/servicemanager/test_service_manager_config.py
|
pauleveritt/predico
|
2bbf88a7775d31907d2229a32a89490172acd988
|
[
"Apache-2.0"
] | null | null | null |
tests/unit/servicemanager/test_service_manager_config.py
|
pauleveritt/predico
|
2bbf88a7775d31907d2229a32a89490172acd988
|
[
"Apache-2.0"
] | null | null | null |
def test_construction(sm_config):
assert True is sm_config.debug
viewservice_config = sm_config.serviceconfigs['viewservice']
assert 99 == viewservice_config.flag
| 35
| 64
| 0.782857
| 22
| 175
| 5.954545
| 0.590909
| 0.183206
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013333
| 0.142857
| 175
| 4
| 65
| 43.75
| 0.86
| 0
| 0
| 0
| 0
| 0
| 0.062857
| 0
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0.25
| false
| 0
| 0
| 0
| 0.25
| 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
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
dacff077f78bc298c897cfb85f0c84e121c08db4
| 1,154
|
py
|
Python
|
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/EXT/draw_buffers2.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | null | null | null |
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/EXT/draw_buffers2.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | null | null | null |
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/EXT/draw_buffers2.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | null | null | null |
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C
import ctypes
_EXTENSION_NAME = 'GL_EXT_draw_buffers2'
def _f( function ):
return _p.createFunction( function,_p.PLATFORM.GL,'GL_EXT_draw_buffers2',error_checker=_errors._error_checker)
@_f
@_p.types(None,_cs.GLuint,_cs.GLboolean,_cs.GLboolean,_cs.GLboolean,_cs.GLboolean)
def glColorMaskIndexedEXT(index,r,g,b,a):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLuint)
def glDisableIndexedEXT(target,index):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLuint)
def glEnableIndexedEXT(target,index):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLuint,arrays.GLbooleanArray)
def glGetBooleanIndexedvEXT(target,index,data):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLuint,arrays.GLintArray)
def glGetIntegerIndexedvEXT(target,index,data):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLenum,_cs.GLuint)
def glIsEnabledIndexedEXT(target,index):pass
| 34.969697
| 115
| 0.780763
| 171
| 1,154
| 4.976608
| 0.362573
| 0.014101
| 0.049354
| 0.06463
| 0.40658
| 0.292597
| 0.240893
| 0.192714
| 0.192714
| 0.192714
| 0
| 0.001931
| 0.102253
| 1,154
| 32
| 116
| 36.0625
| 0.819498
| 0.086655
| 0
| 0.296296
| 1
| 0
| 0.039409
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.259259
| false
| 0.222222
| 0.222222
| 0.037037
| 0.518519
| 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
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
daea5615d7b4624359a53f63eb11b2e71d75d534
| 163
|
py
|
Python
|
flask-app/app/app/core/cors.py
|
mcelisr1/flask-docker-backend-stack
|
07c640401c42db843ba3e77bba460224591506ab
|
[
"MIT"
] | 2
|
2019-04-30T23:48:36.000Z
|
2019-07-17T15:26:57.000Z
|
flask-app/app/app/core/cors.py
|
mcelisr1/flask-docker-backend-stack
|
07c640401c42db843ba3e77bba460224591506ab
|
[
"MIT"
] | null | null | null |
flask-app/app/app/core/cors.py
|
mcelisr1/flask-docker-backend-stack
|
07c640401c42db843ba3e77bba460224591506ab
|
[
"MIT"
] | null | null | null |
# Import installed packages
from flask_cors import CORS
# Import app code
from app.main import app
# Anything
CORS(app, origins='*', supports_credentials=True)
| 16.3
| 49
| 0.773006
| 23
| 163
| 5.391304
| 0.608696
| 0.16129
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.147239
| 163
| 9
| 50
| 18.111111
| 0.892086
| 0.306748
| 0
| 0
| 0
| 0
| 0.009174
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
daf8757a94e754756c4365318728a4d73811b19c
| 1,037
|
py
|
Python
|
memoizit/storage/redis_backend.py
|
blixhavn/advanced-memoize
|
663846fb2b92b21989d4bc0596bc559337012b13
|
[
"MIT"
] | 1
|
2022-03-07T19:50:28.000Z
|
2022-03-07T19:50:28.000Z
|
memoizit/storage/redis_backend.py
|
blixhavn/advanced-memoize
|
663846fb2b92b21989d4bc0596bc559337012b13
|
[
"MIT"
] | 1
|
2021-09-17T11:11:55.000Z
|
2021-09-17T11:11:55.000Z
|
memoizit/storage/redis_backend.py
|
blixhavn/memoizit
|
663846fb2b92b21989d4bc0596bc559337012b13
|
[
"MIT"
] | null | null | null |
import os
from typing import Any, List, Optional
import redis
from .backend import StorageBackend
class RedisBackend(StorageBackend):
def __init__(self, **kwargs):
env_host = os.getenv("REDIS_HOST", "localhost")
env_port = os.getenv("REDIS_PORT", "6379")
env_username = os.getenv("REDIS_USERNAME")
env_password = os.getenv("REDIS_PASSWORD")
kwargs.setdefault("host", env_host)
kwargs.setdefault("port", env_port)
kwargs.setdefault("username", env_username)
kwargs.setdefault("password", env_password)
self.r = redis.Redis(**kwargs)
self.r.ping()
def get(self, key: str) -> Any:
return self.r.get(key)
def set(self, key: str, value: Any, expiration: Optional[int] = None) -> bool:
return bool(self.r.set(key, value, ex=expiration))
def delete(self, key: str) -> int:
return int(self.r.delete(key))
def keys_startswith(self, key_start: str) -> List[str]:
return list(self.r.keys(key_start + "*"))
| 29.628571
| 82
| 0.641273
| 135
| 1,037
| 4.785185
| 0.311111
| 0.04644
| 0.080495
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004951
| 0.220829
| 1,037
| 34
| 83
| 30.5
| 0.794554
| 0
| 0
| 0
| 0
| 0
| 0.082932
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.208333
| false
| 0.083333
| 0.166667
| 0.166667
| 0.583333
| 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
|
97103a6af9f7de0afc85bdc85b7129303c7545de
| 408
|
py
|
Python
|
Case4/MuscleTorquesWithBspline/BsplineMuscleTorques/__init__.py
|
davenpi/Elastica-RL-control
|
52e2f064ae59448bbb82735fa326a30b5405c667
|
[
"MIT"
] | 9
|
2020-11-02T20:27:20.000Z
|
2022-03-26T04:54:17.000Z
|
Case4/MuscleTorquesWithBspline/BsplineMuscleTorques/__init__.py
|
davenpi/Elastica-RL-control
|
52e2f064ae59448bbb82735fa326a30b5405c667
|
[
"MIT"
] | 6
|
2021-02-22T04:07:17.000Z
|
2022-01-18T02:39:01.000Z
|
Case4/MuscleTorquesWithBspline/BsplineMuscleTorques/__init__.py
|
davenpi/Elastica-RL-control
|
52e2f064ae59448bbb82735fa326a30b5405c667
|
[
"MIT"
] | 5
|
2020-11-04T23:09:18.000Z
|
2021-06-13T09:48:02.000Z
|
__all__ = ["MuscleTorquesWithVaryingBetaSplines"]
from elastica import IMPORT_NUMBA
if IMPORT_NUMBA:
from MuscleTorquesWithBspline.BsplineMuscleTorques.muscle_torques_with_bspline_numba import (
MuscleTorquesWithVaryingBetaSplines,
)
else:
from MuscleTorquesWithBspline.BsplineMuscleTorques.muscle_torques_with_bspline_numpy import (
MuscleTorquesWithVaryingBetaSplines,
)
| 29.142857
| 97
| 0.818627
| 31
| 408
| 10.322581
| 0.483871
| 0.06875
| 0.3
| 0.3375
| 0.45
| 0.45
| 0.45
| 0
| 0
| 0
| 0
| 0
| 0.139706
| 408
| 13
| 98
| 31.384615
| 0.911681
| 0
| 0
| 0.2
| 0
| 0
| 0.085784
| 0.085784
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 0
| 0
| 0
| 1
| 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
| 0
| 0
|
0
| 4
|
97247eafcc761de6d523c9859df41956397dfd74
| 102
|
py
|
Python
|
dotcontrol/__init__.py
|
mwoyuan/dotcontrol
|
4a3eeff1608408e350433dde38a41e7b8660e7e0
|
[
"BSD-3-Clause"
] | null | null | null |
dotcontrol/__init__.py
|
mwoyuan/dotcontrol
|
4a3eeff1608408e350433dde38a41e7b8660e7e0
|
[
"BSD-3-Clause"
] | 1
|
2019-08-14T17:16:22.000Z
|
2019-08-14T17:16:22.000Z
|
dotcontrol/__init__.py
|
mwoyuan/dotcontrol
|
4a3eeff1608408e350433dde38a41e7b8660e7e0
|
[
"BSD-3-Clause"
] | null | null | null |
__version__ = '0.0.3'
from .control import Control
from .profile import Profile
from .dot import Dot
| 17
| 28
| 0.764706
| 16
| 102
| 4.625
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.034884
| 0.156863
| 102
| 5
| 29
| 20.4
| 0.825581
| 0
| 0
| 0
| 0
| 0
| 0.04902
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.75
| 0
| 0.75
| 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
|
974afa400a5c5c92fdc3110459ce9d10faf92b41
| 155
|
py
|
Python
|
examples/data/DAS_pick_3km/listFile.py
|
jhgeeyang/EvoDCinv
|
37a1a64812d27efad395735f93491f7988da3564
|
[
"MIT"
] | null | null | null |
examples/data/DAS_pick_3km/listFile.py
|
jhgeeyang/EvoDCinv
|
37a1a64812d27efad395735f93491f7988da3564
|
[
"MIT"
] | null | null | null |
examples/data/DAS_pick_3km/listFile.py
|
jhgeeyang/EvoDCinv
|
37a1a64812d27efad395735f93491f7988da3564
|
[
"MIT"
] | null | null | null |
from os import listdir
from os.path import isfile, join
mypath = './'
onlyfiles = [f for f in listdir(mypath) if isfile(join(mypath, f))]
print(onlyfiles)
| 25.833333
| 67
| 0.729032
| 25
| 155
| 4.52
| 0.56
| 0.106195
| 0.283186
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.148387
| 155
| 5
| 68
| 31
| 0.856061
| 0
| 0
| 0
| 0
| 0
| 0.012903
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 0.2
| 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
| 1
| 0
| 0
| 0
|
0
| 4
|
975696bdf82436f100237c720114107f8fcbddf2
| 83
|
py
|
Python
|
comm/apps.py
|
foxstarx2beijing/ajms
|
9ce241ce56670f423f72ed1511f232486c5a291c
|
[
"MIT"
] | null | null | null |
comm/apps.py
|
foxstarx2beijing/ajms
|
9ce241ce56670f423f72ed1511f232486c5a291c
|
[
"MIT"
] | null | null | null |
comm/apps.py
|
foxstarx2beijing/ajms
|
9ce241ce56670f423f72ed1511f232486c5a291c
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class CommConfig(AppConfig):
name = 'comm'
| 13.833333
| 33
| 0.73494
| 10
| 83
| 6.1
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.180723
| 83
| 5
| 34
| 16.6
| 0.897059
| 0
| 0
| 0
| 0
| 0
| 0.048193
| 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
|
97704a19136c96b4c05d79797855cbde8182f957
| 218
|
py
|
Python
|
common/structure/job/result.py
|
actumn/jraze
|
a02ceeaca4373f27f26fea618dda08d69c639f58
|
[
"MIT"
] | null | null | null |
common/structure/job/result.py
|
actumn/jraze
|
a02ceeaca4373f27f26fea618dda08d69c639f58
|
[
"MIT"
] | null | null | null |
common/structure/job/result.py
|
actumn/jraze
|
a02ceeaca4373f27f26fea618dda08d69c639f58
|
[
"MIT"
] | null | null | null |
from typing import Optional
import deserialize
@deserialize.default('id', None)
@deserialize.default('sent', 0)
@deserialize.default('failed', 0)
class ResultJob:
id: Optional[str]
sent: int
failed: int
| 16.769231
| 33
| 0.715596
| 27
| 218
| 5.777778
| 0.555556
| 0.346154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010929
| 0.16055
| 218
| 12
| 34
| 18.166667
| 0.84153
| 0
| 0
| 0
| 0
| 0
| 0.055046
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.222222
| 0
| 0.666667
| 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
| 0
| 0
| 1
| 0
|
0
| 4
|
97832769fc4d314e483e4313da050ea784c309ec
| 134,681
|
py
|
Python
|
etl/parsers/etw/Microsoft_WindowsPhone_CoreUIComponents.py
|
IMULMUL/etl-parser
|
76b7c046866ce0469cd129ee3f7bb3799b34e271
|
[
"Apache-2.0"
] | 104
|
2020-03-04T14:31:31.000Z
|
2022-03-28T02:59:36.000Z
|
etl/parsers/etw/Microsoft_WindowsPhone_CoreUIComponents.py
|
IMULMUL/etl-parser
|
76b7c046866ce0469cd129ee3f7bb3799b34e271
|
[
"Apache-2.0"
] | 7
|
2020-04-20T09:18:39.000Z
|
2022-03-19T17:06:19.000Z
|
etl/parsers/etw/Microsoft_WindowsPhone_CoreUIComponents.py
|
IMULMUL/etl-parser
|
76b7c046866ce0469cd129ee3f7bb3799b34e271
|
[
"Apache-2.0"
] | 16
|
2020-03-05T18:55:59.000Z
|
2022-03-01T10:19:28.000Z
|
# -*- coding: utf-8 -*-
"""
Microsoft-WindowsPhone-CoreUIComponents
GUID : a0b7550f-4e9a-4f03-ad41-b8042d06a2f7
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
from etl.parsers.etw.core import Etw, declare, guid
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1000, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1000_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1001, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1001_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1200, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1200_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1201, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1201_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"navigationError" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1202, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1202_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1203, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1203_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"navigationError" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1204, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1204_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1205, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1205_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1206, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1206_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1207, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1207_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1208, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1208_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1209, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1209_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1210, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1210_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1211, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1211_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"navigationError" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1212, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1212_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1213, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1213_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1214, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1214_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1215, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1215_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul,
"unParam2" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1216, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1216_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1217, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1217_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1218, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1218_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1219, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1219_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1220, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1220_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1221, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1221_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1222, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1222_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1223, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1223_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1225, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1225_0(Etw):
pattern = Struct(
"ActivationPolicy" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1230, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1230_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1231, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1231_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1232, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1232_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1233, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1233_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1234, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1234_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul,
"TaskCancellationType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1235, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1235_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul,
"TaskCancellationType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1236, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1236_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1237, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1237_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1241, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1241_0(Etw):
pattern = Struct(
"pwsz" / WString,
"navigationError" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1243, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1243_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1244, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1244_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1245, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1245_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"hex" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1247, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1247_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1248, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1248_0(Etw):
pattern = Struct(
"unParam" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1249, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1249_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1250, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1250_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"taskDehydrationEligibility" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1251, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1251_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul,
"unParam2" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1252, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1252_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1253, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1253_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"appLayer" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1254, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1254_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1255, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1255_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1256, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1256_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"hex" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1258, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1258_0(Etw):
pattern = Struct(
"fBool" / Int8ul,
"navigationError" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1260, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1260_0(Etw):
pattern = Struct(
"animtype" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1261, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1261_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1262, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1262_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"taskProperty" / Int32ul,
"unParam3" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1263, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1263_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1264, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1264_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"TaskRunningOptions" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1265, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1265_0(Etw):
pattern = Struct(
"pwsz" / WString,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1266, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1266_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1267, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1267_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1268, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1268_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1269, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1269_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"TaskInstanceState" / Int32ul,
"hresult" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1271, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1271_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1272, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1272_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1273, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1273_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1281, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1281_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1282, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1282_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1283, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1283_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1301, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1301_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1302, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1302_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1303, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1303_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1304, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1304_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1305, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1305_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1306, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1306_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1307, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1307_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1311, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1311_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ptr" / Int64ul,
"pwsz" / WString,
"pwsz2" / WString,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1313, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1313_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ptr" / Int64ul,
"pwsz" / WString,
"pwsz2" / WString,
"pwsz3" / WString,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1314, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1314_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"hex" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1315, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1315_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"hex" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1316, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1316_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1400, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1400_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1402, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1402_0(Etw):
pattern = Struct(
"pwsz" / WString,
"pwsz2" / WString,
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1405, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1405_0(Etw):
pattern = Struct(
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1406, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1406_0(Etw):
pattern = Struct(
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1415, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1415_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1416, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1416_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1417, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1417_0(Etw):
pattern = Struct(
"status" / Int32ul,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1418, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1418_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1419, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1419_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1420, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1420_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1421, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1421_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool1" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1422, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1422_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul,
"SessionManagerType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1424, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1424_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1425, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1425_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1426, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1426_0(Etw):
pattern = Struct(
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1428, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1428_0(Etw):
pattern = Struct(
"SystemKey" / Int32ul,
"ActivationLevel" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1429, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1429_0(Etw):
pattern = Struct(
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1432, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1432_0(Etw):
pattern = Struct(
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1433, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1433_0(Etw):
pattern = Struct(
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1434, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1434_0(Etw):
pattern = Struct(
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1435, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1435_0(Etw):
pattern = Struct(
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1436, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1436_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1437, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1437_0(Etw):
pattern = Struct(
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1450, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1450_0(Etw):
pattern = Struct(
"pwsz" / WString,
"pwsz2" / WString,
"pwsz3" / WString,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1451, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1451_0(Etw):
pattern = Struct(
"status" / Int32ul,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1452, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1452_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1453, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1453_0(Etw):
pattern = Struct(
"pwsz" / WString,
"Param" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1459, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1459_0(Etw):
pattern = Struct(
"LaunchType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1460, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1460_0(Etw):
pattern = Struct(
"LaunchType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1461, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1461_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1462, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1462_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1463, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1463_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1464, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1464_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1465, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1465_0(Etw):
pattern = Struct(
"pwsz" / WString,
"pwsz2" / WString,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1466, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1466_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1467, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1467_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1468, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1468_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1469, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1469_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1470, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1470_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1471, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1471_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1472, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1472_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"navigationError" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1473, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1473_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1474, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1474_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1475, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1475_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1476, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1476_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1477, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1477_0(Etw):
pattern = Struct(
"Importance" / Int32ul,
"PriorityCloseInitiated" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1501, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1501_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1502, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1502_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1504, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1504_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1505, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1505_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1506, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1506_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1507, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1507_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1508, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1508_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1509, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1509_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul,
"ServerTaskState2" / Int32ul,
"bool1" / Int8ul,
"bool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1510, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1510_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1511, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1511_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1512, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1512_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1514, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1514_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1515, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1515_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1516, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1516_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1517, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1517_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1518, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1518_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1519, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1519_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1520, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1520_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1521, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1521_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"reason" / Int32ul,
"pwsz" / WString,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1522, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1522_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul,
"reason1" / Int32ul,
"reason2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1523, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1523_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1524, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1524_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1525, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1525_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1526, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1526_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1527, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1527_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1528, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1528_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1530, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1530_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul,
"ServerTaskState2" / Int32ul,
"ServerTaskState3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1531, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1531_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul,
"ServerTaskState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1532, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1532_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState1" / Int32ul,
"ServerTaskState2" / Int32ul,
"fBool" / Int8ul,
"ActivationPolicy" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1533, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1533_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool1" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1534, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1534_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool1" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1535, version=1)
class Microsoft_WindowsPhone_CoreUIComponents_1535_1(Etw):
pattern = Struct(
"unParam" / Int32ul,
"NavigationTimeoutEventType" / Int32ul,
"TimeoutModifierType" / Int32ul,
"Param" / Int32sl,
"ServerTaskState1" / Int32ul,
"ServerTaskState2" / Int32ul,
"IsModernApplication" / Int8ul,
"ApplicationId" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1536, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1536_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"NavigationTimeoutEventType" / Int32ul,
"ServerTaskState1" / Int32ul,
"ServerTaskState2" / Int32ul,
"reason" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1537, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1537_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"NavigationTimeoutEventType" / Int32ul,
"TimeoutModifierType" / Int32ul,
"ServerTaskState1" / Int32ul,
"ServerTaskState2" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul,
"fBool3" / Int8ul,
"fBool4" / Int8ul,
"reason" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1538, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1538_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1541, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1541_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ptr" / Int64ul,
"pwsz" / WString,
"pwsz2" / WString,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1543, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1543_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ptr" / Int64ul,
"pwsz" / WString,
"pwsz2" / WString,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1544, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1544_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1545, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1545_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1546, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1546_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"NavigationTimeoutEventType" / Int32ul,
"ServerTaskState1" / Int32ul,
"ServerTaskState2" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul,
"fBool3" / Int8ul,
"fBool4" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1547, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1547_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1548, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1548_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1549, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1549_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"NavigationTimeoutEventType" / Int32ul,
"ServerTaskState1" / Int32ul,
"ServerTaskState2" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1550, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1550_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1551, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1551_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1552, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1552_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul,
"fBool3" / Int8ul,
"fBool4" / Int8ul,
"fBool5" / Int8ul,
"pwsz1" / WString,
"reason" / Int32ul,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1553, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1553_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool1" / Int8ul,
"fBool2" / Int8ul,
"fBool3" / Int8ul,
"fBool4" / Int8ul,
"fBool5" / Int8ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1554, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1554_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1555, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1555_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul,
"ServerTaskState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1556, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1556_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul,
"ServerTaskState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1557, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1557_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1558, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1558_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"fBool" / Int8ul,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1559, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1559_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1560, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1560_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1561, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1561_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1562, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1562_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1563, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1563_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1564, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1564_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1565, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1565_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"fBool1" / Int8ul,
"fBool2" / Int8ul,
"fBool3" / Int8ul,
"unParam2" / Int32ul,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1566, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1566_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int32ul,
"unParam6" / Int32ul,
"unParam7" / Int8ul,
"unParam8" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1567, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1567_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1568, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1568_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1569, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1569_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1570, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1570_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1571, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1571_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1572, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1572_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1573, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1573_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1574, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1574_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1575, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1575_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"TaskRunningOptions" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1576, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1576_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32sl,
"unParam3" / Int32sl,
"unParam4" / Int32sl,
"unParam5" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1577, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1577_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1578, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1578_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState1" / Int32ul,
"ServerTaskState2" / Int32ul,
"reason" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1579, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1579_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState1" / Int32ul,
"ServerTaskState2" / Int32ul,
"reason" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1580, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1580_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int64ul,
"unParam3" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1581, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1581_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"TaskInstanceState" / Int32ul,
"hresult" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1582, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1582_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul,
"ServerTaskState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1583, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1583_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1584, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1584_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ServerTaskState" / Int32ul,
"ServerTaskState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1585, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1585_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1586, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1586_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1587, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1587_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1588, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1588_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1589, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1589_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"unParam2" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1590, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1590_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1591, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1591_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1601, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1601_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1602, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1602_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1610, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1610_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1611, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1611_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1612, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1612_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1700, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1700_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1702, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1702_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1703, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1703_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1800, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1800_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1801, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1801_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1802, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1802_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"hex2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1803, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1803_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1804, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1804_0(Etw):
pattern = Struct(
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1805, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1805_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1806, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1806_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1807, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1807_0(Etw):
pattern = Struct(
"fBool" / Int8ul,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1812, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1812_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"hex2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1814, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1814_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"hex2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1815, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1815_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"hex2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1816, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1816_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1817, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1817_0(Etw):
pattern = Struct(
"fBool" / Int8ul,
"hex" / Int32ul,
"hex2" / Int32ul,
"hex3" / Int32ul,
"hex4" / Int32ul,
"hex5" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1900, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1900_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1901, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1901_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1902, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1902_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1903, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1903_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1904, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1904_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1905, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1905_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1906, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1906_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1907, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1907_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"dir" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1908, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1908_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"dir" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1909, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1909_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1910, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1910_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1911, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1911_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1912, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1912_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1913, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1913_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1914, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1914_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1915, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1915_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1916, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1916_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1917, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1917_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool1" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1918, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1918_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1919, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1919_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1920, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1920_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1921, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1921_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=1922, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_1922_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2000, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2000_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2001, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2001_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2100, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2100_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2101, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2101_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2102, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2102_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2103, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2103_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul,
"PageState" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2104, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2104_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2105, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2105_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul,
"PageState" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2106, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2106_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2107, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2107_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2108, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2108_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2109, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2109_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2110, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2110_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"PMS" / Int32ul,
"PMS2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2111, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2111_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"PMSS" / Int32ul,
"PMSS2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2112, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2112_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2113, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2113_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2114, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2114_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2115, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2115_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2116, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2116_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"PMES" / Int32ul,
"PMES2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2117, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2117_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2118, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2118_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2119, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2119_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2120, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2120_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2121, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2121_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2122, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2122_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"reason" / Int32ul,
"pwsz" / WString,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2123, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2123_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2130, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2130_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2131, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2131_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool1" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2132, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2132_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool1" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2133, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2133_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2200, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2200_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2201, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2201_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2202, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2202_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"PageState" / Int32ul,
"PageState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2203, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2203_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2204, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2204_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2205, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2205_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2206, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2206_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2207, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2207_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2208, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2208_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"SystemKey" / Int32ul,
"bool1" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2209, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2209_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"NavigationTimeoutEventType" / Int32ul,
"PageState" / Int32ul,
"PageState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2210, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2210_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"NavigationTimeoutEventType" / Int32ul,
"PageState" / Int32ul,
"PageState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2211, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2211_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"NavigationTimeoutEventType" / Int32ul,
"PageState" / Int32ul,
"PageState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2212, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2212_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2213, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2213_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2214, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2214_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"PageState" / Int32ul,
"PageState2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2215, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2215_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2301, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2301_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2302, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2302_0(Etw):
pattern = Struct(
"ptr" / Int64ul,
"EMCRET" / Int32ul,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2303, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2303_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2304, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2304_0(Etw):
pattern = Struct(
"ptr" / Int64ul,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2313, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2313_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2318, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2318_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2320, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2320_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2322, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2322_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2324, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2324_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2326, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2326_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2328, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2328_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2330, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2330_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2401, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2401_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2402, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2402_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2404, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2404_0(Etw):
pattern = Struct(
"ptr" / Int64ul,
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2412, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2412_0(Etw):
pattern = Struct(
"ptr" / Int64ul,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2420, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2420_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2422, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2422_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2424, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2424_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2426, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2426_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2501, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2501_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2502, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2502_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2504, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2504_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2510, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2510_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2511, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2511_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2520, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2520_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2521, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2521_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2522, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2522_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2523, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2523_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2524, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2524_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2525, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2525_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2526, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2526_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2527, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2527_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2528, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2528_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2531, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2531_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2532, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2532_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2533, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2533_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2534, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2534_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2535, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2535_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2536, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2536_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2537, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2537_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2538, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2538_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2539, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2539_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2540, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2540_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2541, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2541_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2542, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2542_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2543, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2543_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2544, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2544_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"unParam2" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2800, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2800_0(Etw):
pattern = Struct(
"fBool1" / Int8ul,
"fBool2" / Int8ul,
"fBool3" / Int8ul,
"Param" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2802, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2802_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2803, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2803_0(Etw):
pattern = Struct(
"pwsz" / WString,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2804, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2804_0(Etw):
pattern = Struct(
"Param" / Int32sl,
"Param2" / Int32sl,
"Param3" / Int32sl,
"Param4" / Int32sl,
"Param5" / Int32sl,
"Param6" / Int32sl,
"Param7" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2900, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2900_0(Etw):
pattern = Struct(
"coreUIServiceType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2901, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2901_0(Etw):
pattern = Struct(
"coreUIServiceType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2902, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2902_0(Etw):
pattern = Struct(
"coreUIServiceType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2903, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2903_0(Etw):
pattern = Struct(
"coreUIServiceType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2904, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2904_0(Etw):
pattern = Struct(
"coreUIServiceType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2905, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2905_0(Etw):
pattern = Struct(
"coreUIServiceType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2906, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2906_0(Etw):
pattern = Struct(
"coreUIServiceType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2907, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2907_0(Etw):
pattern = Struct(
"coreUIServiceType" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=2908, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_2908_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5000, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5000_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5001, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5001_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5004, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5004_0(Etw):
pattern = Struct(
"pwsz" / WString,
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5005, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5005_0(Etw):
pattern = Struct(
"hex" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5006, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5006_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5007, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5007_0(Etw):
pattern = Struct(
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5008, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5008_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5010, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5010_0(Etw):
pattern = Struct(
"pwsz" / WString,
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5012, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5012_0(Etw):
pattern = Struct(
"pwsz" / WString,
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5050, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5050_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5052, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5052_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=5054, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_5054_0(Etw):
pattern = Struct(
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=6000, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_6000_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"unParam2" / Int32ul,
"pwsz3" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=6001, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_6001_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=6002, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_6002_0(Etw):
pattern = Struct(
"pwsz" / WString,
"pwsz2" / WString,
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=6003, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_6003_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"unParam2" / Int32ul,
"pwsz3" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=6004, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_6004_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=6005, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_6005_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"pwsz3" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7000, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7000_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7001, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7001_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7002, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7002_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7003, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7003_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7004, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7004_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7005, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7005_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7006, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7006_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7007, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7007_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7008, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7008_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7009, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7009_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7010, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7010_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7011, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7011_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7012, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7012_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7013, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7013_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7014, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7014_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7015, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7015_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7016, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7016_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7017, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7017_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7018, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7018_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7019, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7019_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7020, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7020_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7021, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7021_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7022, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7022_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7023, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7023_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7024, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7024_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7025, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7025_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7026, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7026_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7027, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7027_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7028, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7028_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7029, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7029_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7030, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7030_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7031, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7031_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7032, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7032_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7033, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7033_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7034, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7034_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7035, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7035_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7036, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7036_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7037, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7037_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"dir" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7038, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7038_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7039, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7039_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7040, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7040_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7041, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7041_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7042, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7042_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"newstate" / Int32ul,
"oldstate" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7044, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7044_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7045, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7045_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7046, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7046_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7047, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7047_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7048, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7048_0(Etw):
pattern = Struct(
"CurrentState" / Int8ul,
"NewSipVisibilityValue" / Int8ul,
"SipHeight" / Int64ul,
"NavClientState" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7049, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7049_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7050, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7050_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7051, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7051_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7052, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7052_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7053, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7053_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7054, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7054_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7055, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7055_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7056, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7056_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7057, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7057_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7058, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7058_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7059, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7059_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7060, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7060_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int32ul,
"unParam6" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7061, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7061_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int32ul,
"unParam6" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7062, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7062_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int32ul,
"unParam6" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7063, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7063_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7064, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7064_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"Occlusion" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=7065, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_7065_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8000, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8000_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8001, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8001_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8002, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8002_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8003, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8003_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8004, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8004_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int32ul,
"unParam6" / Int32ul,
"unParam7" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8005, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8005_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8006, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8006_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"activationLevel1" / Int32ul,
"activationLevel2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8007, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8007_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8008, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8008_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8009, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8009_0(Etw):
pattern = Struct(
"appLayer" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8010, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8010_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"reason" / Int32ul,
"dir1" / Int32ul,
"dir2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8011, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8011_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8012, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8012_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8013, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8013_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8014, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8014_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8015, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8015_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int32ul,
"unParam6" / Int32ul,
"unParam7" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8016, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8016_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8017, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8017_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"ServerTaskState" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8018, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8018_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8019, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8019_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8020, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8020_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8021, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8021_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8022, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8022_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8023, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8023_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"currentState" / Int32ul,
"targetState" / Int32ul,
"direction" / Int32ul,
"reason" / Int32ul,
"pwsz" / WString,
"firstActivation" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8100, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8100_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int32ul,
"unParam5" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8101, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8101_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8102, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8102_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8103, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8103_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8104, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8104_0(Etw):
pattern = Struct(
"appLayer" / Int32ul,
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8105, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8105_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=8106, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_8106_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9000, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9000_0(Etw):
pattern = Struct(
"ptr" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9002, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9002_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ViewNavigationLevel" / Int32ul,
"AnimationDirection" / Int32ul,
"AnimationType" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9003, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9003_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9004, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9004_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9007, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9007_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9008, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9008_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9009, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9009_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9010, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9010_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9011, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9011_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9012, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9012_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9013, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9013_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9014, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9014_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9015, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9015_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int64ul,
"unParam5" / Int64ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9016, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9016_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9017, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9017_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul,
"dir" / Int32ul,
"animtype" / Int32ul,
"animflags" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9018, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9018_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"SystemKey" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9019, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9019_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"SystemKey" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9020, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9020_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ViewNavigationLevel" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9021, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9021_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9022, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9022_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9023, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9023_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"navigationError" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9024, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9024_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9025, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9025_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9026, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9026_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9027, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9027_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"hresult" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9028, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9028_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9029, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9029_0(Etw):
pattern = Struct(
"pwsz1" / WString,
"pwsz2" / WString,
"pwsz3" / WString,
"ViewActivationFlags" / Int32ul,
"pwsz4" / WString,
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9030, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9030_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"ViewNavigationLevel" / Int32ul,
"AnimationDirection" / Int32ul,
"AnimationType" / Int32ul,
"fBool" / Int8ul,
"fBool2" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9031, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9031_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"ViewNavigationLevel" / Int32ul,
"AnimationDirection" / Int32ul,
"AnimationType" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9032, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9032_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9033, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9033_0(Etw):
pattern = Struct(
"unParam" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9034, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9034_0(Etw):
pattern = Struct(
"unParam" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9035, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9035_0(Etw):
pattern = Struct(
"Param" / Int32sl,
"Param2" / Int32sl,
"navigationError" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9036, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9036_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9037, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9037_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9038, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9038_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9039, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9039_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9040, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9040_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9041, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9041_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"ViewNavigationLevel" / Int32ul,
"hresult" / Int32sl
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9042, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9042_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9043, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9043_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9044, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9044_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9045, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9045_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9500, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9500_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"ViewActivationFlags" / Int32ul,
"un64Param" / Int64ul,
"un64Param2" / Int64ul,
"un64Param3" / Int64ul,
"un64Param4" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9501, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9501_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int64ul,
"unParam3" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9502, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9502_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"pwsz3" / WString,
"ViewActivationFlags" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9503, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9503_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9504, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9504_0(Etw):
pattern = Struct(
"pwsz" / WString,
"pwsz2" / WString,
"pwsz3" / WString,
"AnimationType" / Int32ul,
"AnimationType2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9505, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9505_0(Etw):
pattern = Struct(
"hex" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9506, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9506_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"hex" / Int32ul,
"reason" / Int32ul,
"pwsz" / WString,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9507, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9507_0(Etw):
pattern = Struct(
"pwsz" / WString,
"pwsz2" / WString,
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9508, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9508_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"unParam2" / Int32ul,
"pwsz3" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9509, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9509_0(Etw):
pattern = Struct(
"pwsz" / WString,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9510, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9510_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9511, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9511_0(Etw):
pattern = Struct(
"fBool" / Int8ul,
"unParam1" / Int32ul,
"unParam2" / Int32ul,
"hex" / Int32ul,
"reason" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9513, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9513_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9514, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9514_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int64ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9515, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9515_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9601, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9601_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9602, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9602_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9603, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9603_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9604, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9604_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9605, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9605_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9606, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9606_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9607, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9607_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"fBool" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9608, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9608_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9700, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9700_0(Etw):
pattern = Struct(
"hex" / Int32ul,
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"pwsz3" / WString,
"ViewActivationFlags" / Int32ul,
"pwsz4" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9701, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9701_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9702, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9702_0(Etw):
pattern = Struct(
"hex1" / Int32ul,
"unParam" / Int32ul,
"pwsz" / WString,
"pwsz2" / WString,
"pwsz3" / WString,
"ViewActivationFlags" / Int32ul,
"pwsz4" / WString,
"hex2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9703, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9703_0(Etw):
pattern = Struct(
"unParam" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9704, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9704_0(Etw):
pattern = Struct(
"unParam1" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul,
"unParam4" / Int8ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9705, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9705_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9706, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9706_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9707, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9707_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"unParam3" / Int32ul
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=9708, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_9708_0(Etw):
pattern = Struct(
"unParam" / Int32ul,
"unParam2" / Int32ul,
"pwsz" / WString
)
@declare(guid=guid("a0b7550f-4e9a-4f03-ad41-b8042d06a2f7"), event_id=20000, version=0)
class Microsoft_WindowsPhone_CoreUIComponents_20000_0(Etw):
pattern = Struct(
"pwsz" / WString,
"hex" / Int32ul,
"pwsz2" / WString
)
| 29.069933
| 123
| 0.688768
| 14,793
| 134,681
| 6.084905
| 0.046914
| 0.128547
| 0.226487
| 0.122425
| 0.935854
| 0.934932
| 0.621726
| 0.620481
| 0.610638
| 0.606983
| 0
| 0.1748
| 0.185891
| 134,681
| 4,632
| 124
| 29.076209
| 0.646158
| 0.000787
| 0
| 0.511912
| 0
| 0
| 0.218985
| 0.149198
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.001418
| 0
| 0.313386
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 1
| 1
| 0
| 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
|
97b3ad8c16eebf5cd62d2b3dc8e7773aab216b9e
| 63
|
py
|
Python
|
enthought/pyface/viewer/tree_label_provider.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 3
|
2016-12-09T06:05:18.000Z
|
2018-03-01T13:00:29.000Z
|
enthought/pyface/viewer/tree_label_provider.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 1
|
2020-12-02T00:51:32.000Z
|
2020-12-02T08:48:55.000Z
|
enthought/pyface/viewer/tree_label_provider.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | null | null | null |
# proxy module
from pyface.viewer.tree_label_provider import *
| 21
| 47
| 0.825397
| 9
| 63
| 5.555556
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 63
| 2
| 48
| 31.5
| 0.892857
| 0.190476
| 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
|
97c989bebf40da73a6097b2f07e95794c95ce92b
| 915
|
py
|
Python
|
aiotdlib/api/functions/join_chat.py
|
jraylan/aiotdlib
|
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
|
[
"MIT"
] | 37
|
2021-05-04T10:41:41.000Z
|
2022-03-30T13:48:05.000Z
|
aiotdlib/api/functions/join_chat.py
|
jraylan/aiotdlib
|
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
|
[
"MIT"
] | 13
|
2021-07-17T19:54:51.000Z
|
2022-02-26T06:50:00.000Z
|
aiotdlib/api/functions/join_chat.py
|
jraylan/aiotdlib
|
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
|
[
"MIT"
] | 7
|
2021-09-22T21:27:11.000Z
|
2022-02-20T02:33:19.000Z
|
# =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# #
# =============================================================================== #
from __future__ import annotations
from pydantic import Field
from ..base_object import BaseObject
class JoinChat(BaseObject):
"""
Adds the current user as a new member to a chat. Private and secret chats can't be joined using this method
:param chat_id: Chat identifier
:type chat_id: :class:`int`
"""
ID: str = Field("joinChat", alias="@type")
chat_id: int
@staticmethod
def read(q: dict) -> JoinChat:
return JoinChat.construct(**q)
| 32.678571
| 111
| 0.427322
| 78
| 915
| 4.910256
| 0.705128
| 0.046997
| 0.052219
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.336612
| 915
| 27
| 112
| 33.888889
| 0.630972
| 0.62623
| 0
| 0
| 1
| 0
| 0.043478
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.111111
| false
| 0
| 0.333333
| 0.111111
| 0.888889
| 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
| 0
| 1
| 1
| 1
| 0
|
0
| 4
|
8adcb8388dfcc5f236cfe594d8f5d6c7889fd156
| 123
|
py
|
Python
|
python/screens/ContinuePrompt.py
|
ramity/apexcv
|
f3da9bd8f9b7c7cbc26d04011cfa1a4af7381ed7
|
[
"Unlicense"
] | 13
|
2019-04-16T15:39:30.000Z
|
2022-02-23T20:59:48.000Z
|
python/screens/ContinuePrompt.py
|
ramity/apexcv
|
f3da9bd8f9b7c7cbc26d04011cfa1a4af7381ed7
|
[
"Unlicense"
] | 10
|
2019-04-26T23:41:00.000Z
|
2019-04-28T01:14:34.000Z
|
python/screens/ContinuePrompt.py
|
ramity/apexcv
|
f3da9bd8f9b7c7cbc26d04011cfa1a4af7381ed7
|
[
"Unlicense"
] | null | null | null |
import cv2
import pytesseract
from Base import Base
class ContinuePrompt(Base):
def __init__(self):
| 13.666667
| 28
| 0.666667
| 14
| 123
| 5.571429
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.011364
| 0.284553
| 123
| 8
| 29
| 15.375
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.6
| null | null | 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
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
8afd24d2b4b01910291bd4299f4635975da3df88
| 89
|
py
|
Python
|
pinry/wsgi.py
|
nickali/pinry
|
5e0c9ee79a70c4997810c6e6b51a460db4fe4fa0
|
[
"BSD-2-Clause"
] | 1,193
|
2015-01-04T15:48:41.000Z
|
2022-03-31T21:17:59.000Z
|
pinry/wsgi.py
|
nickali/pinry
|
5e0c9ee79a70c4997810c6e6b51a460db4fe4fa0
|
[
"BSD-2-Clause"
] | 201
|
2015-01-17T09:12:01.000Z
|
2022-03-29T03:04:15.000Z
|
pinry/wsgi.py
|
nickali/pinry
|
5e0c9ee79a70c4997810c6e6b51a460db4fe4fa0
|
[
"BSD-2-Clause"
] | 234
|
2015-01-05T18:57:32.000Z
|
2022-03-08T11:17:52.000Z
|
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
| 17.8
| 49
| 0.842697
| 12
| 89
| 5.916667
| 0.583333
| 0.197183
| 0.507042
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.101124
| 89
| 4
| 50
| 22.25
| 0.8875
| 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 | 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
| 1
| 0
| 0
| 0
|
0
| 4
|
c10068c5667786d9f87da3f271d4d17b459f589e
| 81
|
py
|
Python
|
heater/utils.py
|
dsilvers/hangar
|
3190b05422a59a22f1fa4fd46cdec322b7f58953
|
[
"BSD-3-Clause"
] | null | null | null |
heater/utils.py
|
dsilvers/hangar
|
3190b05422a59a22f1fa4fd46cdec322b7f58953
|
[
"BSD-3-Clause"
] | null | null | null |
heater/utils.py
|
dsilvers/hangar
|
3190b05422a59a22f1fa4fd46cdec322b7f58953
|
[
"BSD-3-Clause"
] | null | null | null |
def bool_to_switch_state(bool):
if bool:
return "ON"
return "OFF"
| 20.25
| 31
| 0.617284
| 12
| 81
| 3.916667
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.283951
| 81
| 4
| 32
| 20.25
| 0.810345
| 0
| 0
| 0
| 0
| 0
| 0.060976
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0
| 0
| 0.75
| 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
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
c1081ebe9e36919896ee8dec2056e56c7c510d0b
| 181
|
py
|
Python
|
siga/sensibilizacao/forms.py
|
JenniferAmaral/DjangoSpike
|
768237bb0f3cffe7bbdbcab38a8bae6faa78e495
|
[
"Apache-2.0"
] | null | null | null |
siga/sensibilizacao/forms.py
|
JenniferAmaral/DjangoSpike
|
768237bb0f3cffe7bbdbcab38a8bae6faa78e495
|
[
"Apache-2.0"
] | 2
|
2021-03-19T03:21:17.000Z
|
2021-03-30T13:24:07.000Z
|
siga/sensibilizacao/forms.py
|
JenniferAmaral/DjangoSpike
|
768237bb0f3cffe7bbdbcab38a8bae6faa78e495
|
[
"Apache-2.0"
] | null | null | null |
from django import forms
from sensibilizacao.models import Palestra
class CreatePalestraForm(forms.ModelForm):
class Meta:
model = Palestra
fields = '__all__'
| 20.111111
| 42
| 0.723757
| 19
| 181
| 6.684211
| 0.736842
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.220994
| 181
| 8
| 43
| 22.625
| 0.900709
| 0
| 0
| 0
| 0
| 0
| 0.038674
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
c160a69875c5aecf762b40093ed18ba155b5ee7c
| 993
|
py
|
Python
|
src/skdh/sleep/__init__.py
|
PfizerRD/scikit-digital-health
|
f834a82d750d9e3cdd35f4f5692a0a388210b821
|
[
"MIT"
] | 1
|
2022-03-31T20:56:49.000Z
|
2022-03-31T20:56:49.000Z
|
src/skdh/sleep/__init__.py
|
PfizerRD/scikit-digital-health
|
f834a82d750d9e3cdd35f4f5692a0a388210b821
|
[
"MIT"
] | null | null | null |
src/skdh/sleep/__init__.py
|
PfizerRD/scikit-digital-health
|
f834a82d750d9e3cdd35f4f5692a0a388210b821
|
[
"MIT"
] | null | null | null |
"""
IMU Sleep Analysis (:mod:`skdh.sleep`)
======================================
.. currentmodule:: skdh.sleep
Pipeline sleep processing
-------------------------
.. autosummary::
:toctree: generated/
Sleep
.. _sleep-metrics:
Sleep Endpoints
---------------
.. autosummary::
:toctree: generated/
TotalSleepTime
PercentTimeAsleep
NumberWakeBouts
SleepOnsetLatency
WakeAfterSleepOnset
AverageSleepDuration
AverageWakeDuration
SleepWakeTransitionProbability
WakeSleepTransitionProbability
SleepGiniIndex
WakeGiniIndex
SleepAverageHazard
WakeAverageHazard
SleepPowerLawDistribution
WakePowerLawDistribution
Background Information
----------------------
TODO
Adding Custom Sleep Metrics
---------------------------
TODO
"""
from skdh.sleep.sleep import Sleep
from skdh.sleep import sleep
from skdh.sleep.endpoints import *
from skdh.sleep import endpoints
__all__ = ["Sleep", "endpoints"] + endpoints.__all__
| 17.12069
| 52
| 0.654582
| 72
| 993
| 8.902778
| 0.5
| 0.084243
| 0.081123
| 0.062403
| 0.082683
| 0.082683
| 0
| 0
| 0
| 0
| 0
| 0
| 0.164149
| 993
| 57
| 53
| 17.421053
| 0.772289
| 0.802618
| 0
| 0
| 0
| 0
| 0.074866
| 0
| 0
| 0
| 0
| 0.035088
| 0
| 1
| 0
| false
| 0
| 0.8
| 0
| 0.8
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
c1790aa82f9a7dc28f8d5fcb6213379c60d11e19
| 105
|
py
|
Python
|
src/pydrs/info.py
|
lnls-sirius/pydrs
|
4e44cf0272fcf0020139a6c176a708b4642a644a
|
[
"MIT"
] | null | null | null |
src/pydrs/info.py
|
lnls-sirius/pydrs
|
4e44cf0272fcf0020139a6c176a708b4642a644a
|
[
"MIT"
] | 1
|
2022-01-14T14:59:09.000Z
|
2022-01-21T18:48:32.000Z
|
src/pydrs/info.py
|
lnls-sirius/pydrs
|
4e44cf0272fcf0020139a6c176a708b4642a644a
|
[
"MIT"
] | 1
|
2022-01-14T14:54:14.000Z
|
2022-01-14T14:54:14.000Z
|
__author__ = ""
__version__ = "0.0.1"
__date__ = ""
__all__ = ["__author__", "__version__", "__date__"]
| 17.5
| 51
| 0.647619
| 10
| 105
| 4
| 0.6
| 0.65
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.033333
| 0.142857
| 105
| 5
| 52
| 21
| 0.411111
| 0
| 0
| 0
| 0
| 0
| 0.32381
| 0
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c17e1c6e4431b9dbf91db5ca76d4d5a8acb76e91
| 112
|
py
|
Python
|
utils.py
|
PitPietro/arduino-py
|
cd9b5da7c409cc84c24e9b366b026f3372c6dcb8
|
[
"MIT"
] | null | null | null |
utils.py
|
PitPietro/arduino-py
|
cd9b5da7c409cc84c24e9b366b026f3372c6dcb8
|
[
"MIT"
] | null | null | null |
utils.py
|
PitPietro/arduino-py
|
cd9b5da7c409cc84c24e9b366b026f3372c6dcb8
|
[
"MIT"
] | null | null | null |
def analog_state(analog_input):
if analog_input.read():
return 'UP'
else:
return 'DOWN'
| 18.666667
| 31
| 0.598214
| 14
| 112
| 4.571429
| 0.714286
| 0.34375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.294643
| 112
| 5
| 32
| 22.4
| 0.810127
| 0
| 0
| 0
| 0
| 0
| 0.053571
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0
| 0
| 0.6
| 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
| 0
| 0
| 1
| 0
|
0
| 4
|
c189402b41701bf73691c90772c3b3e2d570f82b
| 63
|
py
|
Python
|
framworm_client/main.py
|
Framworm/framworm
|
e17260d0e0e6c39f37be86867c3daf132e3140ec
|
[
"Apache-2.0"
] | 2
|
2021-05-10T17:28:17.000Z
|
2021-05-13T16:03:43.000Z
|
framworm_client/main.py
|
Framworm/framworm
|
e17260d0e0e6c39f37be86867c3daf132e3140ec
|
[
"Apache-2.0"
] | null | null | null |
framworm_client/main.py
|
Framworm/framworm
|
e17260d0e0e6c39f37be86867c3daf132e3140ec
|
[
"Apache-2.0"
] | null | null | null |
#Imports
from app import app
app.app.run("0.0.0.0", port=8000)
| 15.75
| 33
| 0.698413
| 14
| 63
| 3.142857
| 0.571429
| 0.136364
| 0.136364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 0.111111
| 63
| 4
| 33
| 15.75
| 0.642857
| 0.111111
| 0
| 0
| 0
| 0
| 0.125
| 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
|
c18ca059216f09e0ad85d30842f3e254cee0062b
| 519
|
py
|
Python
|
examples/example1.py
|
pywebdata/pywebdata
|
74fb3d5adcdb549008ee04de5ae284066c0db362
|
[
"MIT"
] | null | null | null |
examples/example1.py
|
pywebdata/pywebdata
|
74fb3d5adcdb549008ee04de5ae284066c0db362
|
[
"MIT"
] | 8
|
2015-09-07T17:48:15.000Z
|
2016-01-31T19:56:28.000Z
|
examples/example1.py
|
pywebdata/pywebdata
|
74fb3d5adcdb549008ee04de5ae284066c0db362
|
[
"MIT"
] | null | null | null |
import baseexample as be
print 'Inputs: ', be.elevation.get_input_names()
print 'Outputs: ', be.elevation.get_output_names()
print
print 'Example 1 : ', be.elevation.query(latitude=24, longitude=30)
print
print 'Example 2 : ', be.elevation.query({'latitude':24, 'longitude':30})
print
print 'Example 3 : ', be.elevation.query([{'latitude':24, 'longitude':30}, {'latitude':25, 'longitude':30}])
print
print 'Example 4 : ', be.elevation.query('latitude >= 24 and latitude <= 25 and longitude >= 30 and longitude < 31')
| 39.923077
| 116
| 0.709056
| 73
| 519
| 4.986301
| 0.342466
| 0.181319
| 0.186813
| 0.263736
| 0.546703
| 0.398352
| 0.398352
| 0.296703
| 0.296703
| 0.296703
| 0
| 0.061135
| 0.117534
| 519
| 12
| 117
| 43.25
| 0.733624
| 0
| 0
| 0.363636
| 0
| 0
| 0.364162
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.090909
| null | null | 0.909091
| 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
|
c1b7df187ceef83e26f1d99aef5f2f8e8538b94f
| 398
|
py
|
Python
|
backend/core/models_utils.py
|
SiddharthSham/flowie
|
376f85cf6b0683a88f18c889f7bc18f228700817
|
[
"MIT"
] | null | null | null |
backend/core/models_utils.py
|
SiddharthSham/flowie
|
376f85cf6b0683a88f18c889f7bc18f228700817
|
[
"MIT"
] | 22
|
2020-07-13T08:28:06.000Z
|
2020-07-15T09:15:19.000Z
|
backend/core/models_utils.py
|
Xtremilicious/flowie
|
376f85cf6b0683a88f18c889f7bc18f228700817
|
[
"MIT"
] | 1
|
2020-07-19T15:29:51.000Z
|
2020-07-19T15:29:51.000Z
|
from . import models
def sample_user(name="sample_user", password="sample_user", **kwargs):
"""Create a sample user"""
return models.User.objects.create_user(name, password, **kwargs)
def sample_tracked_repo(repo_name, user=None, **kwargs):
return models.TrackedRepository.objects.create(
repo_name=repo_name,
user=sample_user() if user is None else user, **kwargs)
| 30.615385
| 70
| 0.71608
| 54
| 398
| 5.092593
| 0.37037
| 0.181818
| 0.087273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.158291
| 398
| 12
| 71
| 33.166667
| 0.820896
| 0.050251
| 0
| 0
| 0
| 0
| 0.05914
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.285714
| false
| 0.285714
| 0.142857
| 0.142857
| 0.714286
| 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
|
c1c2abb35e82c67af471067301cc6d342c67dbd9
| 924
|
py
|
Python
|
ixian_docker/tests/modules/django/snapshots/snap_test_config.py
|
kreneskyp/ixian-docker
|
ce7a6cee2f961b8446dc3d9429a809ab5a235467
|
[
"Apache-2.0"
] | null | null | null |
ixian_docker/tests/modules/django/snapshots/snap_test_config.py
|
kreneskyp/ixian-docker
|
ce7a6cee2f961b8446dc3d9429a809ab5a235467
|
[
"Apache-2.0"
] | null | null | null |
ixian_docker/tests/modules/django/snapshots/snap_test_config.py
|
kreneskyp/ixian-docker
|
ce7a6cee2f961b8446dc3d9429a809ab5a235467
|
[
"Apache-2.0"
] | null | null | null |
# -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from pysnap import Snapshot
snapshots = Snapshot()
snapshots['TestDjangoConfig.test_read[HOST] 1'] = {
'field': '0.0.0.0'
}
snapshots['TestDjangoConfig.test_read[MODULE_DIR] 1'] = {
'field': '/opt/ixian_docker/ixian_docker/modules/django'
}
snapshots['TestDjangoConfig.test_read[PORT] 1'] = {
'field': '8000'
}
snapshots['TestDjangoConfig.test_read[SETTINGS_DIR] 1'] = {
'field': 'unittests/settings'
}
snapshots['TestDjangoConfig.test_read[SETTINGS_MODULE] 1'] = {
'field': 'unittests.settings'
}
snapshots['TestDjangoConfig.test_read[SETTINGS_FILE] 1'] = {
'field': 'unittests.settings.base'
}
snapshots['TestDjangoConfig.test_read[SETTINGS_TEST] 1'] = {
'field': 'unittests.settings.test'
}
snapshots['TestDjangoConfig.test_read[UWSGI_INI] 1'] = {
'field': 'uwsgi.ini'
}
| 22.536585
| 62
| 0.702381
| 106
| 924
| 5.924528
| 0.367925
| 0.318471
| 0.369427
| 0.420382
| 0.334395
| 0.203822
| 0.203822
| 0.203822
| 0.203822
| 0
| 0
| 0.023632
| 0.12987
| 924
| 40
| 63
| 23.1
| 0.757463
| 0.0671
| 0
| 0
| 0
| 0
| 0.590221
| 0.459837
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.074074
| 0
| 0.074074
| 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
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c1e2ddc2b6fcf1214c0b1c6b5379eac1cc67d48f
| 108
|
py
|
Python
|
examples/spin.py
|
scalabli/quo
|
70b6d4129ee705930f1f8a792fc4c9247d973f9d
|
[
"MIT"
] | 3
|
2022-03-13T13:22:35.000Z
|
2022-03-18T08:22:51.000Z
|
examples/spin.py
|
scalabli/quo
|
70b6d4129ee705930f1f8a792fc4c9247d973f9d
|
[
"MIT"
] | 1
|
2022-03-21T16:29:54.000Z
|
2022-03-21T16:29:54.000Z
|
examples/spin.py
|
scalabli/quo
|
70b6d4129ee705930f1f8a792fc4c9247d973f9d
|
[
"MIT"
] | null | null | null |
from quo.spin import Spinner
with Spinner():
import time
time.sleep(5)
print("Hello, world")
| 12
| 28
| 0.648148
| 15
| 108
| 4.666667
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.012195
| 0.240741
| 108
| 8
| 29
| 13.5
| 0.841463
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.4
| 0.2
| 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
|
de0388b78de81125460682fad74438dc08a6a711
| 252
|
py
|
Python
|
src/trw/hparams/params_optimizer.py
|
civodlu/trw
|
b9a1cf045f61d6df9c65c014ef63b4048972dcdc
|
[
"MIT"
] | 3
|
2019-07-04T01:20:41.000Z
|
2020-01-27T02:36:12.000Z
|
src/trw/hparams/params_optimizer.py
|
civodlu/trw
|
b9a1cf045f61d6df9c65c014ef63b4048972dcdc
|
[
"MIT"
] | null | null | null |
src/trw/hparams/params_optimizer.py
|
civodlu/trw
|
b9a1cf045f61d6df9c65c014ef63b4048972dcdc
|
[
"MIT"
] | 2
|
2020-10-19T13:46:06.000Z
|
2021-12-27T02:18:10.000Z
|
from abc import ABC, abstractmethod
from typing import Optional, List
from .store import RunStore, RunResult
class HyperParametersOptimizer(ABC):
@abstractmethod
def optimize(self, store: Optional[RunStore]) -> List[RunResult]:
pass
| 22.909091
| 69
| 0.75
| 28
| 252
| 6.75
| 0.571429
| 0.179894
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.174603
| 252
| 10
| 70
| 25.2
| 0.908654
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| false
| 0.142857
| 0.428571
| 0
| 0.714286
| 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
| 0
| 0
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
a9ad43c18e5a86092f78bad4ecfca471d7295b5e
| 60
|
py
|
Python
|
CodeChef/Practice/testcasegenerator.py
|
mishrakeshav/Competitive-Programming
|
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
|
[
"MIT"
] | 2
|
2020-06-25T21:10:32.000Z
|
2020-12-10T06:53:45.000Z
|
CodeChef/Practice/testcasegenerator.py
|
mishrakeshav/Competitive-Programming
|
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
|
[
"MIT"
] | null | null | null |
CodeChef/Practice/testcasegenerator.py
|
mishrakeshav/Competitive-Programming
|
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
|
[
"MIT"
] | 3
|
2020-05-15T14:17:09.000Z
|
2021-07-25T13:18:20.000Z
|
#for PLMU
# for i in range(200):
# print(i, end = " ")
| 15
| 25
| 0.5
| 10
| 60
| 3
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.071429
| 0.3
| 60
| 4
| 25
| 15
| 0.642857
| 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
|
a9bb03e573e8fa51db988497f61206e1f83e9cd9
| 9
|
py
|
Python
|
hello_world/01_introduction/student/hello_world.py
|
fthuin/INGInious_blockly_tasks
|
1ec6892ab56d36dbc9ff1ea7ebc5a3d83bbcb197
|
[
"Apache-2.0"
] | null | null | null |
hello_world/01_introduction/student/hello_world.py
|
fthuin/INGInious_blockly_tasks
|
1ec6892ab56d36dbc9ff1ea7ebc5a3d83bbcb197
|
[
"Apache-2.0"
] | null | null | null |
hello_world/01_introduction/student/hello_world.py
|
fthuin/INGInious_blockly_tasks
|
1ec6892ab56d36dbc9ff1ea7ebc5a3d83bbcb197
|
[
"Apache-2.0"
] | null | null | null |
@@code@@
| 4.5
| 8
| 0.444444
| 1
| 9
| 4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 9
| 1
| 9
| 9
| 0.5
| 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
|
a9d346be8b0822f5ce210b28f79bd2353c50130a
| 53
|
py
|
Python
|
test/pytorch/__init__.py
|
t0kk35/d373c7
|
7780b97545e581244fb4fb74347bb1b052b9ec3f
|
[
"Apache-2.0"
] | 1
|
2021-07-23T18:04:55.000Z
|
2021-07-23T18:04:55.000Z
|
test/pytorch/__init__.py
|
t0kk35/d373c7
|
7780b97545e581244fb4fb74347bb1b052b9ec3f
|
[
"Apache-2.0"
] | null | null | null |
test/pytorch/__init__.py
|
t0kk35/d373c7
|
7780b97545e581244fb4fb74347bb1b052b9ec3f
|
[
"Apache-2.0"
] | null | null | null |
"""
Unit Tests for Pytorch stuff.
(c) 2020 d373c7
"""
| 13.25
| 29
| 0.660377
| 8
| 53
| 4.375
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.181818
| 0.169811
| 53
| 4
| 30
| 13.25
| 0.613636
| 0.849057
| 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
|
a9f31e4b82978a7ee4f158595ff7806407129be8
| 121
|
py
|
Python
|
deep_learning_zero/ch3/neural_net_matrix_dot.py
|
kaito0223/shakyou
|
8d901b4da24fbf0c708e3eb429a57d194e9857c1
|
[
"MIT"
] | null | null | null |
deep_learning_zero/ch3/neural_net_matrix_dot.py
|
kaito0223/shakyou
|
8d901b4da24fbf0c708e3eb429a57d194e9857c1
|
[
"MIT"
] | null | null | null |
deep_learning_zero/ch3/neural_net_matrix_dot.py
|
kaito0223/shakyou
|
8d901b4da24fbf0c708e3eb429a57d194e9857c1
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
import numpy as np
X = np.array([1,2])
W = np.array([[1,3,5],[2,4,6]])
Y = np.dot(X,W)
print(Y)
| 15.125
| 31
| 0.520661
| 28
| 121
| 2.25
| 0.678571
| 0.222222
| 0.253968
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.089109
| 0.165289
| 121
| 8
| 32
| 15.125
| 0.534653
| 0.173554
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.2
| 0
| 0.2
| 0.2
| 1
| 0
| 0
| null | 1
| 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
| 0
| 0
|
0
| 4
|
e70c209631aa6df8250b3dcd4b74b1dfd43fde62
| 268
|
py
|
Python
|
stubs/3.2/_thread.py
|
TimSimpsonR/mypy
|
5e6fd6335e0662b0477e1d678269f33e6f4194ba
|
[
"PSF-2.0"
] | 1
|
2019-06-27T11:34:27.000Z
|
2019-06-27T11:34:27.000Z
|
stubs/3.2/_thread.py
|
silky/mypy
|
de6a8d3710df9f49109cb682f2092e4967bfb92c
|
[
"PSF-2.0"
] | null | null | null |
stubs/3.2/_thread.py
|
silky/mypy
|
de6a8d3710df9f49109cb682f2092e4967bfb92c
|
[
"PSF-2.0"
] | null | null | null |
# Stubs for _thread
# NOTE: These are incomplete!
from typing import Undefined, Any
def _count() -> int: pass
_dangling = Undefined(Any)
class LockType:
def acquire(self) -> None: pass
def release(self) -> None: pass
def allocate_lock() -> LockType: pass
| 17.866667
| 37
| 0.697761
| 36
| 268
| 5.083333
| 0.694444
| 0.131148
| 0.131148
| 0.163934
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.19403
| 268
| 14
| 38
| 19.142857
| 0.847222
| 0.16791
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.571429
| false
| 0.571429
| 0.142857
| 0
| 0.857143
| 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
|
e70fa91061ac92b77473c80b2313dfd71773659e
| 7,620
|
py
|
Python
|
Yuanjunling1/test_case/testDemo.py
|
yuanjunling/PycharmProjects
|
087b1a30818bbe2bf3972c9340f61ca4b792eb7d
|
[
"bzip2-1.0.6"
] | null | null | null |
Yuanjunling1/test_case/testDemo.py
|
yuanjunling/PycharmProjects
|
087b1a30818bbe2bf3972c9340f61ca4b792eb7d
|
[
"bzip2-1.0.6"
] | null | null | null |
Yuanjunling1/test_case/testDemo.py
|
yuanjunling/PycharmProjects
|
087b1a30818bbe2bf3972c9340f61ca4b792eb7d
|
[
"bzip2-1.0.6"
] | null | null | null |
# -*- coding:utf-8 -*-
import os
import unittest
from appium import webdriver
from time import sleep
from random import choice
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import NoSuchElementException
import time,random,HTMLTestRunner
# Appium配置
# PATH = lambda p: os.path.abspath(
# os.path.join(os.path.dirname(__file__),p)
#
# )
class DpAppTests(unittest.TestCase):
def setUp(self):
desired_caps = {}
desired_caps['platformName'] = 'Android'#设置平台
desired_caps['platformVersion'] = '6.0' #系统版本
desired_caps['deviceName'] = 'emulator-5554' # 设备id
#30044ee231868100
#emulator-5554
desired_caps['appPackage'] = 'com.gt.common.channel' # 包名
desired_caps['appActivity'] = 'com.gt.common.channel.ui.gui.views.WelcomeActivity' # 启动的activity
#com.gt.common.channel.ui.home.views.activity.MainActivity
desired_caps['unicodeKeyboard'] = True
desired_caps['resetKeyboard'] = True
self.driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
# earDown 方法在每个测试方法执行后调用,这个地方做所有清理工作,如退出
def tearDown(self):
self.driver.close_app()
self.driver.quit()
def test_app(self):
u"""推荐融资"""
driver = self.driver
time.sleep(5)
#点击我的客户列表
driver.find_element_by_name(u"我的联系人").click()
time.sleep(3)
#选中联系人左滑
driver.swipe(147,807,21,781,1000)
time.sleep(1)
#点击融资推荐按钮
print type(driver.find_element_by_id("com.gt.common.channel:id/finance_iv"))
driver.find_element_by_id("com.gt.common.channel:id/finance_iv").click()
#点击融资推荐+按钮
time.sleep(1)
driver.find_element_by_id("com.gt.common.channel:id/id_action_new").click()
driver.implicitly_wait(30)
#填写融资资料——申请表
time.sleep(5)
#driver.find_element_by_id("com.gt.common.channel:id/company_name_til").send_keys(u"浙江舟山供应商%d"%random.randrange(1, 9999))
# driver.find_element_by_android_uiautomator('new UiSelector().text("公司名称")').send_keys(u"回复后返回回复回复111")
driver.find_element_by_id("com.gt.common.channel:id/goods_til").send_keys(u"飞机大炮火箭筒11")
driver.find_element_by_id("com.gt.common.channel:id/purchase_til").send_keys('134234234')
driver.find_element_by_id("com.gt.common.channel:id/legal_person_til").send_keys(u"胡彪11")
driver.find_element_by_id("com.gt.common.channel:id/contact_rl").click()
driver.find_element_by_id("com.gt.common.channel:id/name_tv").click()
driver.find_element_by_id("com.gt.common.channel:id/complete").click()
driver.find_element_by_id("com.gt.common.channel:id/next_tv").click()
time.sleep(2)
driver.find_element_by_id("com.gt.common.channel:id/item_cl").click()
time.sleep(1)
# driver.find_element_by_id("com.gt.common.channel:id/image_iv").click()
# driver.find_element_by_name(u"相册").click()
# driver.find_element_by_id("com.gt.common.channel:id/image_view_album_image").click()
# time.sleep(1)
# driver.find_element_by_id("com.gt.common.channel:id/image_view_image_select").click()
# driver.find_element_by_id("com.gt.common.channel:id/menu_item_add_image").click()
# time.sleep(3)
#上传贸易资料 订单1
for element in driver.find_elements_by_id('com.gt.common.channel:id/image_iv'):
element.click()
driver.find_element_by_name(u"相册").click()
driver.find_element_by_id("com.gt.common.channel:id/image_view_album_image").click()
time.sleep(1)
driver.find_element_by_id("com.gt.common.channel:id/image_view_image_select").click()
driver.find_element_by_id("com.gt.common.channel:id/menu_item_add_image").click()
time.sleep(3)
driver.find_element_by_id("com.gt.common.channel:id/save").click()
time.sleep(1)
driver.find_element_by_id("com.gt.common.channel:id/add_order_tv").click()
time.sleep(1)
driver.find_element_by_name(u"订单 2").click()
# 上传贸易资料 订单2
for element in driver.find_elements_by_id('com.gt.common.channel:id/image_iv'):
element.click()
driver.find_element_by_name(u"相册").click()
driver.find_element_by_id("com.gt.common.channel:id/image_view_album_image").click()
time.sleep(1)
driver.find_element_by_id("com.gt.common.channel:id/image_view_image_select").click()
driver.find_element_by_id("com.gt.common.channel:id/menu_item_add_image").click()
time.sleep(3)
driver.find_element_by_id("com.gt.common.channel:id/save").click()
driver.find_element_by_name(u"下一步").click()
#填写采购计划1
driver.find_element_by_id("com.gt.common.channel:id/item_cl").click()
driver.find_element_by_id("com.gt.common.channel:id/editText2").send_keys('111111111')
driver.find_element_by_id("com.gt.common.channel:id/editText").send_keys(u"这是一个非常流弊的产品哈哈哈哈11")
driver.find_element_by_id("com.gt.common.channel:id/quantity_til").send_keys('111111111')
driver.find_element_by_id("com.gt.common.channel:id/expected_price_til").send_keys('1111111111')
driver.find_element_by_id("com.gt.common.channel:id/time_rl").click()
time.sleep(1)
driver.find_element_by_id("com.gt.common.channel:id/mdtp_ok").click()
time1=driver.find_element_by_id("com.gt.common.channel:id/time_tv").text
print time1
driver.find_element_by_id("com.gt.common.channel:id/image_iv").click()
driver.find_element_by_name(u"相册").click()
driver.find_element_by_id("com.gt.common.channel:id/image_view_album_image").click()
time.sleep(1)
driver.find_element_by_id("com.gt.common.channel:id/image_view_image_select").click()
driver.find_element_by_id("com.gt.common.channel:id/menu_item_add_image").click()
time.sleep(3)
driver.find_element_by_id("com.gt.common.channel:id/save").click()
driver.find_element_by_name(u"下一步").click()
#企业资料填写
driver.find_element_by_name(u"企业形象照片").click()
driver.find_element_by_name(u"相册").click()
driver.find_element_by_id("com.gt.common.channel:id/image_view_album_image").click()
time.sleep(1)
driver.find_element_by_id("com.gt.common.channel:id/image_view_image_select").click()
driver.find_element_by_id("com.gt.common.channel:id/menu_item_add_image").click()
time.sleep(3)
driver.find_element_by_name(u"样品间或门店照片").click()
driver.find_element_by_name(u"相册").click()
driver.find_element_by_id("com.gt.common.channel:id/image_view_album_image").click()
time.sleep(1)
driver.find_element_by_id("com.gt.common.channel:id/image_view_image_select").click()
driver.find_element_by_id("com.gt.common.channel:id/menu_item_add_image").click()
time.sleep(3)
driver.find_element_by_name(u"联系人照片").click()
driver.find_element_by_name(u"相册").click()
driver.find_element_by_id("com.gt.common.channel:id/image_view_album_image").click()
time.sleep(1)
driver.find_element_by_id("com.gt.common.channel:id/image_view_image_select").click()
driver.find_element_by_id("com.gt.common.channel:id/menu_item_add_image").click()
time.sleep(3)
driver.find_element_by_id("com.gt.common.channel:id/next_tv").click()
if __name__ == '__main__':
unittest.main()
| 41.639344
| 129
| 0.687402
| 1,118
| 7,620
| 4.400716
| 0.159213
| 0.132114
| 0.217683
| 0.243293
| 0.699187
| 0.691057
| 0.680285
| 0.680285
| 0.673374
| 0.673374
| 0
| 0.021219
| 0.17126
| 7,620
| 182
| 130
| 41.868132
| 0.757561
| 0.125853
| 0
| 0.513274
| 0
| 0
| 0.314031
| 0.275023
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.079646
| null | null | 0.017699
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 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
|
e729acd2df47e8f8f3fa16b17de660762e9b3b7d
| 228
|
py
|
Python
|
tests/__init__.py
|
umeboshi2/juriscraper
|
16abceb3747947593841b1c2708de84dcc85c59d
|
[
"BSD-2-Clause"
] | null | null | null |
tests/__init__.py
|
umeboshi2/juriscraper
|
16abceb3747947593841b1c2708de84dcc85c59d
|
[
"BSD-2-Clause"
] | null | null | null |
tests/__init__.py
|
umeboshi2/juriscraper
|
16abceb3747947593841b1c2708de84dcc85c59d
|
[
"BSD-2-Clause"
] | 1
|
2021-03-03T00:03:16.000Z
|
2021-03-03T00:03:16.000Z
|
import juriscraper
import os
JURISCRAPER_ROOT = os.path.realpath(
os.path.join(
os.path.realpath(juriscraper.__file__),
'..'
)
)
TESTS_ROOT = os.path.realpath(os.path.join(JURISCRAPER_ROOT, '../tests'))
| 20.727273
| 73
| 0.671053
| 28
| 228
| 5.214286
| 0.321429
| 0.205479
| 0.287671
| 0.246575
| 0.383562
| 0.383562
| 0.383562
| 0
| 0
| 0
| 0
| 0
| 0.179825
| 228
| 10
| 74
| 22.8
| 0.780749
| 0
| 0
| 0
| 0
| 0
| 0.04386
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.222222
| 0
| 0.222222
| 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
|
e72a124af9ed664f75566ab369dcbbdf1029c2f9
| 290
|
py
|
Python
|
ope-backend/src/domain/dto/order_dto.py
|
clauddio-silva/ope-1
|
8be8a10c0db3d2f17e8e90a594abdf5770d53fa3
|
[
"CC0-1.0"
] | 2
|
2021-08-12T23:31:38.000Z
|
2021-08-24T11:16:53.000Z
|
ope-backend/src/domain/dto/order_dto.py
|
clauddio-silva/ope-1
|
8be8a10c0db3d2f17e8e90a594abdf5770d53fa3
|
[
"CC0-1.0"
] | 1
|
2021-09-16T18:17:23.000Z
|
2021-09-16T18:17:23.000Z
|
ope-backend/src/domain/dto/order_dto.py
|
clauddio-silva/ope-1
|
8be8a10c0db3d2f17e8e90a594abdf5770d53fa3
|
[
"CC0-1.0"
] | 6
|
2021-08-23T23:19:53.000Z
|
2021-11-30T23:24:12.000Z
|
from flask_restx import fields
Order = {
'id': fields.Integer(readonly=True),
'consumed_in': fields.Integer(required=True),
'table': fields.Integer(required=False),
'payment_method': fields.Integer(required=True),
'obs': fields.String(required=False, max_length=200)
}
| 29
| 56
| 0.710345
| 36
| 290
| 5.611111
| 0.611111
| 0.257426
| 0.311881
| 0.247525
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.012
| 0.137931
| 290
| 9
| 57
| 32.222222
| 0.796
| 0
| 0
| 0
| 0
| 0
| 0.12069
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.125
| 0
| 0.125
| 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
|
e74139db4320c911626d99f84b62c0be5e14118a
| 404
|
py
|
Python
|
coreapp/apps.py
|
Quanscendence/braynai
|
ab828ca95571c6dffef2b2392522e6a4160a2304
|
[
"MIT"
] | null | null | null |
coreapp/apps.py
|
Quanscendence/braynai
|
ab828ca95571c6dffef2b2392522e6a4160a2304
|
[
"MIT"
] | null | null | null |
coreapp/apps.py
|
Quanscendence/braynai
|
ab828ca95571c6dffef2b2392522e6a4160a2304
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
from actstream import registry
from django.contrib.auth.models import User
from coreapp.models import Project
class CoreappConfig(AppConfig):
name = 'coreapp'
def ready(self):
registry.register(User,self.get_model('ProjectType'),self.get_model('Project'),self.get_model('ProjectUser'),self.get_model('ProjectColumn'),self.get_model('ProjectDashboard'))
| 40.4
| 184
| 0.782178
| 52
| 404
| 5.980769
| 0.5
| 0.11254
| 0.192926
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.101485
| 404
| 9
| 185
| 44.888889
| 0.856749
| 0
| 0
| 0
| 0
| 0
| 0.160891
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.125
| false
| 0
| 0.5
| 0
| 0.875
| 0
| 0
| 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
| 1
| 0
| 1
| 0
|
0
| 4
|
e746b02b93407310f9ffdd307b7238ea35081615
| 118
|
py
|
Python
|
neuralcoref/__init__.py
|
cclauss/neuralcoref
|
a76f1cc22e39b1dd16f3df4a3b6d1b74ce628639
|
[
"MIT"
] | 1
|
2019-04-03T12:08:48.000Z
|
2019-04-03T12:08:48.000Z
|
neuralcoref/__init__.py
|
Sivaneshmsc/neuralcoref
|
8c266c4ec9a5532c4998a85a21fbf2bbfc3b1485
|
[
"MIT"
] | null | null | null |
neuralcoref/__init__.py
|
Sivaneshmsc/neuralcoref
|
8c266c4ec9a5532c4998a85a21fbf2bbfc3b1485
|
[
"MIT"
] | null | null | null |
# coding: utf8
from __future__ import unicode_literals
from .neuralcoref import NeuralCoref
__all__ = ['NeuralCoref']
| 23.6
| 39
| 0.813559
| 13
| 118
| 6.692308
| 0.692308
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009615
| 0.118644
| 118
| 5
| 40
| 23.6
| 0.826923
| 0.101695
| 0
| 0
| 0
| 0
| 0.104762
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
e75ae9fafaf84bb0f03db119e7d8294001066284
| 214
|
py
|
Python
|
pytorch_nn_tools/memory/memory.py
|
serge-m/pytorch_nn_tools
|
55204c31285089e294875226a01971f6bae86b0d
|
[
"MIT"
] | null | null | null |
pytorch_nn_tools/memory/memory.py
|
serge-m/pytorch_nn_tools
|
55204c31285089e294875226a01971f6bae86b0d
|
[
"MIT"
] | null | null | null |
pytorch_nn_tools/memory/memory.py
|
serge-m/pytorch_nn_tools
|
55204c31285089e294875226a01971f6bae86b0d
|
[
"MIT"
] | null | null | null |
import torch
from torch import nn
from typing import Tuple
def dummy_batch(m: nn.Module, size: Tuple) -> torch.Tensor:
return next(m.parameters()).new_empty(size=size).requires_grad_(False).uniform_(-1., 1.)
| 26.75
| 92
| 0.742991
| 34
| 214
| 4.529412
| 0.676471
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010638
| 0.121495
| 214
| 7
| 93
| 30.571429
| 0.808511
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.6
| 0.2
| 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
|
e77d4ef3aec8040357f6920057ce02bfa67b23b5
| 953
|
py
|
Python
|
lib/systems/guanine.py
|
pulsar-chem/BPModule
|
f8e64e04fdb01947708f098e833600c459c2ff0e
|
[
"BSD-3-Clause"
] | null | null | null |
lib/systems/guanine.py
|
pulsar-chem/BPModule
|
f8e64e04fdb01947708f098e833600c459c2ff0e
|
[
"BSD-3-Clause"
] | null | null | null |
lib/systems/guanine.py
|
pulsar-chem/BPModule
|
f8e64e04fdb01947708f098e833600c459c2ff0e
|
[
"BSD-3-Clause"
] | null | null | null |
import pulsar as psr
def load_ref_system():
""" Returns guanine as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
N 1.9866 1.1836 -0.0283
C 2.8388 0.1449 -0.0508
N 2.1080 -1.0623 -0.0561
C 0.7548 -0.7279 -0.0340
C 0.6865 0.6752 -0.0179
N -0.3434 -1.5920 -0.0311
C -1.5390 -0.9907 0.0130
C -0.5995 1.3416 0.0115
N -1.7164 0.4112 0.0184
O -0.9000 2.5196 0.0283
N -2.6853 -1.8196 0.1625
H 3.9288 0.2275 -0.0630
H 2.4866 -1.9740 -0.0670
H -2.6453 0.7744 0.0609
H -2.4967 -2.7868 0.0180
H -3.4651 -1.5083 -0.3735
""")
| 39.708333
| 63
| 0.41553
| 141
| 953
| 2.787234
| 0.567376
| 0.015267
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.484848
| 0.480588
| 953
| 23
| 64
| 41.434783
| 0.309091
| 0.109129
| 0
| 0
| 0
| 0
| 0.898673
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.05
| true
| 0
| 0.05
| 0
| 0.15
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e797a1282fd34f696a7c0bb4bcb09613e05564cd
| 21,222
|
py
|
Python
|
tests/python-opcua/tests/tests_subscriptions.py
|
iit-danieli-joint-lab/opcua-modeling-tool
|
f8c3d940a61334b0e6deda9099844a6b429d7c08
|
[
"MIT"
] | 32
|
2018-03-27T12:25:24.000Z
|
2022-01-11T21:20:06.000Z
|
tests/python-opcua/tests/tests_subscriptions.py
|
iit-danieli-joint-lab/opcua-modeling-tool
|
f8c3d940a61334b0e6deda9099844a6b429d7c08
|
[
"MIT"
] | 5
|
2018-04-09T07:35:54.000Z
|
2020-03-10T11:04:45.000Z
|
tests/python-opcua/tests/tests_subscriptions.py
|
iit-danieli-joint-lab/opcua-modeling-tool
|
f8c3d940a61334b0e6deda9099844a6b429d7c08
|
[
"MIT"
] | 12
|
2018-06-04T20:06:06.000Z
|
2021-07-02T22:09:53.000Z
|
from concurrent.futures import Future, TimeoutError
import time
from datetime import datetime, timedelta
import opcua
from opcua import ua
class SubHandler():
"""
Dummy subscription client
"""
def datachange_notification(self, node, val, data):
pass
def event_notification(self, event):
pass
class MySubHandler():
"""
More advanced subscription client using Future, so we can wait for events in tests
"""
def __init__(self):
self.future = Future()
def reset(self):
self.future = Future()
def datachange_notification(self, node, val, data):
self.future.set_result((node, val, data))
def event_notification(self, event):
self.future.set_result(event)
class MySubHandler2():
def __init__(self):
self.results = []
def datachange_notification(self, node, val, data):
self.results.append((node, val))
def event_notification(self, event):
self.results.append(event)
class MySubHandlerCounter():
def __init__(self):
self.datachange_count = 0
self.event_count = 0
def datachange_notification(self, node, val, data):
self.datachange_count += 1
def event_notification(self, event):
self.event_count += 1
class SubscriptionTests(object):
def test_subscription_failure(self):
myhandler = MySubHandler()
o = self.opc.get_objects_node()
sub = self.opc.create_subscription(100, myhandler)
with self.assertRaises(ua.UaStatusCodeError):
handle1 = sub.subscribe_data_change(o) # we can only subscribe to variables so this should fail
sub.delete()
def test_subscription_overload(self):
nb = 10
myhandler = MySubHandler()
o = self.opc.get_objects_node()
sub = self.opc.create_subscription(1, myhandler)
variables = []
subs = []
for i in range(nb):
v = o.add_variable(3, 'SubscriptionVariableOverload' + str(i), 99)
variables.append(v)
for i in range(nb):
sub.subscribe_data_change(variables)
for i in range(nb):
for j in range(nb):
variables[i].set_value(j)
s = self.opc.create_subscription(1, myhandler)
s.subscribe_data_change(variables)
subs.append(s)
sub.subscribe_data_change(variables[i])
for i in range(nb):
for j in range(nb):
variables[i].set_value(j)
sub.delete()
for s in subs:
s.delete()
def test_subscription_count(self):
myhandler = MySubHandlerCounter()
sub = self.opc.create_subscription(1, myhandler)
o = self.opc.get_objects_node()
var = o.add_variable(3, 'SubVarCounter', 0.1)
sub.subscribe_data_change(var)
nb = 12
for i in range(nb):
val = var.get_value()
var.set_value(val +1)
time.sleep(0.2) # let last event arrive
self.assertEqual(myhandler.datachange_count, nb + 1)
sub.delete()
def test_subscription_count_list(self):
myhandler = MySubHandlerCounter()
sub = self.opc.create_subscription(1, myhandler)
o = self.opc.get_objects_node()
var = o.add_variable(3, 'SubVarCounter', [0.1, 0.2])
sub.subscribe_data_change(var)
nb = 12
for i in range(nb):
val = var.get_value()
val.append(i)
var.set_value(val)
time.sleep(0.2) # let last event arrive
self.assertEqual(myhandler.datachange_count, nb + 1)
sub.delete()
def test_subscription_count_no_change(self):
myhandler = MySubHandlerCounter()
sub = self.opc.create_subscription(1, myhandler)
o = self.opc.get_objects_node()
var = o.add_variable(3, 'SubVarCounter', [0.1, 0.2])
sub.subscribe_data_change(var)
nb = 12
for i in range(nb):
val = var.get_value()
var.set_value(val)
time.sleep(0.2) # let last event arrive
self.assertEqual(myhandler.datachange_count, 1)
sub.delete()
def test_subscription_count_empty(self):
myhandler = MySubHandlerCounter()
sub = self.opc.create_subscription(1, myhandler)
o = self.opc.get_objects_node()
var = o.add_variable(3, 'SubVarCounter', [0.1, 0.2, 0.3])
sub.subscribe_data_change(var)
while True:
val = var.get_value()
val.pop()
var.set_value(val, ua.VariantType.Double)
if not val:
break
time.sleep(0.2) # let last event arrive
self.assertEqual(myhandler.datachange_count, 4)
sub.delete()
def test_subscription_overload_simple(self):
nb = 10
myhandler = MySubHandler()
o = self.opc.get_objects_node()
sub = self.opc.create_subscription(1, myhandler)
variables = [o.add_variable(3, 'SubVarOverload' + str(i), i) for i in range(nb)]
for i in range(nb):
sub.subscribe_data_change(variables)
sub.delete()
def test_subscription_data_change(self):
"""
test subscriptions. This is far too complicated for
a unittest but, setting up subscriptions requires a lot
of code, so when we first set it up, it is best
to test as many things as possible
"""
myhandler = MySubHandler()
o = self.opc.get_objects_node()
# subscribe to a variable
startv1 = [1, 2, 3]
v1 = o.add_variable(3, 'SubscriptionVariableV1', startv1)
sub = self.opc.create_subscription(100, myhandler)
handle1 = sub.subscribe_data_change(v1)
# Now check we get the start value
node, val, data = myhandler.future.result()
self.assertEqual(val, startv1)
self.assertEqual(node, v1)
myhandler.reset() # reset future object
# modify v1 and check we get value
v1.set_value([5])
node, val, data = myhandler.future.result()
self.assertEqual(node, v1)
self.assertEqual(val, [5])
with self.assertRaises(ua.UaStatusCodeError):
sub.unsubscribe(999) # non existing handle
sub.unsubscribe(handle1)
with self.assertRaises(ua.UaStatusCodeError):
sub.unsubscribe(handle1) # second try should fail
sub.delete()
with self.assertRaises(ua.UaStatusCodeError):
sub.unsubscribe(handle1) # sub does not exist anymore
def test_subscription_data_change_bool(self):
"""
test subscriptions. This is far too complicated for
a unittest but, setting up subscriptions requires a lot
of code, so when we first set it up, it is best
to test as many things as possible
"""
myhandler = MySubHandler()
o = self.opc.get_objects_node()
# subscribe to a variable
startv1 = True
v1 = o.add_variable(3, 'SubscriptionVariableBool', startv1)
sub = self.opc.create_subscription(100, myhandler)
handle1 = sub.subscribe_data_change(v1)
# Now check we get the start value
node, val, data = myhandler.future.result()
self.assertEqual(val, startv1)
self.assertEqual(node, v1)
myhandler.reset() # reset future object
# modify v1 and check we get value
v1.set_value(False)
node, val, data = myhandler.future.result()
self.assertEqual(node, v1)
self.assertEqual(val, False)
sub.delete() # should delete our monitoreditem too
def test_subscription_data_change_many(self):
"""
test subscriptions. This is far too complicated for
a unittest but, setting up subscriptions requires a lot
of code, so when we first set it up, it is best
to test as many things as possible
"""
myhandler = MySubHandler2()
o = self.opc.get_objects_node()
startv1 = True
v1 = o.add_variable(3, 'SubscriptionVariableMany1', startv1)
startv2 = [1.22, 1.65]
v2 = o.add_variable(3, 'SubscriptionVariableMany2', startv2)
sub = self.opc.create_subscription(100, myhandler)
handle1, handle2 = sub.subscribe_data_change([v1, v2])
# Now check we get the start values
nodes = [v1, v2]
count = 0
while not len(myhandler.results) > 1:
count += 1
time.sleep(0.1)
if count > 100:
self.fail("Did not get result from subscription")
for node, val in myhandler.results:
self.assertIn(node, nodes)
nodes.remove(node)
if node == v1:
self.assertEqual(startv1, val)
elif node == v2:
self.assertEqual(startv2, val)
else:
self.fail("Error node {0} is neither {1} nor {2}".format(node, v1, v2))
sub.delete()
def test_subscribe_server_time(self):
myhandler = MySubHandler()
server_time_node = self.opc.get_node(ua.NodeId(ua.ObjectIds.Server_ServerStatus_CurrentTime))
sub = self.opc.create_subscription(200, myhandler)
handle = sub.subscribe_data_change(server_time_node)
node, val, data = myhandler.future.result()
self.assertEqual(node, server_time_node)
delta = datetime.utcnow() - val
self.assertTrue(delta < timedelta(seconds=2))
sub.unsubscribe(handle)
sub.delete()
def test_create_delete_subscription(self):
o = self.opc.get_objects_node()
v = o.add_variable(3, 'SubscriptionVariable', [1, 2, 3])
sub = self.opc.create_subscription(100, MySubHandler())
handle = sub.subscribe_data_change(v)
time.sleep(0.1)
sub.unsubscribe(handle)
sub.delete()
def test_subscribe_events(self):
sub = self.opc.create_subscription(100, MySubHandler())
handle = sub.subscribe_events()
time.sleep(0.1)
sub.unsubscribe(handle)
sub.delete()
def test_subscribe_events_to_wrong_node(self):
sub = self.opc.create_subscription(100, MySubHandler())
with self.assertRaises(ua.UaStatusCodeError):
handle = sub.subscribe_events(self.opc.get_node("i=85"))
o = self.opc.get_objects_node()
v = o.add_variable(3, 'VariableNoEventNofierAttribute', 4)
with self.assertRaises(ua.UaStatusCodeError):
handle = sub.subscribe_events(v)
sub.delete()
def test_get_event_from_type_node_BaseEvent(self):
etype = self.opc.get_node(ua.ObjectIds.BaseEventType)
properties = opcua.common.events.get_event_properties_from_type_node(etype)
for child in etype.get_properties():
self.assertTrue(child in properties)
def test_get_event_from_type_node_CustomEvent(self):
etype = self.srv.create_custom_event_type(2, 'MyEvent', ua.ObjectIds.AuditEventType, [('PropertyNum', ua.VariantType.Float), ('PropertyString', ua.VariantType.String)])
properties = opcua.common.events.get_event_properties_from_type_node(etype)
for child in self.opc.get_node(ua.ObjectIds.BaseEventType).get_properties():
self.assertTrue(child in properties)
for child in self.opc.get_node(ua.ObjectIds.AuditEventType).get_properties():
self.assertTrue(child in properties)
for child in self.opc.get_node(etype.nodeid).get_properties():
self.assertTrue(child in properties)
self.assertTrue(etype.get_child("2:PropertyNum") in properties)
self.assertTrue(etype.get_child("2:PropertyString") in properties)
def test_events_default(self):
evgen = self.srv.get_event_generator()
myhandler = MySubHandler()
sub = self.opc.create_subscription(100, myhandler)
handle = sub.subscribe_events()
tid = datetime.utcnow()
msg = b"this is my msg "
evgen.trigger(tid, msg)
ev = myhandler.future.result()
self.assertIsNot(ev, None) # we did not receive event
self.assertEqual(ev.EventType, ua.NodeId(ua.ObjectIds.BaseEventType))
self.assertEqual(ev.Severity, 1)
self.assertEqual(ev.SourceName, self.opc.get_server_node().get_browse_name().Name)
self.assertEqual(ev.SourceNode, self.opc.get_server_node().nodeid)
self.assertEqual(ev.Message.Text, msg)
self.assertEqual(ev.Time, tid)
# time.sleep(0.1)
sub.unsubscribe(handle)
sub.delete()
def test_events_MyObject(self):
objects = self.srv.get_objects_node()
o = objects.add_object(3, 'MyObject')
evgen = self.srv.get_event_generator(source=o)
myhandler = MySubHandler()
sub = self.opc.create_subscription(100, myhandler)
handle = sub.subscribe_events(o)
tid = datetime.utcnow()
msg = b"this is my msg "
evgen.trigger(tid, msg)
ev = myhandler.future.result(10)
self.assertIsNot(ev, None) # we did not receive event
self.assertEqual(ev.EventType, ua.NodeId(ua.ObjectIds.BaseEventType))
self.assertEqual(ev.Severity, 1)
self.assertEqual(ev.SourceName, 'MyObject')
self.assertEqual(ev.SourceNode, o.nodeid)
self.assertEqual(ev.Message.Text, msg)
self.assertEqual(ev.Time, tid)
# time.sleep(0.1)
sub.unsubscribe(handle)
sub.delete()
def test_events_wrong_source(self):
objects = self.srv.get_objects_node()
o = objects.add_object(3, 'MyObject')
evgen = self.srv.get_event_generator(source=o)
myhandler = MySubHandler()
sub = self.opc.create_subscription(100, myhandler)
handle = sub.subscribe_events()
tid = datetime.utcnow()
msg = b"this is my msg "
evgen.trigger(tid, msg)
with self.assertRaises(TimeoutError): # we should not receive event
ev = myhandler.future.result(2)
# time.sleep(0.1)
sub.unsubscribe(handle)
sub.delete()
def test_events_CustomEvent(self):
etype = self.srv.create_custom_event_type(2, 'MyEvent', ua.ObjectIds.BaseEventType, [('PropertyNum', ua.VariantType.Float), ('PropertyString', ua.VariantType.String)])
evgen = self.srv.get_event_generator(etype)
myhandler = MySubHandler()
sub = self.opc.create_subscription(100, myhandler)
handle = sub.subscribe_events(evtypes=etype)
propertynum = 2
propertystring = "This is my test"
evgen.event.PropertyNum = propertynum
evgen.event.PropertyString = propertystring
serverity = 500
evgen.event.Severity = serverity
tid = datetime.utcnow()
msg = b"this is my msg "
evgen.trigger(tid, msg)
ev = myhandler.future.result(10)
self.assertIsNot(ev, None) # we did not receive event
self.assertEqual(ev.EventType, etype.nodeid)
self.assertEqual(ev.Severity, serverity)
self.assertEqual(ev.SourceName, self.opc.get_server_node().get_browse_name().Name)
self.assertEqual(ev.SourceNode, self.opc.get_server_node().nodeid)
self.assertEqual(ev.Message.Text, msg)
self.assertEqual(ev.Time, tid)
self.assertEqual(ev.PropertyNum, propertynum)
self.assertEqual(ev.PropertyString, propertystring)
# time.sleep(0.1)
sub.unsubscribe(handle)
sub.delete()
def test_events_CustomEvent_MyObject(self):
objects = self.srv.get_objects_node()
o = objects.add_object(3, 'MyObject')
etype = self.srv.create_custom_event_type(2, 'MyEvent', ua.ObjectIds.BaseEventType, [('PropertyNum', ua.VariantType.Float), ('PropertyString', ua.VariantType.String)])
evgen = self.srv.get_event_generator(etype, o)
myhandler = MySubHandler()
sub = self.opc.create_subscription(100, myhandler)
handle = sub.subscribe_events(o, etype)
propertynum = 2
propertystring = "This is my test"
evgen.event.PropertyNum = propertynum
evgen.event.PropertyString = propertystring
tid = datetime.utcnow()
msg = b"this is my msg "
evgen.trigger(tid, msg)
ev = myhandler.future.result(10)
self.assertIsNot(ev, None) # we did not receive event
self.assertEqual(ev.EventType, etype.nodeid)
self.assertEqual(ev.Severity, 1)
self.assertEqual(ev.SourceName, 'MyObject')
self.assertEqual(ev.SourceNode, o.nodeid)
self.assertEqual(ev.Message.Text, msg)
self.assertEqual(ev.Time, tid)
self.assertEqual(ev.PropertyNum, propertynum)
self.assertEqual(ev.PropertyString, propertystring)
# time.sleep(0.1)
sub.unsubscribe(handle)
sub.delete()
def test_several_different_events(self):
objects = self.srv.get_objects_node()
o = objects.add_object(3, 'MyObject')
etype1 = self.srv.create_custom_event_type(2, 'MyEvent1', ua.ObjectIds.BaseEventType, [('PropertyNum', ua.VariantType.Float), ('PropertyString', ua.VariantType.String)])
evgen1 = self.srv.get_event_generator(etype1, o)
etype2 = self.srv.create_custom_event_type(2, 'MyEvent2', ua.ObjectIds.BaseEventType, [('PropertyNum', ua.VariantType.Float), ('PropertyString', ua.VariantType.String)])
evgen2 = self.srv.get_event_generator(etype2, o)
myhandler = MySubHandler2()
sub = self.opc.create_subscription(100, myhandler)
handle = sub.subscribe_events(o, etype1)
propertynum1 = 1
propertystring1 = "This is my test 1"
evgen1.event.PropertyNum = propertynum1
evgen1.event.PropertyString = propertystring1
propertynum2 = 2
propertystring2 = "This is my test 2"
evgen2.event.PropertyNum = propertynum2
evgen2.event.PropertyString = propertystring2
for i in range(3):
evgen1.trigger()
evgen2.trigger()
time.sleep(1)
self.assertEqual(len(myhandler.results), 3)
ev = myhandler.results[-1]
self.assertEqual(ev.EventType, etype1.nodeid)
handle = sub.subscribe_events(o, etype2)
for i in range(4):
evgen1.trigger()
evgen2.trigger()
time.sleep(1)
ev1s = [ev for ev in myhandler.results if ev.EventType == etype1.nodeid]
ev2s = [ev for ev in myhandler.results if ev.EventType == etype2.nodeid]
self.assertEqual(len(myhandler.results), 11)
self.assertEqual(len(ev2s), 4)
self.assertEqual(len(ev1s), 7)
sub.unsubscribe(handle)
sub.delete()
def test_several_different_events_2(self):
objects = self.srv.get_objects_node()
o = objects.add_object(3, 'MyObject')
etype1 = self.srv.create_custom_event_type(2, 'MyEvent1', ua.ObjectIds.BaseEventType, [('PropertyNum', ua.VariantType.Float), ('PropertyString', ua.VariantType.String)])
evgen1 = self.srv.get_event_generator(etype1, o)
etype2 = self.srv.create_custom_event_type(2, 'MyEvent2', ua.ObjectIds.BaseEventType, [('PropertyNum2', ua.VariantType.Float), ('PropertyString', ua.VariantType.String)])
evgen2 = self.srv.get_event_generator(etype2, o)
etype3 = self.srv.create_custom_event_type(2, 'MyEvent3', ua.ObjectIds.BaseEventType, [('PropertyNum3', ua.VariantType.Float), ('PropertyString', ua.VariantType.String)])
evgen3 = self.srv.get_event_generator(etype3, o)
myhandler = MySubHandler2()
sub = self.opc.create_subscription(100, myhandler)
handle = sub.subscribe_events(o, [etype1, etype3])
propertynum1 = 1
propertystring1 = "This is my test 1"
evgen1.event.PropertyNum = propertynum1
evgen1.event.PropertyString = propertystring1
propertynum2 = 2
propertystring2 = "This is my test 2"
evgen2.event.PropertyNum2 = propertynum2
evgen2.event.PropertyString = propertystring2
propertynum3 = 3
propertystring3 = "This is my test 3"
evgen3.event.PropertyNum3 = propertynum3
evgen3.event.PropertyString = propertystring2
for i in range(3):
evgen1.trigger()
evgen2.trigger()
evgen3.trigger()
evgen3.event.PropertyNum3 = 9999
evgen3.trigger()
time.sleep(1)
ev1s = [ev for ev in myhandler.results if ev.EventType == etype1.nodeid]
ev2s = [ev for ev in myhandler.results if ev.EventType == etype2.nodeid]
ev3s = [ev for ev in myhandler.results if ev.EventType == etype3.nodeid]
self.assertEqual(len(myhandler.results), 7)
self.assertEqual(len(ev1s), 3)
self.assertEqual(len(ev2s), 0)
self.assertEqual(len(ev3s), 4)
self.assertEqual(ev1s[0].PropertyNum, propertynum1)
self.assertEqual(ev3s[0].PropertyNum3, propertynum3)
self.assertEqual(ev3s[-1].PropertyNum3, 9999)
self.assertEqual(ev1s[0].PropertyNum3, None)
sub.unsubscribe(handle)
sub.delete()
| 36.091837
| 178
| 0.636933
| 2,531
| 21,222
| 5.216515
| 0.101146
| 0.063622
| 0.03734
| 0.041657
| 0.801712
| 0.748921
| 0.72226
| 0.682496
| 0.645232
| 0.626221
| 0
| 0.023278
| 0.259118
| 21,222
| 587
| 179
| 36.153322
| 0.816447
| 0.065639
| 0
| 0.644342
| 0
| 0
| 0.04356
| 0.007846
| 0
| 0
| 0
| 0
| 0.17321
| 1
| 0.080831
| false
| 0.004619
| 0.011547
| 0
| 0.103926
| 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
|
e7d2b6ad2494754d6e9931487c2afe465719b822
| 5,490
|
py
|
Python
|
tap_ranking/search_data.py
|
andyrenpanlong/taptap_ranking
|
2a08a8e336f213b2e177d30a603b3cceacd10fbf
|
[
"MIT"
] | null | null | null |
tap_ranking/search_data.py
|
andyrenpanlong/taptap_ranking
|
2a08a8e336f213b2e177d30a603b3cceacd10fbf
|
[
"MIT"
] | null | null | null |
tap_ranking/search_data.py
|
andyrenpanlong/taptap_ranking
|
2a08a8e336f213b2e177d30a603b3cceacd10fbf
|
[
"MIT"
] | null | null | null |
from pymongo import MongoClient
import json
import re
from .apk_pure import search_game_url
def add_index(result):
lists = []
if len(result) > 0:
keys = result[0].keys()
for i in range(0, len(result), 1):
dataobj = {}
for j in keys:
if j != "_id":
dataobj[j] = result[i][j]
dataobj["index"] = (i+1)
lists.append(dataobj)
return lists
# def get_rank():
# client = MongoClient('127.0.0.1', 27017)
# db = client.local
# result = list(db.taplistrank20170910.find({}).sort([("install_reduce", -1)]).limit(100))
# return result
#
# def get_rank_top():
# client = MongoClient('127.0.0.1', 27017)
# db = client.local
# result = list(db.taplistrank20170911.find({}).sort([("install_reduce", -1)]).limit(100))
# return add_index(result)
def get_Installs(time, search):
client = MongoClient('127.0.0.1', 27017)
db = client.local
db_name = time.replace("-", "")
db_name = "taplistrank" + str(db_name)
search_key = {}
if search:
if search.isdigit():
search_key['game_id'] = {
'$regex': '.*' + search + '.*'
}
else:
search_key['game_name'] = {
'$regex': '.*' + search + '.*'
}
result = list(db[db_name].find(search_key).sort([("install_reduce", -1)]).limit(100))
return add_index(result)
def get_reserved(time, search):
client = MongoClient('127.0.0.1', 27017)
db = client.local
db_name = time.replace("-", "")
db_name = "taplistrank" + str(db_name)
search_key = {}
if search:
if search.isdigit():
search_key['game_id'] = {
'$regex': '.*' + search + '.*'
}
else:
search_key['game_name'] = {
'$regex': '.*' + search + '.*'
}
result = list(db[db_name].find(search_key).sort([("reserved_reduce", -1)]).limit(100))
return add_index(result)
def get_attention(time, search):
client = MongoClient('127.0.0.1', 27017)
db = client.local
db_name = time.replace("-", "")
db_name = "taplistrank" + str(db_name)
search_key = {}
if search:
if search.isdigit():
search_key['game_id'] = {
'$regex': '.*' + search + '.*'
}
else:
search_key['game_name'] = {
'$regex': '.*' + search + '.*'
}
result = list(db[db_name].find(search_key).sort([("attention_reduce", -1)]).limit(100))
return add_index(result)
def tap_ad_lists(time):
client = MongoClient('127.0.0.1', 27017)
db = client.local
db_name = time.replace("-", "")
db_name = "taptapGameIndexAd" + str(db_name)
result = list(db[db_name].find({"type": "ad"}).sort([("show_times", -1)]))
return add_index(result)
def tap_top_game(time):
client = MongoClient('127.0.0.1', 27017)
db = client.local
db_name = time.replace("-", "")
db_name = "taptapGameIndexAd" + str(db_name)
result = list(db[db_name].find({"type": "top"}).sort([("time", -1)]))
return add_index(result)
def tap_add_everyday(time, search):
client = MongoClient('127.0.0.1', 27017)
db = client.local
db_name = time.replace("-", "")
db_name = "tap_game_id_new_add" + str(db_name)
search_key = {}
if search:
if search.isdigit():
search_key['game_id'] = {
'$regex': '.*' + search + '.*'
}
else:
search_key['game_name'] = {
'$regex': '.*' + search + '.*'
}
result = list(db[db_name].find(search_key).sort([("game_id", -1)]))
return add_index(result)
def get_gongao_list(time, search):
client = MongoClient('127.0.0.1', 27017)
db = client.local
db_name = time.replace("-", "")
# db_name = "gonggao" + str(db_name)
db_name = "taptap_gonggao"
search_key = {}
if search:
if search.isdigit():
search_key['game_id'] = {
'$regex': '.*' + search + '.*'
}
else:
search_key['game_name'] = {
'$regex': '.*' + search + '.*'
}
result = list(db[db_name].find(search_key).sort([("game_id", -1)]))
return add_index(result)
def get_google_apk(search):
result = search_game_url(search)
return result
def tap_new_installs(time, search):
client = MongoClient('127.0.0.1', 27017)
db = client.local
db_name = time.replace("-", "")
db_name = "taplist" + str(db_name) + '001'
search_key = {}
if search:
if search.isdigit():
search_key['game_id'] = {
'$regex': '.*' + search + '.*'
}
else:
search_key['game_name'] = {
'$regex': '.*' + search + '.*'
}
result = list(db[db_name].find(search_key))
result2 = []
for i in range(0, len(result), 1):
result[i]["Installs"] = int(result[i]["Installs"])
result2.append(result[i])
# .sort([("game_id", -1)]).limit(200))
return add_index(result2.sort([("Installs", -1)]).limit(200))
def check_name_pass(username, password):
client = MongoClient('127.0.0.1', 27017)
db = client.local
result = list(db.userName.find({"en_name": username}))
if (len(result) > 0) and result[0]["password"] == password:
return True
else:
return False
| 31.734104
| 94
| 0.531876
| 655
| 5,490
| 4.274809
| 0.128244
| 0.070714
| 0.055714
| 0.0825
| 0.735714
| 0.735714
| 0.734643
| 0.715357
| 0.685357
| 0.671786
| 0
| 0.047119
| 0.288707
| 5,490
| 172
| 95
| 31.918605
| 0.66991
| 0.086339
| 0
| 0.619048
| 0
| 0
| 0.109556
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.07483
| false
| 0.013605
| 0.027211
| 0
| 0.183673
| 0
| 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
|
e7e2a28f01df59621dd44cbbd23be3dd2544084e
| 1,965
|
py
|
Python
|
DataCleaning/Filters.py
|
actuatech/fuel-tourism
|
60e6953cdcccf164e5cd03916a1c3b3c2b071a85
|
[
"MIT"
] | null | null | null |
DataCleaning/Filters.py
|
actuatech/fuel-tourism
|
60e6953cdcccf164e5cd03916a1c3b3c2b071a85
|
[
"MIT"
] | null | null | null |
DataCleaning/Filters.py
|
actuatech/fuel-tourism
|
60e6953cdcccf164e5cd03916a1c3b3c2b071a85
|
[
"MIT"
] | null | null | null |
from datetime import datetime
import pandas as pd
import logging
info_logger = logging.getLogger('info_logger' + '.Filters')
def filter_by_year_greater_or_equal_than(registre_df: pd.DataFrame, colname: str, date) -> pd.DataFrame:
return registre_df[registre_df[colname] >= date]
def keep_row_if_na_in_column(registre_df: pd.DataFrame, colname: str) -> pd.DataFrame:
return registre_df[registre_df[colname].isna()]
def drop_agricultural_vehicles(registre_df: pd.DataFrame) -> pd.DataFrame:
num_agricultural_vehicles = registre_df[registre_df.CARBURANT == 'SENSE CARBURANT'].shape[0]
info_logger.info(f'Total number of agricultural vehicles deleted: {num_agricultural_vehicles}')
return registre_df[registre_df['TIPUS'] != 'VEHICLES AGRICOLS']
def drop_vehicles_with_no_fuel_associated(registre_df: pd.DataFrame) -> pd.DataFrame:
num_vehicles_no_fuel = registre_df[registre_df.CARBURANT == 'SENSE CARBURANT'].shape[0]
info_logger.info(f'Total number of vehicles with no fuel associated deleted: {num_vehicles_no_fuel}')
return registre_df[registre_df['CARBURANT'] != 'SENSE CARBURANT']
def filter_by_year_smaller_than(registre_df: pd.DataFrame, colname: str, date) -> pd.DataFrame:
return registre_df[(registre_df[colname] < date) | (registre_df[colname].isna())]
def filter_by_partitions(df: pd.DataFrame, category=None, fuel=None, segment=None, euro=None):
"""
Filters the groupby dataframe to match the values of the given partitions
"""
filtered_groupby = df.copy()
if euro:
filtered_groupby = filtered_groupby[(filtered_groupby['Euro Standard'] == euro)]
if category:
filtered_groupby = filtered_groupby[(filtered_groupby['Category'] == category)]
if segment:
filtered_groupby = filtered_groupby[(filtered_groupby['Segment'] == segment)]
if fuel:
filtered_groupby = filtered_groupby[(filtered_groupby['Fuel'] == fuel)]
return filtered_groupby
| 40.9375
| 105
| 0.751654
| 258
| 1,965
| 5.445736
| 0.25969
| 0.142349
| 0.130961
| 0.170819
| 0.580071
| 0.495374
| 0.345196
| 0.264769
| 0.233452
| 0.233452
| 0
| 0.001182
| 0.138931
| 1,965
| 47
| 106
| 41.808511
| 0.829196
| 0.03715
| 0
| 0
| 0
| 0
| 0.149787
| 0.026119
| 0
| 0
| 0
| 0
| 0
| 1
| 0.206897
| false
| 0
| 0.103448
| 0.103448
| 0.517241
| 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
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
99ba7475873db9cd1ea15016c57758b9458c0d1b
| 211
|
py
|
Python
|
cellx/__init__.py
|
pranav-bhamidipati/cell-lattices
|
bb1def983b4833157087814fe9636164ec520046
|
[
"MIT"
] | null | null | null |
cellx/__init__.py
|
pranav-bhamidipati/cell-lattices
|
bb1def983b4833157087814fe9636164ec520046
|
[
"MIT"
] | null | null | null |
cellx/__init__.py
|
pranav-bhamidipati/cell-lattices
|
bb1def983b4833157087814fe9636164ec520046
|
[
"MIT"
] | null | null | null |
from . import utils
from . import geom
from . import graph
from . import viz
from . import poly
from .cellx import *
__author__ = 'Pranav Bhamidipati'
__email__ = 'pbhamidi@caltech.edu'
__version__ = '0.0.1'
| 16.230769
| 34
| 0.729858
| 29
| 211
| 4.896552
| 0.62069
| 0.352113
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.017241
| 0.175355
| 211
| 12
| 35
| 17.583333
| 0.798851
| 0
| 0
| 0
| 0
| 0
| 0.204762
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 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
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
99da040a8fa32449f6c5f34c906eb472048c6cbd
| 122
|
py
|
Python
|
git_stacktrace/__init__.py
|
pinterest/git-stacktrace
|
6150778836ca1314a19c5d95f60430c5768baf2e
|
[
"Apache-2.0"
] | 154
|
2016-07-29T21:56:29.000Z
|
2021-04-04T05:56:12.000Z
|
git_stacktrace/__init__.py
|
pinterest/git-stacktrace
|
6150778836ca1314a19c5d95f60430c5768baf2e
|
[
"Apache-2.0"
] | 12
|
2016-08-01T21:13:07.000Z
|
2021-09-17T03:34:37.000Z
|
git_stacktrace/__init__.py
|
pinterest/git-stacktrace
|
6150778836ca1314a19c5d95f60430c5768baf2e
|
[
"Apache-2.0"
] | 22
|
2016-08-02T13:35:15.000Z
|
2022-01-05T15:22:02.000Z
|
import pkg_resources
__version__ = pkg_resources.get_provider(pkg_resources.Requirement.parse("git-stacktrace")).version
| 30.5
| 99
| 0.852459
| 15
| 122
| 6.4
| 0.666667
| 0.375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.04918
| 122
| 3
| 100
| 40.666667
| 0.827586
| 0
| 0
| 0
| 0
| 0
| 0.114754
| 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
|
412dfbcf55db0fed01f499cd5f27a83813ffae1b
| 131
|
py
|
Python
|
python/testData/resolve/GoogleDocstringParamType.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2019-04-28T07:48:50.000Z
|
2020-12-11T14:18:08.000Z
|
python/testData/resolve/GoogleDocstringParamType.py
|
Cyril-lamirand/intellij-community
|
60ab6c61b82fc761dd68363eca7d9d69663cfa39
|
[
"Apache-2.0"
] | 173
|
2018-07-05T13:59:39.000Z
|
2018-08-09T01:12:03.000Z
|
python/testData/resolve/GoogleDocstringParamType.py
|
Cyril-lamirand/intellij-community
|
60ab6c61b82fc761dd68363eca7d9d69663cfa39
|
[
"Apache-2.0"
] | 2
|
2020-03-15T08:57:37.000Z
|
2020-04-07T04:48:14.000Z
|
from datetime import datetime
def f(param):
"""
Parameters:
param (datetime) : timestamp
<ref>
"""
| 16.375
| 34
| 0.534351
| 12
| 131
| 5.833333
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.351145
| 131
| 8
| 35
| 16.375
| 0.823529
| 0.442748
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0
| 0.5
| 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
| 1
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
4187fc2aee091091b3141d256e759ebfef068fa1
| 103
|
py
|
Python
|
sandbox/partner/apps.py
|
Bastilla123/shop2
|
b2a7ded5b39d0228fadfdb1c9e1fbd3ab0e4cfba
|
[
"BSD-3-Clause"
] | null | null | null |
sandbox/partner/apps.py
|
Bastilla123/shop2
|
b2a7ded5b39d0228fadfdb1c9e1fbd3ab0e4cfba
|
[
"BSD-3-Clause"
] | 12
|
2021-12-01T11:05:47.000Z
|
2022-03-01T11:06:09.000Z
|
sandbox/partner/apps.py
|
Bastilla123/shop2
|
b2a7ded5b39d0228fadfdb1c9e1fbd3ab0e4cfba
|
[
"BSD-3-Clause"
] | null | null | null |
import oscar.apps.partner.apps as apps
class PartnerConfig(apps.PartnerConfig):
name = 'partner'
| 17.166667
| 40
| 0.757282
| 13
| 103
| 6
| 0.615385
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.145631
| 103
| 5
| 41
| 20.6
| 0.886364
| 0
| 0
| 0
| 0
| 0
| 0.067961
| 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
|
419164c1dded7f9e1dea744e43c29c9e2215d5d8
| 256
|
py
|
Python
|
word2vec/wordclusters.py
|
fangyw/word2vec
|
37308f1ffab15249d884d2be32ea5df1f28750dd
|
[
"Apache-2.0"
] | 1
|
2017-09-01T06:28:05.000Z
|
2017-09-01T06:28:05.000Z
|
word2vec/wordclusters.py
|
fangyw/word2vec
|
37308f1ffab15249d884d2be32ea5df1f28750dd
|
[
"Apache-2.0"
] | null | null | null |
word2vec/wordclusters.py
|
fangyw/word2vec
|
37308f1ffab15249d884d2be32ea5df1f28750dd
|
[
"Apache-2.0"
] | null | null | null |
# coding: utf-8
import numpy as np
class WordClusters(object):
def __init__(self, vocab, clusters):
self.vocab = vocab
self.clusters = clusters
def __getitem__(self, cluster):
return self.vocab[self.clusters == cluster]
| 19.692308
| 51
| 0.660156
| 31
| 256
| 5.193548
| 0.580645
| 0.167702
| 0.21118
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.005155
| 0.242188
| 256
| 12
| 52
| 21.333333
| 0.824742
| 0.050781
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.285714
| false
| 0
| 0.142857
| 0.142857
| 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
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
68cddd02efe084e095472b5d71dc9ea12a2a4877
| 145
|
py
|
Python
|
camera_interface.py
|
EmilRyberg/P6BinPicking
|
c33b650db3ae16c56d46d12bfbc59d26c0d9e6aa
|
[
"MIT"
] | 1
|
2021-08-04T16:18:22.000Z
|
2021-08-04T16:18:22.000Z
|
camera_interface.py
|
EmilRyberg/P6BinPicking
|
c33b650db3ae16c56d46d12bfbc59d26c0d9e6aa
|
[
"MIT"
] | null | null | null |
camera_interface.py
|
EmilRyberg/P6BinPicking
|
c33b650db3ae16c56d46d12bfbc59d26c0d9e6aa
|
[
"MIT"
] | 1
|
2021-08-03T03:41:41.000Z
|
2021-08-03T03:41:41.000Z
|
class CameraInterface:
def get_image(self):
raise NotImplementedError()
def get_depth(self):
raise NotImplementedError()
| 24.166667
| 35
| 0.689655
| 14
| 145
| 7
| 0.642857
| 0.122449
| 0.571429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.234483
| 145
| 6
| 36
| 24.166667
| 0.882883
| 0
| 0
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.4
| false
| 0
| 0
| 0
| 0.6
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ec1fbadafc921c1370e38fe5d6a6b4efbec0fe12
| 24
|
py
|
Python
|
data/studio21_generated/introductory/2969/starter_code.py
|
vijaykumawat256/Prompt-Summarization
|
614f5911e2acd2933440d909de2b4f86653dc214
|
[
"Apache-2.0"
] | null | null | null |
data/studio21_generated/introductory/2969/starter_code.py
|
vijaykumawat256/Prompt-Summarization
|
614f5911e2acd2933440d909de2b4f86653dc214
|
[
"Apache-2.0"
] | null | null | null |
data/studio21_generated/introductory/2969/starter_code.py
|
vijaykumawat256/Prompt-Summarization
|
614f5911e2acd2933440d909de2b4f86653dc214
|
[
"Apache-2.0"
] | null | null | null |
def advice(agents, n):
| 12
| 22
| 0.666667
| 4
| 24
| 4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 24
| 2
| 23
| 12
| 0.8
| 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
|
ec3f4f619c173111c5e657837c0e50fcbdece18e
| 590
|
py
|
Python
|
waitlist/blueprints/settings/__init__.py
|
kimnnmadsen/eve-inc-waitlist
|
c3e4853c5563a95edbf105c11e73d481595fb3ab
|
[
"MIT"
] | null | null | null |
waitlist/blueprints/settings/__init__.py
|
kimnnmadsen/eve-inc-waitlist
|
c3e4853c5563a95edbf105c11e73d481595fb3ab
|
[
"MIT"
] | 1
|
2020-02-18T05:11:20.000Z
|
2020-02-18T05:29:10.000Z
|
waitlist/blueprints/settings/__init__.py
|
kimnnmadsen/eve-inc-waitlist
|
c3e4853c5563a95edbf105c11e73d481595fb3ab
|
[
"MIT"
] | null | null | null |
from typing import Callable, Tuple, List
from waitlist.base import app
from flask_babel import lazy_gettext
from flask.helpers import url_for
__settings_menu: List[Tuple[str, str, Callable[[], bool]]] = []
def __get__menu_entry_key(entry: Tuple[str, str, Callable[[], bool]]):
return entry[1]
def add_menu_entry(url: str, name: str, permission_callable: Callable[[], bool]):
__settings_menu.append((url, name, permission_callable))
__settings_menu.sort(key=__get__menu_entry_key)
@app.context_processor
def inject_menu():
return dict(settings_menu=__settings_menu)
| 26.818182
| 81
| 0.761017
| 84
| 590
| 4.940476
| 0.416667
| 0.144578
| 0.053012
| 0.091566
| 0.110843
| 0
| 0
| 0
| 0
| 0
| 0
| 0.001942
| 0.127119
| 590
| 21
| 82
| 28.095238
| 0.803884
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.230769
| false
| 0
| 0.307692
| 0.153846
| 0.692308
| 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
| 0
| 1
| 1
| 1
| 0
|
0
| 4
|
ec49dae95b6219fdbc3bf67e60d619bc70b7ff6e
| 429
|
py
|
Python
|
MySQLdb/exceptions.py
|
montag451/mysql-ctypes
|
feb1c9a15f41748d51caee8eab3f011fb35634c1
|
[
"ECL-2.0",
"Apache-2.0"
] | 2
|
2015-11-01T20:39:18.000Z
|
2015-11-01T22:15:17.000Z
|
MySQLdb/exceptions.py
|
amit2014/mysql-ctypes
|
32d79b05c2394875ed9dec45eac69ede3bc45384
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
MySQLdb/exceptions.py
|
amit2014/mysql-ctypes
|
32d79b05c2394875ed9dec45eac69ede3bc45384
|
[
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
class Warning(StandardError):
pass
class Error(StandardError):
pass
class InterfaceError(Error):
pass
class DatabaseError(Error):
pass
class DataError(DatabaseError):
pass
class OperationalError(DatabaseError):
pass
class IntegrityError(DatabaseError):
pass
class InternalError(DatabaseError):
pass
class ProgrammingError(DatabaseError):
pass
class NotSupportedError(DatabaseError):
pass
| 19.5
| 39
| 0.764569
| 40
| 429
| 8.2
| 0.325
| 0.246951
| 0.335366
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.165501
| 429
| 21
| 40
| 20.428571
| 0.916201
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 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
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
6b6336af8c41be74c01f5248f7b9821a60c99814
| 265
|
py
|
Python
|
MirrorMirror/theme/__init__.py
|
RubanSeven/MirrorMirror
|
47c7a1f458f87c536d068fcf249625f426920cc3
|
[
"Apache-2.0"
] | 2
|
2021-07-07T13:21:11.000Z
|
2021-09-24T06:57:16.000Z
|
MirrorMirror/theme/__init__.py
|
RubanSeven/MirrorMirror
|
47c7a1f458f87c536d068fcf249625f426920cc3
|
[
"Apache-2.0"
] | null | null | null |
MirrorMirror/theme/__init__.py
|
RubanSeven/MirrorMirror
|
47c7a1f458f87c536d068fcf249625f426920cc3
|
[
"Apache-2.0"
] | null | null | null |
# -*- coding:utf-8 -*-
"""
@author: RubanSeven
@project: MirrorMirror
"""
from .TextBox import *
from .Button import *
from .Tab import *
from .ComboBox import *
from .Frame import *
from .SpinBox import *
from .ScrollArea import *
from .List import *
| 18.928571
| 26
| 0.660377
| 31
| 265
| 5.645161
| 0.548387
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004762
| 0.207547
| 265
| 13
| 27
| 20.384615
| 0.828571
| 0.241509
| 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
|
6b7aa85d771a1f90fb32a1fac358e631d361bcc9
| 408
|
py
|
Python
|
publish.py
|
millarm/django-regex-field
|
f9f8f41d576ac78f36159ec9408d1cf65bdb9532
|
[
"MIT"
] | 110
|
2015-01-28T17:38:38.000Z
|
2022-02-17T02:51:55.000Z
|
publish.py
|
millarm/django-regex-field
|
f9f8f41d576ac78f36159ec9408d1cf65bdb9532
|
[
"MIT"
] | 31
|
2015-02-17T19:57:29.000Z
|
2021-08-30T03:44:55.000Z
|
publish.py
|
millarm/django-regex-field
|
f9f8f41d576ac78f36159ec9408d1cf65bdb9532
|
[
"MIT"
] | 33
|
2015-02-05T22:08:46.000Z
|
2021-12-06T08:12:49.000Z
|
import subprocess
subprocess.call(['rm', '-r', 'dist/'])
subprocess.call(['pip', 'install', 'wheel'])
subprocess.call(['pip', 'install', 'twine'])
subprocess.call(['python', 'setup.py', 'clean', '--all'])
subprocess.call(['python', 'setup.py', 'register', 'sdist', 'bdist_wheel'])
subprocess.call(['twine', 'upload', 'dist/*'])
subprocess.call(['rm', '-r', 'dist/'])
subprocess.call(['rm', '-r', 'build/'])
| 37.090909
| 75
| 0.620098
| 48
| 408
| 5.25
| 0.416667
| 0.444444
| 0.190476
| 0.202381
| 0.519841
| 0.277778
| 0.277778
| 0
| 0
| 0
| 0
| 0
| 0.073529
| 408
| 10
| 76
| 40.8
| 0.666667
| 0
| 0
| 0.222222
| 0
| 0
| 0.335784
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.111111
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
d406d390b6aaecc2f5743560ed778d49514d78c6
| 72
|
py
|
Python
|
zhihu/zhihu/entrypoint.py
|
jfzhang95/web_spider
|
9ad31d9cbbdf2a4bddfed8e649d5e0fa1b24d1b6
|
[
"MIT"
] | null | null | null |
zhihu/zhihu/entrypoint.py
|
jfzhang95/web_spider
|
9ad31d9cbbdf2a4bddfed8e649d5e0fa1b24d1b6
|
[
"MIT"
] | null | null | null |
zhihu/zhihu/entrypoint.py
|
jfzhang95/web_spider
|
9ad31d9cbbdf2a4bddfed8e649d5e0fa1b24d1b6
|
[
"MIT"
] | 1
|
2020-05-16T06:55:36.000Z
|
2020-05-16T06:55:36.000Z
|
from scrapy.cmdline import execute
execute(['scrapy', 'crawl', 'zhihu'])
| 36
| 37
| 0.736111
| 9
| 72
| 5.888889
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.083333
| 72
| 2
| 37
| 36
| 0.80303
| 0
| 0
| 0
| 0
| 0
| 0.219178
| 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
|
d43519c93c34d12b4fdad89417eca40395e1229e
| 28
|
py
|
Python
|
tests/conftest.py
|
unocongafas/staticforms
|
d16d298fcb4b18f2a8658ba40c1ee14e17dd8305
|
[
"Apache-2.0"
] | null | null | null |
tests/conftest.py
|
unocongafas/staticforms
|
d16d298fcb4b18f2a8658ba40c1ee14e17dd8305
|
[
"Apache-2.0"
] | null | null | null |
tests/conftest.py
|
unocongafas/staticforms
|
d16d298fcb4b18f2a8658ba40c1ee14e17dd8305
|
[
"Apache-2.0"
] | null | null | null |
"""Global pytest config."""
| 14
| 27
| 0.642857
| 3
| 28
| 6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.107143
| 28
| 1
| 28
| 28
| 0.72
| 0.75
| 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
|
d45502b862f8729210144dc66ed0be5932ea42bd
| 125
|
py
|
Python
|
terrascript/provider/azurerm.py
|
hugovk/python-terrascript
|
08fe185904a70246822f5cfbdc9e64e9769ec494
|
[
"BSD-2-Clause"
] | 4
|
2022-02-07T21:08:14.000Z
|
2022-03-03T04:41:28.000Z
|
terrascript/provider/azurerm.py
|
hugovk/python-terrascript
|
08fe185904a70246822f5cfbdc9e64e9769ec494
|
[
"BSD-2-Clause"
] | null | null | null |
terrascript/provider/azurerm.py
|
hugovk/python-terrascript
|
08fe185904a70246822f5cfbdc9e64e9769ec494
|
[
"BSD-2-Clause"
] | 2
|
2022-02-06T01:49:42.000Z
|
2022-02-08T14:15:00.000Z
|
# terrascript/provider/azurerm.py
import terrascript
class azurerm(terrascript.Provider):
pass
__all__ = ["azurerm"]
| 12.5
| 36
| 0.752
| 13
| 125
| 6.923077
| 0.615385
| 0.422222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.144
| 125
| 9
| 37
| 13.888889
| 0.841122
| 0.248
| 0
| 0
| 0
| 0
| 0.076087
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.25
| 0.25
| 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
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
2e10e025ec85ad746bd50bc9a4f025823c7ccecb
| 162
|
py
|
Python
|
Python/Woojin/check123.py
|
Marius-Juston/MatLab-RL-ANFIS
|
650645345dc197ca5b7069085bf95185acc40467
|
[
"BSD-3-Clause"
] | null | null | null |
Python/Woojin/check123.py
|
Marius-Juston/MatLab-RL-ANFIS
|
650645345dc197ca5b7069085bf95185acc40467
|
[
"BSD-3-Clause"
] | null | null | null |
Python/Woojin/check123.py
|
Marius-Juston/MatLab-RL-ANFIS
|
650645345dc197ca5b7069085bf95185acc40467
|
[
"BSD-3-Clause"
] | null | null | null |
from model import *
agent = torch.load('anfis_initialized.model')
print(agent.actor)
print(agent.actor.layer['fuzzify'].varmfs['distance_line'].mfdefs['mf0'].c)
| 27
| 75
| 0.753086
| 23
| 162
| 5.217391
| 0.782609
| 0.166667
| 0.25
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006579
| 0.061728
| 162
| 5
| 76
| 32.4
| 0.782895
| 0
| 0
| 0
| 0
| 0
| 0.283951
| 0.141975
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.25
| 0
| 0.25
| 0.5
| 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
| 0
| 1
|
0
| 4
|
2e1b5b2c45e094704f73979d1001727dac01b58b
| 1,413
|
py
|
Python
|
Main/AlphaZero/LabelGenerator.py
|
ikaroszhang96/Convex-AlphaZero
|
d96c9790529e48ff4e2ec34649bdc312a0abcc53
|
[
"MIT"
] | null | null | null |
Main/AlphaZero/LabelGenerator.py
|
ikaroszhang96/Convex-AlphaZero
|
d96c9790529e48ff4e2ec34649bdc312a0abcc53
|
[
"MIT"
] | null | null | null |
Main/AlphaZero/LabelGenerator.py
|
ikaroszhang96/Convex-AlphaZero
|
d96c9790529e48ff4e2ec34649bdc312a0abcc53
|
[
"MIT"
] | null | null | null |
import numpy as np
from Main.Environments.Connect4 import Constants, GetPossibleActions, Utils
# Instead of recursively returning elements we just append them to an global list
def generateLabels(root):
# validateTree(root)
# return Utils.state2ConvState(root.state, root.currentPlayer), _createPolicyLabel(root)
return Utils.bitBoard2ConvState(root.state), _createPolicyLabel(root)
def generateQLabels(root):
# return Utils.state2ConvState(root.state, root.currentPlayer), _createValueLabels(root), _createPolicyLabel(root)
return Utils.bitBoard2ConvState(root.state), _createValueLabels(root), _createPolicyLabel(root)
# Assumes that every child has been visited
def _createPolicyLabel(node):
qValues = np.zeros(Constants.AMOUNT_OF_POSSIBLE_ACTIONS)
for c in node.children:
qValues[c.action] = c.visits
qValues /= np.sum(qValues) # Normalize
return qValues
# Assumes that the node has been visited
def _createValueLabels(node):
return -(node.score / max(1, node.visits))
# Only for debugging!
def validateTree(node):
# possibleActions = GetPossibleActions.getPossibleActions(node.state)
import Main.Environments.Connect4.Connect4Bitmaps as bitMaps
possibleActions = bitMaps.getPossibleActions(node.state)
for c in node.children:
assert (c.action in possibleActions)
validateTree(c)
| 36.230769
| 119
| 0.745223
| 156
| 1,413
| 6.679487
| 0.429487
| 0.038388
| 0.057582
| 0.057582
| 0.255278
| 0.220729
| 0.220729
| 0.107486
| 0
| 0
| 0
| 0.006849
| 0.17339
| 1,413
| 38
| 120
| 37.184211
| 0.885274
| 0.33758
| 0
| 0.1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.05
| 1
| 0.25
| false
| 0
| 0.15
| 0.15
| 0.6
| 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
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
2e3bcf2b02328e9c5ed4f47bd2ff3abc7a1628c7
| 93
|
py
|
Python
|
Develop/subgroup2_dev/evaluates/apps.py
|
Youhoseong/MovieProject
|
c8649872a364e2e2ea1a58d6a7431f0282f8e90c
|
[
"MIT"
] | 11
|
2021-03-24T13:20:22.000Z
|
2021-08-22T15:43:04.000Z
|
Develop/subgroup2_dev/evaluates/apps.py
|
Youhoseong/MovieProject
|
c8649872a364e2e2ea1a58d6a7431f0282f8e90c
|
[
"MIT"
] | null | null | null |
Develop/subgroup2_dev/evaluates/apps.py
|
Youhoseong/MovieProject
|
c8649872a364e2e2ea1a58d6a7431f0282f8e90c
|
[
"MIT"
] | 5
|
2021-03-24T13:24:44.000Z
|
2021-07-14T07:05:23.000Z
|
from django.apps import AppConfig
class EvaluatesConfig(AppConfig):
name = 'evaluates'
| 15.5
| 33
| 0.763441
| 10
| 93
| 7.1
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16129
| 93
| 5
| 34
| 18.6
| 0.910256
| 0
| 0
| 0
| 0
| 0
| 0.096774
| 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
|
2e4f090f4c86ca1c4a4e8500d3b0c3dfb57b4020
| 15
|
py
|
Python
|
src/flyswot/__init__.py
|
davanstrien/flyswot
|
630aa4f51c4381a7832846a7ef5be7af06a4b47b
|
[
"MIT"
] | 4
|
2021-08-25T10:51:09.000Z
|
2022-03-21T14:12:26.000Z
|
src/flyswot/__init__.py
|
davanstrien/flyswot
|
630aa4f51c4381a7832846a7ef5be7af06a4b47b
|
[
"MIT"
] | 171
|
2021-04-27T16:09:51.000Z
|
2022-03-25T23:09:56.000Z
|
src/flyswot/__init__.py
|
davanstrien/flyswot
|
630aa4f51c4381a7832846a7ef5be7af06a4b47b
|
[
"MIT"
] | 1
|
2021-07-28T12:38:05.000Z
|
2021-07-28T12:38:05.000Z
|
"""flyswot."""
| 7.5
| 14
| 0.466667
| 1
| 15
| 7
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.066667
| 15
| 1
| 15
| 15
| 0.5
| 0.533333
| 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
|
2e535132abc0de68a52fc875934512a3511c5094
| 440
|
py
|
Python
|
src/hypercorn/events.py
|
markojaadam/hypercorn
|
b6fd5e48a79e1246cc8171ea8f93dab99f2a1b5c
|
[
"MIT"
] | 3
|
2020-03-31T10:36:31.000Z
|
2020-04-23T12:01:10.000Z
|
src/hypercorn/events.py
|
markojaadam/hypercorn
|
b6fd5e48a79e1246cc8171ea8f93dab99f2a1b5c
|
[
"MIT"
] | 6
|
2020-09-05T01:40:23.000Z
|
2022-03-12T00:40:58.000Z
|
src/hypercorn/events.py
|
markojaadam/hypercorn
|
b6fd5e48a79e1246cc8171ea8f93dab99f2a1b5c
|
[
"MIT"
] | 1
|
2020-09-05T00:19:03.000Z
|
2020-09-05T00:19:03.000Z
|
from abc import ABC
from dataclasses import dataclass
from typing import Optional, Tuple
class Event(ABC):
pass
@dataclass(frozen=True)
class RawData(Event):
data: bytes
address: Optional[Tuple[str, int]] = None
@dataclass(frozen=True)
class Closed(Event):
pass
@dataclass(frozen=True)
class Updated(Event):
# Indicate that the protocol has updated (although it has nothing
# for the server to do).
pass
| 16.923077
| 69
| 0.715909
| 60
| 440
| 5.25
| 0.566667
| 0.142857
| 0.180952
| 0.228571
| 0.177778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.197727
| 440
| 25
| 70
| 17.6
| 0.892351
| 0.195455
| 0
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.2
| 0.2
| 0
| 0.6
| 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
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
2e6f74e5352b82b9b4afe2383a6446f511abe92d
| 98
|
py
|
Python
|
cnlp/data/tokenizers/__init__.py
|
dovolopor-research/cnlp
|
a3255f9870e63654c3f7805e1c9218f69fbb35be
|
[
"MIT"
] | 5
|
2020-09-17T03:56:34.000Z
|
2022-02-25T02:31:04.000Z
|
cnlp/data/tokenizers/__init__.py
|
dovolopor-research/cnlp
|
a3255f9870e63654c3f7805e1c9218f69fbb35be
|
[
"MIT"
] | 1
|
2020-05-12T19:38:05.000Z
|
2020-05-12T19:38:05.000Z
|
cnlp/data/tokenizers/__init__.py
|
dovolopor-research/cnlp
|
a3255f9870e63654c3f7805e1c9218f69fbb35be
|
[
"MIT"
] | null | null | null |
from . import mechanical
from . import tokenizer
__all__ = [
"mechanical",
"tokenizer"
]
| 12.25
| 24
| 0.663265
| 9
| 98
| 6.777778
| 0.555556
| 0.327869
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.234694
| 98
| 7
| 25
| 14
| 0.813333
| 0
| 0
| 0
| 0
| 0
| 0.193878
| 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
|
cf167b5e51a9cc78a4dbc81e1ef73d336458f571
| 155
|
py
|
Python
|
app/main.py
|
AlexeyLuch/Censor
|
6e7634a7cefdb876830dcf14a9e2380b41b403a1
|
[
"Apache-2.0"
] | null | null | null |
app/main.py
|
AlexeyLuch/Censor
|
6e7634a7cefdb876830dcf14a9e2380b41b403a1
|
[
"Apache-2.0"
] | 1
|
2020-08-28T15:04:07.000Z
|
2020-08-28T15:04:07.000Z
|
app/main.py
|
AlexeyLuch/Censor
|
6e7634a7cefdb876830dcf14a9e2380b41b403a1
|
[
"Apache-2.0"
] | null | null | null |
from app import app,db
from war.blueprint import war
import view
app.register_blueprint(war,url_prefix="/war")
if __name__ == '__main__':
app.run()
| 15.5
| 45
| 0.735484
| 24
| 155
| 4.333333
| 0.583333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.148387
| 155
| 9
| 46
| 17.222222
| 0.787879
| 0
| 0
| 0
| 0
| 0
| 0.077922
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 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
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
cf4eecbb77e6e23b6046355181983b3f1bc2b654
| 55,980
|
py
|
Python
|
leetcode/pairs-of-songs-with-total-durations-divisible-by-60.py
|
zhangao0086/Python-Algorithm
|
981c875b2e0f30619bd3d44e1f2bd0c47d1464a2
|
[
"MIT"
] | null | null | null |
leetcode/pairs-of-songs-with-total-durations-divisible-by-60.py
|
zhangao0086/Python-Algorithm
|
981c875b2e0f30619bd3d44e1f2bd0c47d1464a2
|
[
"MIT"
] | null | null | null |
leetcode/pairs-of-songs-with-total-durations-divisible-by-60.py
|
zhangao0086/Python-Algorithm
|
981c875b2e0f30619bd3d44e1f2bd0c47d1464a2
|
[
"MIT"
] | null | null | null |
#!/usr/bin/python3
# -*-coding:utf-8-*-
__author__ = "Bannings"
from typing import List
from collections import defaultdict
class Solution:
def numPairsDivisibleBy60(self, time: List[int]) -> int:
ans = 0
# counter = defaultdict(int)
counter = [0] * 60
for item in time:
diff = -item % 60
ans += counter[diff]
counter[item % 60] += 1
return ans
if __name__ == '__main__':
# assert Solution().numPairsDivisibleBy60([60,60,60]) == 3
assert Solution().numPairsDivisibleBy60([30,20,150,100,40]) == 3
assert Solution().numPairsDivisibleBy60([186,128,261,78,60,131,448,42,37,123,313,399,368,173,268,440,314,369,135,101,220,299,81,210,217,411,287,265,211,53,382,3,118,301,415,107,266,212,434,488,332,409,194,122,369,293,444,448,491,356,91,405,49,101,22,239,188,94,450,82,49,110,24,187,443,425,13,115,283,27,402,411,267,249,356,335,134,319,200,319,288,480,451,200,151,330,292,457,235,451,422,174,230,209,418,405,97,310,143,432,117,225,197,365,454,124,61,130,300,327,356,13,333,27,332,388,81,24,165,22,34,479,345,161,436,278,5,182,110,319,278,384,19,385,381,33,262,312,499,415,222,369,197,364,315,112,213,71,263,457,171,285,242,216,485,453,182,449,300,45,320,241,177,234,237,359,116,59,106,231,465,287,361,98,178,294,461,232,474,144,133,164,233,23,186,196,233,348,109,67,427,174,306,185,188,298,328,127,157,296,18,156,163,217,371,61,91,370,271,341,183,328,168,14,39,494,406,90,53,273,151,67,354,241,324,380,215,345,178,77,341,99,482,279,177,69,234,118,65,101,409,89,120,277,431,145,486,408,206,239,474,120,74,137,374,450,74,369,79,349,85,142,414,452,239,93,308,111,225,333,274,157,240,199,462,221,118,499,301,37,87,161,391,417,290,182,6,78,169,180,411,41,225,329,323,63,251,337,163,499,36,215,64,260,439,460,232,255,117,348,200,83,492,182,60,129,425,80,314,152,40,418,259,414,120,478,44,92,448,167,482,138,28,467,98,249,446,298,326,8,93,14,379,424,25,166,297,179,389,325,346,96,63,334,275,33,252,162,29,188,430,383,349,27,220,277,185,497,13,271,145,482,233,495,334,27,346,327,207,291,133,381,139,351,183,368,420,259,44,488,171,18,275,266,205,143,172,321,43,266,437,106,123,363,349,422,78,340,316,455,208,270,313,354,151,495,290,316,424,363,252,40,361,203,125,238,73,452,12,104,254,98,144,476,178,374,101,7,414,455,362,165,74,378,149,110,61,402,110,250,150,341,129,46,179,277,371,129,429,440,69,309,138,212,465,407,418,248,426,386,462,441,164,337,341,85,106,72,170,188,203,367,171,310,457,479,49,362,257,207,97,490,105,264,401,13,485,385,77,127,203,416,267,401,170,495,335,411,3,448,363,275,43,338,341,485,494,237,464,437,208,126,130,231,46,289,201,315,153,109,77,153,60,228,464,195,165,320,14,454,260,170,57,61,484,463,270,494,104,110,439,390,3,344,423,189,232,213,233,332,294,368,17,177,413,214,445,475,160,307,349,364,349,367,387,1,469,143,140,97,285,250,474,462,62,52,456,90,81,98,393,363,355,108,49,232,131,46,182,190,175,436,432,296,283,174,150,47,450,341,111,122,367,131,61,164,345,71,222,129,47,71,489,61,497,299,342,233,405,241,147,7,187,492,400,178,225,111,188,236,11,97,377,362,109,383,141,252,388,67,15,454,305,305,38,160,50,164,26,83,75,198,337,494,98,49,264,398,155,403,295,182,269,187,280,260,247,429,421,218,488,342,69,390,443,457,319,266,276,308,167,93,345,393,331,228,94,33,312,97,366,341,126,183,23,143,151,328,334,257,1,163,444,107,43,44,86,124,172,458,186,485,109,56,468,230,77,79,130,227,16,178,112,197,241,471,177,50,263,79,132,68,53,313,416,486,358,100,1,417,170,141,229,69,126,470,391,162,348,53,59,208,1,157,315,351,213,68,144,271,450,500,371,249,62,390,445,80,280,50,128,21,167,453,175,235,496,433,38,420,199,213,247,338,481,439,146,103,457,220,135,378,450,267,79,380,387,370,150,480,91,175,211,422,349,404,58,452,362,348,129,224,378,96,268,255,150,210,258,166,25,250,353,452,242,164,122,89,464,363,239,390,114,14,139,90,495,137,273,434,148,144,69,38,153,368,485,187,356,52,330,367,301,486,193,200,383,4,462,169,145,47,332,434,246,255,359,48,286,104,316,395,278,15,37,51,116,167,27,432,165,325,378,346,218,429,408,406,295,457,38,54,403,357,274,181,314,34,427,377,361,470,408,370,349,332,429,470,212,164,92,468,63,291,102,324,7,245,264,154,160,217,202,14,489,337,483,97,173,200,483,183,8,326,300,116,420,123,401,67,100,144,354,230,85,136,170,355,160,4,108,220,101,484,255,345,459,372,385,173,126,379,227,468,87,284,404,451,99,500,130,403,144,258,4,478,59,195,371,29,157,497,236,149,275,204,339,33,101,61,300,382,334,145,492,227,46,348,204,389,467,420,471,4,261,5,23,368,198,392,224,2,443,313,397,332,408,91,176,420,44,72,238,257,107,66,29,360,270,183,417,233,75,458,72,16,70,252,138,9,81,199,437,208,24,247,361,377,314,488,342,153,275,169,213,207,196,48,59,72,418,96,318,284,487,118,61,250,47,408,200,88,88,473,262,277,414,303,210,261,396,87,343,248,346,221,228,467,161,61,284,274,382,143,219,232,187,152,443,91,164,35,248,65,351,113,200,184,321,25,411,191,306,85,417,2,137,162,43,450,282,76,94,334,431,480,480,187,67,217,177,357,290,164,139,49,215,75,150,421,99,25,345,323,497,104,107,366,273,2,335,218,244,474,248,496,187,88,382,476,496,52,287,318,475,467,183,230,82,296,328,168,370,84,391,45,32,402,241,420,485,241,103,105,182,173,302,405,420,50,444,304,77,373,253,353,81,92,111,218,378,22,63,442,313,457,345,45,391,67,87,100,37,41,435,350,264,183,469,284,209,122,10,141,314,136,268,439,48,492,479,76,459,191,313,354,153,364,455,440,230,149,378,146,89,240,443,381,66,471,172,193,331,60,472,141,160,126,15,147,74,358,343,101,23,246,80,420,376,182,469,133,346,294,493,343,414,97,267,267,469,273,263,152,76,181,475,335,353,406,142,216,189,222,132,68,184,420,243,217,220,130,324,64,458,409,236,14,135,308,64,43,20,326,326,366,490,356,277,304,251,160,197,157,112,96,417,484,41,108,311,167,276,384,367,194,442,362,404,160,428,102,365,237,495,189,274,302,129,81,228,94,150,480,145,487,11,221,258,156,462,242,114,216,48,40,42,254,166,178,332,159,133,206,206,253,459,238,433,328,91,480,20,327,204,443,365,120,355,120,483,381,432,66,206,244,333,350,30,36,367,88,140,77,299,340,64,124,334,409,149,472,246,174,403,454,243,284,33,75,18,233,373,365,378,484,23,449,310,247,41,312,452,12,424,305,49,408,22,376,262,123,26,227,449,206,479,292,42,491,129,180,362,201,143,7,288,497,443,185,59,50,397,214,81,318,144,419,247,291,416,396,446,131,14,496,280,452,479,411,253,28,490,459,191,250,353,11,254,448,432,351,24,215,13,11,78,474,293,176,405,196,94,345,171,365,495,19,259,376,108,333,420,52,491,369,263,350,183,161,40,465,417,335,486,383,98,102,216,129,270,218,352,335,37,196,459,5,464,116,167,475,164,265,160,478,380,17,352,220,222,162,331,257,170,250,403,296,287,63,386,266,379,255,135,168,83,326,216,116,109,12,235,320,409,440,212,370,297,423,373,149,277,165,290,62,195,14,38,108,32,431,172,17,105,31,14,471,82,258,145,376,175,485,431,427,230,320,152,340,419,487,314,248,412,174,446,118,229,9,20,135,129,237,214,311,279,144,357,317,462,177,379,224,201,326,264,88,335,99,273,213,469,262,92,128,139,14,69,148,3,350,226,391,458,437,385,495,389,28,337,493,145,305,481,133,251,40,356,424,37,100,246,364,235,183,177,396,251,167,477,349,53,186,345,50,128,467,348,361,3,194,369,128,449,192,158,88,105,228,217,186,23,284,107,189,233,438,227,73,407,15,349,220,491,224,312,483,130,67,219,425,145,342,1,480,481,105,189,206,132,315,354,42,489,349,284,68,380,479,18,161,11,33,169,241,170,64,412,354,292,398,290,264,348,53,393,195,277,420,327,86,183,84,300,124,167,245,165,470,383,239,140,303,115,150,410,312,365,146,339,196,219,215,402,448,203,246,118,228,122,250,282,69,238,76,418,257,466,495,371,474,366,109,3,87,92,201,143,205,20,210,287,155,305,346,245,215,302,237,447,199,279,154,325,53,49,281,120,484,225,428,393,40,177,73,42,85,161,377,152,93,56,461,287,153,120,280,158,157,122,390,144,417,324,364,264,392,436,21,30,309,44,298,319,477,41,356,417,474,402,289,393,219,267,118,319,114,375,456,486,200,462,234,241,209,357,28,119,5,188,411,372,412,463,343,90,43,209,108,241,25,168,58,66,399,191,13,48,28,403,66,371,426,278,231,483,403,58,255,159,413,228,88,91,126,247,378,332,172,481,183,8,430,217,254,392,162,91,271,149,273,259,130,7,138,226,487,225,283,352,351,295,490,165,302,82,161,231,464,31,351,473,216,329,173,179,28,494,54,16,114,290,88,411,292,92,48,262,18,447,349,350,103,219,470,433,55,133,96,127,391,47,33,338,100,61,323,149,408,101,357,417,336,343,61,63,361,146,405,99,234,285,474,124,128,99,124,74,62,428,128,331,465,274,452,35,17,437,191,408,382,127,254,458,145,353,460,363,392,495,19,328,169,328,73,207,51,476,328,319,16,472,191,104,253,54,114,324,445,90,441,42,411,94,362,179,491,191,58,416,13,77,332,313,330,175,195,414,25,141,79,328,443,168,375,204,448,182,378,485,439,151,90,29,106,53,80,296,140,185,334,57,93,35,428,227,205,366,202,113,477,338,440,230,317,260,235,406,308,22,37,163,420,476,304,212,487,500,156,474,387,55,316,18,151,86,121,437,423,238,52,4,436,27,471,220,337,145,364,403,219,99,373,452,434,322,13,236,255,104,482,444,132,246,65,68,15,56,193,71,123,257,16,80,348,9,160,394,307,113,112,268,256,95,84,31,375,56,364,51,368,384,330,122,383,104,152,317,385,319,383,229,201,433,218,419,183,67,272,180,496,406,69,330,400,36,13,445,478,190,406,311,44,320,281,104,373,243,485,91,301,186,379,431,385,49,483,379,460,333,34,163,379,224,93,340,185,269,445,28,292,20,177,255,258,216,310,203,193,167,148,410,20,82,10,10,115,454,434,184,219,140,282,181,320,49,156,243,217,191,298,334,252,310,447,116,31,392,473,134,7,262,261,184,65,241,187,125,464,202,331,380,177,386,112,413,215,51,280,273,183,49,46,410,389,109,344,252,478,465,230,461,452,342,113,287,300,105,498,48,55,247,226,181,213,253,149,396,249,125,235,236,420,271,300,21,242,472,434,237,90,262,398,353,387,154,39,234,134,41,479,492,61,476,256,98,499,48,11,295,241,315,144,39,398,209,273,469,412,491,243,139,498,408,136,376,419,55,451,285,386,190,114,315,264,34,475,147,151,320,44,255,63,157,172,267,123,459,251,212,353,23,266,304,391,481,480,192,379,419,386,436,492,314,312,87,178,387,217,413,270,351,244,23,283,48,485,154,54,14,488,177,356,447,107,38,299,3,375,212,84,116,395,120,232,119,32,172,110,41,210,35,170,231,205,148,258,291,289,454,472,453,179,173,189,207,474,71,497,281,396,349,224,145,238,348,338,376,122,424,368,211,36,265,278,72,309,328,263,362,371,138,55,28,101,246,428,171,152,218,25,55,210,305,262,98,411,204,203,413,87,321,29,10,249,75,467,436,63,141,102,282,332,478,285,448,193,242,466,235,76,8,411,366,56,194,190,100,82,121,234,63,338,142,263,188,304,209,154,217,288,358,443,337,118,163,261,355,382,464,78,364,214,419,392,69,27,148,57,238,228,145,195,89,199,403,153,35,29,364,92,202,6,435,47,325,7,400,400,479,135,57,76,281,114,170,75,40,253,309,97,336,24,86,131,363,54,113,420,66,349,391,448,239,327,9,460,177,258,261,124,116,149,483,244,474,225,265,84,359,165,27,232,466,106,192,165,241,155,258,105,454,283,418,183,188,122,347,25,98,368,362,399,52,30,252,119,32,414,128,188,242,499,201,189,377,131,289,353,120,419,388,393,249,255,130,251,82,231,441,355,211,287,160,320,333,164,254,312,174,417,480,85,378,403,219,137,200,345,59,15,231,41,75,379,109,437,282,402,428,239,131,128,356,381,58,100,142,306,229,495,456,411,128,289,438,378,425,371,191,282,337,487,466,90,461,67,241,238,370,495,198,417,198,78,209,429,172,25,407,225,471,76,58,422,124,287,339,399,72,227,34,194,315,394,21,360,108,34,366,432,138,386,180,397,464,27,78,456,2,257,37,171,222,276,420,436,436,244,491,10,91,141,366,219,389,107,153,69,367,383,250,497,191,312,443,331,255,355,216,24,389,227,58,395,353,238,83,260,233,303,224,376,54,461,245,211,148,390,197,440,422,334,183,489,335,300,122,240,471,68,166,43,92,460,336,133,373,26,286,499,470,167,125,231,417,168,477,297,299,44,353,217,338,231,476,246,232,66,137,3,110,20,284,60,103,2,242,457,288,409,158,455,475,359,446,493,133,225,358,189,274,44,73,421,57,479,402,406,50,66,16,440,338,446,374,212,210,15,9,288,392,5,49,330,384,100,204,346,13,112,166,388,114,378,190,62,369,440,199,132,399,265,468,99,498,383,161,245,318,262,172,121,376,308,201,312,150,168,498,364,41,174,35,48,321,314,147,146,106,468,29,16,25,446,476,73,446,121,248,153,157,440,371,400,45,21,473,415,336,22,104,165,154,493,196,111,117,280,472,297,6,271,83,263,415,77,200,476,471,446,151,7,413,467,430,461,401,257,429,113,462,170,50,380,278,83,206,129,214,5,481,369,211,235,454,64,185,138,229,303,284,217,415,479,250,193,337,137,130,390,286,29,280,208,364,149,31,192,247,72,238,344,291,160,120,62,104,243,404,41,317,423,237,87,98,198,422,321,321,339,87,282,18,331,355,489,223,128,448,190,93,294,251,241,357,37,397,91,411,244,82,87,14,329,402,118,442,227,87,40,429,31,225,180,223,231,398,104,318,70,250,383,463,30,296,445,363,348,147,218,246,44,358,67,39,278,360,464,159,378,68,168,365,477,226,389,205,310,149,45,438,362,440,62,325,408,241,199,385,210,472,416,354,386,161,162,441,129,166,424,419,243,2,375,326,386,384,335,322,75,225,25,65,324,394,279,348,40,186,387,152,294,498,464,277,438,108,290,138,139,328,298,164,427,379,384,215,193,70,500,172,278,232,358,425,189,316,218,87,267,8,341,226,236,377,318,105,212,60,357,52,174,54,147,117,181,389,176,244,74,89,76,394,451,44,146,361,459,278,364,402,256,334,257,466,488,403,366,401,28,116,338,63,40,84,210,286,441,47,497,209,245,91,413,48,23,500,436,345,432,453,188,177,67,472,180,109,58,490,172,158,195,260,13,401,240,407,371,383,411,197,249,382,147,138,85,91,153,381,425,82,484,56,78,465,377,191,325,109,347,5,265,262,336,309,159,468,351,290,262,333,104,172,43,268,387,241,406,357,125,397,364,7,325,155,59,16,9,377,236,172,406,156,16,243,20,170,163,147,475,150,384,179,211,359,296,322,109,313,79,440,220,214,149,88,477,250,206,293,355,80,170,500,39,108,130,456,309,175,265,110,206,497,96,489,420,90,2,124,109,364,361,88,8,171,428,305,107,74,115,297,407,204,346,45,115,203,405,382,169,276,385,373,139,493,174,100,251,461,331,107,128,444,158,15,163,197,89,98,91,66,2,293,197,391,256,57,281,387,115,96,295,438,384,13,242,473,214,430,489,389,258,37,397,432,433,291,256,14,485,120,153,226,487,50,254,315,144,422,473,55,455,73,375,147,273,221,356,141,485,465,205,177,440,488,244,381,174,283,156,132,155,282,398,127,155,387,265,59,18,491,287,104,5,280,150,9,32,53,40,54,278,448,15,421,455,32,241,133,341,303,229,138,459,377,397,471,217,329,150,51,311,233,383,285,110,462,427,380,125,409,442,275,77,220,235,289,45,199,229,290,35,92,237,93,121,403,370,364,485,378,30,479,394,434,34,30,313,457,450,290,220,186,330,160,98,268,166,30,13,203,35,423,399,184,127,415,174,6,334,317,276,476,108,280,83,120,395,3,170,15,471,369,450,67,273,205,466,248,411,207,12,255,223,189,69,133,296,174,393,285,399,299,492,298,484,153,371,450,99,4,441,211,374,316,214,100,34,191,248,160,146,284,8,447,277,238,81,231,335,34,206,448,407,460,23,112,298,190,241,497,248,294,46,386,416,27,77,1,29,448,64,284,91,385,359,387,414,128,188,208,256,273,154,156,162,98,72,431,250,324,465,95,496,480,210,414,92,35,413,279,118,358,438,481,419,87,280,376,73,106,229,370,447,373,203,84,298,137,276,450,101,34,231,30,362,342,392,185,199,266,228,413,34,285,223,6,205,464,104,269,26,109,396,44,216,332,63,304,21,339,490,33,290,331,287,477,366,121,32,138,175,115,29,387,467,123,45,195,49,103,425,358,210,95,349,134,128,345,381,40,154,466,202,172,373,122,314,221,13,452,79,274,238,463,336,230,383,474,310,40,479,81,433,180,443,166,305,197,294,289,194,440,249,5,16,44,319,128,195,448,453,491,48,67,7,215,10,456,266,229,174,490,60,483,207,106,463,205,231,444,478,306,413,233,226,372,20,272,162,407,442,240,336,354,223,99,342,276,122,183,250,89,123,300,111,486,48,36,469,437,95,383,80,231,106,54,486,439,367,328,236,414,160,64,318,277,456,229,324,405,332,10,141,256,91,78,168,261,442,434,402,108,82,450,449,16,341,467,336,123,36,336,369,17,364,56,349,149,220,394,316,234,116,298,70,284,49,97,183,265,63,412,56,256,106,305,192,293,10,245,96,115,179,81,335,332,38,61,135,377,277,8,90,408,71,385,498,132,154,359,389,24,78,151,485,76,205,433,17,487,38,211,327,307,257,249,92,244,94,154,499,17,137,434,462,198,20,433,411,476,120,178,49,72,60,114,276,265,122,73,356,409,28,25,187,131,216,446,363,312,340,15,481,338,204,100,341,344,347,73,467,297,17,206,151,472,315,309,38,169,22,161,6,99,68,15,174,500,466,424,200,348,345,232,230,127,404,334,145,442,356,10,141,458,128,141,143,29,181,493,461,198,435,22,382,301,50,118,59,265,447,169,340,369,244,326,356,308,39,173,484,368,59,19,189,219,106,413,422,321,225,220,487,195,247,463,460,340,203,252,83,370,185,91,13,482,105,176,98,113,500,484,218,343,393,95,332,84,321,449,234,394,336,444,235,97,449,228,369,239,242,468,101,128,74,161,61,475,449,90,125,6,155,51,421,370,41,245,397,182,411,393,478,35,184,41,106,418,494,1,59,74,395,243,477,293,173,52,36,480,451,424,138,308,389,50,223,310,120,386,436,319,403,249,207,212,215,173,462,256,324,338,160,117,499,150,263,475,490,494,364,305,459,79,186,350,305,86,411,205,420,276,105,317,249,330,7,318,16,34,173,478,145,252,499,429,416,62,107,485,105,205,243,47,109,142,100,64,463,314,69,293,279,266,53,176,122,231,456,112,44,375,142,333,5,222,213,17,364,346,458,64,139,68,496,41,365,73,412,151,323,222,306,341,144,96,151,98,241,76,105,178,89,304,6,3,30,156,9,189,102,158,355,311,147,335,227,391,200,188,415,178,478,306,329,237,407,466,395,197,178,294,83,80,29,69,159,54,354,411,122,297,351,107,94,490,333,155,400,326,61,400,484,261,326,191,30,218,225,89,445,136,225,59,264,131,399,367,15,353,296,326,31,90,290,112,96,429,318,275,80,452,392,4,43,492,141,100,357,350,197,284,254,303,95,309,494,490,412,349,325,377,256,17,377,255,15,297,307,216,1,195,114,327,26,428,52,347,299,449,359,115,19,455,288,475,383,63,115,217,254,311,46,28,226,468,30,500,398,302,317,392,238,379,422,214,154,452,55,371,102,434,62,97,435,186,30,227,57,210,491,324,299,150,293,152,107,375,13,389,103,248,329,212,73,268,117,22,424,109,265,295,188,164,24,114,338,62,385,459,69,1,260,120,418,305,329,400,54,403,70,287,423,369,348,60,86,409,234,22,268,326,85,251,48,266,113,140,51,458,462,479,68,360,304,132,228,220,77,132,83,39,41,201,373,116,313,28,278,70,433,486,310,103,51,36,302,92,335,402,6,386,386,44,185,219,206,100,31,15,122,389,322,111,235,179,229,222,292,269,116,291,242,414,203,400,288,9,15,170,360,360,55,107,344,40,288,418,215,184,417,230,422,278,388,428,495,414,383,144,209,170,28,153,333,422,322,78,219,269,346,365,467,111,314,71,457,486,209,94,37,201,409,150,279,91,100,217,217,444,380,347,272,99,367,378,415,351,279,107,248,383,155,464,368,462,112,68,163,247,69,122,138,353,492,70,376,404,198,214,229,315,483,314,182,173,459,348,135,264,475,146,451,172,38,215,416,81,372,85,124,200,451,378,385,318,124,166,270,62,290,439,200,362,496,269,486,238,14,459,465,221,473,392,273,82,195,126,402,188,43,79,143,98,227,38,243,304,323,295,179,496,117,281,169,366,20,273,476,276,448,89,298,155,65,403,96,48,483,94,62,87,435,304,284,376,377,363,390,453,408,79,218,366,294,194,180,233,157,245,164,150,227,88,428,48,391,129,282,378,441,126,144,307,434,238,428,331,382,56,428,239,232,244,259,316,397,212,362,409,441,265,343,485,397,19,397,478,139,313,187,1,437,214,417,455,455,184,102,169,296,197,452,269,265,294,2,87,438,439,441,437,23,77,116,287,385,491,293,380,222,248,45,115,172,234,231,432,106,183,202,268,382,455,27,184,453,363,460,38,126,69,455,22,476,374,111,442,75,126,158,475,335,239,422,10,397,51,341,144,356,118,316,467,93,288,387,14,247,145,228,457,180,464,383,66,207,238,325,498,279,90,162,318,450,15,5,314,148,264,336,341,348,276,421,410,462,62,490,353,56,115,494,276,344,319,262,87,420,499,37,321,422,366,436,197,356,119,154,433,305,365,329,362,442,144,424,390,42,41,451,152,466,197,354,392,151,346,463,144,83,37,90,241,207,358,384,200,344,44,450,125,193,266,93,15,386,315,189,310,40,447,323,436,263,20,173,480,391,354,113,294,404,126,199,481,58,287,307,367,454,280,299,5,270,352,227,189,465,63,280,306,397,78,16,255,66,166,162,164,18,353,239,24,184,80,273,257,248,488,423,127,66,413,151,213,394,378,56,446,262,407,406,430,459,465,124,155,172,461,477,296,467,349,390,289,66,498,34,325,491,321,62,475,460,90,338,98,201,212,14,228,61,179,206,55,208,272,386,463,155,60,62,481,123,370,372,348,182,412,237,34,9,442,460,443,253,160,414,182,425,130,419,67,114,255,468,315,347,363,147,23,349,116,482,58,376,38,12,338,476,91,494,391,486,156,143,216,140,61,293,107,384,425,490,469,314,80,172,196,405,343,281,452,73,288,204,171,136,7,474,225,25,166,293,468,152,1,401,472,145,59,322,369,301,64,395,52,155,481,203,382,276,423,122,261,132,160,220,312,62,448,218,300,160,369,351,437,65,116,61,109,41,249,49,2,220,39,295,487,299,114,387,95,390,287,237,426,420,452,70,130,399,441,65,107,81,464,355,435,464,134,67,175,223,4,271,348,486,78,341,82,298,327,294,373,274,56,342,127,211,236,439,56,278,135,458,222,409,208,321,85,417,304,184,332,23,146,335,126,266,122,93,494,106,177,144,155,144,312,490,69,5,257,434,422,274,240,317,46,170,15,206,499,181,351,294,126,373,341,141,340,240,318,327,330,201,139,63,129,309,229,360,303,252,198,111,144,290,86,62,98,374,395,8,302,318,14,375,500,125,400,313,347,456,38,359,10,14,133,133,260,128,454,124,41,398,227,26,419,371,461,490,378,353,480,189,136,458,206,10,450,40,475,427,397,219,406,150,78,341,35,397,475,189,132,82,459,373,25,96,314,295,383,312,322,1,252,73,163,260,265,100,252,321,451,120,20,203,303,411,146,107,466,108,258,448,386,79,98,268,386,72,177,149,302,392,403,36,473,302,22,313,453,184,351,232,327,495,360,482,92,139,75,31,445,284,273,198,20,490,352,448,468,22,116,489,449,59,300,145,486,454,154,32,297,42,298,430,447,292,11,412,209,468,168,277,348,475,129,398,62,231,336,447,383,498,452,83,488,235,425,44,275,228,230,37,117,50,241,130,31,16,27,95,442,200,22,381,20,304,229,112,100,90,471,391,297,69,28,372,52,430,386,373,265,232,310,116,134,464,121,492,252,34,399,17,340,358,463,4,231,459,81,432,331,256,218,475,492,274,28,283,315,447,468,149,483,310,58,109,83,169,224,368,337,218,11,377,158,178,121,157,83,105,13,91,42,360,298,180,347,277,64,260,71,195,158,263,1,179,10,213,64,140,120,314,282,256,84,359,264,233,435,248,207,209,45,52,133,114,438,312,250,258,273,395,108,244,500,315,303,222,443,279,149,173,373,343,187,333,456,200,146,342,489,389,416,419,362,275,52,2,227,25,402,450,334,145,152,300,226,465,114,263,136,7,275,149,305,282,133,315,281,223,309,145,248,273,156,123,371,128,260,73,31,434,245,192,479,489,441,103,257,186,168,207,313,234,477,223,394,315,383,164,75,264,76,426,450,486,305,374,365,492,388,290,488,296,245,344,212,459,90,247,340,281,267,472,230,170,15,455,463,287,189,288,44,147,351,458,305,18,187,315,362,74,64,481,97,449,98,159,470,239,471,342,267,86,403,268,44,473,337,237,208,89,443,193,406,376,339,195,325,73,372,54,400,242,165,106,247,171,354,235,332,90,197,467,434,438,30,287,14,455,52,489,97,57,442,81,464,332,422,215,252,201,402,419,274,348,161,82,428,457,419,6,198,63,499,310,46,63,206,431,256,330,198,28,111,407,1,455,142,322,270,106,80,172,452,115,124,481,382,100,250,208,164,291,116,342,489,59,238,427,250,370,407,324,13,313,465,27,340,299,236,51,394,282,304,129,306,192,71,387,372,400,332,378,185,495,3,80,495,459,274,386,466,195,285,484,153,428,455,282,159,282,35,281,255,421,88,136,352,181,166,177,85,318,58,245,30,488,170,487,341,273,483,454,87,402,340,498,352,426,198,379,475,398,154,90,299,410,25,478,323,15,5,32,51,243,21,240,20,460,337,113,340,17,459,149,440,471,43,206,356,85,316,50,59,353,129,469,360,277,54,282,182,459,456,413,189,482,124,292,6,254,92,1,459,275,460,286,149,27,287,389,16,339,375,376,119,223,29,418,269,39,235,388,317,66,300,481,287,299,307,467,256,447,40,8,422,212,93,17,10,217,374,494,37,480,271,88,359,10,77,10,83,211,12,36,432,495,327,395,433,402,46,163,435,49,464,32,150,91,411,402,120,5,190,93,281,18,26,438,248,440,9,411,264,201,33,399,244,43,83,380,128,124,426,75,422,458,104,415,6,376,460,310,325,144,171,191,14,255,54,218,113,52,357,59,186,53,163,220,136,8,264,30,483,436,394,112,281,177,300,208,242,196,62,108,439,332,371,54,491,214,178,228,166,106,445,142,140,216,25,171,116,248,108,391,322,462,158,104,344,207,493,388,466,177,376,108,54,67,124,408,336,7,450,289,435,451,226,474,147,312,408,48,388,254,217,322,154,130,406,489,143,58,58,37,446,361,331,270,72,333,153,205,174,251,34,500,229,406,443,257,61,175,142,456,397,94,490,20,141,209,363,358,359,268,139,169,131,423,73,19,167,148,250,379,84,312,147,393,170,411,288,442,452,265,37,397,326,369,420,219,405,498,440,96,211,248,72,403,364,308,396,30,310,386,299,424,454,300,336,233,249,114,438,281,3,60,240,145,423,490,401,393,45,341,269,261,143,479,274,200,385,62,275,431,257,266,357,295,296,327,133,335,447,187,464,435,307,498,491,176,217,409,111,421,26,434,170,307,108,327,272,47,143,199,451,79,293,340,403,300,71,127,371,379,137,291,494,451,138,322,259,428,470,338,109,376,195,294,440,281,64,294,282,131,373,39,367,28,321,424,329,168,206,238,32,341,16,405,72,149,34,332,346,403,412,298,463,268,100,155,21,32,309,475,276,95,439,88,266,4,329,123,447,109,217,231,486,309,311,325,318,45,158,201,22,4,14,144,102,335,281,452,272,126,127,479,179,184,177,336,159,179,305,128,154,45,452,318,205,56,235,308,201,172,471,484,55,243,329,308,77,60,50,162,398,289,496,137,366,16,399,286,115,443,226,219,105,459,356,379,331,161,426,69,220,360,79,473,359,137,371,190,488,55,348,275,16,232,262,312,33,82,74,470,260,470,166,41,148,116,187,491,22,480,294,184,179,399,120,144,164,481,422,211,171,429,454,317,187,200,200,119,40,162,137,480,89,407,499,496,468,163,27,1,141,14,490,369,207,5,21,314,33,331,462,74,171,69,204,55,78,347,162,215,448,412,112,237,474,418,293,490,79,88,24,33,300,170,175,464,251,400,471,349,78,223,29,367,10,451,382,26,494,259,48,370,240,225,308,116,287,423,114,458,51,295,284,172,487,172,183,446,379,218,160,44,384,62,177,50,94,187,133,460,105,75,123,458,196,368,84,81,133,367,212,45,499,192,257,457,227,344,236,418,115,362,102,212,358,483,221,235,111,418,92,431,253,124,230,238,248,449,136,112,203,229,378,194,436,92,426,8,343,278,405,345,407,468,4,362,484,302,21,263,115,151,167,85,129,216,1,199,429,12,396,338,285,117,432,73,49,490,148,241,379,199,243,45,260,57,399,95,118,179,457,21,88,498,375,338,178,161,269,179,486,338,465,418,275,359,391,14,290,22,305,268,192,330,460,440,1,104,281,202,32,211,442,246,329,483,218,476,354,102,417,221,19,466,145,144,198,452,354,333,171,345,403,282,253,439,198,453,474,433,216,16,187,492,171,48,270,151,470,289,439,320,17,357,132,352,454,477,373,151,357,123,184,273,425,74,257,299,88,12,408,108,387,163,238,236,156,401,260,337,331,228,436,261,237,167,146,36,392,463,256,112,292,399,266,148,143,156,167,193,455,490,166,417,367,49,250,155,141,64,22,277,263,66,113,155,93,124,224,483,413,440,275,40,200,125,288,334,314,169,156,49,21,309,8,69,62,301,165,95,431,102,320,359,356,53,327,285,290,235,74,100,123,43,119,125,379,130,106,197,257,444,298,463,256,131,386,443,134,135,81,118,169,253,238,92,65,391,309,276,499,124,464,475,17,273,199,225,499,324,368,367,104,245,476,19,51,48,396,268,182,396,221,491,63,99,489,74,190,227,67,186,496,255,399,1,123,216,335,76,32,389,207,411,415,76,310,158,218,458,459,194,435,123,21,158,433,391,15,56,59,18,77,13,438,201,205,484,214,290,247,36,276,204,18,293,87,301,336,387,298,295,142,387,23,412,14,108,268,393,163,219,221,434,460,472,191,209,49,326,156,34,124,311,325,222,225,285,398,301,155,78,6,378,389,238,84,131,470,128,383,306,134,305,399,321,139,428,425,399,312,142,187,145,97,452,86,254,37,452,499,295,378,32,298,107,353,227,213,424,439,98,86,173,93,128,125,98,242,499,232,403,148,445,343,126,74,311,43,176,116,349,487,207,325,312,290,303,392,111,495,224,45,78,498,194,493,226,68,10,493,427,254,126,283,177,50,60,31,452,357,436,424,424,467,6,413,270,155,201,284,344,304,450,354,269,469,165,349,495,378,167,425,151,85,399,276,360,102,306,489,260,111,366,416,402,444,6,421,146,148,249,329,17,310,175,448,150,249,299,142,389,325,131,381,216,148,490,232,485,458,145,195,494,373,395,237,398,341,313,413,8,325,319,437,127,105,253,34,317,17,351,310,326,24,213,37,488,331,463,453,57,178,191,345,54,163,86,393,267,171,127,449,29,306,63,298,327,87,230,452,94,494,433,383,309,152,426,421,237,155,387,133,234,243,395,48,409,370,83,358,396,476,342,69,268,496,398,147,18,270,429,155,78,254,105,124,291,44,20,94,278,394,25,407,42,431,453,418,373,320,231,344,246,470,320,166,301,418,259,484,183,408,122,346,27,139,52,309,454,424,277,350,424,314,357,396,473,448,389,473,196,163,172,493,131,192,120,187,465,428,198,22,66,112,186,45,175,52,92,399,152,296,292,83,473,6,91,342,189,498,60,496,305,411,360,447,130,450,150,68,91,158,276,55,356,83,52,440,142,406,275,25,356,480,262,137,63,107,136,187,420,335,277,100,241,150,70,393,267,185,399,26,331,169,440,221,288,79,164,11,462,16,285,255,223,469,465,438,309,456,151,122,284,181,448,295,414,142,475,343,191,468,193,267,481,256,46,128,306,390,10,123,333,313,336,45,183,218,287,376,220,169,40,184,164,487,377,315,158,382,410,469,44,243,246,493,481,187,482,442,294,7,151,335,354,440,358,384,418,155,335,270,210,86,59,427,493,317,129,383,277,458,398,212,408,330,434,335,324,110,84,325,9,395,337,120,358,438,354,54,135,8,158,53,289,331,41,21,345,380,91,340,473,27,30,455,314,166,203,102,437,62,237,88,149,16,322,308,419,417,33,361,390,490,270,31,488,349,301,340,99,431,87,128,44,280,83,422,15,418,75,101,176,22,196,267,32,264,374,185,59,176,457,5,500,448,189,38,136,295,367,180,171,158,90,49,437,333,283,73,270,386,457,68,98,270,241,31,114,246,83,366,481,471,392,92,500,206,190,257,419,77,11,391,5,209,262,74,56,298,65,341,135,110,105,307,14,498,493,30,245,283,487,259,33,374,25,448,346,157,81,20,283,12,18,391,418,384,177,8,81,336,145,105,146,127,467,450,164,415,171,106,399,477,45,477,280,446,344,76,418,387,343,368,367,150,483,83,181,216,166,289,409,481,403,457,59,411,116,106,392,395,259,19,403,411,445,62,453,6,50,332,133,410,167,12,392,349,158,36,494,44,166,303,475,359,176,262,215,64,311,338,214,445,245,39,205,453,452,120,32,258,114,297,22,170,357,336,464,237,344,4,289,100,168,214,27,334,355,410,265,462,216,310,27,18,446,152,54,439,229,427,353,130,292,362,201,241,57,100,153,168,195,181,75,477,491,332,450,492,468,463,445,279,264,327,206,395,412,261,453,86,232,325,357,131,268,191,410,105,180,437,294,416,417,130,239,222,190,7,354,15,16,301,172,393,370,63,499,465,301,218,226,93,433,424,142,228,395,384,282,197,441,342,248,204,381,68,273,479,58,253,357,38,105,30,268,95,362,88,175,375,117,464,473,96,213,387,46,369,500,114,152,1,312,55,341,24,236,197,449,68,313,161,434,109,129,420,499,82,272,409,9,234,242,45,442,183,338,282,257,251,479,364,152,149,313,316,131,401,348,47,60,285,218,388,46,117,256,394,33,280,360,431,345,320,462,167,402,443,362,406,273,224,328,102,370,42,189,138,121,397,223,273,61,291,153,344,287,133,84,376,284,55,479,105,143,151,452,298,204,171,157,294,332,230,320,128,195,183,359,480,56,234,340,432,436,197,270,388,351,113,411,338,54,62,288,479,499,110,452,116,481,127,497,478,201,488,177,374,326,424,387,450,202,491,84,98,30,335,402,276,86,77,300,197,462,249,427,421,310,82,295,427,471,187,148,478,13,251,474,257,363,358,241,88,265,333,73,81,45,490,372,356,86,446,27,220,140,69,361,55,199,157,419,10,72,308,53,158,362,337,496,476,10,47,290,475,256,367,37,128,323,9,372,313,41,278,376,371,292,53,369,278,486,77,386,333,403,17,100,423,110,272,372,348,244,133,297,329,452,225,371,432,267,188,110,214,174,167,52,370,167,33,179,441,360,281,200,13,180,250,358,316,248,239,459,263,191,183,70,373,251,51,76,11,22,467,419,115,381,117,210,266,324,25,95,84,240,162,203,164,416,471,194,118,184,179,380,219,217,334,337,396,319,81,118,31,226,398,402,76,286,198,150,462,99,46,293,332,174,402,453,488,470,17,340,351,435,291,128,267,138,141,235,463,451,360,483,243,497,414,243,298,226,460,61,454,209,351,286,223,34,391,405,497,178,359,72,281,340,370,449,223,312,456,179,387,12,443,114,48,234,230,31,388,116,434,337,379,257,28,65,351,388,244,431,425,244,41,275,415,167,199,293,384,81,147,297,259,428,478,324,404,266,314,84,334,400,40,496,11,291,493,14,200,317,342,280,430,464,371,79,141,500,291,463,265,244,110,277,44,373,374,19,17,483,435,80,156,379,87,318,468,159,391,206,192,92,391,491,155,327,250,151,240,128,256,32,226,254,494,240,12,30,214,333,406,271,308,194,403,231,342,121,65,121,476,83,361,205,353,288,272,368,29,148,318,53,493,178,351,421,406,353,37,196,197,489,292,154,181,283,254,330,89,375,151,446,154,87,386,465,407,399,453,407,124,439,445,89,354,219,289,159,462,400,194,121,470,236,429,426,150,69,193,339,468,75,105,9,197,486,311,119,141,412,23,373,375,265,261,196,75,482,394,67,118,17,56,143,126,209,175,273,143,298,192,423,139,457,154,278,259,58,100,499,24,332,101,281,387,469,248,68,45,359,360,478,143,69,41,21,223,311,117,186,129,138,12,144,391,309,13,490,14,273,222,193,339,214,79,187,439,204,472,163,175,235,239,318,460,27,339,140,272,97,248,433,259,199,428,232,79,304,323,319,465,122,376,142,190,430,262,175,19,444,32,428,237,421,253,341,13,31,5,366,173,432,422,434,98,431,440,243,48,193,58,447,209,253,194,212,285,185,321,406,7,15,452,432,75,405,244,362,363,389,295,173,391,298,37,2,12,297,345,463,468,100,149,334,344,247,229,205,305,346,344,354,16,256,233,197,94,63,391,293,60,398,302,340,164,405,316,100,67,1,433,46,221,218,172,378,276,290,419,277,261,441,43,37,301,111,254,81,9,236,295,135,326,497,429,460,174,316,212,16,286,195,318,11,170,301,171,205,232,144,314,322,317,222,2,491,74,237,367,231,432,251,386,299,377,38,200,339,317,136,95,446,353,228,335,202,371,387,107,438,80,217,274,58,21,478,370,162,443,161,100,107,404,68,30,13,431,253,55,395,87,247,163,147,137,427,57,191,277,224,355,1,257,287,485,384,434,271,66,384,245,303,345,146,375,435,10,213,498,479,415,303,302,160,59,366,188,104,234,491,239,6,199,450,230,76,173,4,119,367,398,488,23,111,207,355,275,309,238,204,257,146,239,220,497,231,308,139,428,343,148,313,481,451,431,306,227,91,177,379,76,18,139,270,21,321,425,474,439,324,443,145,136,289,227,272,116,380,144,78,145,13,38,229,319,286,392,116,360,304,333,299,389,162,188,467,367,366,175,351,260,290,312,436,99,289,459,101,75,148,257,180,173,489,345,496,201,19,401,288,254,111,273,378,491,429,473,442,294,329,174,239,304,235,85,341,271,296,112,26,383,254,430,220,466,471,439,444,308,258,222,311,491,249,170,312,245,118,110,195,161,63,185,340,165,353,226,85,15,352,449,56,47,262,16,402,343,220,310,51,399,296,492,99,258,469,387,227,71,177,215,354,360,98,384,144,298,430,100,127,291,451,190,37,171,500,217,166,464,490,1,200,319,228,85,478,392,111,168,449,209,327,237,188,439,328,235,199,48,89,17,263,220,129,471,363,292,345,199,493,54,191,5,96,334,110,7,396,50,292,26,145,456,282,19,451,419,260,87,335,129,79,387,81,420,148,461,213,13,264,461,2,263,150,116,245,94,223,230,303,297,439,27,447,95,376,437,297,11,210,418,70,171,494,162,462,317,162,458,408,250,257,372,69,173,164,272,101,238,157,52,405,56,360,69,444,486,69,68,178,331,395,262,307,398,496,376,489,34,226,52,258,151,256,274,11,440,483,373,204,118,450,387,445,220,383,152,222,329,15,71,104,427,6,15,227,396,180,19,150,236,425,67,113,396,70,221,394,178,381,193,284,491,441,266,139,347,188,10,475,109,92,194,381,340,431,307,368,439,162,254,29,270,137,417,176,18,498,188,312,81,370,474,143,92,411,301,119,455,152,325,103,128,375,469,108,137,70,48,36,326,87,233,263,408,416,332,340,212,120,64,476,232,96,58,8,81,423,500,102,159,214,188,184,397,96,412,309,262,332,381,138,337,338,109,482,282,281,139,83,6,392,331,235,267,205,28,491,82,393,212,279,163,182,279,184,285,100,496,149,63,187,154,346,24,55,85,389,60,77,471,183,33,35,387,123,47,32,49,24,387,93,100,54,308,417,490,450,489,70,424,191,345,409,412,281,40,38,29,85,103,78,18,407,439,120,387,198,270,477,295,52,309,271,164,352,417,229,446,282,30,470,204,235,295,274,58,226,36,332,377,87,458,146,14,324,454,239,319,415,394,224,405,74,43,84,352,444,234,180,478,333,83,464,69,273,245,188,364,245,76,320,206,300,345,60,214,240,62,156,288,435,91,226,411,342,306,195,5,482,471,258,178,445,97,40,174,353,99,197,462,386,92,86,490,179,100,301,134,429,173,36,429,317,123,450,297,465,124,248,190,482,389,317,147,144,274,95,491,60,6,460,468,222,105,110,320,445,444,91,143,6,85,62,470,264,436,108,392,177,203,400,335,88,463,367,175,446,100,380,264,153,301,237,275,191,362,469,81,228,484,448,444,196,497,194,267,163,345,116,91,72,490,61,61,245,173,143,168,45,302,415,33,353,128,205,242,188,103,177,278,134,56,243,29,385,449,32,37,111,98,339,374,281,293,393,14,188,59,77,62,19,221,165,243,314,235,15,149,410,244,49,20,66,145,189,326,16,281,153,339,458,36,268,425,357,305,339,164,165,174,14,303,163,499,433,405,242,211,179,369,438,302,354,310,317,401,404,76,369,446,400,241,295,342,315,229,39,117,48,398,289,336,292,485,277,354,367,491,420,107,261,73,457,224,481,493,449,214,34,110,344,91,445,499,154,104,41,485,142,145,115,349,466,75,177,431,254,405,399,222,388,3,6,205,374,334,203,267,68,244,82,248,210,140,392,6,235,238,404,281,169,397,328,336,74,447,461,257,180,9,434,320,47,308,340,5,86,153,7,470,397,365,213,474,58,130,450,337,303,100,150,385,97,229,211,98,389,358,494,71,309,16,10,23,223,268,277,302,391,491,418,205,188,391,73,177,176,476,270,496,213,171,354,130,428,454,24,114,405,10,322,446,1,332,221,15,466,25,433,222,147,302,470,244,366,221,64,108,48,362,216,475,81,98,345,19,473,63,208,165,448,170,32,17,306,348,191,306,264,58,362,79,169,429,161,468,274,347,189,139,479,412,17,255,207,201,53,488,300,469,30,165,37,255,200,232,326,349,282,158,375,192,338,209,437,389,494,348,452,409,221,314,80,378,263,19,72,33,176,333,177,210,354,289,116,387,347,108,8,141,120,338,485,293,372,486,316,4,498,64,56,60,234,130,123,345,484,287,195,113,73,255,421,212,281,193,77,216,243,404,352,378,112,418,221,367,360,388,149,252,295,400,291,19,18,109,340,336,359,199,240,109,229,229,151,158,145,117,289,297,18,235,455,367,90,71,443,133,415,470,400,481,151,301,60,18,24,90,368,119,81,96,491,29,443,335,35,100,360,214,327,290,403,16,487,116,331,495,380,104,104,428,497,29,53,173,47,406,376,10,206,431,216,329,469,73,467,482,306,431,149,323,135,276,295,380,382,402,321,276,227,38,407,439,485,166,369,134,428,341,355,246,382,258,486,350,321,54,441,132,2,154,17,448,38,226,289,133,440,160,14,262,84,125,200,14,110,263,336,484,308,237,132,75,440,78,134,111,455,127,89,267,289,205,451,357,346,336,341,286,83,390,390,79,119,132,76,157,311,12,193,425,378,317,123,256,437,287,297,97,464,40,108,190,326,492,50,447,329,62,139,51,225,464,415,337,469,492,269,212,245,89,304,355,394,482,296,286,312,359,129,259,54,186,469,10,106,111,41,5,255,221,283,156,149,7,55,127,232,127,242,207,41,187,141,253,476,175,20,407,129,248,292,213,371,176,324,25,32,391,89,343,186,352,250,154,151,366,261,161,134,391,140,335,404,109,145,91,465,60,54,229,40,313,61,139,130,178,17,245,83,295,284,82,232,359,447,216,340,453,33,488,251,119,120,51,453,3,15,434,40,393,390,351,162,122,457,58,464,356,329,305,126,72,237,36,260,466,418,466,34,392,456,46,269,464,215,423,353,273,59,445,57,434,208,362,66,352,358,165,151,174,467,490,222,132,456,3,378,377,156,353,71,392,33,1,498,344,340,20,150,64,129,340,312,136,297,124,236,465,458,356,113,365,383,450,461,253,309,331,135,249,328,432,375,92,252,113,17,333,427,393,426,423,478,83,482,174,4,191,392,23,484,19,257,500,37,255,310,102,213,434,429,85,482,47,428,460,369,352,166,238,205,66,480,142,128,443,401,24,261,150,71,421,169,403,168,103,218,444,373,407,467,58,370,210,226,302,60,268,164,456,342,436,369,159,360,97,213,475,320,346,88,221,488,396,207,327,64,363,261,462,10,289,3,494,133,466,208,93,186,9,102,248,240,41,203,457,283,169,161,299,232,53,386,405,75,231,24,283,19,215,186,171,430,299,118,6,55,135,333,485,166,462,182,240,396,319,23,466,380,485,234,459,374,24,274,49,216,146,167,3,372,479,6,353,284,333,46,206,271,136,256,385,33,223,372,209,18,461,326,336,427,81,494,319,63,491,344,73,156,149,349,364,200,419,383,347,472,375,397,431,457,369,245,249,257,436,453,57,478,284,475,367,112,194,156,396,62,71,352,41,98,208,309,421,354,304,287,334,235,381,255,472,145,3,149,394,448,402,132,78,65,330,426,473,192,186,181,121,500,134,395,254,314,432,162,494,117,216,325,309,175,496,242,73,127,461,346,58,166,312,149,392,486,101,267,284,337,435,463,483,215,186,68,387,208,156,119,23,76,109,234,391,286,123,208,142,380,467,46,171,357,438,228,177,438,64,462,491,270,372,84,348,285,387,123,400,337,452,129,353,112,315,161,179,367,163,148,88,439,345,57,256,427,196,421,215,415,224,244,122,284,402,63,274,33,375,44,473,128,461,394,243,455,164,101,206,391,298,174,294,372,344,101,338,35,7,113,425,187,95,140,486,148,55,260,384,440,432,124,7,1,225,408,477,180,362,161,434,213,254,222,76,416,19,476,256,109,297,147,419,185,427,199,406,263,97,236,94,156,253,358,157,248,414,278,23,163,124,398,466,180,294,357,219,397,130,305,438,190,401,444,94,317,475,255,106,32,239,166,365,51,202,222,479,86,160,425,26,224,146,30,90,39,14,86,485,289,413,260,296,496,132,270,160,300,396,322,446,168,70,94,284,276,179,348,157,62,497,499,153,368,461,312,438,463,123,277,444,376,245,226,386,409,236,39,255,428,368,175,50,121,417,140,235,16,341,13,192,104,11,71,392,430,439,88,463,174,283,383,359,156,152,409,1,405,487,150,410,268,9,250,331,177,235,293,270,213,263,296,98,468,185,13,363,274,458,370,196,291,301,374,63,371,229,363,400,382,291,347,358,377,174,224,124,311,319,24,22,45,329,433,285,7,187,185,363,180,110,351,141,98,258,148,311,200,141,108,491,134,284,487,74,304,296,384,497,203,466,109,185,355,396,460,97,280,302,300,75,57,109,114,58,467,367,277,278,219,1,90,339,364,332,464,290,410,89,294,3,82,498,128,118,443,54,82,432,175,476,85,255,412,249,487,456,335,157,359,403,180,246,139,10,144,365,40,330,306,291,18,385,179,270,270,70,194,277,430,40,88,159,424,283,29,229,298,106,177,427,56,171,172,151,318,10,223,494,191,186,416,405,37,335,230,94,477,426,347,288,300,184,280,303,41,108,472,85,428,472,117,181,287,148,118,21,183,414,51,360,171,323,365,340,473,241,447,366,36,87,74,428,152,25,194,402,377,245,370,62,72,498,140,284,456,369,78,302,299,207,182,269,2,4,376,291,160,464,7,11,12,456,191,180,487,481,458,282,267,402,442,94,150,341,204,115,383,294,325,336,352,168,108,239,375,105,253,365,334,50,360,312,190,194,459,8,195,74,184,210,47,143,8,91,307,376,19,38,149,351,270,450,340,113,75,273,146,255,484,193,221,33,381,389,415,403,13,492,447,375,105,390,145,249,325,361,5,55,84,69,137,21,324,308,470,482,57,28,292,229,114,108,39,241,179,350,310,381,453,344,96,81,228,310,14,419,303,26,158,122,24,489,379,271,250,299,63,131,477,386,240,91,453,124,351,164,67,48,408,171,39,5,56,466,289,475,193,13,248,160,365,374,354,380,8,177,465,106,230,389,463,233,154,441,407,135,281,336,382,498,155,297,68,274,305,480,404,224,46,99,259,34,203,186,317,317,302,179,51,161,71,299,252,292,482,343,84,324,314,212,495,40,489,208,35,63,125,122,246,385,165,402,129,304,399,234,344,453,159,186,11,176,342,137,242,452,236,190,330,292,193,340,219,411,453,371,444,116,424,152,246,367,327,145,232,487,296,222,376,41,363,253,445,104,339,444,43,51,37,277,387,485,298,145,340,301,19,142,7,178,84,359,432,273,471,360,434,253,353,483,367,246,36,472,422,172,159,250,43,187,104,172,82,277,465,490,280,252,60,21,333,152,259,430,172,195,13,411,210,165,175,244,244,11,196,280,204,144,229,357,244,491,229,44,363,323,259,399,166,339,127,157,372,50,484,37,495,225,61,323,497,40,72,369,175,56,394,91,149,468,149,293,188,411,465,252,15,48,398,56,102,363,160,84,215,89,176,356,192,187,152,351,389,487,95,23,468,338,18,51,372,313,88,436,2,372,231,264,225,342,492,485,209,126,103,256,243,291,425,316,203,494,393,83,204,483,296,320,396,476,40,156,46,497,413,244,482,453,207,52,69,188,357,91,70,242,209,437,154,30,141,272,92,9,76,55,134,11,283,294,346,214,445,316,166,214,100,224,465,30,485,4,451,306,311,313,257,14,189,369,218,366,107,108,292,300,393,368,301,219,137,316,94,152,296,125,500,48,477,376,225,107,353,33,215,240,332,11,298,307,323,434,353,377,164,240,90,24,305,225,307,292,37,339,85,259,437,134,156,189,184,484,380,301,208,250,218,307,383,326,450,388,83,79,455,109,274,189,434,487,195,230,458,337,195,213,297,205,229,291,326,207,386,41,102,203,193,447,23,218,244,65,36,400,258,88,390,349,231,117,416,175,403,283,201,158,159,108,32,276,82,400,123,257,254,298,213,437,424,277,403,45,84,404,436,130,143,118,116,493,154,351,149,408,145,73,233,263,454,115,153,232,310,306,494,360,180,399,343,175,342,227,492,108,26,307,94,91,22,56,84,497,288,488,140,384,162,391,220,280,407,359,425,175,176,44,451,74,249,205,119,430,42,213,336,292,422,383,162,321,59,246,423,126,211,161,461,61,153,173,485,322,74,326,495,147,361,414,407,49,35,122,89,337,216,439,98,428,76,274,257,27,487,488,499,167,473,179,4,498,486,367,420,364,28,366,471,175,160,184,132,12,316,476,246,48,392,117,254,372,329,122,266,281,168,207,74,56,17,253,86,403,314,26,153,234,279,138,161,199,389,163,492,351,128,263,424,427,403,188,441,500,467,35,106,243,432,110,155,250,424,8,82,48,395,332,317,169,429,339,221,160,168,226,99,255,313,109,61,107,367,155,330,233,372,235,423,346,367,201,223,343,252,202,16,118,39,128,71,456,45,376,436,93,257,125,215,439,445,336,121,343,202,226,405,446,128,308,487,177,219,496,192,481,403,253,40,280,149,383,491,471,196,472,1,262,469,177,226,127,403,95,374,271,376,62,470,399,217,429,449,180,362,463,320,443,484,272,303,342,366,423,41,258,152,322,444,403,187,140,483,355,59,158,98,443,183,418,285,216,369,174,297,315,111,135,18,2,468,236,160,37,464,190,274,413,163,231,393,405,231,312,462,108,442,361,240,8,481,217,279,66,431,8,408,487,23,147,242,285,401,3,403,500,357,419,481,129,221,229,441,202,286,104,291,213,370,261,268,361,205,322,359,224,31,206,133,375,428,320,265,216,361,399,108,231,140,207,362,497,128,387,127,116,18,345,483,266,285,69,159,134,275,326,389,70,418,104,236,415,332,172,254,115,383,95,224,342,434,120,249,5,134,333,391,491,265,122,297,215,463,413,51,367,8,111,94,212,71,90,229,464,390,197,273,110,440,147,62,237,401,348,399,66,474,39,294,161,434,358,113,176,198,398,34,45,278,180,149,351,378,196,341,224,2,190,462,318,494,48,450,197,263,314,495,463,424,102,206,304,442,92,152,170,104,230,168,30,27,149,446,462,335,135,111,285,1,451,274,446,51,469,356,381,251,427,73,236,396,157,413,167,456,365,133,124,316,91,323,333,327,235,305,17,323,134,223,78,494,117,136,42,398,178,333,397,398,357,438,397,295,120,110,134,456,91,412,359,158,261,261,211,436,212,51,348,389,337,117,160,425,275,44,214,27,51,376,162,422,450,12,326,276,459,378,418,362,497,441,65,486,222,205,490,96,66,30,160,461,469,185,61,154,321,266,7,251,237,169,2,385,309,277,364,379,59,144,294,406,111,72,360,193,104,351,308,114,245,324,480,275,313,284,259,94,427,59,52,477,499,424,343,114,415,404,462,24,75,288,210,37,297,86,211,118,410,68,59,62,179,365,344,371,29,477,313,484,458,334,21,293,329,330,305,274,350,142,1,80,239,454,66,226,368,314,94,333,424,78,359,285,42,371,244,150,249,69,196,412,40,451,343,303,275,230,98,131,392,361,315,314,443,426,39,141,143,440,174,131,230,427,150,338,445,500,277,79,434,50,354,174,95,126,148,124,162,152,68,99,416,367,46,114,212,141,367,95,450,53,150,103,417,339,370,57,80,251,74,159,478,414,389,171,451,436,270,407,401,480,450,253,451,323,109,33,49,262,72,446,442,315,170,397,48,124,22,442,276,268,295,164,207,8,489,49,150,400,157,264,228,11,28,386,390,14,240,173,138,237,486,424,201,260,158,9,359,168,243,93,271,304,152,344,361,472,160,187,390,74,103,123,91,60,407,397,38,90,272,232,35,218,203,388,441,219,147,375,439,190,463,7,423,150,102,114,86,431,360,130,374,126,402,473,251,427,329,41,182,217,211,65,137,166,265,363,277,61,380,204,194,134,400,195,224,346,444,214,20,48,36,259,370,293,249,205,162,300,324,89,35,463,315,109,27,268,423,396,22,337,33,115,290,93,281,257,204,172,190,181,490,271,228,455,415,25,340,291,82,272,391,362,59,66,300,434,77,492,461,3,38,431,274,248,35,129,499,362,141,432,172,478,372,384,344,329,232,488,475,351,283,234,275,194,276,296,276,254,251,83,256,84,215,311,8,204,175,488,436,41,134,87,351,413,271,136,413,54,101,38,399,250,291,282,323,7,281,484,277,65,142,199,227,247,213,153,129,46,276,398,222,410,67,212,38,238,466,378,230,200,214,193,295,35,260,320,215,208,247,126,362,21,365,358,214,37,330,250,380,318,413,49,128,393,145,92,213,29,113,190,355,365,388,359,475,110,89,289,27,230,108,238,3,264,8,271,61,329,272,21,126,76,6,495,187,327,74,269,436,235,108,32,276,332,354,11,36,99,395,320,55,155,254,49,137,485,268,23,181,303,82,334,244,392,119,323,285,462,472,197,448,259,183,464,58,333,76,350,500,431,424,305,132,442,220,174,270,456,99,93,436,303,280,190,115,379,273,301,456,20,419,147,344,422,355,103,148,405,146,470,25,133,458,132,145,375,191,357,144,429,155,5,104,230,98,495,290,216,223,90,211,381,361,479,308,250,327,316,66,171,232,65,486,9,64,462,42,130,61,134,331,405,383,19,289,451,297,491,338,463,45,324,462,183,36,450,208,205,247,44,176,263,399,82,140,91,379,422,452,320,196,78,357,183,264,279,229,390,264,238,433,253,124,97,386,384,171,99,333,54,112,209,291,321,226,230,250,4,465,212,425,456,23,128,404,283,20,98,174,448,343,474,297,76,499,397,50,399,498,414,418,65,5,77,430,382,110,439,404,303,388,308,275,266,463,412,99,357,97,479,123,355,206,93,393,294,33,10,102,260,14,271,91,483,322,483,381,177,489,11,406,440,15,435,410,22,426,478,414,274,50,66,164,425,450,26,113,27,477,238,242,136,177,238,216,343,367,399,81,90,173,349,328,27,426,176,420,89,58,203,18,25,160,191,70,250,274,381,98,321,288,144,363,237,185,96,370,225,489,382,216,345,125,53,231,369,158,467,95,110,458,458,93,286,469,55,384,168,258,46,195,370,264,12,156,61,238,164,92,41,230,355,284,427,105,180,310,369,270,120,58,81,55,175,161,318,43,89,42,445,491,318,204,325,292,239,149,388,354,334,434,488,344,250,156,291,274,153,153,11,490,20,189,150,495,354,326,231,373,29,432,104,279,456,333,14,468,359,218,280,295,51,104,20,335,183,137,369,43,104,308,3,454,422,81,254,56,384,70,423,280,140,259,81,332,124,443,262,424,186,268,75,332,422,23,187,405,399,13,385,52,97,96,218,223,366,144,24,313,188,359,121,166,388,185,360,453,3,349,307,473,160,262,448,97,215,302,421,8,349,270,127,85,361,480,215,200,468,28,488,279,430,424,202,345,19,380,142,419,400,195,427,254,171,88,131,126,118,81,252,195,253,164,444,275,263,188,494,285,253,236,470,220,183,213,292,497,444,356,458,445,439,201,254,427,461,122,121,468,108,160,82,94,15,5,327,320,255,293,167,222,420,301,383,442,265,443,317,8,196,463,152,246,148,244,154,169,453,309,189,450,479,268,294,314,75,459,373,175,129,265,463,320,85,214,374,288,306,117,252,268,310,267,317,105,27,82,161,11,35,156,287,32,381,260,56,58,454,225,424,453,394,66,316,361,336,63,343,439,101,195,354,99,322,419,195,303,149,213,210,213,68,47,207,155,490,116,145,382,455,47,62,215,97,240,421,56,438,452,158,353,127,149,130,376,164,427,40,442,465,297,89,407,434,374,141,234,68,205,392,298,139,145,198,186,130,469,295,114,62,101,44,460,158,451,371,304,452,36,96,213,247,252,198,277,395,422,446,337,9,217,109,338,116,112,341,225,229,283,52,93,312,287,496,147,428,210,28,401,39,101,145,188,216,432,242,72,23,166,5,140,268,190,112,211,452,423,121,189,207,261,438,215,304,417,58,339,4,5,138,418,108,462,21,119,102,168,452,39,220,270,218,167,213,135,410,316,286,262,12,124,295,175,88,138,295,131,286,402,495,280,259,167,111,367,11,183,279,5,32,414,332,62,210,195,433,209,265,473,438,249,393,188,89,489,111,430,448,366,253,466,44,472,394,312,120,417,147,151,119,273,131,194,370,287,204,19,43,70,315,271,437,101,348,240,261,392,192,409,7,453,278,334,330,44,215,222,356,126,221,35,20,82,408,449,394,491,300,407,23,196,428,361,182,117,326,24,64,375,124,217,480,267,73,103,400,408,274,228,262,96,222,180,304,171,207,69,325,457,118,276,177,50,138,323,433,1,358,497,52,262,142,89,316,71,142,71,223,288,464,314,250,411,325,408,446,96,240,281,109,142,123,321,226,181,343,221,14,105,28,422,212,418,271,134,414,130,346,296,237,176,200,432,25,377,498,37,286,390,79,326,124,448,145,254,420,51,110,52,366,262,420,7,1,257,345,114,134,46,276,169,93,245,282,247,57,148,470,262,500,80,193,299,494,109,114,159,209,438,43,218,484,319,307,356,28,465,202,371,476,374,168,231,143,406,162,94,28,319,351,244,9,234,89,216,81,327,438,68,29,353,203,433,424,108,472,138,494,157,405,240,133,326,103,352,123,407,485,77,370,422,355,273,368,156,491,105,383,18,135,42,86,373,21,445,194,206,183,247,6,90,159,209,316,67,15,30,194,77,146,60,497,266,202,99,265,479,340,470,243,48,259,280,386,8,309,184,315,11,168,449,321,127,62,499,169,131,182,184,299,451,293,248,335,354,374,442,185,2,243,204,245,459,417,314,448,24,479,248,53,85,160,228,333,24,496,485,68,428,235,55,26,85,383,416,499,2,85,428,386,145,95,54,402,282,261,61,192,104,32,312,134,231,353,114,12,453,136,83,306,330,379,469,303,347,194,412,205,290,350,147,290,240,163,392,372,386,308,360,411,453,439,444,330,270,29,281,393,306,287,37,410,339,444,92,159,13,4,356,1,27,133,198,289,35,4,355,201,113,408,223,496,289,236,345,311,36,356,440,277,388,303,324,172,497,268,411,217,188,328,137,28,311,138,433,197,371,376,421,469,437,339,130,55,6,255,241,275,263,12,55,370,74,102,63,388,295,214,191,445,115,199,286,173,252,6,364,336,155,402,440,422,317,405,321,328,339,436,423,13,94,391,387,418,140,379,350,271,497,63,366,371,230,228,159,324,6,84,436,305,312,26,339,454,290,320,49,3,53,472,184,205,422,452,107,336,382,319,181,492,431,89,66,412,150,102,461,397,323,392,344,424,72,469,327,288,102,386,281,493,354,330,457,468,30,292,127,256,1,44,373,499,158,454,50,111,286,72,74,101,45,151,52,250,277,133,111,468,339,46,161,221,232,175,147,225,33,141,195,327,256,12,149,268,385,469,463,120,326,443,156,467,227,55,384,309,250,236,171,451,420,152,226,352,26,477,437,340,234,121,300,100,195,18,145,296,132,67,263,131,458,385,274,443,113,210,73,7,439,134,155,35,254,405,327,112,245,238,339,41,286,111,141,299,187,243,397,78,100,310,212,329,291,477,73,258,484,480,226,107,161,473,431,286,399,200,188,443,199,261,26,425,467,179,78,308,174,373,34,390,164,408,413,125,171,91,471,6,63,135,491,50,223,147,20,12,481,453,277,420,58,350,113,211,56,74,491,448,262,386,314,180,172,8,294,387,144,135,374,281,46,57,109,255,369,423,441,135,163,360,142,51,437,378,144,67,125,279,280,398,443,109,420,373,404,407,36,44,78,18,109,19,77,205,482,474,459,81,486,453,457,221,296,409,5,292,255,181,18,126,110,190,91,491,497,304,436,115,90,130,423,195,293,210,461,271,112,331,418,106,268,21,48,81,10,8,8,216,415,210,200,455,12,420,376,174,110,209,405,166,324,323,85,78,204,72,240,63,26,274,377,36,197,83,79,23,184,94,416,166,450,272,122,139,331,65,113,496,468,88,454,47,434,210,263,371,252,404,464,302,241,256,428,41,403,12,118,163,123,443,268,58,238,373,272,289,37,80,170,64,382,482,179,107,253,132,81,119,428,238,157,215,144,172,331,400,253,166,465,414,25,401,193,241,371,469,70,249,440,133,339,126,313,126,417,41,464,39,224,49,373,442,397,118,294,262,371,230,124,95,121,479,272,378,197,274,419,358,265,347,55,132,241,367,291,484,82,416,171,325,250,133,177,33,138,180,2,391,446,330,375,319,9,346,476,289,26,402,212,290,436,248,450,474,451,78,46,212,28,271,286,341,45,332,370,158,275,291,333,453,279,244,370,356,353,439,315,426,403,159,349,424,27,130,182,278,221,359,297,427,179,399,58,116,213,248,472,37,64,417,441,246,99,376,385,88,285,406,131,422,485,223,318,12,311,492,70,68,360,134,1,212,261,258,226,397,336,279,353,178,142,149,245,110,187,250,20,218,238,280,423,216,178,461,40,99,402,23,406,428,446,364,88,79,136,410,230,83,320,128,163,90,72,440,117,263,84,239,84,266,407,476,175,316,384,241,177,36,306,308,370,51,69,444,316,356,311,154,10,97,236,268,480,428,142,437,357,83,297,374,40,305,324,399,356,30,286,24,496,187,286,152,71,263,208,418,84,244,330,419,267,216,284,397,491,192,224,376,378,353,91,135,196,353,105,243,408,243,289,13,202,320,299,174,247,87,172,154,164,162,325,139,336,70,181,329,149,375,227,457,47,477,304,11,485,336,275,238,149,297,499,296,228,168,219,331,448,264,328,481,113,6,25,245,329,106,121,184,372,355,457,388,152,131,86,309,65,422,185,99,39,462,114,453,471,458,332,401,138,235,388,238,462,192,305,29,446,356,470,212,43,486,264,94,458,492,280,421,158,57,159,130,68,366,426,257,10,42,345,462,295,457,164,129,135,49,225,15,396,52,348,447,46,400,476,158,95,291,154,375,8,27,289,248,222,55,173,46,29,56,447,481,329,277,156,450,24,88,138,156,294,339,261,284,137,179,87,316,161,280,145,47,381,183,28,99,496,419,313,214,177,301,221,67,147,104,205,166,282,313,251,491,432,428,399,487,373,429,47,93,471,28,100,326,107,97,219,57,406,193,192,277,137,375,286,126,397,260,434,324,244,148,24,356,118,375,225,168,337,461,195,247,118,442,255,67,65,466,322,478,481,381,289,13,149,372,285,448,280,459,327,68,274,258,437,27,101,412,91,4,273,427,3,120,240,297,210,306,495,28,457,432,495,180,425,76,477,84,243,396,3,60,196,126,448,134,278,333,240,396,246,66,285,67,76,287,159,252,206,144,81,305,445,365,134,281,470,89,358,141,286,194,366,104,214,59,123,120,252,245,107,250,492,438,174,178,93,489,303,368,14,19,152,173,148,24,146,276,290,468,190,489,173,115,21,109,404,2,490]) == 1781580
| 2,433.913043
| 55,392
| 0.733959
| 14,713
| 55,980
| 2.791749
| 0.036226
| 0.000487
| 0.002556
| 0.001753
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.729911
| 0.002947
| 55,980
| 23
| 55,392
| 2,433.913043
| 0.006002
| 0.002144
| 0
| 0
| 0
| 0
| 0.000286
| 0
| 0
| 0
| 0
| 0
| 0.133333
| 1
| 0.066667
| false
| 0
| 0.133333
| 0
| 0.333333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
cf6d169c20ad80c35b939ad7427cd9df1a0fe238
| 55
|
py
|
Python
|
OpenCast/infra/event/__init__.py
|
Tastyep/Pi-OpenCast
|
1ed07130c26e6dd70184446af3c9143094d0c9a0
|
[
"MIT"
] | 31
|
2019-10-05T14:23:10.000Z
|
2022-02-27T19:38:55.000Z
|
OpenCast/infra/event/__init__.py
|
Tastyep/RaspberryCast
|
8ae8cf986b373b04c43d248ee72c77b1a29daa43
|
[
"MIT"
] | 199
|
2020-08-30T16:33:03.000Z
|
2022-03-28T04:10:06.000Z
|
OpenCast/infra/event/__init__.py
|
Tastyep/RaspberryCast
|
8ae8cf986b373b04c43d248ee72c77b1a29daa43
|
[
"MIT"
] | 1
|
2019-10-05T16:00:49.000Z
|
2019-10-05T16:00:49.000Z
|
""" Events emitted from infrastructural components """
| 27.5
| 54
| 0.763636
| 5
| 55
| 8.4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.127273
| 55
| 1
| 55
| 55
| 0.875
| 0.836364
| 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
|
cf739d228892fb973944fe3af65b3bdfa69f75e6
| 32,618
|
py
|
Python
|
code/examples/classifier_compression/sinreq_v2_svhn_runcode/networks/resnet18.py
|
he-actlab/waveq.code
|
024d55af6d989d4074d3e555d03b76a2f7eac209
|
[
"CNRI-Python"
] | 1
|
2020-04-09T03:21:32.000Z
|
2020-04-09T03:21:32.000Z
|
code/examples/classifier_compression/sinreq_v2_svhn_runcode/networks/resnet18.py
|
he-actlab/waveq.code
|
024d55af6d989d4074d3e555d03b76a2f7eac209
|
[
"CNRI-Python"
] | 4
|
2020-09-26T00:53:47.000Z
|
2022-02-10T01:23:34.000Z
|
code/examples/classifier_compression/sinreq_v2_svhn_runcode/networks/resnet18.py
|
sinreq-learn/sinreq-learn.code
|
a205d3fa22a41d5f4fc1ef1e5698c4f1dbb11e6a
|
[
"BSD-4-Clause-UC"
] | null | null | null |
import tensorflow as tf
from .helper import *
def resnet18_noisy(input_node, netparams, err_mean, err_stddev, train_vars):
weights_noisy, biases_noisy, err_w, err_b = helper.add_noise(netparams['weights'], netparams['biases'], err_mean, err_stddev, train_vars)
mean, variance, scale, offset = netparams['mean'], netparams['variance'], netparams['scale'], netparams['offset']
err_lyr = {}
layers_err = {}
data_spec = helper.get_data_spec('resnet18')
err_lyr['input'] = tf.get_variable(name='input_lyr_err', shape=(1, data_spec.crop_size, data_spec.crop_size, data_spec.channels), initializer=tf.random_normal_initializer(mean=err_mean[0], stddev=err_stddev[0]), trainable=train_vars[0])
input_node_noisy = tf.add(input_node, err_lyr['input'])
conv1 = conv(input_node_noisy, weights_noisy['conv1'], biases_noisy['conv1'], 2, 2, biased=False, relu=False)
err_lyr['conv1'] = tf.get_variable(name='conv1_lyr_err', shape=conv1.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['conv1'] = tf.add(conv1, err_lyr['conv1'])
bn_conv1 = batch_normalization(layers_err['conv1'], scale['bn_conv1'], offset['bn_conv1'], mean['bn_conv1'], variance['bn_conv1'], relu=True)
pool1 = max_pool(bn_conv1, 3, 3, 2, 2)
res2a_branch1 = conv(pool1, weights_noisy['res2a_branch1'], biases_noisy['res2a_branch1'], 1, 1, biased=False, relu=False)
err_lyr['res2a_branch1'] = tf.get_variable(name='res2a_branch1_lyr_err', shape=res2a_branch1.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res2a_branch1'] = tf.add(res2a_branch1, err_lyr['res2a_branch1'])
bn2a_branch1 = batch_normalization(layers_err['res2a_branch1'], scale['bn2a_branch1'], offset['bn2a_branch1'], mean['bn2a_branch1'], variance['bn2a_branch1'])
res2a_branch2a = conv(pool1, weights_noisy['res2a_branch2a'], biases_noisy['res2a_branch2a'], 1, 1, biased=False, relu=False)
err_lyr['res2a_branch2a'] = tf.get_variable(name='res2a_branch2a_lyr_err', shape=res2a_branch2a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res2a_branch2a'] = tf.add(res2a_branch2a, err_lyr['res2a_branch2a'])
bn2a_branch2a = batch_normalization(layers_err['res2a_branch2a'], scale['bn2a_branch2a'], offset['bn2a_branch2a'], mean['bn2a_branch2a'], variance['bn2a_branch2a'], relu=True)
res2a_branch2b = conv(bn2a_branch2a, weights_noisy['res2a_branch2b'], biases_noisy['res2a_branch2b'], 1, 1, biased=False, relu=False)
err_lyr['res2a_branch2b'] = tf.get_variable(name='res2a_branch2b_lyr_err', shape=res2a_branch2b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res2a_branch2b'] = tf.add(res2a_branch2b, err_lyr['res2a_branch2b'])
bn2a_branch2b = batch_normalization(layers_err['res2a_branch2b'], scale['bn2a_branch2b'], offset['bn2a_branch2b'], mean['bn2a_branch2b'], variance['bn2a_branch2b'])
res2a = add([bn2a_branch1, bn2a_branch2b])
err_lyr['res2a'] = tf.get_variable(name='res2a_lyr_err', shape=res2a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res2a'] = tf.add(res2a, err_lyr['res2a'])
res2a_relu = relu(layers_err['res2a'])
res2b_branch2a = conv(res2a_relu, weights_noisy['res2b_branch2a'], biases_noisy['res2b_branch2a'], 1, 1, biased=False, relu=False)
err_lyr['res2b_branch2a'] = tf.get_variable(name='res2b_branch2a_lyr_err', shape=res2b_branch2a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res2b_branch2a'] = tf.add(res2b_branch2a, err_lyr['res2b_branch2a'])
bn2b_branch2a = batch_normalization(layers_err['res2b_branch2a'], scale['bn2b_branch2a'], offset['bn2b_branch2a'], mean['bn2b_branch2a'], variance['bn2b_branch2a'], relu=True)
res2b_branch2b = conv(bn2b_branch2a, weights_noisy['res2b_branch2b'], biases_noisy['res2b_branch2b'], 1, 1, biased=False, relu=False)
err_lyr['res2b_branch2b'] = tf.get_variable(name='res2b_branch2b_lyr_err', shape=res2b_branch2b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res2b_branch2b'] = tf.add(res2b_branch2b, err_lyr['res2b_branch2b'])
bn2b_branch2b = batch_normalization(layers_err['res2b_branch2b'], scale['bn2b_branch2b'], offset['bn2b_branch2b'], mean['bn2b_branch2b'], variance['bn2b_branch2b'])
res2b = add([res2a_relu, bn2b_branch2b])
err_lyr['res2b'] = tf.get_variable(name='res2b_lyr_err', shape=res2b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res2b'] = tf.add(res2b, err_lyr['res2b'])
res2b_relu = relu(layers_err['res2b'])
res3a_branch1 = conv(res2b_relu, weights_noisy['res3a_branch1'], biases_noisy['res3a_branch1'], 2, 2, biased=False, relu=False)
err_lyr['res3a_branch1'] = tf.get_variable(name='res3a_branch1_lyr_err', shape=res3a_branch1.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res3a_branch1'] = tf.add(res3a_branch1, err_lyr['res3a_branch1'])
bn3a_branch1 = batch_normalization(layers_err['res3a_branch1'], scale['bn3a_branch1'], offset['bn3a_branch1'], mean['bn3a_branch1'], variance['bn3a_branch1'])
res3a_branch2a = conv(res2b_relu, weights_noisy['res3a_branch2a'], biases_noisy['res3a_branch2a'], 2, 2, biased=False, relu=False)
err_lyr['res3a_branch2a'] = tf.get_variable(name='res3a_branch2a_lyr_err', shape=res3a_branch2a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res3a_branch2a'] = tf.add(res3a_branch2a, err_lyr['res3a_branch2a'])
bn3a_branch2a = batch_normalization(layers_err['res3a_branch2a'], scale['bn3a_branch2a'], offset['bn3a_branch2a'], mean['bn3a_branch2a'], variance['bn3a_branch2a'], relu=True)
res3a_branch2b = conv(bn3a_branch2a, weights_noisy['res3a_branch2b'], biases_noisy['res3a_branch2b'], 1, 1, biased=False, relu=False)
err_lyr['res3a_branch2b'] = tf.get_variable(name='res3a_branch2b_lyr_err', shape=res3a_branch2b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res3a_branch2b'] = tf.add(res3a_branch2b, err_lyr['res3a_branch2b'])
bn3a_branch2b = batch_normalization(layers_err['res3a_branch2b'], scale['bn3a_branch2b'], offset['bn3a_branch2b'], mean['bn3a_branch2b'], variance['bn3a_branch2b'])
res3a = add([bn3a_branch1, bn3a_branch2b])
err_lyr['res3a'] = tf.get_variable(name='res3a_lyr_err', shape=res3a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res3a'] = tf.add(res3a, err_lyr['res3a'])
res3a_relu = relu(layers_err['res3a'])
res3b_branch2a = conv(res3a_relu, weights_noisy['res3b_branch2a'], biases_noisy['res3b_branch2a'], 1, 1, biased=False, relu=False)
err_lyr['res3b_branch2a'] = tf.get_variable(name='res3b_branch2a_lyr_err', shape=res3b_branch2a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res3b_branch2a'] = tf.add(res3b_branch2a, err_lyr['res3b_branch2a'])
bn3b_branch2a = batch_normalization(layers_err['res3b_branch2a'], scale['bn3b_branch2a'], offset['bn3b_branch2a'], mean['bn3b_branch2a'], variance['bn3b_branch2a'], relu=True)
res3b_branch2b = conv(bn3b_branch2a, weights_noisy['res3b_branch2b'], biases_noisy['res3b_branch2b'], 1, 1, biased=False, relu=False)
err_lyr['res3b_branch2b'] = tf.get_variable(name='res3b_branch2b_lyr_err', shape=res3b_branch2b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res3b_branch2b'] = tf.add(res3b_branch2b, err_lyr['res3b_branch2b'])
bn3b_branch2b = batch_normalization(layers_err['res3b_branch2b'], scale['bn3b_branch2b'], offset['bn3b_branch2b'], mean['bn3b_branch2b'], variance['bn3b_branch2b'])
res3b = add([res3a_relu, bn3b_branch2b])
err_lyr['res3b'] = tf.get_variable(name='res3b_lyr_err', shape=res3b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res3b'] = tf.add(res3b, err_lyr['res3b'])
res3b_relu = relu(layers_err['res3b'])
res4a_branch1 = conv(res3b_relu, weights_noisy['res4a_branch1'], biases_noisy['res4a_branch1'], 2, 2, biased=False, relu=False)
err_lyr['res4a_branch1'] = tf.get_variable(name='res4a_branch1_lyr_err', shape=res4a_branch1.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res4a_branch1'] = tf.add(res4a_branch1, err_lyr['res4a_branch1'])
bn4a_branch1 = batch_normalization(layers_err['res4a_branch1'], scale['bn4a_branch1'], offset['bn4a_branch1'], mean['bn4a_branch1'], variance['bn4a_branch1'])
res4a_branch2a = conv(res3b_relu, weights_noisy['res4a_branch2a'], biases_noisy['res4a_branch2a'], 2, 2, biased=False, relu=False)
err_lyr['res4a_branch2a'] = tf.get_variable(name='res4a_branch2a_lyr_err', shape=res4a_branch2a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res4a_branch2a'] = tf.add(res4a_branch2a, err_lyr['res4a_branch2a'])
bn4a_branch2a = batch_normalization(layers_err['res4a_branch2a'], scale['bn4a_branch2a'], offset['bn4a_branch2a'], mean['bn4a_branch2a'], variance['bn4a_branch2a'], relu=True)
res4a_branch2b = conv(bn4a_branch2a, weights_noisy['res4a_branch2b'], biases_noisy['res4a_branch2b'], 1, 1, biased=False, relu=False)
err_lyr['res4a_branch2b'] = tf.get_variable(name='res4a_branch2b_lyr_err', shape=res4a_branch2b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res4a_branch2b'] = tf.add(res4a_branch2b, err_lyr['res4a_branch2b'])
bn4a_branch2b = batch_normalization(layers_err['res4a_branch2b'], scale['bn4a_branch2b'], offset['bn4a_branch2b'], mean['bn4a_branch2b'], variance['bn4a_branch2b'])
res4a = add([bn4a_branch1, bn4a_branch2b])
err_lyr['res4a'] = tf.get_variable(name='res4a_lyr_err', shape=res4a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res4a'] = tf.add(res4a, err_lyr['res4a'])
res4a_relu = relu(layers_err['res4a'])
res4b_branch2a = conv(res4a_relu, weights_noisy['res4b_branch2a'], biases_noisy['res4b_branch2a'], 1, 1, biased=False, relu=False)
err_lyr['res4b_branch2a'] = tf.get_variable(name='res4b_branch2a_lyr_err', shape=res4b_branch2a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res4b_branch2a'] = tf.add(res4b_branch2a, err_lyr['res4b_branch2a'])
bn4b_branch2a = batch_normalization(layers_err['res4b_branch2a'], scale['bn4b_branch2a'], offset['bn4b_branch2a'], mean['bn4b_branch2a'], variance['bn4b_branch2a'], relu=True)
res4b_branch2b = conv(bn4b_branch2a, weights_noisy['res4b_branch2b'], biases_noisy['res4b_branch2b'], 1, 1, biased=False, relu=False)
err_lyr['res4b_branch2b'] = tf.get_variable(name='res4b_branch2b_lyr_err', shape=res4b_branch2b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res4b_branch2b'] = tf.add(res4b_branch2b, err_lyr['res4b_branch2b'])
bn4b_branch2b = batch_normalization(layers_err['res4b_branch2b'], scale['bn4b_branch2b'], offset['bn4b_branch2b'], mean['bn4b_branch2b'], variance['bn4b_branch2b'])
res4b = add([res4a_relu, bn4b_branch2b])
err_lyr['res4b'] = tf.get_variable(name='res4b_lyr_err', shape=res4b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res4b'] = tf.add(res4b, err_lyr['res4b'])
res4b_relu = relu(layers_err['res4b'])
res5a_branch1 = conv(res4b_relu, weights_noisy['res5a_branch1'], biases_noisy['res5a_branch1'], 2, 2, biased=False, relu=False)
err_lyr['res5a_branch1'] = tf.get_variable(name='res5a_branch1_lyr_err', shape=res5a_branch1.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res5a_branch1'] = tf.add(res5a_branch1, err_lyr['res5a_branch1'])
bn5a_branch1 = batch_normalization(layers_err['res5a_branch1'], scale['bn5a_branch1'], offset['bn5a_branch1'], mean['bn5a_branch1'], variance['bn5a_branch1'])
res5a_branch2a = conv(res4b_relu, weights_noisy['res5a_branch2a'], biases_noisy['res5a_branch2a'], 2, 2, biased=False, relu=False)
err_lyr['res5a_branch2a'] = tf.get_variable(name='res5a_branch2a_lyr_err', shape=res5a_branch2a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res5a_branch2a'] = tf.add(res5a_branch2a, err_lyr['res5a_branch2a'])
bn5a_branch2a = batch_normalization(layers_err['res5a_branch2a'], scale['bn5a_branch2a'], offset['bn5a_branch2a'], mean['bn5a_branch2a'], variance['bn5a_branch2a'], relu=True)
res5a_branch2b = conv(bn5a_branch2a, weights_noisy['res5a_branch2b'], biases_noisy['res5a_branch2b'], 1, 1, biased=False, relu=False)
err_lyr['res5a_branch2b'] = tf.get_variable(name='res5a_branch2b_lyr_err', shape=res5a_branch2b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res5a_branch2b'] = tf.add(res5a_branch2b, err_lyr['res5a_branch2b'])
bn5a_branch2b = batch_normalization(layers_err['res5a_branch2b'], scale['bn5a_branch2b'], offset['bn5a_branch2b'], mean['bn5a_branch2b'], variance['bn5a_branch2b'])
res5a = add([bn5a_branch1, bn5a_branch2b])
err_lyr['res5a'] = tf.get_variable(name='res5a_lyr_err', shape=res5a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res5a'] = tf.add(res5a, err_lyr['res5a'])
res5a_relu = relu(layers_err['res5a'])
res5b_branch2a = conv(res5a_relu, weights_noisy['res5b_branch2a'], biases_noisy['res5b_branch2a'], 1, 1, biased=False, relu=False)
err_lyr['res5b_branch2a'] = tf.get_variable(name='res5b_branch2a_lyr_err', shape=res5b_branch2a.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res5b_branch2a'] = tf.add(res5b_branch2a, err_lyr['res5b_branch2a'])
bn5b_branch2a = batch_normalization(layers_err['res5b_branch2a'], scale['bn5b_branch2a'], offset['bn5b_branch2a'], mean['bn5b_branch2a'], variance['bn5b_branch2a'], relu=True)
res5b_branch2b = conv(bn5b_branch2a, weights_noisy['res5b_branch2b'], biases_noisy['res5b_branch2b'], 1, 1, biased=False, relu=False)
err_lyr['res5b_branch2b'] = tf.get_variable(name='res5b_branch2b_lyr_err', shape=res5b_branch2b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res5b_branch2b'] = tf.add(res5b_branch2b, err_lyr['res5b_branch2b'])
bn5b_branch2b = batch_normalization(layers_err['res5b_branch2b'], scale['bn5b_branch2b'], offset['bn5b_branch2b'], mean['bn5b_branch2b'], variance['bn5b_branch2b'])
res5b = add([res5a_relu, bn5b_branch2b])
err_lyr['res5b'] = tf.get_variable(name='res5b_lyr_err', shape=res5b.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['res5b'] = tf.add(res5b, err_lyr['res5b'])
res5b_relu = relu(layers_err['res5b'])
pool5 = avg_pool(res5b_relu, 7, 7, 1, 1, padding='VALID')
fc1000 = fc(pool5, weights_noisy['fc1000'], biases_noisy['fc1000'], relu=False)
err_lyr['fc1000'] = tf.get_variable(name='fc1000_lyr_err', shape=fc1000.shape[1:], initializer=tf.random_normal_initializer(mean=err_mean[3], stddev=err_stddev[3]), trainable=train_vars[3])
layers_err['fc1000'] = tf.add(fc1000, err_lyr['fc1000'])
return layers_err['fc1000'], err_w, err_b, err_lyr
def resnet18(input_node, netparams):
weights, biases = netparams['weights'], netparams['biases']
mean, variance, scale, offset = netparams['mean'], netparams['variance'], netparams['scale'], netparams['offset']
#data_spec = helper.get_data_spec('resnet18')
data_spec = get_data_spec('resnet18')
conv1 = conv(input_node, weights['conv1'], biases['conv1'], 2, 2, biased=False, relu=False)
bn_conv1 = batch_normalization(conv1, scale['bn_conv1'], offset['bn_conv1'], mean['bn_conv1'], variance['bn_conv1'], relu=True)
pool1 = max_pool(bn_conv1, 3, 3, 2, 2)
res2a_branch1 = conv(pool1, weights['res2a_branch1'], biases['res2a_branch1'], 1, 1, biased=False, relu=False)
bn2a_branch1 = batch_normalization(res2a_branch1, scale['bn2a_branch1'], offset['bn2a_branch1'], mean['bn2a_branch1'], variance['bn2a_branch1'], )
res2a_branch2a = conv(pool1, weights['res2a_branch2a'], biases['res2a_branch2a'], 1, 1, biased=False, relu=False)
bn2a_branch2a = batch_normalization(res2a_branch2a, scale['bn2a_branch2a'], offset['bn2a_branch2a'], mean['bn2a_branch2a'], variance['bn2a_branch2a'], relu=True)
res2a_branch2b = conv(bn2a_branch2a, weights['res2a_branch2b'], biases['res2a_branch2b'], 1, 1, biased=False, relu=False)
bn2a_branch2b = batch_normalization(res2a_branch2b, scale['bn2a_branch2b'], offset['bn2a_branch2b'], mean['bn2a_branch2b'], variance['bn2a_branch2b'], )
res2a = add([bn2a_branch1, bn2a_branch2b])
res2a_relu = relu(res2a)
res2b_branch2a = conv(res2a_relu, weights['res2b_branch2a'], biases['res2b_branch2a'], 1, 1, biased=False, relu=False)
bn2b_branch2a = batch_normalization(res2b_branch2a, scale['bn2b_branch2a'], offset['bn2b_branch2a'], mean['bn2b_branch2a'], variance['bn2b_branch2a'], relu=True)
res2b_branch2b = conv(bn2b_branch2a, weights['res2b_branch2b'], biases['res2b_branch2b'], 1, 1, biased=False, relu=False)
bn2b_branch2b = batch_normalization(res2b_branch2b, scale['bn2b_branch2b'], offset['bn2b_branch2b'], mean['bn2b_branch2b'], variance['bn2b_branch2b'], )
res2b = add([res2a_relu, bn2b_branch2b])
res2b_relu = relu(res2b)
res3a_branch1 = conv(res2b_relu, weights['res3a_branch1'], biases['res3a_branch1'], 2, 2, biased=False, relu=False)
bn3a_branch1 = batch_normalization(res3a_branch1, scale['bn3a_branch1'], offset['bn3a_branch1'], mean['bn3a_branch1'], variance['bn3a_branch1'], )
res3a_branch2a = conv(res2b_relu, weights['res3a_branch2a'], biases['res3a_branch2a'], 2, 2, biased=False, relu=False)
bn3a_branch2a = batch_normalization(res3a_branch2a, scale['bn3a_branch2a'], offset['bn3a_branch2a'], mean['bn3a_branch2a'], variance['bn3a_branch2a'], relu=True)
res3a_branch2b = conv(bn3a_branch2a, weights['res3a_branch2b'], biases['res3a_branch2b'], 1, 1, biased=False, relu=False)
bn3a_branch2b = batch_normalization(res3a_branch2b, scale['bn3a_branch2b'], offset['bn3a_branch2b'], mean['bn3a_branch2b'], variance['bn3a_branch2b'], )
res3a = add([bn3a_branch1, bn3a_branch2b])
res3a_relu = relu(res3a)
res3b_branch2a = conv(res3a_relu, weights['res3b_branch2a'], biases['res3b_branch2a'], 1, 1, biased=False, relu=False)
bn3b_branch2a = batch_normalization(res3b_branch2a, scale['bn3b_branch2a'], offset['bn3b_branch2a'], mean['bn3b_branch2a'], variance['bn3b_branch2a'], relu=True)
res3b_branch2b = conv(bn3b_branch2a, weights['res3b_branch2b'], biases['res3b_branch2b'], 1, 1, biased=False, relu=False)
bn3b_branch2b = batch_normalization(res3b_branch2b, scale['bn3b_branch2b'], offset['bn3b_branch2b'], mean['bn3b_branch2b'], variance['bn3b_branch2b'], )
res3b = add([res3a_relu, bn3b_branch2b])
res3b_relu = relu(res3b)
res4a_branch1 = conv(res3b_relu, weights['res4a_branch1'], biases['res4a_branch1'], 2, 2, biased=False, relu=False)
bn4a_branch1 = batch_normalization(res4a_branch1, scale['bn4a_branch1'], offset['bn4a_branch1'], mean['bn4a_branch1'], variance['bn4a_branch1'], )
res4a_branch2a = conv(res3b_relu, weights['res4a_branch2a'], biases['res4a_branch2a'], 2, 2, biased=False, relu=False)
bn4a_branch2a = batch_normalization(res4a_branch2a, scale['bn4a_branch2a'], offset['bn4a_branch2a'], mean['bn4a_branch2a'], variance['bn4a_branch2a'], relu=True)
res4a_branch2b = conv(bn4a_branch2a, weights['res4a_branch2b'], biases['res4a_branch2b'], 1, 1, biased=False, relu=False)
bn4a_branch2b = batch_normalization(res4a_branch2b, scale['bn4a_branch2b'], offset['bn4a_branch2b'], mean['bn4a_branch2b'], variance['bn4a_branch2b'], )
res4a = add([bn4a_branch1, bn4a_branch2b])
res4a_relu = relu(res4a)
res4b_branch2a = conv(res4a_relu, weights['res4b_branch2a'], biases['res4b_branch2a'], 1, 1, biased=False, relu=False)
bn4b_branch2a = batch_normalization(res4b_branch2a, scale['bn4b_branch2a'], offset['bn4b_branch2a'], mean['bn4b_branch2a'], variance['bn4b_branch2a'], relu=True)
res4b_branch2b = conv(bn4b_branch2a, weights['res4b_branch2b'], biases['res4b_branch2b'], 1, 1, biased=False, relu=False)
bn4b_branch2b = batch_normalization(res4b_branch2b, scale['bn4b_branch2b'], offset['bn4b_branch2b'], mean['bn4b_branch2b'], variance['bn4b_branch2b'], )
res4b = add([res4a_relu, bn4b_branch2b])
res4b_relu = relu(res4b)
res5a_branch1 = conv(res4b_relu, weights['res5a_branch1'], biases['res5a_branch1'], 2, 2, biased=False, relu=False)
bn5a_branch1 = batch_normalization(res5a_branch1, scale['bn5a_branch1'], offset['bn5a_branch1'], mean['bn5a_branch1'], variance['bn5a_branch1'], )
res5a_branch2a = conv(res4b_relu, weights['res5a_branch2a'], biases['res5a_branch2a'], 2, 2, biased=False, relu=False)
bn5a_branch2a = batch_normalization(res5a_branch2a, scale['bn5a_branch2a'], offset['bn5a_branch2a'], mean['bn5a_branch2a'], variance['bn5a_branch2a'], relu=True)
res5a_branch2b = conv(bn5a_branch2a, weights['res5a_branch2b'], biases['res5a_branch2b'], 1, 1, biased=False, relu=False)
bn5a_branch2b = batch_normalization(res5a_branch2b, scale['bn5a_branch2b'], offset['bn5a_branch2b'], mean['bn5a_branch2b'], variance['bn5a_branch2b'], )
res5a = add([bn5a_branch1, bn5a_branch2b])
res5a_relu = relu(res5a)
res5b_branch2a = conv(res5a_relu, weights['res5b_branch2a'], biases['res5b_branch2a'], 1, 1, biased=False, relu=False)
bn5b_branch2a = batch_normalization(res5b_branch2a, scale['bn5b_branch2a'], offset['bn5b_branch2a'], mean['bn5b_branch2a'], variance['bn5b_branch2a'], relu=True)
res5b_branch2b = conv(bn5b_branch2a, weights['res5b_branch2b'], biases['res5b_branch2b'], 1, 1, biased=False, relu=False)
bn5b_branch2b = batch_normalization(res5b_branch2b, scale['bn5b_branch2b'], offset['bn5b_branch2b'], mean['bn5b_branch2b'], variance['bn5b_branch2b'], )
res5b = add([res5a_relu, bn5b_branch2b])
res5b_relu = relu(res5b)
pool5 = avg_pool(res5b_relu, 7, 7, 1, 1, padding='VALID')
fc1000 = fc(pool5, weights['fc1000'], biases['fc1000'], relu=False)
return fc1000
def resnet18_shift(input_node, netparams, shift_back):
layer_shift={}
weights, biases = netparams['weights'], netparams['biases']
mean, variance, scale, offset = netparams['mean'], netparams['variance'], netparams['scale'], netparams['offset']
#data_spec = helper.get_data_spec('resnet18')
data_spec = get_data_spec('resnet18')
conv1 = conv(input_node, weights['conv1'], biases['conv1'], 2, 2, biased=False, relu=False)
bn_conv1 = batch_normalization(conv1, scale['bn_conv1'], offset['bn_conv1'], mean['bn_conv1'], variance['bn_conv1'], relu=True)
pool1 = max_pool(bn_conv1, 3, 3, 2, 2)
res2a_branch1 = conv(pool1, weights['res2a_branch1'], biases['res2a_branch1'], 1, 1, biased=False, relu=False)
layer_shift['res2a_branch1'] = tf.divide(res2a_branch1, 2**shift_back['res2a_branch1'])
bn2a_branch1 = batch_normalization(layer_shift['res2a_branch1'], scale['bn2a_branch1'], offset['bn2a_branch1'], mean['bn2a_branch1'], variance['bn2a_branch1'], )
res2a_branch2a = conv(pool1, weights['res2a_branch2a'], biases['res2a_branch2a'], 1, 1, biased=False, relu=False)
layer_shift['res2a_branch2a'] = tf.divide(res2a_branch2a, 2**shift_back['res2a_branch2a'])
bn2a_branch2a = batch_normalization(layer_shift['res2a_branch2a'], scale['bn2a_branch2a'], offset['bn2a_branch2a'], mean['bn2a_branch2a'], variance['bn2a_branch2a'], relu=True)
#bn2a_branch2a = batch_normalization(res2a_branch2a, scale['bn2a_branch2a'], offset['bn2a_branch2a'], mean['bn2a_branch2a'], variance['bn2a_branch2a'], relu=True)
res2a_branch2b = conv(bn2a_branch2a, weights['res2a_branch2b'], biases['res2a_branch2b'], 1, 1, biased=False, relu=False)
layer_shift['res2a_branch2b'] = tf.divide(res2a_branch2b, 2**shift_back['res2a_branch2b'])
bn2a_branch2b = batch_normalization(layer_shift['res2a_branch2b'], scale['bn2a_branch2b'], offset['bn2a_branch2b'], mean['bn2a_branch2b'], variance['bn2a_branch2b'], )
res2a = add([bn2a_branch1, bn2a_branch2b])
res2a_relu = relu(res2a)
res2b_branch2a = conv(res2a_relu, weights['res2b_branch2a'], biases['res2b_branch2a'], 1, 1, biased=False, relu=False)
layer_shift['res2b_branch2a'] = tf.divide(res2b_branch2a, 2**shift_back['res2b_branch2a'])
bn2b_branch2a = batch_normalization(layer_shift['res2b_branch2a'], scale['bn2b_branch2a'], offset['bn2b_branch2a'], mean['bn2b_branch2a'], variance['bn2b_branch2a'], relu=True)
res2b_branch2b = conv(bn2b_branch2a, weights['res2b_branch2b'], biases['res2b_branch2b'], 1, 1, biased=False, relu=False)
layer_shift['res2b_branch2b'] = tf.divide(res2b_branch2b, 2**shift_back['res2b_branch2b'])
bn2b_branch2b = batch_normalization(layer_shift['res2b_branch2b'], scale['bn2b_branch2b'], offset['bn2b_branch2b'], mean['bn2b_branch2b'], variance['bn2b_branch2b'], )
res2b = add([res2a_relu, bn2b_branch2b])
res2b_relu = relu(res2b)
res3a_branch1 = conv(res2b_relu, weights['res3a_branch1'], biases['res3a_branch1'], 2, 2, biased=False, relu=False)
layer_shift['res3a_branch1'] = tf.divide(res3a_branch1, 2**shift_back['res3a_branch1'])
bn3a_branch1 = batch_normalization(layer_shift['res3a_branch1'], scale['bn3a_branch1'], offset['bn3a_branch1'], mean['bn3a_branch1'], variance['bn3a_branch1'], )
res3a_branch2a = conv(res2b_relu, weights['res3a_branch2a'], biases['res3a_branch2a'], 2, 2, biased=False, relu=False)
layer_shift['res3a_branch2a'] = tf.divide(res3a_branch2a, 2**shift_back['res3a_branch2a'])
bn3a_branch2a = batch_normalization(layer_shift['res3a_branch2a'], scale['bn3a_branch2a'], offset['bn3a_branch2a'], mean['bn3a_branch2a'], variance['bn3a_branch2a'], relu=True)
res3a_branch2b = conv(bn3a_branch2a, weights['res3a_branch2b'], biases['res3a_branch2b'], 1, 1, biased=False, relu=False)
layer_shift['res3a_branch2b'] = tf.divide(res3a_branch2b, 2**shift_back['res3a_branch2b'])
bn3a_branch2b = batch_normalization(layer_shift['res3a_branch2b'], scale['bn3a_branch2b'], offset['bn3a_branch2b'], mean['bn3a_branch2b'], variance['bn3a_branch2b'], )
res3a = add([bn3a_branch1, bn3a_branch2b])
res3a_relu = relu(res3a)
res3b_branch2a = conv(res3a_relu, weights['res3b_branch2a'], biases['res3b_branch2a'], 1, 1, biased=False, relu=False)
layer_shift['res3b_branch2a'] = tf.divide(res3b_branch2a, 2**shift_back['res3b_branch2a'])
bn3b_branch2a = batch_normalization(layer_shift['res3b_branch2a'], scale['bn3b_branch2a'], offset['bn3b_branch2a'], mean['bn3b_branch2a'], variance['bn3b_branch2a'], relu=True)
res3b_branch2b = conv(bn3b_branch2a, weights['res3b_branch2b'], biases['res3b_branch2b'], 1, 1, biased=False, relu=False)
layer_shift['res3b_branch2b'] = tf.divide(res3b_branch2b, 2**shift_back['res3b_branch2b'])
bn3b_branch2b = batch_normalization(layer_shift['res3b_branch2b'], scale['bn3b_branch2b'], offset['bn3b_branch2b'], mean['bn3b_branch2b'], variance['bn3b_branch2b'], )
res3b = add([res3a_relu, bn3b_branch2b])
res3b_relu = relu(res3b)
res4a_branch1 = conv(res3b_relu, weights['res4a_branch1'], biases['res4a_branch1'], 2, 2, biased=False, relu=False)
layer_shift['res4a_branch1'] = tf.divide(res4a_branch1, 2**shift_back['res4a_branch1'])
bn4a_branch1 = batch_normalization(layer_shift['res4a_branch1'], scale['bn4a_branch1'], offset['bn4a_branch1'], mean['bn4a_branch1'], variance['bn4a_branch1'], )
res4a_branch2a = conv(res3b_relu, weights['res4a_branch2a'], biases['res4a_branch2a'], 2, 2, biased=False, relu=False)
layer_shift['res4a_branch2a'] = tf.divide(res4a_branch2a, 2**shift_back['res4a_branch2a'])
bn4a_branch2a = batch_normalization(layer_shift['res4a_branch2a'], scale['bn4a_branch2a'], offset['bn4a_branch2a'], mean['bn4a_branch2a'], variance['bn4a_branch2a'], relu=True)
res4a_branch2b = conv(bn4a_branch2a, weights['res4a_branch2b'], biases['res4a_branch2b'], 1, 1, biased=False, relu=False)
layer_shift['res4a_branch2b'] = tf.divide(res4a_branch2b, 2**shift_back['res4a_branch2b'])
bn4a_branch2b = batch_normalization(layer_shift['res4a_branch2b'], scale['bn4a_branch2b'], offset['bn4a_branch2b'], mean['bn4a_branch2b'], variance['bn4a_branch2b'], )
res4a = add([bn4a_branch1, bn4a_branch2b])
res4a_relu = relu(res4a)
res4b_branch2a = conv(res4a_relu, weights['res4b_branch2a'], biases['res4b_branch2a'], 1, 1, biased=False, relu=False)
layer_shift['res4b_branch2a'] = tf.divide(res4b_branch2a, 2**shift_back['res4b_branch2a'])
bn4b_branch2a = batch_normalization(layer_shift['res4b_branch2a'], scale['bn4b_branch2a'], offset['bn4b_branch2a'], mean['bn4b_branch2a'], variance['bn4b_branch2a'], relu=True)
res4b_branch2b = conv(bn4b_branch2a, weights['res4b_branch2b'], biases['res4b_branch2b'], 1, 1, biased=False, relu=False)
layer_shift['res4b_branch2b'] = tf.divide(res4b_branch2b, 2**shift_back['res4b_branch2b'])
bn4b_branch2b = batch_normalization(layer_shift['res4b_branch2b'], scale['bn4b_branch2b'], offset['bn4b_branch2b'], mean['bn4b_branch2b'], variance['bn4b_branch2b'], )
res4b = add([res4a_relu, bn4b_branch2b])
res4b_relu = relu(res4b)
res5a_branch1 = conv(res4b_relu, weights['res5a_branch1'], biases['res5a_branch1'], 2, 2, biased=False, relu=False)
layer_shift['res5a_branch1'] = tf.divide(res5a_branch1, 2**shift_back['res5a_branch1'])
bn5a_branch1 = batch_normalization(layer_shift['res5a_branch1'], scale['bn5a_branch1'], offset['bn5a_branch1'], mean['bn5a_branch1'], variance['bn5a_branch1'], )
res5a_branch2a = conv(res4b_relu, weights['res5a_branch2a'], biases['res5a_branch2a'], 2, 2, biased=False, relu=False)
layer_shift['res5a_branch2a'] = tf.divide(res5a_branch2a, 2**shift_back['res5a_branch2a'])
bn5a_branch2a = batch_normalization(layer_shift['res5a_branch2a'], scale['bn5a_branch2a'], offset['bn5a_branch2a'], mean['bn5a_branch2a'], variance['bn5a_branch2a'], relu=True)
res5a_branch2b = conv(bn5a_branch2a, weights['res5a_branch2b'], biases['res5a_branch2b'], 1, 1, biased=False, relu=False)
layer_shift['res5a_branch2b'] = tf.divide(res5a_branch2b, 2**shift_back['res5a_branch2b'])
bn5a_branch2b = batch_normalization(layer_shift['res5a_branch2b'], scale['bn5a_branch2b'], offset['bn5a_branch2b'], mean['bn5a_branch2b'], variance['bn5a_branch2b'], )
res5a = add([bn5a_branch1, bn5a_branch2b])
res5a_relu = relu(res5a)
res5b_branch2a = conv(res5a_relu, weights['res5b_branch2a'], biases['res5b_branch2a'], 1, 1, biased=False, relu=False)
layer_shift['res5b_branch2a'] = tf.divide(res5b_branch2a, 2**shift_back['res5b_branch2a'])
bn5b_branch2a = batch_normalization(layer_shift['res5b_branch2a'], scale['bn5b_branch2a'], offset['bn5b_branch2a'], mean['bn5b_branch2a'], variance['bn5b_branch2a'], relu=True)
res5b_branch2b = conv(bn5b_branch2a, weights['res5b_branch2b'], biases['res5b_branch2b'], 1, 1, biased=False, relu=False)
layer_shift['res5b_branch2b'] = tf.divide(res5b_branch2b, 2**shift_back['res5b_branch2b'])
bn5b_branch2b = batch_normalization(layer_shift['res5b_branch2b'], scale['bn5b_branch2b'], offset['bn5b_branch2b'], mean['bn5b_branch2b'], variance['bn5b_branch2b'], )
res5b = add([res5a_relu, bn5b_branch2b])
res5b_relu = relu(res5b)
pool5 = avg_pool(res5b_relu, 7, 7, 1, 1, padding='VALID')
fc1000 = fc(pool5, weights['fc1000'], biases['fc1000'], relu=False)
layer_shift['fc1000'] = tf.divide(fc1000, 2**shift_back['fc1000'])
return layer_shift['fc1000']
| 102.572327
| 238
| 0.765498
| 4,527
| 32,618
| 5.190855
| 0.019439
| 0.025278
| 0.040214
| 0.053619
| 0.82195
| 0.771565
| 0.692668
| 0.675859
| 0.668114
| 0.622197
| 0
| 0.072407
| 0.075694
| 32,618
| 317
| 239
| 102.895899
| 0.707022
| 0.007634
| 0
| 0.346154
| 0
| 0
| 0.2428
| 0.013605
| 0
| 0
| 0
| 0
| 0
| 1
| 0.01049
| false
| 0
| 0.006993
| 0
| 0.027972
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 1
| 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
|
d84fa54631eb3af09f2abc2417b2a3e8d0ba7faa
| 16,102
|
py
|
Python
|
webhook.py
|
Adivise/webhook-spam
|
1c2ae66a18e191768dd8f51204d6ae7e601a4ce7
|
[
"MIT"
] | null | null | null |
webhook.py
|
Adivise/webhook-spam
|
1c2ae66a18e191768dd8f51204d6ae7e601a4ce7
|
[
"MIT"
] | null | null | null |
webhook.py
|
Adivise/webhook-spam
|
1c2ae66a18e191768dd8f51204d6ae7e601a4ce7
|
[
"MIT"
] | null | null | null |
from __future__ import unicode_literals
import os
import sys
import time
try:
import requests
except:
os.system("pip install requests")
import requests
try:
import json
except:
os.system("pip install json")
import json
try:
import ctypes
except:
os.system("pip install ctypes")
import ctypes
try:
from halo import Halo
except:
os.system("pip install halo")
from halo import Halo
try:
import discord
except:
os.system("pip install discord")
import discord
import random
try:
import asyncio
except:
os.system("pip install asyncio")
import asyncio
try:
import shutil
except:
os.system("pip install shutil")
import shutil
try:
import threading
except:
os.system("pip install threading")
import threading
try:
from datetime import datetime
except:
os.system("pip install datetime")
from datetime import datetime
try:
import base64
except:
os.system("pip install base64")
import base64
import re
try:
from win10toast import ToastNotifier
except:
os.system("pip install win10toast")
from win10toast import ToastNotifier
try:
from colorama import init, Fore, Back, Style
except:
os.system("pip install colorama")
from colorama import init, Fore, Back, Style
init(convert=True)
try:
import string
except:
os.system("pip install string")
import string
try:
from PIL import Image
except:
os.system("pip install pillow")
from PIL import Image
from discord.ext import commands
characters = string.ascii_letters + string.digits
os.system("cls")
os.system("mode 100,30")
try:
with open("settings.txt") as setup:
setup = setup.readlines()
except Exception as error:
print(f" | Did you extract me properly? Did you delete/rename settings.txt? I can't access it\n | Error : {error}")
time.sleep(10)
os._exit(0)
token = setup[0].replace('"',"").replace("TOKEN=","")
spinner = Halo(
text=' | Satan X - Loading',
spinner={
'interval': 250,
'frames': ['.', '..', '...']
}
)
spinner.start()
sooo = requests.get('https://discordapp.com/api/v8/users/@me', headers={'Authorization': token.strip()})
if sooo.status_code == 200:
spinner.succeed(' | Token valid - Starting up selfbot')
else:
spinner.stop()
os.system("cls")
print(' | Invalid token. Put a valid token in settings.txt')
try:
j = json.loads(sooo.text)
errormessage = j['message']
print(f" | Error : {errormessage}")
except:
pass
time.sleep(5)
os._exit(0)
prefix = setup[1].replace('"',"").replace("PREFIX=","")
scalic = commands.Bot(prefix.strip(), self_bot=True)
scalic.remove_command("help")
editedmessages ={}
spinner = Halo(
text=' | Satan X - Connecting',
spinner={
'interval': 250,
'frames': ['.', '..', '...']
}
)
spinner.start()
commandsdone = 0
messagessent = 0
def screen():
global commandsdone
global messagessent
global accountsinprogress
global tokensmade
global errorsoccured
global starttime
os.system("cls")
while True:
os.system("mode 100,30")
currenttime = time.time()
timedata = currenttime-starttime
hours = timedata//3600
timedata = timedata - 3600*hours
minutes = timedata//60
seconds = timedata - 60*minutes
os.system(f"title Selfbot - Running on {scalic.user.name} - Enjoy")
logo = f"""
{Fore.WHITE}Connected To : {Fore.WHITE}[{Fore.RED}{scalic.user.name}#{scalic.user.discriminator}{Fore.WHITE}]
Total Guilds : {Fore.WHITE}[{Fore.RED}{len(scalic.guilds)}{Fore.WHITE}]
Time Elapsed : {Fore.WHITE}[{Fore.RED}{'%d:%d:%d' %(hours,minutes,seconds)}{Fore.WHITE}]
"""
print(logo)
time.sleep(1)
os.system("cls")
###
@scalic.event
async def on_command_error(ctx,error):
global commandsdone
if isinstance(error, commands.CommandNotFound):
commandsdone -= 1
else:
with open(f'Log/errorlog.txt', 'a') as er:
er.write(f"[!] You said : \"{ctx.message.content}\" | Error : \"{str(error)}\"\n")
@scalic.event
async def on_connect():
global starttime
starttime = time.time()
spinner.stop()
os.system("cls")
threading.Thread(target = screen).start()
try:
f = open(f"./data/{str(scalic.user.id)}.ico",'r')
f.close()
except:
response = requests.get(scalic.user.avatar_url, stream=True)
with open(f"./data/{str(scalic.user.id)}.png", 'wb') as scalic_pfp:
shutil.copyfileobj(response.raw, scalic_pfp)
filename = f"./data/{str(scalic.user.id)}.png"
img = Image.open(filename)
img.save(f"./data/{str(scalic.user.id)}.ico",format = 'ICO', sizes=[(32,32)])
def ssspam(webhook):
global spammingdawebhookeroos
while spammingdawebhookeroos:
randcolor = random.randint(0x000000, 0xFFFFFF)
data = {
"content": "@everyone **Nuked via scalic** Body-ody-ody-ody-ody-ody-ody-ody Body-yada-yada-yada-yada-yada-yada-yada-yada weeee @@@@@@@@@@@@@@@ sksksksk\n:chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains::chains:",
"embeds": [
{
"title": "This server has been nuked via scalic nuker",
"tts": "true",
"description": "**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_\n\n**Body-ody-ody-ody-ody-ody-ody-ody**\n\n__Body-ody-ody-ody-ody-ody-ody-ody__\n\n_Body-ody-ody-ody-ody-ody-ody-ody_",
"url": "https://www.youtube.com/watch?v=X_C26M6MJiY",
"color": randcolor,
"fields": [
{
"name": "Scalic Nuker",
"value": "Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker"
},
{
"name": "Nuked by scalic Nuked by scalic",
"value": "Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker"
},
{
"name": "Scalic Nuker Scalic Nuker Scalic Nuker",
"value": ":chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains:"
},
{
"name": "eee",
"value": ":chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains: :chains:"
}
],
"author": {
"name": "Scalic",
"url": "https://avatars.githubusercontent.com/u/78554732?s=200&v=4",
"icon_url": "https://avatars.githubusercontent.com/u/78554732?s=200&v=4"
},
"footer": {
"text": "Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker Scalic Nuker",
"icon_url": "https://avatars.githubusercontent.com/u/78554732?s=200&v=4"
},
"image": {
"url": "https://avatars.githubusercontent.com/u/78554732?s=200&v=4"
},
"thumbnail": {
"url": "https://avatars.githubusercontent.com/u/78554732?s=200&v=4"
}
},
{
"url": "https://www.youtube.com/watch?v=X_C26M6MJiY",
"image": {
"url": "https://avatars.githubusercontent.com/u/78554732?s=200&v=4"
}
},
{
"url": "https://www.youtube.com/watch?v=X_C26M6MJiY",
"image": {
"url": "https://avatars.githubusercontent.com/u/78554732?s=200&v=4"
}
},
{
"url": "https://www.youtube.com/watch?v=X_C26M6MJiY",
"image": {
"url": "https://avatars.githubusercontent.com/u/78554732?s=200&v=4"
}
}
],
"username": "Scalic nuker scalic nuker - an advanced selfbot made open source on github! @@@@",
"avatar_url": "https://avatars.githubusercontent.com/u/78554732?s=200&v=4"
}
spamming = requests.post(webhook, json=data)
spammingerror = spamming.text
if spamming.status_code == 204:
pass #i might have something here later so putting pass in for now
elif "rate limited" in spammingerror.lower():
try:
j = json.loads(spammingerror)
ratelimit = j['retry_after']
timetowait = ratelimit / 1000
time.sleep(timetowait)
except:
delay = random.randint(5, 10)
time.sleep(delay)
else:
delay = random.randint(30, 60)
time.sleep(delay)
@scalic.command(aliases=['webhookfuck', 'spamwebhooks',"webhooknuke","webhooksnuke","webhooksfuck","spamwebhook","swh"])
async def webhookspam(ctx):
global spammingdawebhookeroos
try:
await ctx.message.delete()
except:
pass
spammingdawebhookeroos = True
if len(await ctx.guild.webhooks()) != 0: #nuked with existing ones too!
for webhook in await ctx.guild.webhooks():
threading.Thread(target = ssspam, args = (webhook.url,)).start()
if len(ctx.guild.text_channels) >= 50:
webhookamount = 1
else:
webhookamount = 50 / len(ctx.guild.text_channels)
webhookamount = int(webhookamount) + 1 #+1 just in case any errors idk
for i in range(webhookamount): #sooo - a bit about this. 50 webhooks can usually be made at once - it'll give you the option to make more but return "internal error" - this is an efficient way to make the correct amount of channels and get the best possible spam (multiple webhooks in one channel isnt efficient)
for channel in ctx.guild.text_channels:
try:
webhook =await channel.create_webhook(name='SATAN X DISCORD')
threading.Thread(target = ssspam, args = (webhook.url,)).start()
f = open(r'data/webhooks-'+str(ctx.guild.id)+".txt",'a')
f.write(f"{webhook.url} \n")
f.close()
except:
print (f"{Fore.RED} > Webhook Error")
@scalic.command(aliases=['stopwebhookfuck', 'webhookstop',"webhookspamstop","stopwebhooksspam","webhookspamoff","wss"])
async def stopwebhookspam(ctx):
global spammingdawebhookeroos
try:
await ctx.message.delete()
except:
pass
spammingdawebhookeroos = False
scalic.run(token.strip(), bot=False)
| 46.944606
| 1,562
| 0.640542
| 2,121
| 16,102
| 4.811881
| 0.158416
| 0.322163
| 0.477954
| 0.630218
| 0.61748
| 0.564178
| 0.55389
| 0.534098
| 0.522634
| 0.519008
| 0
| 0.016721
| 0.216309
| 16,102
| 342
| 1,563
| 47.081871
| 0.79206
| 0.02478
| 0
| 0.459459
| 0
| 0.037162
| 0.562819
| 0.153861
| 0
| 0
| 0.001019
| 0
| 0
| 1
| 0.006757
| false
| 0.013514
| 0.118243
| 0
| 0.125
| 0.016892
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
d86a9cfacf8dfcbd91bb0cddc50cd8c89e9542ff
| 112
|
py
|
Python
|
base/apps.py
|
SpenceChakabva/Django-Web-Gallery
|
37c548b23742a338ede7fe7d32d89c349644c6a1
|
[
"MIT"
] | null | null | null |
base/apps.py
|
SpenceChakabva/Django-Web-Gallery
|
37c548b23742a338ede7fe7d32d89c349644c6a1
|
[
"MIT"
] | null | null | null |
base/apps.py
|
SpenceChakabva/Django-Web-Gallery
|
37c548b23742a338ede7fe7d32d89c349644c6a1
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
# Assign name of applicationg
class BaseConfig(AppConfig):
name = 'base'
| 22.4
| 33
| 0.758929
| 14
| 112
| 6.071429
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.169643
| 112
| 5
| 34
| 22.4
| 0.913978
| 0.241071
| 0
| 0
| 0
| 0
| 0.048193
| 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
|
d86e3c693eae144ac3ff801b4e01c303fa39a4b2
| 101
|
py
|
Python
|
Python/PyLearning/test2.py
|
Navneets060/Dev
|
3a0844a98fd0609103e0fdb888f8e29144a15f22
|
[
"Apache-2.0"
] | null | null | null |
Python/PyLearning/test2.py
|
Navneets060/Dev
|
3a0844a98fd0609103e0fdb888f8e29144a15f22
|
[
"Apache-2.0"
] | null | null | null |
Python/PyLearning/test2.py
|
Navneets060/Dev
|
3a0844a98fd0609103e0fdb888f8e29144a15f22
|
[
"Apache-2.0"
] | null | null | null |
def some_function():
for i in range(4):
yield i
for i in some_function():
print(i)
| 12.625
| 25
| 0.584158
| 17
| 101
| 3.352941
| 0.588235
| 0.421053
| 0.210526
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014286
| 0.306931
| 101
| 8
| 26
| 12.625
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0
| 0
| 0.2
| 0.2
| 1
| 0
| 0
| null | 1
| 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
| 0
| 0
|
0
| 4
|
d886fac539ba3ca6b513fc61f5535e382bf053ab
| 199
|
py
|
Python
|
ki67/interfaces/predictions.py
|
jamebs/ki67
|
2de6d6ce08cd0a90a5f0c6f50dc9ca058a6fa3d1
|
[
"Apache-2.0"
] | 3
|
2021-08-11T19:11:42.000Z
|
2022-02-25T08:51:34.000Z
|
ki67/interfaces/predictions.py
|
jamebs/ki67
|
2de6d6ce08cd0a90a5f0c6f50dc9ca058a6fa3d1
|
[
"Apache-2.0"
] | null | null | null |
ki67/interfaces/predictions.py
|
jamebs/ki67
|
2de6d6ce08cd0a90a5f0c6f50dc9ca058a6fa3d1
|
[
"Apache-2.0"
] | null | null | null |
from dataclasses import dataclass
from pandas import DataFrame
from magda.module import Module
@dataclass(frozen=True)
class Predictions(Module.Interface):
uid: str
predictions: DataFrame
| 18.090909
| 36
| 0.79397
| 24
| 199
| 6.583333
| 0.625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.150754
| 199
| 10
| 37
| 19.9
| 0.934911
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.428571
| 0
| 0.857143
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
d88baceeb91bd34c9963c4c211ffef105132c47a
| 121
|
py
|
Python
|
tests/__init__.py
|
Lenders-Cooperative/ListmonkWrapper
|
130f0487ea50729623d16c79b214365a6de7678d
|
[
"BSD-3-Clause"
] | null | null | null |
tests/__init__.py
|
Lenders-Cooperative/ListmonkWrapper
|
130f0487ea50729623d16c79b214365a6de7678d
|
[
"BSD-3-Clause"
] | null | null | null |
tests/__init__.py
|
Lenders-Cooperative/ListmonkWrapper
|
130f0487ea50729623d16c79b214365a6de7678d
|
[
"BSD-3-Clause"
] | null | null | null |
#
# Created on Wed Dec 22 2021
#
# Copyright (c) 2021 Lenders Cooperative, a division of Summit Technology Group, Inc.
#
| 20.166667
| 85
| 0.727273
| 18
| 121
| 4.888889
| 0.944444
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102041
| 0.190083
| 121
| 5
| 86
| 24.2
| 0.795918
| 0.909091
| 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
|
d8d93b45af50787c8fd2909a533fc9d36e104233
| 331
|
py
|
Python
|
p28_test.py
|
alpatine/project-euler-python
|
d731d2deebff4bfb812811921f56da7b984652c0
|
[
"MIT"
] | null | null | null |
p28_test.py
|
alpatine/project-euler-python
|
d731d2deebff4bfb812811921f56da7b984652c0
|
[
"MIT"
] | null | null | null |
p28_test.py
|
alpatine/project-euler-python
|
d731d2deebff4bfb812811921f56da7b984652c0
|
[
"MIT"
] | null | null | null |
from unittest import TestCase
from p28 import p28
class P28_Test(TestCase):
def test_1(self):
self.assertEqual(p28(1), 1)
def test_2(self):
self.assertEqual(p28(2), 25)
def test_3(self):
self.assertEqual(p28(3), 101)
def test_501(self):
self.assertEqual(p28(501), 669171001)
| 20.6875
| 45
| 0.634441
| 48
| 331
| 4.270833
| 0.354167
| 0.136585
| 0.370732
| 0.429268
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.164659
| 0.247734
| 331
| 15
| 46
| 22.066667
| 0.658635
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.363636
| 1
| 0.363636
| false
| 0
| 0.181818
| 0
| 0.636364
| 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
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
d8e84e213e4017ce40b29a7ad0c436e2e620a133
| 1,042
|
py
|
Python
|
src/stripe/importer.py
|
bobwol/subscribely
|
4d6ac60358b5fe26f0c01be68f1ba063df3b1ea0
|
[
"MIT",
"BSD-3-Clause"
] | 43
|
2015-01-02T11:59:27.000Z
|
2021-06-03T18:47:09.000Z
|
src/stripe/importer.py
|
danecjensen/subscribely
|
4d6ac60358b5fe26f0c01be68f1ba063df3b1ea0
|
[
"MIT",
"BSD-3-Clause"
] | 7
|
2019-10-06T14:48:03.000Z
|
2021-09-08T01:20:06.000Z
|
virtual/lib/python3.6/site-packages/stripe/importer.py
|
LeoAmby/Galleria
|
5daaeaeedc2682af878c2e925a2131033d631333
|
[
"MIT"
] | 5
|
2017-04-17T05:07:30.000Z
|
2021-03-15T03:34:18.000Z
|
# Imports needed in setup.py and __init__.py
def import_json():
# Python 2.5 and below do not ship with json
_json_loaded = None
try:
import json
if hasattr(json, 'loads'):
return json
_json_loaded = False
except ImportError:
pass
try:
import simplejson
return simplejson
except ImportError:
if _json_loaded is None:
raise ImportError("Stripe requires a JSON library, which you do not appear to have. Please install the simplejson library. HINT: Try installing the python simplejson library via 'pip install simplejson' or 'easy_install simplejson', or contact support@stripe.com with questions.")
else:
raise ImportError("Stripe requires a JSON library with the same interface as the Python 2.6 'json' library. You appear to have a 'json' library with a different interface. Please install the simplejson library. HINT: Try installing the python simplejson library via 'pip install simplejson' or 'easy_install simplejson', or contact support@stripe.com with questions.")
| 47.363636
| 377
| 0.746641
| 149
| 1,042
| 5.134228
| 0.402685
| 0.057516
| 0.099346
| 0.078431
| 0.528105
| 0.528105
| 0.528105
| 0.418301
| 0.418301
| 0.418301
| 0
| 0.004779
| 0.196737
| 1,042
| 21
| 378
| 49.619048
| 0.9092
| 0.081574
| 0
| 0.235294
| 0
| 0.117647
| 0.645702
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.058824
| false
| 0.058824
| 0.411765
| 0
| 0.588235
| 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
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
d8eca7dffa7b8f7545524a610d4f95c9e9ac00fc
| 138
|
py
|
Python
|
myProj/myApp/admin.py
|
cs-fullstack-2019-spring/django-authentication-cw-DB225
|
3107ce7ad829312a6d534e1c585eb1a931dfc698
|
[
"Apache-2.0"
] | null | null | null |
myProj/myApp/admin.py
|
cs-fullstack-2019-spring/django-authentication-cw-DB225
|
3107ce7ad829312a6d534e1c585eb1a931dfc698
|
[
"Apache-2.0"
] | null | null | null |
myProj/myApp/admin.py
|
cs-fullstack-2019-spring/django-authentication-cw-DB225
|
3107ce7ad829312a6d534e1c585eb1a931dfc698
|
[
"Apache-2.0"
] | null | null | null |
from django.contrib import admin
from .models import FoodFitnessModel
# Register your models here.
admin.site.register(FoodFitnessModel)
| 23
| 37
| 0.833333
| 17
| 138
| 6.764706
| 0.647059
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.108696
| 138
| 5
| 38
| 27.6
| 0.934959
| 0.188406
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
d8f60e27886a4131350f5d55b186402042aaebcf
| 110
|
py
|
Python
|
pydicom_seg/typing.py
|
LeonhardFeiner/pydicom-seg
|
1b6d1fb71f98e167eac16c0032728d4c918d4bea
|
[
"MIT"
] | 54
|
2020-01-08T12:43:57.000Z
|
2022-03-18T23:56:19.000Z
|
pydicom_seg/typing.py
|
LeonhardFeiner/pydicom-seg
|
1b6d1fb71f98e167eac16c0032728d4c918d4bea
|
[
"MIT"
] | 27
|
2020-01-06T20:06:27.000Z
|
2021-12-20T11:48:09.000Z
|
pydicom_seg/typing.py
|
LeonhardFeiner/pydicom-seg
|
1b6d1fb71f98e167eac16c0032728d4c918d4bea
|
[
"MIT"
] | 9
|
2020-04-03T11:39:18.000Z
|
2021-11-18T10:34:13.000Z
|
from os import PathLike
from typing import Union
AnyStr = Union[bytes, str]
FSPath = Union[AnyStr, PathLike]
| 18.333333
| 32
| 0.772727
| 16
| 110
| 5.3125
| 0.625
| 0.258824
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.154545
| 110
| 5
| 33
| 22
| 0.913978
| 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
|
d8f8df029534d03ddc2c39540936bd22bd76171e
| 26
|
py
|
Python
|
tango_subarray/src/tests/__init__.py
|
bmort/sarch-128
|
dc81aaa00a705d5fdfac85219d78bf0bdc25f3c1
|
[
"BSD-3-Clause"
] | null | null | null |
tango_subarray/src/tests/__init__.py
|
bmort/sarch-128
|
dc81aaa00a705d5fdfac85219d78bf0bdc25f3c1
|
[
"BSD-3-Clause"
] | 4
|
2019-02-17T20:52:19.000Z
|
2019-02-18T03:45:42.000Z
|
tango_subarray/src/tests/__init__.py
|
bmort/sarch-128
|
dc81aaa00a705d5fdfac85219d78bf0bdc25f3c1
|
[
"BSD-3-Clause"
] | null | null | null |
"""Tango Master tests."""
| 13
| 25
| 0.615385
| 3
| 26
| 5.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.115385
| 26
| 1
| 26
| 26
| 0.695652
| 0.730769
| 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
|
d8fc9c6bd3cd79842432a25248cc6d23a91217da
| 155
|
py
|
Python
|
tableschema_to_template/errors.py
|
mccalluc/tableschema-to-template
|
6a206fcaf29227491259502f7a7743ca8d2a710a
|
[
"MIT"
] | 5
|
2020-12-05T18:53:54.000Z
|
2021-06-07T15:54:44.000Z
|
tableschema_to_template/errors.py
|
mccalluc/tableschema-to-template
|
6a206fcaf29227491259502f7a7743ca8d2a710a
|
[
"MIT"
] | 13
|
2020-12-01T19:20:01.000Z
|
2021-03-07T03:03:04.000Z
|
tableschema_to_template/errors.py
|
mccalluc/tableschema-to-excel-template
|
6a206fcaf29227491259502f7a7743ca8d2a710a
|
[
"MIT"
] | 2
|
2021-02-08T15:15:33.000Z
|
2021-06-07T15:55:49.000Z
|
class Ts2xlException(Exception):
'''
Used for expected errors, where the command-line tool
shouldn't show a full stack trace.
'''
pass
| 22.142857
| 57
| 0.664516
| 20
| 155
| 5.15
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.008621
| 0.251613
| 155
| 6
| 58
| 25.833333
| 0.87931
| 0.567742
| 0
| 0
| 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
|
2b19c94ddf750308ceb782e555023da0b65748a0
| 177
|
py
|
Python
|
scrapy_podcast_rss/exceptions.py
|
igarizio/scrapy-podcast-rss
|
9de335e09e28adb160fc3e57d80277eafa8aa6c1
|
[
"MIT"
] | null | null | null |
scrapy_podcast_rss/exceptions.py
|
igarizio/scrapy-podcast-rss
|
9de335e09e28adb160fc3e57d80277eafa8aa6c1
|
[
"MIT"
] | null | null | null |
scrapy_podcast_rss/exceptions.py
|
igarizio/scrapy-podcast-rss
|
9de335e09e28adb160fc3e57d80277eafa8aa6c1
|
[
"MIT"
] | null | null | null |
"""This module defines custom exceptions
"""
class InvalidItemException(Exception):
"""Exception for when the pipeline tries to process an non-supported item."""
pass
| 22.125
| 81
| 0.734463
| 21
| 177
| 6.190476
| 0.952381
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.169492
| 177
| 7
| 82
| 25.285714
| 0.884354
| 0.615819
| 0
| 0
| 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
|
2b35e046a6be30bb1c9678df43855dcf80d1d620
| 2,328
|
py
|
Python
|
src/utils/save-pretrained.py
|
zion-dup/lightning-hydra-template
|
90275e90a2395d435a8de8e6eadb749376f83d64
|
[
"MIT"
] | null | null | null |
src/utils/save-pretrained.py
|
zion-dup/lightning-hydra-template
|
90275e90a2395d435a8de8e6eadb749376f83d64
|
[
"MIT"
] | null | null | null |
src/utils/save-pretrained.py
|
zion-dup/lightning-hydra-template
|
90275e90a2395d435a8de8e6eadb749376f83d64
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
from transformers import (
BertConfig,
BertTokenizer,
BertForTokenClassification,
)
from pathlib import Path
# config = BertConfig.from_pretrained(
# 'hfl/chinese-macbert-base',
# num_labels = 4,
# # labels = ['O', ',', '。', '?'],
# id2label = {0: 'O', 1: ',', 2: '。', 3: '?'},
# label2id = {'O': 0, ',': 1, '。': 2, '?': 3},
# )
# config.save_pretrained('pretrained-models/hfl/chinese-macbert-base-4labels')
# tokenizer.save_pretrained('pretrained-models/hfl/chinese-macbert-base-tokenizer')
# print(tokenizer)
def save_pretrained(
dir: str = 'pretrained-models',
pretrained: str = 'hfl/chinese-macbert-base',
labels = ['O', ',', '。', '?'],
):
num_labels = len(labels)
target_path = Path(dir) / f'{pretrained}-{num_labels}labels'
id2label = {i: label for i, label in enumerate(labels)}
label2id = {label: i for i, label in id2label.items()}
tokenizer = BertTokenizer.from_pretrained(
pretrained,
cache_dir = Path(dir),
)
tokenizer.save_pretrained( target_path )
model = BertForTokenClassification.from_pretrained(
pretrained,
num_labels = num_labels,
id2label = id2label,
label2id = label2id,
output_hidden_states = True,
output_attentions = False,
cache_dir = Path(dir),
)
model.save_pretrained( target_path )
print(target_path)
def save_bert_pretrained(
dir: str = 'pretrained-models',
pretrained: str = 'hfl/chinese-macbert-base',
labels = ['O', ',', '。', '?'],
):
num_labels = len(labels)
target_path = Path(dir) / f'{pretrained}'
id2label = {i: label for i, label in enumerate(labels)}
label2id = {label: i for i, label in id2label.items()}
tokenizer = BertTokenizer.from_pretrained(
pretrained,
cache_dir = Path(dir),
)
tokenizer.save_pretrained(target_path)
model = BertModel.from_pretrained(
pretrained,
num_labels = num_labels,
id2label = id2label,
label2id = label2id,
output_hidden_states = True,
output_attentions = False,
cache_dir = Path(dir),
)
model.save_pretrained(target_path)
print(target_path)
if __name__ == '__main__':
from fire import Fire
Fire(save_pretrained)
| 28.390244
| 83
| 0.625
| 253
| 2,328
| 5.557312
| 0.233202
| 0.051209
| 0.060455
| 0.07468
| 0.743954
| 0.743954
| 0.743954
| 0.743954
| 0.671408
| 0.671408
| 0
| 0.014623
| 0.236254
| 2,328
| 82
| 84
| 28.390244
| 0.776153
| 0.180842
| 0
| 0.677966
| 0
| 0
| 0.074367
| 0.041667
| 0
| 0
| 0
| 0
| 0
| 1
| 0.033898
| false
| 0
| 0.050847
| 0
| 0.084746
| 0.033898
| 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
|
2b3a20241324e9f7fa57311fc3d7311d5dae0e79
| 173
|
py
|
Python
|
django_project/src/exports/apps.py
|
icrc-fdeniger/waterboard
|
10d95b15938b495f4c83c6e125cbb6a2ba41e506
|
[
"MIT"
] | 1
|
2019-01-19T09:01:48.000Z
|
2019-01-19T09:01:48.000Z
|
django_project/src/exports/apps.py
|
icrc-fdeniger/waterboard
|
10d95b15938b495f4c83c6e125cbb6a2ba41e506
|
[
"MIT"
] | 32
|
2017-12-15T14:35:17.000Z
|
2022-03-11T23:16:10.000Z
|
django_project/src/exports/apps.py
|
icrc-fdeniger/waterboard
|
10d95b15938b495f4c83c6e125cbb6a2ba41e506
|
[
"MIT"
] | 4
|
2019-02-13T07:52:05.000Z
|
2021-04-29T08:20:58.000Z
|
from __future__ import absolute_import, division, print_function, unicode_literals
from django.apps import AppConfig
class ExportsConfig(AppConfig):
name = 'exports'
| 21.625
| 82
| 0.809249
| 20
| 173
| 6.65
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.132948
| 173
| 7
| 83
| 24.714286
| 0.886667
| 0
| 0
| 0
| 0
| 0
| 0.040462
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 1
| 0.25
| 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
|
2b3c9bd42384cf4590ab8b593ace21aa35881067
| 261
|
py
|
Python
|
mmdet3d/models/model_utils/__init__.py
|
rasd3/mmdet3d_actr
|
d1c86d54f498fca166e957d249b109645ea13627
|
[
"Apache-2.0"
] | null | null | null |
mmdet3d/models/model_utils/__init__.py
|
rasd3/mmdet3d_actr
|
d1c86d54f498fca166e957d249b109645ea13627
|
[
"Apache-2.0"
] | null | null | null |
mmdet3d/models/model_utils/__init__.py
|
rasd3/mmdet3d_actr
|
d1c86d54f498fca166e957d249b109645ea13627
|
[
"Apache-2.0"
] | null | null | null |
# Copyright (c) OpenMMLab. All rights reserved.
from .transformer import GroupFree3DMHA
from .vote_module import VoteModule
from .actr import ACTR
from .pointformer import LocalTransformer
__all__ = ['VoteModule', 'GroupFree3DMHA', 'ACTR', 'LocalTransformer']
| 32.625
| 70
| 0.796935
| 28
| 261
| 7.25
| 0.571429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.008658
| 0.114943
| 261
| 7
| 71
| 37.285714
| 0.87013
| 0.172414
| 0
| 0
| 0
| 0
| 0.205607
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.8
| 0
| 0.8
| 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
|
2b5b5132d26732202b01c7f3b8587e0d2bb603ce
| 181
|
py
|
Python
|
contrib/experimental/modeswitch/setup_path.py
|
bitcraft/pyglet
|
144257c365ca85528c6a4c5bed8141e683d7a9b6
|
[
"BSD-3-Clause"
] | 15
|
2015-01-21T12:29:01.000Z
|
2018-12-09T09:17:33.000Z
|
contrib/experimental/modeswitch/setup_path.py
|
bitcraft/pyglet
|
144257c365ca85528c6a4c5bed8141e683d7a9b6
|
[
"BSD-3-Clause"
] | null | null | null |
contrib/experimental/modeswitch/setup_path.py
|
bitcraft/pyglet
|
144257c365ca85528c6a4c5bed8141e683d7a9b6
|
[
"BSD-3-Clause"
] | 9
|
2015-12-12T09:12:46.000Z
|
2021-12-26T13:29:14.000Z
|
#!/usr/bin/python
# $Id:$
import os.path
import sys
script_dir = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(script_dir, '..', '..'))
sys.path.insert(0, script_dir)
| 18.1
| 56
| 0.685083
| 30
| 181
| 3.9
| 0.5
| 0.153846
| 0.222222
| 0.239316
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.01227
| 0.099448
| 181
| 9
| 57
| 20.111111
| 0.705521
| 0.121547
| 0
| 0
| 0
| 0
| 0.025478
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 0
| 0
| 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
| 1
| 0
| 0
| 0
|
0
| 4
|
2b5b56e229d51b16a4df3bacc3d49ecca2ec2206
| 1,721
|
py
|
Python
|
terrainbento/precipitators/uniform_precipitation.py
|
alexmitchell/terrainbento
|
b8f6dd7fd9c96d3a40e0d1f8cd41b1dfe8d0b5da
|
[
"MIT"
] | 18
|
2018-03-06T01:17:12.000Z
|
2022-02-11T16:10:31.000Z
|
terrainbento/precipitators/uniform_precipitation.py
|
alexmitchell/terrainbento
|
b8f6dd7fd9c96d3a40e0d1f8cd41b1dfe8d0b5da
|
[
"MIT"
] | 105
|
2018-03-05T23:36:05.000Z
|
2021-03-22T01:31:06.000Z
|
terrainbento/precipitators/uniform_precipitation.py
|
alexmitchell/terrainbento
|
b8f6dd7fd9c96d3a40e0d1f8cd41b1dfe8d0b5da
|
[
"MIT"
] | 7
|
2018-03-13T03:46:38.000Z
|
2021-03-07T01:03:56.000Z
|
"""terrainbento **UniformPrecipitator**."""
class UniformPrecipitator(object):
"""Generate uniform precipitation.
UniformPrecipitator populates the at-node field "rainfall__flux" with a
value provided by the keyword argument ``rainfall_flux``.
To make discharge proprortional to drainage area, use the default value
of 1.
Examples
--------
>>> from landlab import RasterModelGrid
>>> from terrainbento import UniformPrecipitator
>>> grid = RasterModelGrid((5,5))
>>> precipitator = UniformPrecipitator(grid, rainfall_flux=3.4)
>>> grid.at_node["rainfall__flux"].reshape(grid.shape)
array([[ 3.4, 3.4, 3.4, 3.4, 3.4],
[ 3.4, 3.4, 3.4, 3.4, 3.4],
[ 3.4, 3.4, 3.4, 3.4, 3.4],
[ 3.4, 3.4, 3.4, 3.4, 3.4],
[ 3.4, 3.4, 3.4, 3.4, 3.4]])
>>> precipitator.run_one_step(10)
>>> grid.at_node["rainfall__flux"].reshape(grid.shape)
array([[ 3.4, 3.4, 3.4, 3.4, 3.4],
[ 3.4, 3.4, 3.4, 3.4, 3.4],
[ 3.4, 3.4, 3.4, 3.4, 3.4],
[ 3.4, 3.4, 3.4, 3.4, 3.4],
[ 3.4, 3.4, 3.4, 3.4, 3.4]])
"""
def __init__(self, grid, rainfall_flux=1.0):
"""
Parameters
----------
grid : model grid
rainfall_flux : float, optional
Rainfall flux. Default value is 1.0.
"""
self._rainfall_flux = rainfall_flux
if "rainfall__flux" not in grid.at_node:
grid.add_ones("node", "rainfall__flux")
grid.at_node["rainfall__flux"][:] = rainfall_flux
def run_one_step(self, step):
"""Run **UniformPrecipitator** forward by duration ``step``"""
pass
| 34.42
| 75
| 0.546775
| 244
| 1,721
| 3.721311
| 0.266393
| 0.112335
| 0.15859
| 0.211454
| 0.229075
| 0.204846
| 0.204846
| 0.204846
| 0.204846
| 0.204846
| 0
| 0.090244
| 0.285299
| 1,721
| 49
| 76
| 35.122449
| 0.647967
| 0.69204
| 0
| 0
| 1
| 0
| 0.127072
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0.125
| 0
| 0
| 0.375
| 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
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
2b6c6be5ab3e7f4fd9c71558b6802737b0930fc9
| 222
|
py
|
Python
|
nni/runtime/common.py
|
sky-dust-intelligence-bv/nni
|
d38359e2f56603ddd5bad00ee2bcb7b38d9a88a5
|
[
"MIT"
] | 2,305
|
2018-09-07T12:42:26.000Z
|
2019-05-06T20:14:24.000Z
|
nni/runtime/common.py
|
sky-dust-intelligence-bv/nni
|
d38359e2f56603ddd5bad00ee2bcb7b38d9a88a5
|
[
"MIT"
] | 379
|
2018-09-10T10:19:50.000Z
|
2019-05-06T18:04:46.000Z
|
nni/runtime/common.py
|
sky-dust-intelligence-bv/nni
|
d38359e2f56603ddd5bad00ee2bcb7b38d9a88a5
|
[
"MIT"
] | 314
|
2018-09-08T05:36:08.000Z
|
2019-05-06T08:48:51.000Z
|
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
_multi_phase = False
def enable_multi_phase():
global _multi_phase
_multi_phase = True
def multi_phase_enabled():
return _multi_phase
| 18.5
| 38
| 0.756757
| 29
| 222
| 5.37931
| 0.62069
| 0.384615
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.18018
| 222
| 11
| 39
| 20.181818
| 0.857143
| 0.306306
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.166667
| 0.5
| 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
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
991d8c9b292c8a326c7a897c849ddf72c6ee3d50
| 1,084
|
py
|
Python
|
test/heap_test.py
|
chrisconley/python-data-structures
|
f31bfafa25236ca4a703e37b547d60c31e0e17f0
|
[
"MIT"
] | null | null | null |
test/heap_test.py
|
chrisconley/python-data-structures
|
f31bfafa25236ca4a703e37b547d60c31e0e17f0
|
[
"MIT"
] | null | null | null |
test/heap_test.py
|
chrisconley/python-data-structures
|
f31bfafa25236ca4a703e37b547d60c31e0e17f0
|
[
"MIT"
] | null | null | null |
import unittest
from heap import MaxHeap
class MaxHeapTests(unittest.TestCase):
def test_is_empty(self):
heap = MaxHeap()
self.assertTrue(heap.is_empty())
heap = MaxHeap([1, 2])
self.assertFalse(heap.is_empty())
def test_size_after_insertion(self):
heap = MaxHeap([1, 2])
heap.insert(3)
heap.insert(4)
self.assertEqual(heap.size, 4)
def test_insert_and_del_max(self):
heap = MaxHeap([1, 2])
heap.insert(4)
heap.insert(3)
self.assertEqual(heap.size, 4)
self.assertEqual(heap.del_max(), 4)
self.assertEqual(heap.del_max(), 3)
self.assertEqual(heap.del_max(), 2)
self.assertEqual(heap.del_max(), 1)
def test_insert_and_del_max_from_algs_book(self):
heap = MaxHeap(['E', 'P', 'I', 'S', 'N', 'H', 'G', 'R', 'O', 'A'])
heap.insert('T')
self.assertEqual(heap.del_max(), 'T')
self.assertEqual(heap.del_max(), 'S')
self.assertEqual(heap.del_max(), 'R')
self.assertEqual(heap.del_max(), 'P')
| 27.1
| 74
| 0.588561
| 147
| 1,084
| 4.163265
| 0.272109
| 0.245098
| 0.310458
| 0.287582
| 0.570261
| 0.330065
| 0.088235
| 0
| 0
| 0
| 0
| 0.019704
| 0.250923
| 1,084
| 39
| 75
| 27.794872
| 0.73399
| 0
| 0
| 0.310345
| 0
| 0
| 0.013838
| 0
| 0
| 0
| 0
| 0
| 0.413793
| 1
| 0.137931
| false
| 0
| 0.068966
| 0
| 0.241379
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
9935483d7318b6d0ca8c4394621c28edeb30e52e
| 182
|
py
|
Python
|
application/__init__.py
|
DelgadGuilherme/aula-30.03
|
97f2ef904adced5b437c578546297f3ba62a9b8b
|
[
"Apache-2.0"
] | null | null | null |
application/__init__.py
|
DelgadGuilherme/aula-30.03
|
97f2ef904adced5b437c578546297f3ba62a9b8b
|
[
"Apache-2.0"
] | null | null | null |
application/__init__.py
|
DelgadGuilherme/aula-30.03
|
97f2ef904adced5b437c578546297f3ba62a9b8b
|
[
"Apache-2.0"
] | null | null | null |
from flask import Flask
import os
app = Flask(__name__,
static_folder=os.path.abspath('application/view/static'),
template_folder=os.path.abspath('application/view/templates'))
| 30.333333
| 62
| 0.785714
| 25
| 182
| 5.48
| 0.56
| 0.160584
| 0.175182
| 0.277372
| 0.49635
| 0.49635
| 0
| 0
| 0
| 0
| 0
| 0
| 0.087912
| 182
| 6
| 62
| 30.333333
| 0.825301
| 0
| 0
| 0
| 0
| 0
| 0.275281
| 0.275281
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 0
| 0
| 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
| 1
| 0
| 0
| 0
|
0
| 4
|
41d79108fbdb5a3e213054171dd5c693e29c542b
| 174
|
py
|
Python
|
photoalbum/users/admin.py
|
patya3/photoalbum
|
c38bb0bc10b099cfa889b0f378246acb8a2ce03a
|
[
"MIT"
] | null | null | null |
photoalbum/users/admin.py
|
patya3/photoalbum
|
c38bb0bc10b099cfa889b0f378246acb8a2ce03a
|
[
"MIT"
] | null | null | null |
photoalbum/users/admin.py
|
patya3/photoalbum
|
c38bb0bc10b099cfa889b0f378246acb8a2ce03a
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import User
class UsersAdmin(admin.ModelAdmin):
list_display = ('id', 'username')
admin.site.register(User, UsersAdmin)
| 17.4
| 37
| 0.752874
| 22
| 174
| 5.909091
| 0.727273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.137931
| 174
| 9
| 38
| 19.333333
| 0.866667
| 0
| 0
| 0
| 0
| 0
| 0.057471
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.8
| 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
|
41ef6a1b9378f4c5c12bbf476f519c7ff849bca3
| 32,019
|
py
|
Python
|
examples/sam/distributedtracing/python/rest_handler/app.py
|
irishgordo/newrelic-lambda-extension
|
0ce062bee9e364b9bb19e7a37a0743360ff896b2
|
[
"Apache-2.0"
] | 41
|
2020-10-12T19:49:51.000Z
|
2022-03-28T22:23:58.000Z
|
examples/sam/distributedtracing/python/rest_handler/app.py
|
irishgordo/newrelic-lambda-extension
|
0ce062bee9e364b9bb19e7a37a0743360ff896b2
|
[
"Apache-2.0"
] | 64
|
2020-11-13T19:14:18.000Z
|
2022-03-29T23:51:20.000Z
|
examples/sam/distributedtracing/python/rest_handler/app.py
|
irishgordo/newrelic-lambda-extension
|
0ce062bee9e364b9bb19e7a37a0743360ff896b2
|
[
"Apache-2.0"
] | 22
|
2020-10-14T14:18:42.000Z
|
2022-03-01T22:35:49.000Z
|
import json
import os
import uuid
# Note that neither of these dependencies needs to be packaged with your function. boto3 is part of the Lambda
# platform and newrelic is packaged with the layer
import boto3
import newrelic
QUEUE_URL = os.environ.get('QUEUE_URL')
# We're using the copy-paste style of browser agent integration here.
BROWSER_AGENT = """
<script type="text/javascript">
;window.NREUM||(NREUM={});NREUM.init={distributed_tracing:{enabled:true},privacy:{cookies_enabled:true}};
window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o||e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,n){function r(t){try{c.console&&console.log(t)}catch(e){}}var o,i=t("ee"),a=t(27),c={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(c.console=!0,o.indexOf("dev")!==-1&&(c.dev=!0),o.indexOf("nr_dev")!==-1&&(c.nrDev=!0))}catch(s){}c.nrDev&&i.on("internal-error",function(t){r(t.stack)}),c.dev&&i.on("fn-err",function(t,e,n){r(n.stack)}),c.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(c,function(t,e){return t}).join(", ")))},{}],2:[function(t,e,n){function r(t,e,n,r,c){try{l?l-=1:o(c||new UncaughtException(t,e,n),!0)}catch(u){try{i("ierr",[u,s.now(),!0])}catch(d){}}return"function"==typeof f&&f.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||"Uncaught error with no additional information",this.sourceURL=e,this.line=n}function o(t,e){var n=e?null:s.now();i("err",[t,n])}var i=t("handle"),a=t(28),c=t("ee"),s=t("loader"),u=t("gos"),f=window.onerror,d=!1,p="nr@seenError",l=0;s.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(h){"stack"in h&&(t(13),t(12),"addEventListener"in window&&t(6),s.xhrWrappable&&t(14),d=!0)}c.on("fn-start",function(t,e,n){d&&(l+=1)}),c.on("fn-err",function(t,e,n){d&&!n[p]&&(u(n,p,function(){return!0}),this.thrown=!0,o(n))}),c.on("fn-end",function(){d&&!this.thrown&&l>0&&(l-=1)}),c.on("internal-error",function(t){i("ierr",[t,s.now(),!0])})},{}],3:[function(t,e,n){t("loader").features.ins=!0},{}],4:[function(t,e,n){function r(){L++,T=g.hash,this[f]=y.now()}function o(){L--,g.hash!==T&&i(0,!0);var t=y.now();this[h]=~~this[h]+t-this[f],this[d]=t}function i(t,e){E.emit("newURL",[""+g,e])}function a(t,e){t.on(e,function(){this[e]=y.now()})}var c="-start",s="-end",u="-body",f="fn"+c,d="fn"+s,p="cb"+c,l="cb"+s,h="jsTime",m="fetch",v="addEventListener",w=window,g=w.location,y=t("loader");if(w[v]&&y.xhrWrappable){var x=t(10),b=t(11),E=t(8),R=t(6),O=t(13),N=t(7),P=t(14),M=t(9),S=t("ee"),C=S.get("tracer");t(16),y.features.spa=!0;var T,L=0;S.on(f,r),b.on(p,r),M.on(p,r),S.on(d,o),b.on(l,o),M.on(l,o),S.buffer([f,d,"xhr-done","xhr-resolved"]),R.buffer([f]),O.buffer(["setTimeout"+s,"clearTimeout"+c,f]),P.buffer([f,"new-xhr","send-xhr"+c]),N.buffer([m+c,m+"-done",m+u+c,m+u+s]),E.buffer(["newURL"]),x.buffer([f]),b.buffer(["propagate",p,l,"executor-err","resolve"+c]),C.buffer([f,"no-"+f]),M.buffer(["new-jsonp","cb-start","jsonp-error","jsonp-end"]),a(P,"send-xhr"+c),a(S,"xhr-resolved"),a(S,"xhr-done"),a(N,m+c),a(N,m+"-done"),a(M,"new-jsonp"),a(M,"jsonp-end"),a(M,"cb-start"),E.on("pushState-end",i),E.on("replaceState-end",i),w[v]("hashchange",i,!0),w[v]("load",i,!0),w[v]("popstate",function(){i(0,L>1)},!0)}},{}],5:[function(t,e,n){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t("ee"),i=t("handle"),a=t(13),c=t(12),s="learResourceTimings",u="addEventListener",f="resourcetimingbufferfull",d="bstResource",p="resource",l="-start",h="-end",m="fn"+l,v="fn"+h,w="bstTimer",g="pushState",y=t("loader");y.features.stn=!0,t(8),"addEventListener"in window&&t(6);var x=NREUM.o.EV;o.on(m,function(t,e){var n=t[0];n instanceof x&&(this.bstStart=y.now())}),o.on(v,function(t,e){var n=t[0];n instanceof x&&i("bst",[n,e,this.bstStart,y.now()])}),a.on(m,function(t,e,n){this.bstStart=y.now(),this.bstType=n}),a.on(v,function(t,e){i(w,[e,this.bstStart,y.now(),this.bstType])}),c.on(m,function(){this.bstStart=y.now()}),c.on(v,function(t,e){i(w,[e,this.bstStart,y.now(),"requestAnimationFrame"])}),o.on(g+l,function(t){this.time=y.now(),this.startPath=location.pathname+location.hash}),o.on(g+h,function(t){i("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),u in window.performance&&(window.performance["c"+s]?window.performance[u](f,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["c"+s]()},!1):window.performance[u]("webkit"+f,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["webkitC"+s]()},!1)),document[u]("scroll",r,{passive:!0}),document[u]("keypress",r,!1),document[u]("click",r,!1)}},{}],6:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(f);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){c.inPlace(t,[f,d],"-",i)}function i(t,e){return t[1]}var a=t("ee").get("events"),c=t("wrap-function")(a,!0),s=t("gos"),u=XMLHttpRequest,f="addEventListener",d="removeEventListener";e.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(u.prototype)):u.prototype.hasOwnProperty(f)&&(o(window),o(u.prototype)),a.on(f+"-start",function(t,e){var n=t[1],r=s(n,"nr@wrapped",function(){function t(){if("function"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,"function":n}[typeof n];return e?c(e,"fn-",null,e.name||"anonymous"):n});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],7:[function(t,e,n){function r(t,e,n){var r=t[e];"function"==typeof r&&(t[e]=function(){var t=i(arguments),e={};o.emit(n+"before-start",[t],e);var a;e[m]&&e[m].dt&&(a=e[m].dt);var c=r.apply(this,t);return o.emit(n+"start",[t,a],c),c.then(function(t){return o.emit(n+"end",[null,t],c),t},function(t){throw o.emit(n+"end",[t],c),t})})}var o=t("ee").get("fetch"),i=t(28),a=t(27);e.exports=o;var c=window,s="fetch-",u=s+"body-",f=["arrayBuffer","blob","json","text","formData"],d=c.Request,p=c.Response,l=c.fetch,h="prototype",m="nr@context";d&&p&&l&&(a(f,function(t,e){r(d[h],e,u),r(p[h],e,u)}),r(c,"fetch",s),o.on(s+"end",function(t,e){var n=this;if(e){var r=e.headers.get("content-length");null!==r&&(n.rxSize=r),o.emit(s+"done",[null,e],n)}else o.emit(s+"done",[t],n)}))},{}],8:[function(t,e,n){var r=t("ee").get("history"),o=t("wrap-function")(r);e.exports=r;var i=window.history&&window.history.constructor&&window.history.constructor.prototype,a=window.history;i&&i.pushState&&i.replaceState&&(a=i),o.inPlace(a,["pushState","replaceState"],"-")},{}],9:[function(t,e,n){function r(t){function e(){s.emit("jsonp-end",[],p),t.removeEventListener("load",e,!1),t.removeEventListener("error",n,!1)}function n(){s.emit("jsonp-error",[],p),s.emit("jsonp-end",[],p),t.removeEventListener("load",e,!1),t.removeEventListener("error",n,!1)}var r=t&&"string"==typeof t.nodeName&&"script"===t.nodeName.toLowerCase();if(r){var o="function"==typeof t.addEventListener;if(o){var a=i(t.src);if(a){var f=c(a),d="function"==typeof f.parent[f.key];if(d){var p={};u.inPlace(f.parent,[f.key],"cb-",p),t.addEventListener("load",e,!1),t.addEventListener("error",n,!1),s.emit("new-jsonp",[t.src],p)}}}}}function o(){return"addEventListener"in window}function i(t){var e=t.match(f);return e?e[1]:null}function a(t,e){var n=t.match(p),r=n[1],o=n[3];return o?a(o,e[r]):e[r]}function c(t){var e=t.match(d);return e&&e.length>=3?{key:e[2],parent:a(e[1],window)}:{key:t,parent:window}}var s=t("ee").get("jsonp"),u=t("wrap-function")(s);if(e.exports=s,o()){var f=/[?&](?:callback|cb)=([^&#]+)/,d=/(.*)\.([^.]+)/,p=/^(\w+)(\.|$)(.*)$/,l=["appendChild","insertBefore","replaceChild"];Node&&Node.prototype&&Node.prototype.appendChild?u.inPlace(Node.prototype,l,"dom-"):(u.inPlace(HTMLElement.prototype,l,"dom-"),u.inPlace(HTMLHeadElement.prototype,l,"dom-"),u.inPlace(HTMLBodyElement.prototype,l,"dom-")),s.on("dom-start",function(t){r(t[0])})}},{}],10:[function(t,e,n){var r=t("ee").get("mutation"),o=t("wrap-function")(r),i=NREUM.o.MO;e.exports=r,i&&(window.MutationObserver=function(t){return this instanceof i?new i(o(t,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype)},{}],11:[function(t,e,n){function r(t){var e=i.context(),n=c(t,"executor-",e,null,!1),r=new u(n);return i.context(r).getCtx=function(){return e},r}var o=t("wrap-function"),i=t("ee").get("promise"),a=t("ee").getOrSetContext,c=o(i),s=t(27),u=NREUM.o.PR;e.exports=i,u&&(window.Promise=r,["all","race"].forEach(function(t){var e=u[t];u[t]=function(n){function r(t){return function(){i.emit("propagate",[null,!o],a,!1,!1),o=o||!t}}var o=!1;s(n,function(e,n){Promise.resolve(n).then(r("all"===t),r(!1))});var a=e.apply(u,arguments),c=u.resolve(a);return c}}),["resolve","reject"].forEach(function(t){var e=u[t];u[t]=function(t){var n=e.apply(u,arguments);return t!==n&&i.emit("propagate",[t,!0],n,!1,!1),n}}),u.prototype["catch"]=function(t){return this.then(null,t)},u.prototype=Object.create(u.prototype,{constructor:{value:r}}),s(Object.getOwnPropertyNames(u),function(t,e){try{r[e]=u[e]}catch(n){}}),o.wrapInPlace(u.prototype,"then",function(t){return function(){var e=this,n=o.argsToArray.apply(this,arguments),r=a(e);r.promise=e,n[0]=c(n[0],"cb-",r,null,!1),n[1]=c(n[1],"cb-",r,null,!1);var s=t.apply(this,n);return r.nextPromise=s,i.emit("propagate",[e,!0],s,!1,!1),s}}),i.on("executor-start",function(t){t[0]=c(t[0],"resolve-",this,null,!1),t[1]=c(t[1],"resolve-",this,null,!1)}),i.on("executor-err",function(t,e,n){t[1](n)}),i.on("cb-end",function(t,e,n){i.emit("propagate",[n,!0],this.nextPromise,!1,!1)}),i.on("propagate",function(t,e,n){this.getCtx&&!e||(this.getCtx=function(){if(t instanceof Promise)var e=i.context(t);return e&&e.getCtx?e.getCtx():this})}),r.toString=function(){return""+u})},{}],12:[function(t,e,n){var r=t("ee").get("raf"),o=t("wrap-function")(r),i="equestAnimationFrame";e.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],13:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],"fn-",null,n)}function o(t,e,n){this.method=n,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],"fn-",this,n)}var i=t("ee").get("timer"),a=t("wrap-function")(i),c="setTimeout",s="setInterval",u="clearTimeout",f="-start",d="-";e.exports=i,a.inPlace(window,[c,"setImmediate"],c+d),a.inPlace(window,[s],s+d),a.inPlace(window,[u,"clearImmediate"],u+d),i.on(s+f,r),i.on(c+f,o)},{}],14:[function(t,e,n){function r(t,e){d.inPlace(e,["onreadystatechange"],"fn-",c)}function o(){var t=this,e=f.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,f.emit("xhr-resolved",[],t)),d.inPlace(t,g,"fn-",c)}function i(t){y.push(t),h&&(b?b.then(a):v?v(a):(E=-E,R.data=E))}function a(){for(var t=0;t<y.length;t++)r([],y[t]);y.length&&(y=[])}function c(t,e){return e}function s(t,e){for(var n in t)e[n]=t[n];return e}t(6);var u=t("ee"),f=u.get("xhr"),d=t("wrap-function")(f),p=NREUM.o,l=p.XHR,h=p.MO,m=p.PR,v=p.SI,w="readystatechange",g=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],y=[];e.exports=f;var x=window.XMLHttpRequest=function(t){var e=new l(t);try{f.emit("new-xhr",[e],e),e.addEventListener(w,o,!1)}catch(n){try{f.emit("internal-error",[n])}catch(r){}}return e};if(s(l,x),x.prototype=l.prototype,d.inPlace(x.prototype,["open","send"],"-xhr-",c),f.on("send-xhr-start",function(t,e){r(t,e),i(e)}),f.on("open-xhr-start",r),h){var b=m&&m.resolve();if(!v&&!m){var E=1,R=document.createTextNode(E);new h(a).observe(R,{characterData:!0})}}else u.on("fn-end",function(t){t[0]&&t[0].type===w||a()})},{}],15:[function(t,e,n){function r(t){if(!c(t))return null;var e=window.NREUM;if(!e.loader_config)return null;var n=(e.loader_config.accountID||"").toString()||null,r=(e.loader_config.agentID||"").toString()||null,u=(e.loader_config.trustKey||"").toString()||null;if(!n||!r)return null;var h=l.generateSpanId(),m=l.generateTraceId(),v=Date.now(),w={spanId:h,traceId:m,timestamp:v};return(t.sameOrigin||s(t)&&p())&&(w.traceContextParentHeader=o(h,m),w.traceContextStateHeader=i(h,v,n,r,u)),(t.sameOrigin&&!f()||!t.sameOrigin&&s(t)&&d())&&(w.newrelicHeader=a(h,m,v,n,r,u)),w}function o(t,e){return"00-"+e+"-"+t+"-01"}function i(t,e,n,r,o){var i=0,a="",c=1,s="",u="";return o+"@nr="+i+"-"+c+"-"+n+"-"+r+"-"+t+"-"+a+"-"+s+"-"+u+"-"+e}function a(t,e,n,r,o,i){var a="btoa"in window&&"function"==typeof window.btoa;if(!a)return null;var c={v:[0,1],d:{ty:"Browser",ac:r,ap:o,id:t,tr:e,ti:n}};return i&&r!==i&&(c.d.tk=i),btoa(JSON.stringify(c))}function c(t){return u()&&s(t)}function s(t){var e=!1,n={};if("init"in NREUM&&"distributed_tracing"in NREUM.init&&(n=NREUM.init.distributed_tracing),t.sameOrigin)e=!0;else if(n.allowed_origins instanceof Array)for(var r=0;r<n.allowed_origins.length;r++){var o=h(n.allowed_origins[r]);if(t.hostname===o.hostname&&t.protocol===o.protocol&&t.port===o.port){e=!0;break}}return e}function u(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&!!NREUM.init.distributed_tracing.enabled}function f(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&!!NREUM.init.distributed_tracing.exclude_newrelic_header}function d(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&NREUM.init.distributed_tracing.cors_use_newrelic_header!==!1}function p(){return"init"in NREUM&&"distributed_tracing"in NREUM.init&&!!NREUM.init.distributed_tracing.cors_use_tracecontext_headers}var l=t(24),h=t(17);e.exports={generateTracePayload:r,shouldGenerateTrace:c}},{}],16:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<p;r++)t.removeEventListener(d[r],this.listener,!1);e.aborted||(n.duration=a.now()-this.startTime,this.loadCaptureCalled||4!==t.readyState?null==e.status&&(e.status=0):i(this,t),n.cbTime=this.cbTime,f.emit("xhr-done",[t],t),c("xhr",[e,n,this.startTime]))}}function o(t,e){var n=s(e),r=t.params;r.host=n.hostname+":"+n.port,r.pathname=n.pathname,t.parsedOrigin=s(e),t.sameOrigin=t.parsedOrigin.sameOrigin}function i(t,e){t.params.status=e.status;var n=v(e,t.lastSize);if(n&&(t.metrics.rxSize=n),t.sameOrigin){var r=e.getResponseHeader("X-NewRelic-App-Data");r&&(t.params.cat=r.split(", ").pop())}t.loadCaptureCalled=!0}var a=t("loader");if(a.xhrWrappable){var c=t("handle"),s=t(17),u=t(15).generateTracePayload,f=t("ee"),d=["load","error","abort","timeout"],p=d.length,l=t("id"),h=t(21),m=t(20),v=t(18),w=window.XMLHttpRequest;a.features.xhr=!0,t(14),t(7),f.on("new-xhr",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,e.loadCaptureCalled=!1,t.addEventListener("load",function(n){i(e,t)},!1),h&&(h>34||h<10)||window.opera||t.addEventListener("progress",function(t){e.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},o(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,e){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid);var n=u(this.parsedOrigin);if(n){var r=!1;n.newrelicHeader&&(e.setRequestHeader("newrelic",n.newrelicHeader),r=!0),n.traceContextParentHeader&&(e.setRequestHeader("traceparent",n.traceContextParentHeader),n.traceContextStateHeader&&e.setRequestHeader("tracestate",n.traceContextStateHeader),r=!0),r&&(this.dt=n)}}),f.on("send-xhr-start",function(t,e){var n=this.metrics,r=t[0],o=this;if(n&&r){var i=m(r);i&&(n.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"!==t.type||o.loadCaptureCalled||(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof e.onload))&&o.end(e)}catch(n){try{f.emit("internal-error",[n])}catch(r){}}};for(var c=0;c<p;c++)e.addEventListener(d[c],this.listener,!1)}),f.on("xhr-cb-time",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof n.onload||this.end(n)}),f.on("xhr-load-added",function(t,e){var n=""+l(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,e){var n=""+l(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,e){e instanceof w&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],e)}),f.on("removeEventListener-end",function(t,e){e instanceof w&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],e)}),f.on("fn-start",function(t,e,n){e instanceof w&&("onload"===n&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),f.on("fn-end",function(t,e){this.xhrCbStart&&f.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,e],e)}),f.on("fetch-before-start",function(t){function e(t,e){var n=!1;return e.newrelicHeader&&(t.set("newrelic",e.newrelicHeader),n=!0),e.traceContextParentHeader&&(t.set("traceparent",e.traceContextParentHeader),e.traceContextStateHeader&&t.set("tracestate",e.traceContextStateHeader),n=!0),n}var n,r=t[1]||{};"string"==typeof t[0]?n=t[0]:t[0]&&t[0].url?n=t[0].url:window.URL&&t[0]&&t[0]instanceof URL&&(n=t[0].href),n&&(this.parsedOrigin=s(n),this.sameOrigin=this.parsedOrigin.sameOrigin);var o=u(this.parsedOrigin);if(o&&(o.newrelicHeader||o.traceContextParentHeader))if("string"==typeof t[0]||window.URL&&t[0]&&t[0]instanceof URL){var i={};for(var a in r)i[a]=r[a];i.headers=new Headers(r.headers||{}),e(i.headers,o)&&(this.dt=o),t.length>1?t[1]=i:t.push(i)}else t[0]&&t[0].headers&&e(t[0].headers,o)&&(this.dt=o)})}},{}],17:[function(t,e,n){var r={};e.exports=function(t){if(t in r)return r[t];var e=document.createElement("a"),n=window.location,o={};e.href=t,o.port=e.port;var i=e.href.split("://");!o.port&&i[1]&&(o.port=i[1].split("/")[0].split("@").pop().split(":")[1]),o.port&&"0"!==o.port||(o.port="https"===i[0]?"443":"80"),o.hostname=e.hostname||n.hostname,o.pathname=e.pathname,o.protocol=i[0],"/"!==o.pathname.charAt(0)&&(o.pathname="/"+o.pathname);var a=!e.protocol||":"===e.protocol||e.protocol===n.protocol,c=e.hostname===document.domain&&e.port===n.port;return o.sameOrigin=a&&(!e.hostname||c),"/"===o.pathname&&(r[t]=o),o}},{}],18:[function(t,e,n){function r(t,e){var n=t.responseType;return"json"===n&&null!==e?e:"arraybuffer"===n||"blob"===n||"json"===n?o(t.response):"text"===n||""===n||void 0===n?o(t.responseText):void 0}var o=t(20);e.exports=r},{}],19:[function(t,e,n){function r(){}function o(t,e,n){return function(){return i(t,[u.now()].concat(c(arguments)),e?null:this,n),e?void 0:this}}var i=t("handle"),a=t(27),c=t(28),s=t("ee").get("tracer"),u=t("loader"),f=NREUM;"undefined"==typeof window.newrelic&&(newrelic=f);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],p="api-",l=p+"ixn-";a(d,function(t,e){f[e]=o(p+e,!0,"api")}),f.addPageAction=o(p+"addPageAction",!0),f.setCurrentRouteName=o(p+"routeName",!0),e.exports=newrelic,f.interaction=function(){return(new r).get()};var h=r.prototype={createTracer:function(t,e){var n={},r=this,o="function"==typeof e;return i(l+"tracer",[u.now(),t,n],r),function(){if(s.emit((o?"":"no-")+"fn-start",[u.now(),r,o],n),o)try{return e.apply(this,arguments)}catch(t){throw s.emit("fn-err",[arguments,this,t],n),t}finally{s.emit("fn-end",[u.now()],n)}}}};a("actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,e){h[e]=o(l+e)}),newrelic.noticeError=function(t,e){"string"==typeof t&&(t=new Error(t)),i("err",[t,u.now(),!1,e])}},{}],20:[function(t,e,n){e.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],21:[function(t,e,n){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),e.exports=r},{}],22:[function(t,e,n){function r(){return c.exists&&performance.now?Math.round(performance.now()):(i=Math.max((new Date).getTime(),i))-a}function o(){return i}var i=(new Date).getTime(),a=i,c=t(29);e.exports=r,e.exports.offset=a,e.exports.getLastTimestamp=o},{}],23:[function(t,e,n){function r(t,e){var n=t.getEntries();n.forEach(function(t){"first-paint"===t.name?d("timing",["fp",Math.floor(t.startTime)]):"first-contentful-paint"===t.name&&d("timing",["fcp",Math.floor(t.startTime)])})}function o(t,e){var n=t.getEntries();n.length>0&&d("lcp",[n[n.length-1]])}function i(t){t.getEntries().forEach(function(t){t.hadRecentInput||d("cls",[t])})}function a(t){if(t instanceof h&&!v){var e=Math.round(t.timeStamp),n={type:t.type};e<=p.now()?n.fid=p.now()-e:e>p.offset&&e<=Date.now()?(e-=p.offset,n.fid=p.now()-e):e=p.now(),v=!0,d("timing",["fi",e,n])}}function c(t){d("pageHide",[p.now(),t])}if(!("init"in NREUM&&"page_view_timing"in NREUM.init&&"enabled"in NREUM.init.page_view_timing&&NREUM.init.page_view_timing.enabled===!1)){var s,u,f,d=t("handle"),p=t("loader"),l=t(26),h=NREUM.o.EV;if("PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver){s=new PerformanceObserver(r);try{s.observe({entryTypes:["paint"]})}catch(m){}u=new PerformanceObserver(o);try{u.observe({entryTypes:["largest-contentful-paint"]})}catch(m){}f=new PerformanceObserver(i);try{f.observe({type:"layout-shift",buffered:!0})}catch(m){}}if("addEventListener"in document){var v=!1,w=["click","keydown","mousedown","pointerdown","touchstart"];w.forEach(function(t){document.addEventListener(t,a,!1)})}l(c)}},{}],24:[function(t,e,n){function r(){function t(){return e?15&e[n++]:16*Math.random()|0}var e=null,n=0,r=window.crypto||window.msCrypto;r&&r.getRandomValues&&(e=r.getRandomValues(new Uint8Array(31)));for(var o,i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",a="",c=0;c<i.length;c++)o=i[c],"x"===o?a+=t().toString(16):"y"===o?(o=3&t()|8,a+=o.toString(16)):a+=o;return a}function o(){return a(16)}function i(){return a(32)}function a(t){function e(){return n?15&n[r++]:16*Math.random()|0}var n=null,r=0,o=window.crypto||window.msCrypto;o&&o.getRandomValues&&Uint8Array&&(n=o.getRandomValues(new Uint8Array(31)));for(var i=[],a=0;a<t;a++)i.push(e().toString(16));return i.join("")}e.exports={generateUuid:r,generateSpanId:o,generateTraceId:i}},{}],25:[function(t,e,n){function r(t,e){if(!o)return!1;if(t!==o)return!1;if(!e)return!0;if(!i)return!1;for(var n=i.split("."),r=e.split("."),a=0;a<r.length;a++)if(r[a]!==n[a])return!1;return!0}var o=null,i=null,a=/Version\/(\S+)\s+Safari/;if(navigator.userAgent){var c=navigator.userAgent,s=c.match(a);s&&c.indexOf("Chrome")===-1&&c.indexOf("Chromium")===-1&&(o="Safari",i=s[1])}e.exports={agent:o,version:i,match:r}},{}],26:[function(t,e,n){function r(t){function e(){t(a&&document[a]?document[a]:document[o]?"hidden":"visible")}"addEventListener"in document&&i&&document.addEventListener(i,e,!1)}e.exports=r;var o,i,a;"undefined"!=typeof document.hidden?(o="hidden",i="visibilitychange",a="visibilityState"):"undefined"!=typeof document.msHidden?(o="msHidden",i="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(o="webkitHidden",i="webkitvisibilitychange",a="webkitVisibilityState")},{}],27:[function(t,e,n){function r(t,e){var n=[],r="",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],28:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o<0?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=r},{}],29:[function(t,e,n){e.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],ee:[function(t,e,n){function r(){}function o(t){function e(t){return t&&t instanceof r?t:t?u(t,s,a):a()}function n(n,r,o,i,a){if(a!==!1&&(a=!0),!l.aborted||i){t&&a&&t(n,r,o);for(var c=e(o),s=m(n),u=s.length,f=0;f<u;f++)s[f].apply(c,r);var p=d[y[n]];return p&&p.push([x,n,r,c]),c}}function i(t,e){g[t]=m(t).concat(e)}function h(t,e){var n=g[t];if(n)for(var r=0;r<n.length;r++)n[r]===e&&n.splice(r,1)}function m(t){return g[t]||[]}function v(t){return p[t]=p[t]||o(n)}function w(t,e){f(t,function(t,n){e=e||"feature",y[n]=e,e in d||(d[e]=[])})}var g={},y={},x={on:i,addEventListener:i,removeEventListener:h,emit:n,get:v,listeners:m,context:e,buffer:w,abort:c,aborted:!1};return x}function i(t){return u(t,s,a)}function a(){return new r}function c(){(d.api||d.feature)&&(l.aborted=!0,d=l.backlog={})}var s="nr@context",u=t("gos"),f=t(27),d={},p={},l=e.exports=o();e.exports.getOrSetContext=i,l.backlog=d},{}],gos:[function(t,e,n){function r(t,e,n){if(o.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[e]=r,r}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){o.buffer([t],r),o.emit(t,e,n)}var o=t("ee").get("handle");e.exports=r,r.ee=o},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!b++){var t=x.info=NREUM.info,e=p.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return u.abort();s(g,function(e,n){t[e]||(t[e]=n)});var n=a();c("mark",["onload",n+x.offset],null,"api"),c("timing",["load",n]);var r=p.createElement("script");r.src="https://"+t.agent,e.parentNode.insertBefore(r,e)}}function o(){"complete"===p.readyState&&i()}function i(){c("mark",["domContent",a()+x.offset],null,"api")}var a=t(22),c=t("handle"),s=t(27),u=t("ee"),f=t(25),d=window,p=d.document,l="addEventListener",h="attachEvent",m=d.XMLHttpRequest,v=m&&m.prototype;NREUM.o={ST:setTimeout,SI:d.setImmediate,CT:clearTimeout,XHR:m,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};var w=""+location,g={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-spa-1198.min.js"},y=m&&v&&v[l]&&!/CriOS/.test(navigator.userAgent),x=e.exports={offset:a.getLastTimestamp(),now:a,origin:w,features:{},xhrWrappable:y,userAgent:f};t(19),t(23),p[l]?(p[l]("DOMContentLoaded",i,!1),d[l]("load",r,!1)):(p[h]("onreadystatechange",o),d[h]("onload",r)),c("mark",["firstbyte",a.getLastTimestamp()],null,"api");var b=0},{}],"wrap-function":[function(t,e,n){function r(t,e){function n(e,n,r,s,u){function nrWrapper(){var i,a,f,p;try{a=this,i=d(arguments),f="function"==typeof r?r(i,a):r||{}}catch(l){o([l,"",[i,a,s],f],t)}c(n+"start",[i,a,s],f,u);try{return p=e.apply(a,i)}catch(h){throw c(n+"err",[i,a,h],f,u),h}finally{c(n+"end",[i,a,p],f,u)}}return a(e)?e:(n||(n=""),nrWrapper[p]=e,i(e,nrWrapper,t),nrWrapper)}function r(t,e,r,o,i){r||(r="");var c,s,u,f="-"===r.charAt(0);for(u=0;u<e.length;u++)s=e[u],c=t[s],a(c)||(t[s]=n(c,f?s+r:r,o,s,i))}function c(n,r,i,a){if(!h||e){var c=h;h=!0;try{t.emit(n,r,i,e,a)}catch(s){o([s,n,r,i],t)}h=c}}return t||(t=f),n.inPlace=r,n.flag=p,n}function o(t,e){e||(e=f);try{e.emit("internal-error",t)}catch(n){}}function i(t,e,n){if(Object.defineProperty&&Object.keys)try{var r=Object.keys(t);return r.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(i){o([i],n)}for(var a in t)l.call(t,a)&&(e[a]=t[a]);return e}function a(t){return!(t&&t instanceof Function&&t.apply&&!t[p])}function c(t,e){var n=e(t);return n[p]=t,i(t,n,f),n}function s(t,e,n){var r=t[e];t[e]=c(r,n)}function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;++n)e[n]=arguments[n];return e}var f=t("ee"),d=t(28),p="nr@original",l=Object.prototype.hasOwnProperty,h=!1;e.exports=r,e.exports.wrapFunction=c,e.exports.wrapInPlace=s,e.exports.argsToArray=u},{}]},{},["loader",2,16,5,3,4]);
;NREUM.loader_config={accountID:"2516823",trustKey:"1",agentID:"448453776",licenseKey:"cbedb2b964",applicationID:"448453776"}
;NREUM.info={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",licenseKey:"cbedb2b964",applicationID:"448453776",sa:1}
</script>
"""
# This string literal is our response to GET requests. It's probably best to manage static resources differently,
# such as by using an S3 bucket. But this approach keeps the example simple.
GET_RESPONSE = """
<html>
<head>
<title>NRDT Demo App</title>
""" + BROWSER_AGENT + """
</head>
<body>
<form id="post_me" name="post_me" method="POST" action="">
<label for="message">Message</label>
<input id="message" name="message" type="text" value="Hello world" />
<button type="submit" name="submit">Submit</button>
</form>
<div id="output" style="white-space: pre-wrap; font-family: monospace;">
</div>
<script>
const formElem = document.getElementById("post_me");
const messageElem = document.getElementById("message");
formElem.addEventListener("submit", (ev) => {
newrelic.interaction()
.setName("submitMessage")
.save();
fetch(location.href, {
"method": "POST",
"body": messageElem.value
})
.then(resp => resp.text())
.then(body => {
document.getElementById("output").innerText = body;
});
ev.preventDefault();
});
</script>
</body>
</html>
"""
def nr_trace_context_json():
"""Generate a distributed trace context as a JSON document"""
# The Python agent expects a list as an out-param
dt_headers = []
newrelic.agent.insert_distributed_trace_headers(headers=dt_headers)
# At this point, dt_headers is a list of tuples. We first convert it to a dict, then serialize as a JSON object.
# The resulting string can be used as a SQS message attribute string value.
return json.dumps(dict(dt_headers))
def nr_trace_context_sqs_attributes():
dt_headers = []
newrelic.agent.insert_distributed_trace_headers(headers=dt_headers)
# An alternative implementation that avoids a layer of JSON encoding,
# but requires more complex decoding on the receiving side
return {
k: {
'DataType': 'String',
'StringValue': v
}
for (k, v) in dt_headers
}
def make_sqs_entry(message):
"""Creates an SQS message, with a trace context header."""
return {
'Id': str(uuid.uuid1()),
'MessageBody': message,
'MessageAttributes': {
"NRDT": {
'DataType': 'String',
'StringValue': nr_trace_context_json()
}
}
}
def send_sqs_messages(messages):
"""Turn a list of strings into a batch of SQS messages"""
# Get the SQS client
sqs = boto3.client("sqs")
# Construct the message entries for our batch, with their Distributed Trace Context headers
entries = list(map(make_sqs_entry, messages))
return sqs.send_message_batch(
QueueUrl=QUEUE_URL,
Entries=entries
)
def lambda_handler(event, context):
if event['httpMethod'] == 'GET':
# For our example, we return a static HTML page in response to GET requests
return {
"statusCode": 200,
"headers": {
"Content-Type": "text/html"
},
"isBase64Encoded": False,
"body": GET_RESPONSE
}
elif event['httpMethod'] == 'POST':
# Handle POST requests by splitting the post body into words, and sending each as an SQS message
words = event['body'].split()
send_status = send_sqs_messages(words)
# Returns the raw batch status. A real application would want to process the API response.
return {
"statusCode": 200,
"headers": {
"Content-Type": "application/json"
},
"isBase64Encoded": False,
"body": json.dumps(send_status),
}
| 233.715328
| 27,506
| 0.662544
| 6,053
| 32,019
| 3.488849
| 0.107054
| 0.011744
| 0.031726
| 0.02344
| 0.184771
| 0.134719
| 0.111753
| 0.095653
| 0.079648
| 0.063074
| 0
| 0.015715
| 0.048065
| 32,019
| 136
| 27,507
| 235.433824
| 0.677133
| 0.04057
| 0
| 0.215686
| 0
| 0.04902
| 0.946302
| 0.837602
| 0
| 0
| 0
| 0
| 0
| 1
| 0.04902
| false
| 0.009804
| 0.04902
| 0
| 0.156863
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
5110bedc14693e0d93d833f467bab05536cf87f6
| 174
|
py
|
Python
|
timg/methods/method.py
|
adzierzanowski/timg
|
9486c7510df7c8de7c99226e62f60909ab5131c9
|
[
"MIT"
] | 14
|
2019-09-07T05:18:46.000Z
|
2022-01-02T11:42:51.000Z
|
timg/methods/method.py
|
adzierzanowski/timg
|
9486c7510df7c8de7c99226e62f60909ab5131c9
|
[
"MIT"
] | 2
|
2021-01-06T09:50:04.000Z
|
2021-06-16T14:40:17.000Z
|
timg/methods/method.py
|
adzierzanowski/timg
|
9486c7510df7c8de7c99226e62f60909ab5131c9
|
[
"MIT"
] | 4
|
2021-01-05T11:33:34.000Z
|
2022-02-22T02:40:44.000Z
|
class RenderMethod:
def __init__(self, image):
self.image = image
def to_string(self):
raise NotImplementedError('Renderer::to_string() should be implemented!')
| 24.857143
| 77
| 0.729885
| 21
| 174
| 5.761905
| 0.666667
| 0.14876
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16092
| 174
| 6
| 78
| 29
| 0.828767
| 0
| 0
| 0
| 0
| 0
| 0.252874
| 0.12069
| 0
| 0
| 0
| 0
| 0
| 1
| 0.4
| false
| 0
| 0
| 0
| 0.6
| 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
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
512a9faf2e029908bead52a9d0204da41b8cbd0d
| 408
|
py
|
Python
|
deals/admin.py
|
NumanIbnMazid/invoice_management
|
0ff60ad529f3b5702d1f3e31d152b39239f629af
|
[
"MIT"
] | null | null | null |
deals/admin.py
|
NumanIbnMazid/invoice_management
|
0ff60ad529f3b5702d1f3e31d152b39239f629af
|
[
"MIT"
] | null | null | null |
deals/admin.py
|
NumanIbnMazid/invoice_management
|
0ff60ad529f3b5702d1f3e31d152b39239f629af
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from utils.mixins import CustomModelAdminMixin
from .models import Coupon, Vat
class CouponAdmin(CustomModelAdminMixin, admin.ModelAdmin):
pass
class Meta:
model = Coupon
admin.site.register(Coupon, CouponAdmin)
class VatAdmin(CustomModelAdminMixin, admin.ModelAdmin):
pass
class Meta:
model = Vat
admin.site.register(Vat, VatAdmin)
| 17
| 59
| 0.742647
| 45
| 408
| 6.733333
| 0.444444
| 0.171617
| 0.237624
| 0.264026
| 0.356436
| 0.356436
| 0.356436
| 0
| 0
| 0
| 0
| 0
| 0.188725
| 408
| 23
| 60
| 17.73913
| 0.915408
| 0
| 0
| 0.307692
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.153846
| 0.230769
| 0
| 0.538462
| 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
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
51310be6ec7baccf671394cbd22f89f589fc5414
| 109
|
py
|
Python
|
app/views/icones_view.py
|
olivierpons/evalr
|
7c76474ad41769804965a11550501321d7b1889b
|
[
"MIT"
] | null | null | null |
app/views/icones_view.py
|
olivierpons/evalr
|
7c76474ad41769804965a11550501321d7b1889b
|
[
"MIT"
] | null | null | null |
app/views/icones_view.py
|
olivierpons/evalr
|
7c76474ad41769804965a11550501321d7b1889b
|
[
"MIT"
] | null | null | null |
from django.views import generic
class IconesView(generic.TemplateView):
template_name = 'icones.html'
| 18.166667
| 39
| 0.779817
| 13
| 109
| 6.461538
| 0.923077
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.137615
| 109
| 5
| 40
| 21.8
| 0.893617
| 0
| 0
| 0
| 0
| 0
| 0.100917
| 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
|
5ab32b8ca73af24746e65c804ded8f85894b3781
| 188
|
py
|
Python
|
setup.py
|
FragmentedCurve/ImageMarker
|
5de3491c1b7195c14515fe5e0bedd5d28eceff50
|
[
"MIT"
] | null | null | null |
setup.py
|
FragmentedCurve/ImageMarker
|
5de3491c1b7195c14515fe5e0bedd5d28eceff50
|
[
"MIT"
] | 1
|
2021-06-08T20:44:42.000Z
|
2021-06-08T20:44:42.000Z
|
setup.py
|
FragmentedCurve/ImageMarker
|
5de3491c1b7195c14515fe5e0bedd5d28eceff50
|
[
"MIT"
] | null | null | null |
from setuptools import setup
setup(
name='ImageMarker',
#version='git',
scripts=['ImageMarker.py'],
entry_points={'console_scripts': ['ImageMarker = ImageMarker:main']}
)
| 20.888889
| 72
| 0.680851
| 19
| 188
| 6.631579
| 0.736842
| 0.285714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.159574
| 188
| 8
| 73
| 23.5
| 0.797468
| 0.074468
| 0
| 0
| 0
| 0
| 0.404624
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.166667
| 0
| 0.166667
| 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
|
5abf0c7a8cc9a412680e61c5242321c1a0e7ab5f
| 270
|
py
|
Python
|
python/app/crud/utils.py
|
lokhiufung/bookshelf-backend
|
fb34aea726404bd65d7c736afb16abdb2fc424a5
|
[
"Apache-2.0"
] | null | null | null |
python/app/crud/utils.py
|
lokhiufung/bookshelf-backend
|
fb34aea726404bd65d7c736afb16abdb2fc424a5
|
[
"Apache-2.0"
] | null | null | null |
python/app/crud/utils.py
|
lokhiufung/bookshelf-backend
|
fb34aea726404bd65d7c736afb16abdb2fc424a5
|
[
"Apache-2.0"
] | null | null | null |
from fastapi.encoders import jsonable_encoder
from fastapi.responses import JSONResponse
from pydantic import BaseModel
def create_aliased_response(model: BaseModel) -> JSONResponse:
return JSONResponse(content=jsonable_encoder(
model, by_alias=True
))
| 30
| 62
| 0.8
| 31
| 270
| 6.806452
| 0.645161
| 0.104265
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.144444
| 270
| 9
| 63
| 30
| 0.91342
| 0
| 0
| 0
| 0
| 0
| 0
| 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
|
5acf44f33419d3b8101e2d5a04696c52b121d755
| 99
|
py
|
Python
|
src/kandidaturen/apps.py
|
Sumarbrander/Stura-Mitgliederdatenbank
|
691dbd33683b2c2d408efe7a3eb28e083ebcd62a
|
[
"MIT"
] | 1
|
2021-12-20T20:15:26.000Z
|
2021-12-20T20:15:26.000Z
|
src/kandidaturen/apps.py
|
Sumarbrander/Stura-Mitgliederdatenbank
|
691dbd33683b2c2d408efe7a3eb28e083ebcd62a
|
[
"MIT"
] | null | null | null |
src/kandidaturen/apps.py
|
Sumarbrander/Stura-Mitgliederdatenbank
|
691dbd33683b2c2d408efe7a3eb28e083ebcd62a
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class KandidaturenConfig(AppConfig):
name = 'kandidaturen'
| 16.5
| 36
| 0.777778
| 10
| 99
| 7.7
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.151515
| 99
| 5
| 37
| 19.8
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0.121212
| 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
|
5add95f1c534d4177d922e0219eee9c34b7962ac
| 97
|
py
|
Python
|
Website/OperatorApp/apps.py
|
uofg-cs20/oti-operator
|
76aaeb021280dfb40bfc8cf04b2636c85b48ff48
|
[
"Apache-2.0"
] | null | null | null |
Website/OperatorApp/apps.py
|
uofg-cs20/oti-operator
|
76aaeb021280dfb40bfc8cf04b2636c85b48ff48
|
[
"Apache-2.0"
] | null | null | null |
Website/OperatorApp/apps.py
|
uofg-cs20/oti-operator
|
76aaeb021280dfb40bfc8cf04b2636c85b48ff48
|
[
"Apache-2.0"
] | null | null | null |
from django.apps import AppConfig
class OperatorappConfig(AppConfig):
name = 'OperatorApp'
| 16.166667
| 35
| 0.773196
| 10
| 97
| 7.5
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.154639
| 97
| 5
| 36
| 19.4
| 0.914634
| 0
| 0
| 0
| 0
| 0
| 0.113402
| 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
|
85084d31da37f5c36e3814866617ee5ff279887e
| 125
|
py
|
Python
|
pynsett/examples/start_server.py
|
fractalego/python-nlulite
|
982b780adedebf2c8a1e119f0f8b46ae72a9c384
|
[
"MIT"
] | 26
|
2019-01-12T21:52:36.000Z
|
2022-03-30T11:28:52.000Z
|
pynsett/examples/start_server.py
|
fractalego/python-nlulite
|
982b780adedebf2c8a1e119f0f8b46ae72a9c384
|
[
"MIT"
] | 2
|
2022-02-04T12:03:10.000Z
|
2022-02-09T13:24:07.000Z
|
pynsett/examples/start_server.py
|
fractalego/python-nlulite
|
982b780adedebf2c8a1e119f0f8b46ae72a9c384
|
[
"MIT"
] | 3
|
2019-08-18T18:45:48.000Z
|
2022-02-04T11:39:38.000Z
|
from pynsett.server import pynsett_app
if __name__ == '__main__':
pynsett_app.run(debug=True, port=4001, host='0.0.0.0')
| 31.25
| 58
| 0.728
| 21
| 125
| 3.857143
| 0.714286
| 0.074074
| 0.074074
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.072727
| 0.12
| 125
| 4
| 58
| 31.25
| 0.663636
| 0
| 0
| 0
| 0
| 0
| 0.119048
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 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
|
851fb0a3b774d744c0c8b5733a13b3c0f8cae04a
| 61
|
py
|
Python
|
add_credentials.py
|
dweissma/qpy
|
2933eb1bfd873bbc7bb6dd79674c4f7e4ffd6bcb
|
[
"MIT"
] | 2
|
2019-08-07T03:20:54.000Z
|
2019-08-14T01:10:22.000Z
|
add_credentials.py
|
dweissma/qpy
|
2933eb1bfd873bbc7bb6dd79674c4f7e4ffd6bcb
|
[
"MIT"
] | null | null | null |
add_credentials.py
|
dweissma/qpy
|
2933eb1bfd873bbc7bb6dd79674c4f7e4ffd6bcb
|
[
"MIT"
] | null | null | null |
from qiskit import IBMQ
IBMQ.save_account("YOUR TOKEN HERE")
| 20.333333
| 36
| 0.803279
| 10
| 61
| 4.8
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.114754
| 61
| 3
| 36
| 20.333333
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0.241935
| 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
|
517306da0fe8d449584954f62297341f88892872
| 2,102
|
py
|
Python
|
t3cpo/wrapper/bots.py
|
mMeijden/three3cpo
|
8bbcddc467e48136c41cce66ef4115203f4f3b58
|
[
"MIT"
] | 6
|
2021-05-18T21:08:46.000Z
|
2022-02-26T18:47:16.000Z
|
t3cpo/wrapper/bots.py
|
mMeijden/three3cpo
|
8bbcddc467e48136c41cce66ef4115203f4f3b58
|
[
"MIT"
] | 1
|
2021-08-02T16:55:09.000Z
|
2021-08-09T08:43:28.000Z
|
t3cpo/wrapper/bots.py
|
mMeijden/three3cpo
|
8bbcddc467e48136c41cce66ef4115203f4f3b58
|
[
"MIT"
] | null | null | null |
from t3cpo.wrapper.api import Api
class BotsApi(Api):
def __init__(self, key, secret):
super().__init__(key, secret)
self.relative_base = '/public/api/ver1/bots'
def bot_info(self, bot_id: int, params=None):
return self.invoke('GET', f'{self.relative_base}/{bot_id}/show', params=params).json()
def strategy_list(self, params=None):
return self.invoke('GET', f'{self.relative_base}/strategy_list', params=params).json()
def pairs_blacklist(self):
return self.invoke('GET', f'{self.relative_base}/pairs_black_list').json()
def update_pairs_blacklist(self, params):
return self.invoke('POST', f'{self.relative_base}/update_pairs_black_list', params=params).json()
def create_bot(self, params):
return self.invoke('POST', f'{self.relative_base}/create_bot', params=params).json()
def edit_bot(self, bot_id: int, params):
return self.invoke('POST', f'{self.relative_base}/{bot_id}/update', params=params).json()
def delete_bot(self, bot_id: int):
return self.invoke('POST', f'{self.relative_base}/{bot_id}/delete').json()
def disable_bot(self, bot_id: int):
return self.invoke('POST', f'{self.relative_base}/{bot_id}/disable').json()
def enable_bot(self, bot_id: int):
return self.invoke('POST', f'{self.relative_base}/{bot_id}/enable').json()
def list_bots(self, params=None):
return self.invoke('GET', f'{self.relative_base}', params=params).json()
def start_new_deal_asap(self, bot_id: int, params=None):
return self.invoke('POST', f'{self.relative_base}/{bot_id}/start_new_deal', params=params).json()
def list_bots_stats(self, params=None):
return self.invoke('GET', f'{self.relative_base}/stats', params=params).json()
def panic_sell_all_deals_for_bot(self, bot_id: int):
return self.invoke('POST', f'{self.relative_base}/{bot_id}/panic_sell_all_deals').json()
def cancel_all_deals_for_bot(self, bot_id: int):
return self.invoke('POST', f'{self.relative_base}/{bot_id}/cancel_all_deals').json()
| 41.215686
| 105
| 0.683159
| 314
| 2,102
| 4.324841
| 0.16879
| 0.05891
| 0.17673
| 0.175258
| 0.606038
| 0.561119
| 0.557437
| 0.557437
| 0.530928
| 0.501473
| 0
| 0.001124
| 0.153187
| 2,102
| 50
| 106
| 42.04
| 0.761798
| 0
| 0
| 0
| 0
| 0
| 0.277355
| 0.243578
| 0
| 0
| 0
| 0
| 0
| 1
| 0.454545
| false
| 0
| 0.030303
| 0.424242
| 0.939394
| 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
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
51c5db94737054d33c0b97fd1bfb6cc60da77fd5
| 193
|
py
|
Python
|
rest_framework_security/periodic_password_change/models.py
|
RubenEu/django-rest-framework-security
|
638cf271c51a5bafd434a6b6a9c25a7c4849b485
|
[
"MIT"
] | 7
|
2020-09-01T09:55:25.000Z
|
2021-11-04T06:59:04.000Z
|
rest_framework_security/periodic_password_change/models.py
|
RubenEu/django-rest-framework-security
|
638cf271c51a5bafd434a6b6a9c25a7c4849b485
|
[
"MIT"
] | 32
|
2020-10-28T17:09:18.000Z
|
2022-03-12T00:55:09.000Z
|
rest_framework_security/periodic_password_change/models.py
|
RubenEu/django-rest-framework-security
|
638cf271c51a5bafd434a6b6a9c25a7c4849b485
|
[
"MIT"
] | 2
|
2020-12-18T01:26:53.000Z
|
2021-11-04T06:59:07.000Z
|
from django.db import models
class PeriodicPasswordChangeSettingsBase(models.Model):
require_change_password = models.BooleanField(default=False)
class Meta:
abstract = True
| 21.444444
| 64
| 0.766839
| 20
| 193
| 7.3
| 0.85
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.170984
| 193
| 8
| 65
| 24.125
| 0.9125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.4
| 0.2
| 0
| 0.8
| 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
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
51cffc46f30ff0c57a76ae3eb46d9b69b16abd16
| 1,347
|
py
|
Python
|
isl/datasets/cifar.py
|
HenryLee97/isl
|
0eb357bd45c5ce3ab3ef060deb84707975049d37
|
[
"MIT"
] | 2
|
2021-12-14T10:43:53.000Z
|
2021-12-14T12:46:50.000Z
|
isl/datasets/cifar.py
|
HenryLee97/isl
|
0eb357bd45c5ce3ab3ef060deb84707975049d37
|
[
"MIT"
] | null | null | null |
isl/datasets/cifar.py
|
HenryLee97/isl
|
0eb357bd45c5ce3ab3ef060deb84707975049d37
|
[
"MIT"
] | null | null | null |
from torchvision import datasets
from torchvision.transforms import Compose
from torchvision.transforms import ToTensor
from torchvision.transforms import Normalize
from isl.datasets.dataset import Dataset
class CIFAR10(Dataset):
def __init__(self, *args, **kwargs) -> None:
super(CIFAR10, self).__init__(*args, **kwargs)
transform = Compose([ToTensor(), Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))])
self._train = datasets.CIFAR10(self._cache_dir, train=True, transform=transform, download=self._download)
self._test = datasets.CIFAR10(self._cache_dir, train=False, transform=transform, download=False)
self._n_class = len(self._train.classes)
self._n_train = len(self._train)
self._n_test = len(self._test)
class CIFAR100(Dataset):
def __init__(self, *args, **kwargs) -> None:
super(CIFAR100, self).__init__(*args, **kwargs)
transform = Compose([ToTensor(), Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))])
self._train = datasets.CIFAR100(self._cache_dir, train=True, transform=transform, download=self._download)
self._test = datasets.CIFAR100(self._cache_dir, train=False, transform=transform, download=False)
self._n_class = len(self._train.classes)
self._n_train = len(self._train)
self._n_test = len(self._test)
| 38.485714
| 114
| 0.691166
| 179
| 1,347
| 4.932961
| 0.184358
| 0.02718
| 0.033975
| 0.0453
| 0.749717
| 0.749717
| 0.715742
| 0.715742
| 0.631937
| 0.631937
| 0
| 0.039497
| 0.172977
| 1,347
| 34
| 115
| 39.617647
| 0.753142
| 0
| 0
| 0.434783
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.086957
| false
| 0
| 0.217391
| 0
| 0.391304
| 0
| 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.