code stringlengths 1 1.49M | vector listlengths 0 7.38k | snippet listlengths 0 7.38k |
|---|---|---|
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.5,
0.0333,
0,
0.66,
0,
878,
0,
1,
0,
0,
878,
0,
0
],
[
1,
0,
0.5333,
0.0333,
0,
0.66,
0.5,
154,
0,
1,
0,
0,
154,
0,
0
],
[
2,
0,
0.8333,
0.3667,
0,
0.66,
... | [
"import inspect",
"import hashlib",
"def start_cpp(hash_str = None):\n \"\"\"This method does two things - firstly it adds the correct line numbers to scipy.weave code (Good for debugging) and secondly it can optionaly inserts a hash code of some other code into the code. This latter feature is useful for work... |
# -*- coding: utf-8 -*-
# Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.).
import cv
import numpy as np
def cv2array(im):
"""Converts a cv array to a numpy array."""
depth2dtype = {
cv.IPL_... | [
[
1,
0,
0.1296,
0.0185,
0,
0.66,
0,
492,
0,
1,
0,
0,
492,
0,
0
],
[
1,
0,
0.1481,
0.0185,
0,
0.66,
0.3333,
954,
0,
1,
0,
0,
954,
0,
0
],
[
2,
0,
0.3889,
0.3519,
0,
... | [
"import cv",
"import numpy as np",
"def cv2array(im):\n \"\"\"Converts a cv array to a numpy array.\"\"\"\n depth2dtype = {\n cv.IPL_DEPTH_8U: 'uint8',\n cv.IPL_DEPTH_8S: 'int8',\n cv.IPL_DEPTH_16U: 'uint16',\n cv.IPL_DEPTH_16S: 'int16',\n cv.IPL_DEPTH_32S: 'int32',",
" \... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.1456,
0.0097,
0,
0.66,
0,
901,
0,
1,
0,
0,
901,
0,
0
],
[
1,
0,
0.1553,
0.0097,
0,
0.66,
0.1111,
99,
0,
1,
0,
0,
99,
0,
0
],
[
1,
0,
0.1748,
0.0097,
0,
0.... | [
"import multiprocessing as mp",
"import multiprocessing.synchronize # To make sure we have all the functionality.",
"import types",
"import marshal",
"import unittest",
"def repeat(x):\n \"\"\"A generator that repeats the input forever - can be used with the mp_map function to give data to a function tha... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.1875,
0.0125,
0,
0.66,
0,
972,
0,
1,
0,
0,
972,
0,
0
],
[
1,
0,
0.2,
0.0125,
0,
0.66,
0.5,
884,
0,
1,
0,
0,
884,
0,
0
],
[
14,
0,
0.6312,
0.75,
0,
0.66,
... | [
"from utils.start_cpp import start_cpp",
"from utils.numpy_help_cpp import numpy_util_code",
"python_obj_code = numpy_util_code + start_cpp() + \"\"\"\n#ifndef PYTHON_OBJ_CODE\n#define PYTHON_OBJ_CODE\n\n// Extracts a boolean from an object...\nbool GetObjectBoolean(PyObject * obj, const char * name)\n{\n PyObj... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.1923,
0.0128,
0,
0.66,
0,
972,
0,
1,
0,
0,
972,
0,
0
],
[
14,
0,
0.6282,
0.7564,
0,
0.66,
1,
799,
4,
0,
0,
0,
0,
0,
1
]
] | [
"from utils.start_cpp import start_cpp",
"numpy_util_code = start_cpp() + \"\"\"\n#ifndef NUMPY_UTIL_CODE\n#define NUMPY_UTIL_CODE\n\nfloat & Float1D(PyArrayObject * arr, int index = 0)\n{\n return *(float*)(arr->data + index*arr->strides[0]);\n}"
] |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.2941,
0.0196,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.3137,
0.0196,
0,
0.66,
0.5,
654,
0,
1,
0,
0,
654,
0,
0
],
[
3,
0,
0.6863,
0.6078,
0,
0.6... | [
"import sys",
"import time",
"class ProgBar:\n \"\"\"Simple console progress bar class. Note that object creation and destruction matter, as they indicate when processing starts and when it stops.\"\"\"\n def __init__(self, width = 60, onCallback = None):\n self.start = time.time()\n self.fill = 0\n ... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.5,
0.0333,
0,
0.66,
0,
878,
0,
1,
0,
0,
878,
0,
0
],
[
1,
0,
0.5333,
0.0333,
0,
0.66,
0.5,
154,
0,
1,
0,
0,
154,
0,
0
],
[
2,
0,
0.8333,
0.3667,
0,
0.66,
... | [
"import inspect",
"import hashlib",
"def start_cpp(hash_str = None):\n \"\"\"This method does two things - firstly it adds the correct line numbers to scipy.weave code (Good for debugging) and secondly it can optionaly inserts a hash code of some other code into the code. This latter feature is useful for work... |
# -*- coding: utf-8 -*-
# Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.).
import cv
import numpy as np
def cv2array(im):
"""Converts a cv array to a numpy array."""
depth2dtype = {
cv.IPL_... | [
[
1,
0,
0.1296,
0.0185,
0,
0.66,
0,
492,
0,
1,
0,
0,
492,
0,
0
],
[
1,
0,
0.1481,
0.0185,
0,
0.66,
0.3333,
954,
0,
1,
0,
0,
954,
0,
0
],
[
2,
0,
0.3889,
0.3519,
0,
... | [
"import cv",
"import numpy as np",
"def cv2array(im):\n \"\"\"Converts a cv array to a numpy array.\"\"\"\n depth2dtype = {\n cv.IPL_DEPTH_8U: 'uint8',\n cv.IPL_DEPTH_8S: 'int8',\n cv.IPL_DEPTH_16U: 'uint16',\n cv.IPL_DEPTH_16S: 'int16',\n cv.IPL_DEPTH_32S: 'int32',",
" \... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.1456,
0.0097,
0,
0.66,
0,
901,
0,
1,
0,
0,
901,
0,
0
],
[
1,
0,
0.1553,
0.0097,
0,
0.66,
0.1111,
99,
0,
1,
0,
0,
99,
0,
0
],
[
1,
0,
0.1748,
0.0097,
0,
0.... | [
"import multiprocessing as mp",
"import multiprocessing.synchronize # To make sure we have all the functionality.",
"import types",
"import marshal",
"import unittest",
"def repeat(x):\n \"\"\"A generator that repeats the input forever - can be used with the mp_map function to give data to a function tha... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.1875,
0.0125,
0,
0.66,
0,
972,
0,
1,
0,
0,
972,
0,
0
],
[
1,
0,
0.2,
0.0125,
0,
0.66,
0.5,
884,
0,
1,
0,
0,
884,
0,
0
],
[
14,
0,
0.6312,
0.75,
0,
0.66,
... | [
"from utils.start_cpp import start_cpp",
"from utils.numpy_help_cpp import numpy_util_code",
"python_obj_code = numpy_util_code + start_cpp() + \"\"\"\n#ifndef PYTHON_OBJ_CODE\n#define PYTHON_OBJ_CODE\n\n// Extracts a boolean from an object...\nbool GetObjectBoolean(PyObject * obj, const char * name)\n{\n PyObj... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.1923,
0.0128,
0,
0.66,
0,
972,
0,
1,
0,
0,
972,
0,
0
],
[
14,
0,
0.6282,
0.7564,
0,
0.66,
1,
799,
4,
0,
0,
0,
0,
0,
1
]
] | [
"from utils.start_cpp import start_cpp",
"numpy_util_code = start_cpp() + \"\"\"\n#ifndef NUMPY_UTIL_CODE\n#define NUMPY_UTIL_CODE\n\nfloat & Float1D(PyArrayObject * arr, int index = 0)\n{\n return *(float*)(arr->data + index*arr->strides[0]);\n}"
] |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.74,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.32,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.44,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.39,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.27,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.33,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.28,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.74,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.1,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.24,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.99,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.74,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.99,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.43,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.04,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.35,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.79,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.63,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.09,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.9,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.07,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.03,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.98,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.48,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.31,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.15,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.59,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.51,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.18,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.49,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.68,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.19,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.39,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.41,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.43,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.68,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.53,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.33,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.47,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.2051,
0.0128,
0,
0.66,
0,
192,
0,
1,
0,
0,
192,
0,
0
],
[
1,
0,
0.2179,
0.0128,
0,
0.66,
0.0345,
905,
0,
1,
0,
0,
905,
0,
0
],
[
1,
0,
0.2308,
0.0128,
0,
... | [
"import cvarray",
"import mp_map",
"import numpy_help_cpp",
"import prog_bar",
"import python_obj_cpp",
"import setProcName",
"import start_cpp",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('utils.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Ut... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyrig... | [
[
1,
0,
0.3636,
0.0227,
0,
0.66,
0,
182,
0,
1,
0,
0,
182,
0,
0
],
[
2,
0,
0.5682,
0.25,
0,
0.66,
0.5,
903,
0,
1,
0,
0,
0,
0,
9
],
[
8,
1,
0.4773,
0.0227,
1,
0.44,
... | [
"from ctypes import *",
"def setProcName(name):\n \"\"\"Sets the process name, linux only - useful for those programs where you might want to do a killall, but don't want to slaughter all the other python processes. Note that there are multiple mechanisms, and that the given new name can be shortened by differin... |
#! /usr/bin/env python
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agree... | [
[
1,
0,
0.2955,
0.0227,
0,
0.66,
0,
712,
0,
1,
0,
0,
712,
0,
0
],
[
1,
0,
0.3182,
0.0227,
0,
0.66,
0.0588,
291,
0,
1,
0,
0,
291,
0,
0
],
[
14,
0,
0.3636,
0.0227,
0,
... | [
"import dpgmm",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('dpgmm.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Dirichlet Process Gaussian Mixture Model</title>\\n')",
"out.write('</head>\\n')",
"out.write('<body>\\n')",
"readme = open('readme.txt','... |
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, softwar... | [
[
1,
0,
0.0833,
0.0076,
0,
0.66,
0,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0909,
0.0076,
0,
0.66,
0.3333,
954,
0,
1,
0,
0,
954,
0,
0
],
[
3,
0,
0.447,
0.6591,
0,
0... | [
"import math",
"import numpy",
"class PrecisionLOO:\n \"\"\"Given a large number of samples this uses leave one out to calculate the optimal symetric precision matrix. Standard griding solution.\"\"\"\n def __init__(self):\n \"\"\"Initilises with no samples but a default grid of 10^-2 to 10 in 128 incrimen... |
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, softwar... | [
[
1,
0,
0.0643,
0.0058,
0,
0.66,
0,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0702,
0.0058,
0,
0.66,
0.25,
954,
0,
1,
0,
0,
954,
0,
0
],
[
1,
0,
0.0819,
0.0058,
0,
0.... | [
"import math",
"import numpy",
"from loo_cov import PrecisionLOO, SubsetPrecisionLOO # Not used below, just for conveniance.",
"from gmm import GMM",
"class KDE_INC:\n \"\"\"Provides an incrimental kernel density estimate system that uses Gaussians. A kernel density estimate system with Gaussian kernels th... |
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, softwar... | [
[
1,
0,
0.1774,
0.0161,
0,
0.66,
0,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.1935,
0.0161,
0,
0.66,
0.5,
954,
0,
1,
0,
0,
954,
0,
0
],
[
3,
0,
0.629,
0.7581,
0,
0.66... | [
"import math",
"import numpy",
"class GMM:\n \"\"\"Contains a Gaussian mixture model - just a list of weights, means and precision matrices. List is of fixed size, and it has functions to determine the probability of a point in space. Components with a weight of zero are often computationally ignored. Initiali... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2011 Tom SF Haines
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by... | [
[
1,
0,
0.3137,
0.0196,
0,
0.66,
0,
373,
0,
1,
0,
0,
373,
0,
0
],
[
1,
0,
0.3333,
0.0196,
0,
0.66,
0.0588,
291,
0,
1,
0,
0,
291,
0,
0
],
[
14,
0,
0.3725,
0.0196,
0,
... | [
"import kde_inc",
"import pydoc",
"doc = pydoc.HTMLDoc()",
"out = open('kde_inc.html','w')",
"out.write('<html>\\n')",
"out.write('<head>\\n')",
"out.write('<title>Incrimental capped KDE</title>\\n')",
"out.write('</head>\\n')",
"out.write('<body>\\n')",
"readme = open('readme.txt','r').read()",
... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.2941,
0.0196,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.3137,
0.0196,
0,
0.66,
0.5,
654,
0,
1,
0,
0,
654,
0,
0
],
[
3,
0,
0.6863,
0.6078,
0,
0.6... | [
"import sys",
"import time",
"class ProgBar:\n \"\"\"Simple console progress bar class. Note that object creation and destruction matter, as they indicate when processing starts and when it stops.\"\"\"\n def __init__(self, width = 60, onCallback = None):\n self.start = time.time()\n self.fill = 0\n ... |
# -*- coding: utf-8 -*-
# Copyright (c) 2010, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.5,
0.0333,
0,
0.66,
0,
878,
0,
1,
0,
0,
878,
0,
0
],
[
1,
0,
0.5333,
0.0333,
0,
0.66,
0.5,
154,
0,
1,
0,
0,
154,
0,
0
],
[
2,
0,
0.8333,
0.3667,
0,
0.66,
... | [
"import inspect",
"import hashlib",
"def start_cpp(hash_str = None):\n \"\"\"This method does two things - firstly it adds the correct line numbers to scipy.weave code (Good for debugging) and secondly it can optionaly inserts a hash code of some other code into the code. This latter feature is useful for work... |
# -*- coding: utf-8 -*-
# Code copied from http://opencv.willowgarage.com/wiki/PythonInterface - license unknown, but presumed to be at least as liberal as bsd (The license for opencv.).
import cv
import numpy as np
def cv2array(im):
"""Converts a cv array to a numpy array."""
depth2dtype = {
cv.IPL_... | [
[
1,
0,
0.1296,
0.0185,
0,
0.66,
0,
492,
0,
1,
0,
0,
492,
0,
0
],
[
1,
0,
0.1481,
0.0185,
0,
0.66,
0.3333,
954,
0,
1,
0,
0,
954,
0,
0
],
[
2,
0,
0.3889,
0.3519,
0,
... | [
"import cv",
"import numpy as np",
"def cv2array(im):\n \"\"\"Converts a cv array to a numpy array.\"\"\"\n depth2dtype = {\n cv.IPL_DEPTH_8U: 'uint8',\n cv.IPL_DEPTH_8S: 'int8',\n cv.IPL_DEPTH_16U: 'uint16',\n cv.IPL_DEPTH_16S: 'int16',\n cv.IPL_DEPTH_32S: 'int32',",
" \... |
# -*- coding: utf-8 -*-
# Copyright (c) 2011, Tom SF Haines
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of... | [
[
1,
0,
0.1456,
0.0097,
0,
0.66,
0,
901,
0,
1,
0,
0,
901,
0,
0
],
[
1,
0,
0.1553,
0.0097,
0,
0.66,
0.1111,
99,
0,
1,
0,
0,
99,
0,
0
],
[
1,
0,
0.1748,
0.0097,
0,
0.... | [
"import multiprocessing as mp",
"import multiprocessing.synchronize # To make sure we have all the functionality.",
"import types",
"import marshal",
"import unittest",
"def repeat(x):\n \"\"\"A generator that repeats the input forever - can be used with the mp_map function to give data to a function tha... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.