This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import aff3ct | |
import numpy as np | |
def test_turbo(info_len=64): | |
codeword_len = (2 * info_len) + 12 | |
punc_pattern = [[1, ], [1, ], [1, ]] | |
punc_pattern = [[1, 1], [1, 0], [0, 1, ]] | |
print('Turbo encoder') | |
tenc = aff3ct.TurboEncoderLTE(info_len, codeword_len, punc_pattern) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import numpy as np | |
import matplotlib.pyplot as plt | |
np.set_printoptions(threshold=np.inf) | |
def main(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""Plot Constellation and animate it.""" | |
from PySide6.QtWidgets import ( | |
QWidget, | |
QLabel, | |
QGridLayout, | |
QApplication, | |
QMainWindow, | |
QSlider, | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
╰─ ctest --output-on-failure ✔ 20:23:23 | |
Test project /tmp/gnuradio/build | |
Start 1: qa_volk_16i_32fc_dot_prod_32fc | |
1/341 Test #1: qa_volk_16i_32fc_dot_prod_32fc ..................... Passed 0.01 sec | |
Start 2: qa_volk_16i_branch_4_state_8 | |
2/341 Test #2: qa_volk_16i_branch_4_state_8 ....................... Passed 0.00 sec | |
Start 3: qa_volk_16i_convert_8i | |
3/341 Test #3: qa_volk_16i_convert_8i ............................. Passed 0.00 sec | |
Start 4: qa_volk_16i_max_star_16i | |
4/341 Test #4: qa_volk_16i_max_star_16i ........................... Passed 0.00 sec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6b71e34253038b278faf348c2d70a274707df4aa Mon Sep 17 00:00:00 2001 | |
From: Andrej Rode <[email protected]> | |
Date: Tue, 13 Feb 2018 22:34:22 +0100 | |
Subject: [PATCH] iwyu run | |
--- | |
apps/volk-config-info.cc | 11 +++++++---- | |
apps/volk_option_helpers.cc | 4 +++- | |
apps/volk_profile.cc | 28 +++++++++++++++------------- | |
apps/volk_profile.h | 7 +++++++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /usr/share/cmake/Modules/UseSWIG.cmake 2017-11-10 13:28:57.000000000 +0100 | |
+++ UseSWIG.cmake 2018-02-11 19:11:08.853784864 +0100 | |
@@ -1,64 +1,42 @@ | |
-# Distributed under the OSI-approved BSD 3-Clause License. See accompanying | |
-# file Copyright.txt or https://cmake.org/licensing for details. | |
- | |
-#.rst: | |
-# UseSWIG | |
-# ------- | |
-# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyWorker(worker.Worker): | |
def __init__(self, name, properties, *args, **kwargs): | |
password = "mybuildbot", | |
super(MyWorker, self).__init__(name, password, *args, **kwargs) | |
class MyLatentWorker(worker.DockerLatentWorker): | |
def __init__(self, name, image, properties, *args, **kwargs): | |
password = "mybuildbot" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Linux":{ | |
"Ubuntu_16_04_64":{ | |
"image": "my_image:16.04", | |
"properties":{ | |
"tasks": ["build"] | |
}, | |
"workers": 3 | |
}, | |
"Ubuntu_14_04_64":{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- subproc.monitor_process(['emerge',"--quiet-build y","--ask n", cmd, '"'+pkgname+'"'], elevate=True, shell=True ) | |
+ subproc.monitor_process(['emerge',"--quiet-build y --ask n", cmd, pkgname], elevate=True, shell=True ) | |
Exception in thread Thread-1: | |
Traceback (most recent call last): | |
File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner | |
self.run() | |
File "/usr/lib64/python2.7/threading.py", line 763, in run | |
self.__target(*self.__args, **self.__kwargs) | |
File "/usr/lib64/python2.7/site-packages/PyBOMBS-2.0.1-py2.7.egg/pybombs/utils/subproc.py", line 145, in _process_thread |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PyBombs.ConfigManager - DEBUG - Reading config info from file: /etc/pybombs/config.yml | |
PyBombs.ConfigManager - DEBUG - New config items: {} | |
PyBombs.ConfigManager - DEBUG - Reading config info from file: /home/andrej/.pybombs/config.yml | |
PyBombs.ConfigManager - DEBUG - New config items: {'default_prefix': 'default', 'cmakebuildtype': 'RelWithDebInfo', 'cc': '/usr/lib/ccache/bin/cc', 'makewidth': 4, 'packagers': 'pip,cmd', 'gituser': 'noc0lour', 'satisfy_order': 'src', 'cxx': '/usr/lib/ccache/bin/c++', 'prefix': '/home/andrej/Projekte/pybombs', 'builddocs': False, 'timeout': 30} | |
PyBombs.ConfigManager - DEBUG - Template directory: /usr/lib64/python2.7/site-packages/PyBOMBS-2.0.1-py2.7.egg/pybombs/templates | |
PyBombs.ConfigManager.PrefixInfo - DEBUG - Inspecting config file: /etc/pybombs/config.yml | |
PyBombs.ConfigManager.PrefixInfo - DEBUG - Inspecting config file: /home/andrej/.pybombs/config.yml | |
PyBombs.ConfigManager.PrefixInfo - DEBUG - Resolving prefix alias default. | |
PyBombs.ConfigManager.PrefixInfo - DEBUG - Usi |