repo_name
stringlengths
6
100
path
stringlengths
4
294
copies
stringclasses
981 values
size
stringlengths
4
6
content
stringlengths
606
896k
license
stringclasses
15 values
input_ids
listlengths
1.02k
1.02k
labels
listlengths
1.02k
1.02k
attention_mask
listlengths
1.02k
1.02k
ma1co/Sony-PMCA-RE
pmca/spk/__init__.py
1
2713
"""Methods for reading and writing spk files""" import sys try: from Cryptodome.Cipher import AES from Cryptodome.PublicKey import RSA from Cryptodome.Util.number import bytes_to_long, long_to_bytes except ImportError: from Crypto.Cipher import AES from Crypto.PublicKey import RSA from Crypto.Util.number import...
mit
[ 624, 10385, 367, 7664, 436, 3575, 308, 2051, 1584, 624, 199, 199, 646, 984, 199, 199, 893, 26, 199, 687, 445, 13656, 364, 1377, 14, 21967, 492, 19093, 199, 687, 445, 13656, 364, 1377, 14, 26238, 492, 18471, 199, 687, 445, 13656, 364...
[ 10385, 367, 7664, 436, 3575, 308, 2051, 1584, 624, 199, 199, 646, 984, 199, 199, 893, 26, 199, 687, 445, 13656, 364, 1377, 14, 21967, 492, 19093, 199, 687, 445, 13656, 364, 1377, 14, 26238, 492, 18471, 199, 687, 445, 13656, 364, 137...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
chinmaygarde/depot_tools
third_party/boto/services/service.py
70
6641
# Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/ # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modi...
bsd-3-clause
[ 3, 1898, 334, 67, 9, 8315, 12, 9488, 603, 9414, 598, 26272, 1455, 921, 71, 26272, 14, 1308, 15, 199, 3, 199, 3, 8779, 365, 11882, 10009, 12, 2867, 402, 11204, 12, 370, 1263, 4954, 12408, 282, 199, 3, 1331, 402, 642, 2032, 436, 4...
[ 1898, 334, 67, 9, 8315, 12, 9488, 603, 9414, 598, 26272, 1455, 921, 71, 26272, 14, 1308, 15, 199, 3, 199, 3, 8779, 365, 11882, 10009, 12, 2867, 402, 11204, 12, 370, 1263, 4954, 12408, 282, 199, 3, 1331, 402, 642, 2032, 436, 4568, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
markdryan/dleyna-renderer
test/dbus/cap.py
4
8713
#!/usr/bin/python # cap # # Copyright (C) 2012 Intel Corporation. All rights reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU Lesser General Public License, # version 2.1, as published by the Free Software Foundation. # # This program is ...
lgpl-2.1
[ 3381, 2647, 15, 1393, 15, 1548, 199, 199, 3, 4021, 199, 3, 199, 3, 1898, 334, 35, 9, 6029, 20619, 11098, 14, 2900, 4481, 4644, 14, 199, 3, 199, 3, 961, 2240, 365, 2867, 2032, 27, 1265, 883, 3604, 652, 436, 15, 269, 2811, 652, ...
[ 2647, 15, 1393, 15, 1548, 199, 199, 3, 4021, 199, 3, 199, 3, 1898, 334, 35, 9, 6029, 20619, 11098, 14, 2900, 4481, 4644, 14, 199, 3, 199, 3, 961, 2240, 365, 2867, 2032, 27, 1265, 883, 3604, 652, 436, 15, 269, 2811, 652, 199, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
chauhanhardik/populo
common/lib/xmodule/xmodule/modulestore/tests/test_libraries.py
157
7393
# -*- coding: utf-8 -*- """ Basic unit tests related to content libraries. Higher-level tests are in `cms/djangoapps/contentstore`. """ import ddt from bson.objectid import ObjectId from opaque_keys.edx.locator import LibraryLocator from xmodule.modulestore.exceptions import DuplicateCourseError from xmodule.module...
agpl-3.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 624, 199, 6845, 4137, 2295, 4048, 370, 1564, 8363, 14, 199, 199, 11688, 281, 13, 1896, 2295, 787, 315, 658, 10781, 15, 16432, 15, 28160, 2313, 199, 624, 199, 199, 646, 366, 3583, 199, 19...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 624, 199, 6845, 4137, 2295, 4048, 370, 1564, 8363, 14, 199, 199, 11688, 281, 13, 1896, 2295, 787, 315, 658, 10781, 15, 16432, 15, 28160, 2313, 199, 624, 199, 199, 646, 366, 3583, 199, 199, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
huggingface/transformers
examples/tensorflow/benchmarking/run_benchmark_tf.py
2
1915
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # 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 a...
apache-2.0
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 2803, 29, 1624, 13, 24, 199, 3, 1898, 14894, 710, 869, 1518, 1540, 13414, 3277, 14, 8099, 14, 199, 3, 1898, 334, 67, 9, 25455, 12, 653, 5437, 13033, 27072, 14, 221, 2900, 4481, 4644, ...
[ 2647, 15, 1393, 15, 1813, 2366, 199, 3, 2803, 29, 1624, 13, 24, 199, 3, 1898, 14894, 710, 869, 1518, 1540, 13414, 3277, 14, 8099, 14, 199, 3, 1898, 334, 67, 9, 25455, 12, 653, 5437, 13033, 27072, 14, 221, 2900, 4481, 4644, 14, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
vineodd/PIMSim
GEM5Simulation/gem5/ext/pybind11/tests/test_methods_and_attributes.py
13
17017
import pytest from pybind11_tests import methods_and_attributes as m from pybind11_tests import ConstructorStats def test_methods_and_attributes(): instance1 = m.ExampleMandA() instance2 = m.ExampleMandA(32) instance1.add1(instance2) instance1.add2(instance2) instance1.add3(instance2) instanc...
gpl-3.0
[ 646, 4613, 199, 504, 1134, 3409, 845, 63, 2219, 492, 3102, 63, 460, 63, 2987, 465, 333, 199, 504, 1134, 3409, 845, 63, 2219, 492, 20297, 8257, 421, 199, 318, 511, 63, 2474, 63, 460, 63, 2987, 837, 272, 1256, 17, 275, 333, 14, 98...
[ 4613, 199, 504, 1134, 3409, 845, 63, 2219, 492, 3102, 63, 460, 63, 2987, 465, 333, 199, 504, 1134, 3409, 845, 63, 2219, 492, 20297, 8257, 421, 199, 318, 511, 63, 2474, 63, 460, 63, 2987, 837, 272, 1256, 17, 275, 333, 14, 9846, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
junhuac/MQUIC
depot_tools/ENV/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/url.py
375
5760
from collections import namedtuple from ..exceptions import LocationParseError url_attrs = ['scheme', 'auth', 'host', 'port', 'path', 'query', 'fragment'] class Url(namedtuple('Url', url_attrs)): """ Datastructure for representing an HTTP URL. Used as a return value for :func:`parse_url`. """ s...
mit
[ 504, 5055, 492, 12863, 199, 199, 504, 2508, 3924, 492, 12625, 9123, 421, 199, 633, 63, 3288, 275, 788, 5512, 297, 283, 1178, 297, 283, 1102, 297, 283, 719, 297, 283, 515, 297, 283, 1131, 297, 283, 7677, 418, 421, 199, 533, 20503, ...
[ 5055, 492, 12863, 199, 199, 504, 2508, 3924, 492, 12625, 9123, 421, 199, 633, 63, 3288, 275, 788, 5512, 297, 283, 1178, 297, 283, 1102, 297, 283, 719, 297, 283, 515, 297, 283, 1131, 297, 283, 7677, 418, 421, 199, 533, 20503, 8, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
TaskEvolution/Task-Coach-Evolution
taskcoach/taskcoachlib/thirdparty/timeline/timeline.py
1
16578
#! /usr/bin/env python import wx, wx.lib TimeLineSelectionEvent, EVT_TIMELINE_SELECTED = wx.lib.newevent.NewEvent() TimeLineActivationEvent, EVT_TIMELINE_ACTIVATED = wx.lib.newevent.NewEvent() class HotMap(object): ''' Keep track of which node is where. ''' def __init__(self, parent=None): self...
gpl-3.0
[ 3168, 1182, 2647, 15, 1393, 15, 1813, 2366, 199, 646, 4818, 12, 4818, 14, 773, 421, 199, 1366, 3049, 7713, 2390, 12, 662, 8156, 63, 11342, 2901, 3565, 63, 32525, 275, 4818, 14, 773, 14, 1222, 1430, 14, 4665, 2390, 342, 199, 1366, ...
[ 1182, 2647, 15, 1393, 15, 1813, 2366, 199, 646, 4818, 12, 4818, 14, 773, 421, 199, 1366, 3049, 7713, 2390, 12, 662, 8156, 63, 11342, 2901, 3565, 63, 32525, 275, 4818, 14, 773, 14, 1222, 1430, 14, 4665, 2390, 342, 199, 1366, 3049, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
dbmi-pitt/DIKB-Micropublication
scripts/mp-scripts/Bio/EUtils/setup.py
1
1941
import sys from distutils.core import setup try: import EUtils except ImportError: import __init__ as EUtils def _dict(**kwargs): return kwargs d = _dict( name = "EUtils", version = EUtils.__version__, description = "Client interface to NCBI's EUtils/Entrez server", author = "Andrew Dalk...
apache-2.0
[ 199, 199, 646, 984, 199, 504, 7065, 14, 1018, 492, 3272, 199, 893, 26, 272, 492, 662, 7535, 199, 2590, 3545, 26, 272, 492, 636, 826, 363, 465, 662, 7535, 199, 199, 318, 485, 807, 3682, 958, 304, 272, 372, 2074, 199, 199, 68, 275...
[ 199, 646, 984, 199, 504, 7065, 14, 1018, 492, 3272, 199, 893, 26, 272, 492, 662, 7535, 199, 2590, 3545, 26, 272, 492, 636, 826, 363, 465, 662, 7535, 199, 199, 318, 485, 807, 3682, 958, 304, 272, 372, 2074, 199, 199, 68, 275, 485...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
igabriel85/dmon-adp
adpformater/adpformater.py
1
1615
import pandas as pd class DataFormatter(): def __init__(self, dataloc): self.dataloc = dataloc def aggJsonToCsv(self): return "CSV file" def expTimestamp(self): return "Expand metric timestamp" def window(self): return "Window metrics" def pivot(self): r...
apache-2.0
[ 646, 10634, 465, 6454, 421, 199, 533, 3918, 7772, 837, 272, 347, 636, 826, 721, 277, 12, 6394, 279, 679, 304, 267, 291, 14, 4616, 279, 679, 275, 6394, 279, 679, 339, 347, 19408, 9653, 1378, 35, 2772, 8, 277, 304, 267, 372, 298, ...
[ 10634, 465, 6454, 421, 199, 533, 3918, 7772, 837, 272, 347, 636, 826, 721, 277, 12, 6394, 279, 679, 304, 267, 291, 14, 4616, 279, 679, 275, 6394, 279, 679, 339, 347, 19408, 9653, 1378, 35, 2772, 8, 277, 304, 267, 372, 298, 19018, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
boomsbloom/dtm-fmri
DTM/for_gensim/lib/python2.7/site-packages/boto/dynamodb2/items.py
32
14656
from copy import deepcopy class NEWVALUE(object): # A marker for new data added. pass class Item(object): """ An object representing the item data within a DynamoDB table. An item is largely schema-free, meaning it can contain any data. The only limitation is that it must have data for the ...
mit
[ 504, 1331, 492, 14800, 421, 199, 533, 18689, 7041, 8, 785, 304, 272, 327, 437, 3608, 367, 892, 666, 3483, 14, 272, 986, 421, 199, 533, 7020, 8, 785, 304, 272, 408, 272, 1626, 909, 6144, 314, 1242, 666, 4453, 282, 31856, 1817, 14, ...
[ 1331, 492, 14800, 421, 199, 533, 18689, 7041, 8, 785, 304, 272, 327, 437, 3608, 367, 892, 666, 3483, 14, 272, 986, 421, 199, 533, 7020, 8, 785, 304, 272, 408, 272, 1626, 909, 6144, 314, 1242, 666, 4453, 282, 31856, 1817, 14, 339, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
IllusionRom-deprecated/android_platform_tools_idea
python/lib/Lib/site-packages/django/contrib/localflavor/nl/forms.py
311
2796
""" NL-specific Form helpers """ import re from django.core.validators import EMPTY_VALUES from django.forms import ValidationError from django.forms.fields import Field, Select from django.utils.translation import ugettext_lazy as _ from django.utils.encoding import smart_unicode pc_re = re.compile('^\d{4}[A-Z]{2}$...
apache-2.0
[ 624, 199, 14176, 13, 6100, 8204, 10897, 199, 624, 199, 199, 646, 295, 199, 199, 504, 1639, 14, 1018, 14, 11346, 492, 16589, 63, 15514, 199, 504, 1639, 14, 3351, 492, 8505, 199, 504, 1639, 14, 3351, 14, 955, 492, 5024, 12, 9496, 19...
[ 199, 14176, 13, 6100, 8204, 10897, 199, 624, 199, 199, 646, 295, 199, 199, 504, 1639, 14, 1018, 14, 11346, 492, 16589, 63, 15514, 199, 504, 1639, 14, 3351, 492, 8505, 199, 504, 1639, 14, 3351, 14, 955, 492, 5024, 12, 9496, 199, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
rezasafi/spark
examples/src/main/python/ml/dct_example.py
123
1509
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
apache-2.0
[ 3, 199, 3, 3909, 370, 314, 3668, 2290, 2752, 334, 14950, 9, 1334, 1373, 503, 1655, 199, 3, 11615, 4190, 14024, 14, 221, 1666, 314, 12840, 570, 1854, 543, 199, 3, 642, 1736, 367, 4722, 2556, 12602, 4248, 12715, 14, 199, 3, 710, 148...
[ 199, 3, 3909, 370, 314, 3668, 2290, 2752, 334, 14950, 9, 1334, 1373, 503, 1655, 199, 3, 11615, 4190, 14024, 14, 221, 1666, 314, 12840, 570, 1854, 543, 199, 3, 642, 1736, 367, 4722, 2556, 12602, 4248, 12715, 14, 199, 3, 710, 14857, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
tdyas/pants
src/python/pants/backend/jvm/register.py
1
12485
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). """Support for both Java and Scala.""" from pants.backend.jvm.artifact import Artifact from pants.backend.jvm.ossrh_publication_metadata import ( Developer, License, OSSRHPubl...
apache-2.0
[ 3, 1898, 6927, 510, 2285, 2199, 8417, 334, 3239, 6483, 14, 1064, 680, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 3239, 5113, 680, 199, 199, 624, 11532, 367, 3865, 9586, 436, 17619, 65, 1041, 199, 199, 504, 180...
[ 1898, 6927, 510, 2285, 2199, 8417, 334, 3239, 6483, 14, 1064, 680, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 3239, 5113, 680, 199, 199, 624, 11532, 367, 3865, 9586, 436, 17619, 65, 1041, 199, 199, 504, 18081, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
morenopc/edx-platform
common/test/acceptance/pages/studio/unit.py
13
3855
""" Unit page in Studio """ from bok_choy.page_object import PageObject from bok_choy.promise import EmptyPromise, Promise from . import BASE_URL from .container import ContainerPage class UnitPage(PageObject): """ Unit page in Studio """ def __init__(self, browser, unit_locator): super(Uni...
agpl-3.0
[ 624, 199, 5072, 2034, 315, 13225, 199, 624, 199, 199, 504, 330, 745, 63, 2239, 89, 14, 1606, 63, 785, 492, 10331, 1692, 199, 504, 330, 745, 63, 2239, 89, 14, 12741, 572, 492, 9630, 32303, 12, 27724, 572, 199, 199, 504, 1275, 492, ...
[ 199, 5072, 2034, 315, 13225, 199, 624, 199, 199, 504, 330, 745, 63, 2239, 89, 14, 1606, 63, 785, 492, 10331, 1692, 199, 504, 330, 745, 63, 2239, 89, 14, 12741, 572, 492, 9630, 32303, 12, 27724, 572, 199, 199, 504, 1275, 492, 19721...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
timokoola/timoechobot
docutils/parsers/rst/languages/zh_cn.py
128
4007
# -*- coding: utf-8 -*- # $Id: zh_cn.py 7119 2011-09-02 13:00:23Z milde $ # Author: Panjunyong <panjy@zopechina.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <http://docutils.sf.net/docs/howto/i18n.html>. Two fil...
apache-2.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 2672, 1304, 26, 1315, 72, 63, 6413, 14, 647, 1520, 7119, 7760, 13, 1643, 13, 996, 4944, 26, 383, 26, 1789, 58, 333, 24446, 2672, 199, 3, 6529, 26, 510, 290, 74, 324, 89, 951, 665,...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 2672, 1304, 26, 1315, 72, 63, 6413, 14, 647, 1520, 7119, 7760, 13, 1643, 13, 996, 4944, 26, 383, 26, 1789, 58, 333, 24446, 2672, 199, 3, 6529, 26, 510, 290, 74, 324, 89, 951, 665, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
simbtrix/screenmix
screenmix/reinforcement/shapeSelection.py
1
5607
''' Created on 13.05.2016 @author: mkennert ''' from kivy.properties import ObjectProperty, StringProperty from kivy.uix.gridlayout import GridLayout from kivy.uix.scrollview import ScrollView from ownComponents.design import Design from ownComponents.ownButton import OwnButton from ownComponents.ownGraph ...
gpl-3.0
[ 2344, 202, 199, 10502, 641, 4944, 14, 1717, 14, 9261, 2999, 199, 32, 2502, 26, 333, 917, 1372, 84, 202, 199, 2344, 202, 199, 504, 17227, 14, 3282, 492, 6935, 3697, 12, 2624, 3697, 202, 199, 504, 17227, 14, 24263, 14, 3825, 4209, 4...
[ 202, 199, 10502, 641, 4944, 14, 1717, 14, 9261, 2999, 199, 32, 2502, 26, 333, 917, 1372, 84, 202, 199, 2344, 202, 199, 504, 17227, 14, 3282, 492, 6935, 3697, 12, 2624, 3697, 202, 199, 504, 17227, 14, 24263, 14, 3825, 4209, 492, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
lanfker/tdma_imac
.waf-1.6.7-0a94702c61504c487a251b8d0a04ca9a/waflib/Tools/glib2.py
3
8308
#! /usr/bin/env python # encoding: utf-8 # WARNING! Do not edit! http://waf.googlecode.com/svn/docs/wafbook/single.html#_obtaining_the_waf_file import os from waflib import Task,Utils,Options,Errors,Logs from waflib.TaskGen import taskgen_method,before_method,after_method,feature def add_marshal_file(self,filename,pre...
gpl-2.0
[ 3168, 1182, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 2644, 26, 2774, 13, 24, 199, 3, 14750, 1, 4226, 440, 5283, 1, 1455, 921, 21500, 14, 31864, 14, 957, 15, 6836, 15, 4757, 15, 21500, 2706, 15, 4780, 14, 1360, 20930, 2873, 24522, ...
[ 1182, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 2644, 26, 2774, 13, 24, 199, 3, 14750, 1, 4226, 440, 5283, 1, 1455, 921, 21500, 14, 31864, 14, 957, 15, 6836, 15, 4757, 15, 21500, 2706, 15, 4780, 14, 1360, 20930, 2873, 24522, 63, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
suryakencana/niimanga
niimanga/ctasks/batoto.py
1
34700
""" # Copyright (c) 06 2015 | surya # 26/06/15 nanang.ask@kubuskotak.com # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later ve...
lgpl-3.0
[ 624, 199, 327, 1898, 334, 67, 9, 24293, 6900, 1204, 6296, 11552, 199, 327, 7875, 15, 1690, 15, 1046, 12055, 621, 14, 813, 32, 75, 456, 527, 75, 357, 1151, 14, 957, 199, 327, 961, 2240, 365, 2867, 2032, 27, 1265, 883, 3604, 652, ...
[ 199, 327, 1898, 334, 67, 9, 24293, 6900, 1204, 6296, 11552, 199, 327, 7875, 15, 1690, 15, 1046, 12055, 621, 14, 813, 32, 75, 456, 527, 75, 357, 1151, 14, 957, 199, 327, 961, 2240, 365, 2867, 2032, 27, 1265, 883, 3604, 652, 436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
idlead/scikit-learn
examples/linear_model/plot_sgd_comparison.py
112
1819
""" ================================== Comparing various online solvers ================================== An example showing how different online solvers perform on the hand-written digits dataset. """ # Author: Rob Zinkov <rob at zinkov dot com> # License: BSD 3 clause import numpy as np import matplotlib.pyplot a...
bsd-3-clause
[ 624, 199, 2486, 389, 199, 2404, 9332, 7750, 18470, 10196, 83, 199, 2486, 389, 199, 199, 2493, 2893, 21207, 4212, 3365, 18470, 10196, 83, 5147, 199, 265, 314, 4926, 13, 8938, 7576, 4789, 14, 199, 199, 624, 199, 3, 6529, 26, 820, 2873...
[ 199, 2486, 389, 199, 2404, 9332, 7750, 18470, 10196, 83, 199, 2486, 389, 199, 199, 2493, 2893, 21207, 4212, 3365, 18470, 10196, 83, 5147, 199, 265, 314, 4926, 13, 8938, 7576, 4789, 14, 199, 199, 624, 199, 3, 6529, 26, 820, 2873, 310...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
jianran/spark
examples/src/main/python/ml/vector_assembler_example.py
123
1649
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
apache-2.0
[ 3, 199, 3, 3909, 370, 314, 3668, 2290, 2752, 334, 14950, 9, 1334, 1373, 503, 1655, 199, 3, 11615, 4190, 14024, 14, 221, 1666, 314, 12840, 570, 1854, 543, 199, 3, 642, 1736, 367, 4722, 2556, 12602, 4248, 12715, 14, 199, 3, 710, 148...
[ 199, 3, 3909, 370, 314, 3668, 2290, 2752, 334, 14950, 9, 1334, 1373, 503, 1655, 199, 3, 11615, 4190, 14024, 14, 221, 1666, 314, 12840, 570, 1854, 543, 199, 3, 642, 1736, 367, 4722, 2556, 12602, 4248, 12715, 14, 199, 3, 710, 14857, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
lindsayad/sympy
sympy/matrices/tests/test_densearith.py
80
1844
from sympy.matrices.densetools import eye from sympy.matrices.densearith import add, sub, mulmatmat, mulmatscaler from sympy import ZZ def test_add(): a = [[ZZ(3), ZZ(7), ZZ(4)], [ZZ(2), ZZ(4), ZZ(5)], [ZZ(6), ZZ(2), ZZ(3)]] b = [[ZZ(5), ZZ(4), ZZ(9)], [ZZ(3), ZZ(7), ZZ(1)], [ZZ(12), ZZ(13), ZZ(14)]] c = ...
bsd-3-clause
[ 504, 5840, 14, 19032, 14, 848, 409, 5998, 492, 25892, 199, 504, 5840, 14, 19032, 14, 7253, 18327, 492, 1050, 12, 1007, 12, 19207, 569, 569, 12, 19207, 569, 11494, 199, 504, 5840, 492, 11739, 421, 199, 318, 511, 63, 525, 837, 272, ...
[ 5840, 14, 19032, 14, 848, 409, 5998, 492, 25892, 199, 504, 5840, 14, 19032, 14, 7253, 18327, 492, 1050, 12, 1007, 12, 19207, 569, 569, 12, 19207, 569, 11494, 199, 504, 5840, 492, 11739, 421, 199, 318, 511, 63, 525, 837, 272, 282, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
hs634/algorithms
python/company/dropbox.py
1
1392
__author__ = 'hs634' class Crawler(Thread): def __init__(self, q, seen, index, lock, wlock, worker_pool_size): self.queue = q self.seen = seen self.index = index self.worker_pool_size = worker_pool_size self.qandslock = lock self.worker_lock = wlock def crawl(se...
mit
[ 363, 2502, 363, 275, 283, 4213, 30604, 7, 199, 199, 533, 445, 16057, 8, 4436, 304, 272, 347, 636, 826, 721, 277, 12, 1894, 12, 6775, 12, 1478, 12, 4650, 12, 336, 831, 12, 7239, 63, 2293, 63, 890, 304, 267, 291, 14, 1825, 275, ...
[ 2502, 363, 275, 283, 4213, 30604, 7, 199, 199, 533, 445, 16057, 8, 4436, 304, 272, 347, 636, 826, 721, 277, 12, 1894, 12, 6775, 12, 1478, 12, 4650, 12, 336, 831, 12, 7239, 63, 2293, 63, 890, 304, 267, 291, 14, 1825, 275, 1894, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
anandpdoshi/erpnext
erpnext/config/projects.py
2
1504
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label": _("Projects"), "icon": "icon-star", "items": [ { "type": "doctype", "name": "Project", "description": _("Project master."), }, { "type": "doctype", "name": "Task", "des...
agpl-3.0
[ 504, 636, 2443, 363, 492, 2649, 63, 5955, 199, 504, 6950, 492, 485, 199, 199, 318, 664, 63, 576, 837, 199, 198, 1107, 359, 507, 198, 91, 686, 198, 2, 1302, 582, 3824, 24286, 1288, 686, 198, 2, 4677, 582, 298, 4677, 13, 7848, 401...
[ 636, 2443, 363, 492, 2649, 63, 5955, 199, 504, 6950, 492, 485, 199, 199, 318, 664, 63, 576, 837, 199, 198, 1107, 359, 507, 198, 91, 686, 198, 2, 1302, 582, 3824, 24286, 1288, 686, 198, 2, 4677, 582, 298, 4677, 13, 7848, 401, 686...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
junbochen/pylearn2
pylearn2/scripts/papers/jia_huang_wkshp_11/evaluate.py
44
3208
from __future__ import print_function from optparse import OptionParser import warnings try: from sklearn.metrics import classification_report except ImportError: classification_report = None warnings.warn("couldn't find sklearn.metrics.classification_report") try: from sklearn.metrics import confusion...
bsd-3-clause
[ 504, 636, 2443, 363, 492, 870, 63, 1593, 199, 199, 504, 8691, 492, 13491, 199, 646, 3598, 199, 893, 26, 272, 687, 6357, 14, 6759, 492, 12505, 63, 3070, 199, 2590, 3545, 26, 272, 12505, 63, 3070, 275, 488, 272, 3598, 14, 4050, 480,...
[ 636, 2443, 363, 492, 870, 63, 1593, 199, 199, 504, 8691, 492, 13491, 199, 646, 3598, 199, 893, 26, 272, 687, 6357, 14, 6759, 492, 12505, 63, 3070, 199, 2590, 3545, 26, 272, 12505, 63, 3070, 275, 488, 272, 3598, 14, 4050, 480, 1515...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
laurentgo/pants
tests/python/pants_test/net/http/test_fetcher.py
14
6703
# coding=utf-8 # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) import os from conte...
apache-2.0
[ 3, 2803, 29, 1624, 13, 24, 199, 3, 1898, 6927, 510, 2285, 2199, 8417, 334, 3239, 6483, 14, 1064, 680, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 3239, 5113, 680, 199, 199, 504, 636, 2443, 363, 492, 334, 6116...
[ 2803, 29, 1624, 13, 24, 199, 3, 1898, 6927, 510, 2285, 2199, 8417, 334, 3239, 6483, 14, 1064, 680, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 3239, 5113, 680, 199, 199, 504, 636, 2443, 363, 492, 334, 6116, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
vefimova/rally
rally/plugins/openstack/context/quotas/nova_quotas.py
15
2762
# All Rights Reserved. # # 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...
apache-2.0
[ 3, 2900, 5924, 5702, 14, 199, 3, 199, 3, 259, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 1265, 1443, 199, 3, 259, 440, 675, 642, 570, 871, 315, 4151, 543, 314, 844, 14, 2047, 1443, 3332, 199, ...
[ 2900, 5924, 5702, 14, 199, 3, 199, 3, 259, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 1265, 1443, 199, 3, 259, 440, 675, 642, 570, 871, 315, 4151, 543, 314, 844, 14, 2047, 1443, 3332, 199, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
CenterForOpenScience/modular-file-renderer
mfr/extensions/tabular/libs/xlrd_tools.py
2
1632
import xlrd from collections import OrderedDict from ..exceptions import TableTooBigError from ..utilities import header_population from mfr.extensions.tabular.compat import range, basestring def xlsx_xlrd(fp): """Read and convert a xlsx file to JSON format using the xlrd library :param fp: File pointer obje...
apache-2.0
[ 646, 25077, 6883, 199, 504, 5055, 492, 8773, 199, 504, 2508, 3924, 492, 6957, 13749, 7279, 547, 199, 199, 504, 2508, 16355, 492, 1406, 63, 16003, 199, 504, 333, 4391, 14, 5359, 14, 2902, 2238, 14, 5819, 492, 1425, 12, 7116, 421, 199...
[ 25077, 6883, 199, 504, 5055, 492, 8773, 199, 504, 2508, 3924, 492, 6957, 13749, 7279, 547, 199, 199, 504, 2508, 16355, 492, 1406, 63, 16003, 199, 504, 333, 4391, 14, 5359, 14, 2902, 2238, 14, 5819, 492, 1425, 12, 7116, 421, 199, 318...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
sambyers/o365_fmc
.venv/lib/python3.6/site-packages/requests/packages/chardet/euckrfreq.py
3121
45978
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is Mozilla Communicator client code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights R...
gpl-3.0
[ 6565, 16427, 5113, 8068, 11945, 199, 3, 710, 12769, 5495, 365, 17728, 13338, 707, 1890, 1233, 14, 199, 3, 199, 3, 710, 6026, 9607, 402, 314, 12769, 5495, 365, 199, 3, 20433, 18686, 11098, 14, 199, 3, 20825, 2737, 701, 314, 6026, 960...
[ 16427, 5113, 8068, 11945, 199, 3, 710, 12769, 5495, 365, 17728, 13338, 707, 1890, 1233, 14, 199, 3, 199, 3, 710, 6026, 9607, 402, 314, 12769, 5495, 365, 199, 3, 20433, 18686, 11098, 14, 199, 3, 20825, 2737, 701, 314, 6026, 9607, 787...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
BehavioralInsightsTeam/edx-platform
common/lib/xmodule/xmodule/tests/test_editing_module.py
13
2787
""" Tests for editing descriptors""" import unittest import os import logging from mock import Mock from pkg_resources import resource_string from opaque_keys.edx.locator import BlockUsageLocator, CourseLocator from xmodule.editing_module import TabsEditingDescriptor from xblock.field_data import DictFieldData from xb...
agpl-3.0
[ 624, 6496, 367, 20401, 15428, 624, 199, 646, 2882, 199, 646, 747, 199, 646, 2050, 199, 199, 504, 1683, 492, 4420, 199, 504, 5496, 63, 4435, 492, 2073, 63, 875, 199, 504, 15058, 63, 1612, 14, 8268, 14, 6354, 492, 8651, 7692, 10725, ...
[ 6496, 367, 20401, 15428, 624, 199, 646, 2882, 199, 646, 747, 199, 646, 2050, 199, 199, 504, 1683, 492, 4420, 199, 504, 5496, 63, 4435, 492, 2073, 63, 875, 199, 504, 15058, 63, 1612, 14, 8268, 14, 6354, 492, 8651, 7692, 10725, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Lautitia/newfies-dialer
newfies/newfies_dialer/settings.py
3
17942
# # Newfies-Dialer License # http://www.newfies-dialer.org # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright (C) 2011-2014 Star2Billing S.L. # # The Initia...
mpl-2.0
[ 3, 199, 3, 7053, 5604, 13, 1341, 29706, 844, 199, 3, 1455, 921, 1544, 14, 1222, 5604, 13, 2391, 1435, 14, 1308, 199, 3, 199, 3, 961, 5800, 5495, 8204, 365, 5420, 370, 314, 2895, 402, 314, 17728, 1684, 199, 3, 844, 12, 373, 14, ...
[ 199, 3, 7053, 5604, 13, 1341, 29706, 844, 199, 3, 1455, 921, 1544, 14, 1222, 5604, 13, 2391, 1435, 14, 1308, 199, 3, 199, 3, 961, 5800, 5495, 8204, 365, 5420, 370, 314, 2895, 402, 314, 17728, 1684, 199, 3, 844, 12, 373, 14, 499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
miptliot/edx-platform
common/djangoapps/third_party_auth/migrations/0001_initial.py
11
13948
# -*- coding: utf-8 -*- from __future__ import unicode_literals import django.db.models.deletion import provider.utils from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODE...
agpl-3.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 504, 636, 2443, 363, 492, 2649, 63, 5955, 199, 199, 646, 1639, 14, 697, 14, 992, 14, 14281, 199, 646, 5022, 14, 1208, 199, 504, 1639, 14, 2190, 492, 2202, 199, 504, 1639, 14, 697, 492,...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 504, 636, 2443, 363, 492, 2649, 63, 5955, 199, 199, 646, 1639, 14, 697, 14, 992, 14, 14281, 199, 646, 5022, 14, 1208, 199, 504, 1639, 14, 2190, 492, 2202, 199, 504, 1639, 14, 697, 492, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
drm00/beets
beets/importer.py
14
53270
# This file is part of beets. # Copyright 2015, Adrian Sampson. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, ...
mit
[ 3, 961, 570, 365, 1777, 402, 506, 8716, 14, 199, 3, 1898, 6900, 12, 4431, 18429, 428, 5282, 834, 14, 199, 3, 199, 3, 8779, 365, 11882, 10009, 12, 2867, 402, 11204, 12, 370, 1263, 4954, 12408, 199, 3, 282, 1331, 402, 642, 2032, 4...
[ 961, 570, 365, 1777, 402, 506, 8716, 14, 199, 3, 1898, 6900, 12, 4431, 18429, 428, 5282, 834, 14, 199, 3, 199, 3, 8779, 365, 11882, 10009, 12, 2867, 402, 11204, 12, 370, 1263, 4954, 12408, 199, 3, 282, 1331, 402, 642, 2032, 436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
alexbruy/QGIS
python/plugins/processing/algs/qgis/RectanglesOvalsDiamondsVariable.py
1
12223
# -*- coding: utf-8 -*- """ *************************************************************************** RectanglesOvalsDiamondsVariable.py --------------------- Date : April 2016 Copyright : (C) 2016 by Alexander Bruy Email : alexander dot bruy at gmail dot...
gpl-2.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 624, 199, 17623, 272, 21536, 13162, 47, 3643, 1341, 455, 265, 795, 2773, 14, 647, 272, 10652, 9858, 272, 6148, 463, 520, 437, 28026, 7800, 272, 1898, 3322, 520, 334, 35, 9, 7800, 70...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 624, 199, 17623, 272, 21536, 13162, 47, 3643, 1341, 455, 265, 795, 2773, 14, 647, 272, 10652, 9858, 272, 6148, 463, 520, 437, 28026, 7800, 272, 1898, 3322, 520, 334, 35, 9, 7800, 701, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
antonve/s4-project-mooc
lms/djangoapps/bulk_email/migrations/0010_auto__chg_field_optout_course_id__add_field_courseemail_template_name_.py
120
8430
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Optout.course_id' db.alter_column('bulk_email_optout', 'course_id', self.gf('xmodule_djan...
agpl-3.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 646, 2197, 199, 504, 12919, 14, 697, 492, 1592, 199, 504, 12919, 14, 86, 18, 492, 24765, 199, 504, 1639, 14, 697, 492, 1709, 421, 199, 533, 12090, 8, 24822, 304, 339, 347, 17465, 8, 27...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 646, 2197, 199, 504, 12919, 14, 697, 492, 1592, 199, 504, 12919, 14, 86, 18, 492, 24765, 199, 504, 1639, 14, 697, 492, 1709, 421, 199, 533, 12090, 8, 24822, 304, 339, 347, 17465, 8, 277, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
drtuxwang/system-config
bin/fls.py
1
5121
#!/usr/bin/env python3 """ Show full list of files. """ import argparse import glob import os import signal import sys from typing import Iterator, List, Union import file_mod class Options: """ Options class """ def __init__(self) -> None: self._args: argparse.Namespace = None self...
gpl-2.0
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 19, 199, 624, 199, 6824, 2615, 769, 402, 1584, 14, 199, 624, 199, 199, 646, 7534, 199, 646, 5739, 199, 646, 747, 199, 646, 4673, 199, 646, 984, 199, 504, 14090, 492, 25769, 12, 3820, 12, 15961...
[ 2647, 15, 1393, 15, 1813, 2366, 19, 199, 624, 199, 6824, 2615, 769, 402, 1584, 14, 199, 624, 199, 199, 646, 7534, 199, 646, 5739, 199, 646, 747, 199, 646, 4673, 199, 646, 984, 199, 504, 14090, 492, 25769, 12, 3820, 12, 15961, 199,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
stelfrich/openmicroscopy
components/tools/OmeroWeb/omeroweb/settings.py
1
40171
#!/usr/bin/env python # -*- coding: utf-8 -*- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Django settings for OMERO.web project. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Copyright (c) 2008-2014 University of ...
gpl-2.0
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 199, 3, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327...
[ 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 199, 3, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327, 327,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
maxalbert/tohu
tohu/v7/derived_generators/fstr.py
1
1341
import inspect import re from .apply import Apply class fstr(Apply): """ Helper function for easy formatting of tohu generators. Usage example: >>> g1 = Integer(100, 200) >>> g2 = Integer(300, 400) >>> g3 = g1 + g2 >>> h = fstr('{g1} + {g2} = {g3}') >>> print(nex...
mit
[ 646, 6485, 199, 646, 295, 199, 199, 504, 1275, 4998, 492, 14618, 421, 199, 533, 289, 495, 8, 16581, 304, 272, 408, 272, 11642, 805, 367, 8837, 10803, 402, 370, 10616, 16952, 14, 339, 11028, 2893, 26, 398, 1306, 486, 17, 275, 7225, ...
[ 6485, 199, 646, 295, 199, 199, 504, 1275, 4998, 492, 14618, 421, 199, 533, 289, 495, 8, 16581, 304, 272, 408, 272, 11642, 805, 367, 8837, 10803, 402, 370, 10616, 16952, 14, 339, 11028, 2893, 26, 398, 1306, 486, 17, 275, 7225, 8, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
liangazhou/django-rdp
packages/eclipse/plugins/org.python.pydev.jython_4.4.0.201510052309/Lib/encodings/mac_romanian.py
593
13917
""" Python Character Mapping Codec mac_romanian generated from 'MAPPINGS/VENDORS/APPLE/ROMANIAN.TXT' with gencodec.py. """#" import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_table) def decode(self,inp...
apache-2.0
[ 624, 2018, 17660, 12340, 13732, 4497, 63, 20971, 5653, 4046, 687, 283, 32362, 15, 27839, 4149, 15, 31683, 15, 3810, 879, 23273, 14, 17715, 7, 543, 486, 2143, 67, 14, 647, 14, 199, 199, 624, 23662, 199, 199, 646, 6010, 199, 199, 5680...
[ 2018, 17660, 12340, 13732, 4497, 63, 20971, 5653, 4046, 687, 283, 32362, 15, 27839, 4149, 15, 31683, 15, 3810, 879, 23273, 14, 17715, 7, 543, 486, 2143, 67, 14, 647, 14, 199, 199, 624, 23662, 199, 199, 646, 6010, 199, 199, 5680, 137...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
jrwdunham/old
onlinelinguisticdatabase/model/form.py
1
8233
# Copyright 2016 Joel Dunham # # 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 writi...
apache-2.0
[ 3, 1898, 7800, 7135, 352, 577, 324, 10670, 199, 3, 199, 3, 221, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 199, 3, 221, 1265, 1443, 440, 675, 642, 570, 871, 315, 4151, 543, 314, 844, 14, 199, ...
[ 1898, 7800, 7135, 352, 577, 324, 10670, 199, 3, 199, 3, 221, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 199, 3, 221, 1265, 1443, 440, 675, 642, 570, 871, 315, 4151, 543, 314, 844, 14, 199, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
kirca/OpenUpgrade
addons/mail/mail_mail.py
183
18372
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2010-today OpenERP SA (<http://www.openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms o...
agpl-3.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 7129, 13, 8136, 7653, 13950, 8642, 1014, 921, 1544, 14, 11267, 14, 957, 18956, 199, 3, 199, ...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 7129, 13, 8136, 7653, 13950, 8642, 1014, 921, 1544, 14, 11267, 14, 957, 18956, 199, 3, 199, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
thomazs/geraldo
site/newsite/site-geraldo/django/views/defaults.py
24
3359
from django.core.exceptions import ObjectDoesNotExist from django.template import Context, RequestContext, loader from django.contrib.contenttypes.models import ContentType from django.contrib.sites.models import Site from django import http def shortcut(request, content_type_id, object_id): "Redirect to an object...
lgpl-3.0
[ 504, 1639, 14, 1018, 14, 3924, 492, 24803, 199, 504, 1639, 14, 1160, 492, 9470, 12, 22538, 12, 5077, 199, 504, 1639, 14, 2828, 14, 10778, 14, 992, 492, 14501, 199, 504, 1639, 14, 2828, 14, 8619, 14, 992, 492, 11666, 199, 504, 1639...
[ 1639, 14, 1018, 14, 3924, 492, 24803, 199, 504, 1639, 14, 1160, 492, 9470, 12, 22538, 12, 5077, 199, 504, 1639, 14, 2828, 14, 10778, 14, 992, 492, 14501, 199, 504, 1639, 14, 2828, 14, 8619, 14, 992, 492, 11666, 199, 504, 1639, 492...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
wrouesnel/ansible
lib/ansible/modules/cloud/vmware/vmware_migrate_vmk.py
26
7038
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2015, Joseph Callen <jcallen () csc.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
gpl-3.0
[ 3381, 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 3, 334, 67, 9, 6900, 12, 1603, 3362, 838, 445, 7670, 665, 74, 915, 552, 6248, 28308, 14, 957, 30, 199, 3, 1664, 1696, 1684, 844, 373, 19, 14...
[ 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 3, 334, 67, 9, 6900, 12, 1603, 3362, 838, 445, 7670, 665, 74, 915, 552, 6248, 28308, 14, 957, 30, 199, 3, 1664, 1696, 1684, 844, 373, 19, 14, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
adamgilman/ems-costing
tests/tests_postageapp.py
1
1049
from vendors import PostageApp import unittest class TestPostageApp(unittest.TestCase): def setUp(self): self.vendor = PostageApp() def test_ZeroEmails(self): self.assertEqual(self.vendor.getPrice(0), 9) def test_Zero_10000(self): self.assertEqual(self.vendor.getPrice(1), 9) ...
mit
[ 504, 373, 500, 1384, 492, 7711, 474, 2640, 199, 199, 646, 2882, 199, 199, 533, 1379, 6564, 474, 2640, 8, 2796, 14, 1746, 304, 272, 347, 3613, 8, 277, 304, 267, 291, 14, 9884, 275, 7711, 474, 2640, 342, 339, 347, 511, 63, 8681, 7...
[ 373, 500, 1384, 492, 7711, 474, 2640, 199, 199, 646, 2882, 199, 199, 533, 1379, 6564, 474, 2640, 8, 2796, 14, 1746, 304, 272, 347, 3613, 8, 277, 304, 267, 291, 14, 9884, 275, 7711, 474, 2640, 342, 339, 347, 511, 63, 8681, 7035, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
pshahzeb/vsphere-storage-for-docker
esx_service/cli/vmdkops_admin.py
1
58143
#!/usr/bin/env python # Copyright 2016 VMware, Inc. All Rights Reserved. # # 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 ...
apache-2.0
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1898, 7800, 27391, 12, 3277, 14, 2900, 5924, 5702, 14, 199, 3, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 199, 3, 1265, 1443, 440, 675, 64...
[ 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1898, 7800, 27391, 12, 3277, 14, 2900, 5924, 5702, 14, 199, 3, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 199, 3, 1265, 1443, 440, 675, 642, 570...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
dyim42/zerorpc-python
tests/test_pubpush.py
102
3999
# -*- coding: utf-8 -*- # Open Source Initiative OSI - The MIT License (MIT):Licensing # # The MIT License (MIT) # Copyright (c) 2012 DotCloud Inc (opensource@dotcloud.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Softwa...
mit
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 3232, 5800, 21412, 1905, 25718, 446, 710, 10697, 844, 334, 13965, 304, 44, 530, 25843, 199, 3, 199, 3, 710, 10697, 844, 334, 13965, 9, 199, 3, 1898, 334, 67, 9, 6029, 24716, 9089, 3...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 3232, 5800, 21412, 1905, 25718, 446, 710, 10697, 844, 334, 13965, 304, 44, 530, 25843, 199, 3, 199, 3, 710, 10697, 844, 334, 13965, 9, 199, 3, 1898, 334, 67, 9, 6029, 24716, 9089, 3277, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
jusjusjus/pyedf
pyedf/score/score.py
1
6055
#! /usr/bin/python from __future__ import with_statement import logging from .state import State import numpy as np import os import re class Score(object): logger = logging.getLogger(name='Score') commentSymbol = '#' # used for comments in state.annot lineSeparator = ',' # used as separators i...
gpl-3.0
[ 3168, 1182, 2647, 15, 1393, 15, 1548, 199, 199, 504, 636, 2443, 363, 492, 543, 63, 6242, 199, 199, 646, 2050, 199, 504, 1275, 929, 492, 8511, 199, 646, 2680, 465, 980, 199, 646, 747, 199, 646, 295, 4388, 199, 533, 25318, 8, 785, ...
[ 1182, 2647, 15, 1393, 15, 1548, 199, 199, 504, 636, 2443, 363, 492, 543, 63, 6242, 199, 199, 646, 2050, 199, 504, 1275, 929, 492, 8511, 199, 646, 2680, 465, 980, 199, 646, 747, 199, 646, 295, 4388, 199, 533, 25318, 8, 785, 304, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Perferom/android_external_chromium_org
sync/tools/testserver/chromiumsync_test.py
154
30090
#!/usr/bin/env python # Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Tests exercising chromiumsync and SyncDataModel.""" import pickle import unittest import autofill_specifics_pb2 import bookmark_sp...
bsd-3-clause
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1898, 6171, 710, 12051, 6642, 14, 2900, 4481, 4644, 14, 199, 3, 3645, 402, 642, 1350, 1233, 365, 10413, 701, 282, 6289, 13, 2487, 4190, 626, 883, 506, 199, 3, 1911, 315, 314, 5113, 570...
[ 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1898, 6171, 710, 12051, 6642, 14, 2900, 4481, 4644, 14, 199, 3, 3645, 402, 642, 1350, 1233, 365, 10413, 701, 282, 6289, 13, 2487, 4190, 626, 883, 506, 199, 3, 1911, 315, 314, 5113, 570, 14, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Omegaphora/external_chromium_org
third_party/protobuf/python/google/protobuf/descriptor_database.py
230
4411
# Protocol Buffers - Google's data interchange format # Copyright 2008 Google Inc. All rights reserved. # http://code.google.com/p/protobuf/ # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions o...
bsd-3-clause
[ 3, 11557, 699, 3043, 1192, 446, 4475, 1159, 666, 1640, 1461, 1475, 199, 3, 1898, 9079, 4475, 3277, 14, 221, 2900, 4481, 4644, 14, 199, 3, 1455, 921, 600, 14, 3098, 14, 957, 15, 80, 15, 7204, 15, 199, 3, 199, 3, 10114, 436, 675, ...
[ 11557, 699, 3043, 1192, 446, 4475, 1159, 666, 1640, 1461, 1475, 199, 3, 1898, 9079, 4475, 3277, 14, 221, 2900, 4481, 4644, 14, 199, 3, 1455, 921, 600, 14, 3098, 14, 957, 15, 80, 15, 7204, 15, 199, 3, 199, 3, 10114, 436, 675, 315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
arongdari/sparse-graph-prior
sgp/GraphUtil.py
1
1649
import numpy as np import networkx as nx from collections import defaultdict from scipy.sparse import csr_matrix, csc_matrix, triu def sparse_to_networkx(G): nnz = G.nonzero() _G = nx.Graph() _G.add_edges_from(zip(nnz[0], nnz[1])) return _G def compute_growth_rate(G, n_repeat=10): """ Compute...
mit
[ 646, 2680, 465, 980, 199, 646, 24313, 465, 8484, 199, 504, 5055, 492, 10018, 199, 504, 7026, 14, 4421, 492, 22258, 63, 3642, 12, 28308, 63, 3642, 12, 3229, 85, 421, 199, 318, 5178, 63, 475, 63, 1200, 88, 8, 39, 304, 272, 11542, ...
[ 2680, 465, 980, 199, 646, 24313, 465, 8484, 199, 504, 5055, 492, 10018, 199, 504, 7026, 14, 4421, 492, 22258, 63, 3642, 12, 28308, 63, 3642, 12, 3229, 85, 421, 199, 318, 5178, 63, 475, 63, 1200, 88, 8, 39, 304, 272, 11542, 90, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
bjodah/aqchem
chempy/tests/test_reactionsystem.py
1
13409
# -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function) from itertools import chain import pytest from ..util.testing import requires from ..util.parsing import parsing_library from ..units import default_units, units_library, allclose from ..chemistry import Substance, Reaction fr...
bsd-2-clause
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 504, 636, 2443, 363, 492, 334, 6116, 63, 646, 12, 4629, 12, 870, 63, 1593, 9, 199, 199, 504, 7975, 492, 6036, 199, 199, 646, 4613, 199, 199, 504, 2508, 1974, 14, 4776, 492, 5074, 199, ...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 504, 636, 2443, 363, 492, 334, 6116, 63, 646, 12, 4629, 12, 870, 63, 1593, 9, 199, 199, 504, 7975, 492, 6036, 199, 199, 646, 4613, 199, 199, 504, 2508, 1974, 14, 4776, 492, 5074, 199, 504...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ianmiell/docker-selinux
docker_selinux.py
1
6584
"""ShutIt module. See http://shutit.tk """ from shutit_module import ShutItModule class docker_selinux(ShutItModule): def build(self, shutit): # Some useful API calls for reference see shutit's docs for more info and options: # shutit.send(send) - send a command # shutit.multisend(send,send_dict) - send a co...
mit
[ 624, 2662, 337, 7940, 859, 14, 1666, 1455, 921, 609, 935, 84, 14, 2663, 199, 624, 199, 199, 504, 1033, 935, 84, 63, 578, 492, 5244, 337, 7940, 2377, 421, 199, 533, 12424, 63, 19931, 8, 2662, 337, 7940, 2377, 304, 421, 198, 318, ...
[ 2662, 337, 7940, 859, 14, 1666, 1455, 921, 609, 935, 84, 14, 2663, 199, 624, 199, 199, 504, 1033, 935, 84, 63, 578, 492, 5244, 337, 7940, 2377, 421, 199, 533, 12424, 63, 19931, 8, 2662, 337, 7940, 2377, 304, 421, 198, 318, 1900, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ycaihua/kbengine
kbe/src/lib/python/Lib/test/test_traceback.py
80
16912
"""Test cases for traceback module""" from io import StringIO import sys import unittest import re from test.support import run_unittest, Error, captured_output from test.support import TESTFN, unlink, cpython_only import traceback class SyntaxTracebackCases(unittest.TestCase): # For now, a very minimal set of ...
lgpl-3.0
[ 624, 774, 5560, 367, 5190, 859, 624, 199, 199, 504, 5890, 492, 5228, 199, 646, 984, 199, 646, 2882, 199, 646, 295, 199, 504, 511, 14, 4058, 492, 1255, 63, 2796, 12, 4520, 12, 17487, 63, 1199, 199, 504, 511, 14, 4058, 492, 25788, ...
[ 774, 5560, 367, 5190, 859, 624, 199, 199, 504, 5890, 492, 5228, 199, 646, 984, 199, 646, 2882, 199, 646, 295, 199, 504, 511, 14, 4058, 492, 1255, 63, 2796, 12, 4520, 12, 17487, 63, 1199, 199, 504, 511, 14, 4058, 492, 25788, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
kvar/ansible
lib/ansible/module_utils/ec2.py
20
28571
# This code is part of Ansible, but is an independent component. # This particular file snippet, and this file snippet only, is BSD licensed. # Modules you write using this snippet, which is embedded dynamically by Ansible # still belong to the author of the module, and may assign their own license # to the complete wo...
gpl-3.0
[ 3, 961, 1233, 365, 1777, 402, 2622, 12, 1325, 365, 376, 12717, 3931, 14, 199, 3, 961, 6770, 570, 17440, 12, 436, 642, 570, 17440, 1454, 12, 365, 6289, 18233, 14, 199, 3, 18167, 1265, 2218, 1808, 642, 17440, 12, 1314, 365, 12169, 1...
[ 961, 1233, 365, 1777, 402, 2622, 12, 1325, 365, 376, 12717, 3931, 14, 199, 3, 961, 6770, 570, 17440, 12, 436, 642, 570, 17440, 1454, 12, 365, 6289, 18233, 14, 199, 3, 18167, 1265, 2218, 1808, 642, 17440, 12, 1314, 365, 12169, 18774,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
armink/rt-thread
bsp/avr32uc3b0/rtconfig.py
18
1667
import os # toolchains options ARCH = 'avr32' CPU = 'uc3' PART = 'uc3b0256' BOARD = 'USERBOARD' CROSS_TOOL = 'gcc' if os.getenv('RTT_CC'): CROSS_TOOL = os.getenv('RTT_CC') if CROSS_TOOL == 'gcc': PLATFORM = 'gcc' EXEC_PATH = 'C:/Program Files/Atmel/AVR Tools/AVR Toolchain/bin' elif CROSS_TOOL...
apache-2.0
[ 646, 747, 199, 199, 3, 4744, 17419, 1511, 199, 7762, 258, 275, 283, 1214, 82, 708, 7, 199, 11011, 420, 275, 283, 947, 19, 7, 199, 14848, 258, 275, 283, 947, 19, 66, 16, 3912, 7, 199, 23368, 259, 275, 283, 3791, 23368, 7, 199, ...
[ 747, 199, 199, 3, 4744, 17419, 1511, 199, 7762, 258, 275, 283, 1214, 82, 708, 7, 199, 11011, 420, 275, 283, 947, 19, 7, 199, 14848, 258, 275, 283, 947, 19, 66, 16, 3912, 7, 199, 23368, 259, 275, 283, 3791, 23368, 7, 199, 199, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
azumimuo/family-xbmc-addon
plugin.video.specto/resources/lib/resolvers/cloudyvideos.py
10
2259
# -*- coding: utf-8 -*- ''' Specto Add-on Copyright (C) 2015 lambda This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any l...
gpl-2.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 2344, 272, 428, 1764, 79, 2654, 13, 265, 272, 1898, 334, 35, 9, 6900, 2400, 339, 961, 2240, 365, 2867, 2032, 26, 1265, 883, 3604, 652, 436, 15, 269, 2811, 272, 652, 1334, 314, 289...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 2344, 272, 428, 1764, 79, 2654, 13, 265, 272, 1898, 334, 35, 9, 6900, 2400, 339, 961, 2240, 365, 2867, 2032, 26, 1265, 883, 3604, 652, 436, 15, 269, 2811, 272, 652, 1334, 314, 2895, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
456838/usefulCode
YHamburgGit/freeline.py
11
1696
#!/usr/bin/python # -*- coding:utf-8 -*- from __future__ import print_function import sys from argparse import ArgumentParser from freeline_core.dispatcher import Dispatcher from freeline_core.init import init class Freeline(object): def __init__(self): self.dispatcher = Dispatcher() def call(self, ...
apache-2.0
[ 3381, 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 1624, 13, 24, 1882, 199, 504, 636, 2443, 363, 492, 870, 63, 1593, 199, 646, 984, 199, 504, 7534, 492, 27615, 199, 199, 504, 20673, 32347, 63, 1018, 14, 14913, 492, 5289, 1123...
[ 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 1624, 13, 24, 1882, 199, 504, 636, 2443, 363, 492, 870, 63, 1593, 199, 646, 984, 199, 504, 7534, 492, 27615, 199, 199, 504, 20673, 32347, 63, 1018, 14, 14913, 492, 5289, 11238, 199...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
indro/t2c
libs/external_libs/Pygments-0.11.1/pygments/styles/friendly.py
24
2508
# -*- coding: utf-8 -*- """ pygments.styles.friendly ~~~~~~~~~~~~~~~~~~~~~~~~ A modern style based on the VIM pyte theme. :copyright: 2006-2007 by Georg Brandl, Armin Ronacher. :license: BSD, see LICENSE for more details. """ from pygments.style import Style from pygments.token import Keyword, Na...
mit
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 624, 272, 13277, 14, 12955, 14, 17317, 272, 18294, 4919, 339, 437, 818, 11641, 3449, 4079, 641, 314, 812, 1469, 1134, 266, 8879, 14, 339, 520, 7307, 26, 8315, 13, 9488, 701, 5346, 1308, ...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 624, 272, 13277, 14, 12955, 14, 17317, 272, 18294, 4919, 339, 437, 818, 11641, 3449, 4079, 641, 314, 812, 1469, 1134, 266, 8879, 14, 339, 520, 7307, 26, 8315, 13, 9488, 701, 5346, 1308, 699, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ahu-odoo/odoo
addons/report_intrastat/__init__.py
377
1079
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the...
agpl-3.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 258, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 8353, 13, 6542, 11947, 12361, 8642, 1014, 921, 9864, 14, 1235, 10121, 199, 3, 199, 3, ...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 258, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 8353, 13, 6542, 11947, 12361, 8642, 1014, 921, 9864, 14, 1235, 10121, 199, 3, 199, 3, 259,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
kuiwei/edx-platform
common/lib/xmodule/xmodule/tests/test_peer_grading.py
33
16061
import unittest import json import logging from mock import Mock, patch from webob.multidict import MultiDict from xblock.field_data import DictFieldData from xblock.fields import ScopeIds from opaque_keys.edx.locations import Location, SlashSeparatedCourseKey from xmodule.tests import get_test_system, get_test_descr...
agpl-3.0
[ 646, 2882, 199, 646, 2022, 199, 646, 2050, 199, 504, 1683, 492, 4420, 12, 3371, 199, 504, 14568, 14, 3029, 807, 492, 29393, 199, 199, 504, 12971, 14, 698, 63, 576, 492, 7448, 792, 1451, 199, 504, 12971, 14, 955, 492, 20488, 11506, ...
[ 2882, 199, 646, 2022, 199, 646, 2050, 199, 504, 1683, 492, 4420, 12, 3371, 199, 504, 14568, 14, 3029, 807, 492, 29393, 199, 199, 504, 12971, 14, 698, 63, 576, 492, 7448, 792, 1451, 199, 504, 12971, 14, 955, 492, 20488, 11506, 199, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
chrisnatali/networkx
networkx/drawing/tests/test_layout.py
43
1870
"""Unit tests for layout functions.""" import sys from nose import SkipTest from nose.tools import assert_equal import networkx as nx class TestLayout(object): numpy=1 # nosetests attribute, use nosetests -a 'not numpy' to skip test @classmethod def setupClass(cls): global numpy try: ...
bsd-3-clause
[ 624, 5072, 2295, 367, 7054, 3423, 1041, 199, 646, 984, 199, 504, 11354, 492, 18795, 199, 504, 11354, 14, 2537, 492, 702, 63, 1452, 199, 646, 24313, 465, 8484, 199, 199, 533, 1379, 4798, 8, 785, 304, 272, 2680, 29, 17, 327, 11354, ...
[ 5072, 2295, 367, 7054, 3423, 1041, 199, 646, 984, 199, 504, 11354, 492, 18795, 199, 504, 11354, 14, 2537, 492, 702, 63, 1452, 199, 646, 24313, 465, 8484, 199, 199, 533, 1379, 4798, 8, 785, 304, 272, 2680, 29, 17, 327, 11354, 2219, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
AnishShah/tensorflow
tensorflow/compiler/tests/adadelta_test.py
16
5553
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
apache-2.0
[ 3, 1898, 14894, 710, 9134, 6642, 14, 2900, 5924, 5702, 14, 199, 3, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 199, 3, 1265, 1443, 440, 675, 642, 570, 871, 315, 4151, 543, 314, 844, 14,...
[ 1898, 14894, 710, 9134, 6642, 14, 2900, 5924, 5702, 14, 199, 3, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 199, 3, 1265, 1443, 440, 675, 642, 570, 871, 315, 4151, 543, 314, 844, 14, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
LoHChina/nova
nova/api/openstack/compute/contrib/cells.py
31
13462
# Copyright 2011-2012 OpenStack Foundation # All Rights Reserved. # Copyright 2013 Red Hat, Inc. # # 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/lic...
apache-2.0
[ 3, 1898, 7760, 13, 7409, 14260, 2752, 199, 3, 2900, 5924, 5702, 14, 199, 3, 1898, 6171, 9572, 13002, 12, 3277, 14, 199, 3, 199, 3, 259, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 1265, 1443, 1...
[ 1898, 7760, 13, 7409, 14260, 2752, 199, 3, 2900, 5924, 5702, 14, 199, 3, 1898, 6171, 9572, 13002, 12, 3277, 14, 199, 3, 199, 3, 259, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 298, 3761, 3547, 1265, 1443, 199, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
syhpoon/xyzcmd
libxyz/ui/size.py
1
1143
#-*- coding: utf8 -* # # Max E. Kuznecov ~syhpoon <syhpoon@syhpoon.name> 2008 # # This file is part of XYZCommander. # XYZCommander is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser Public License as published by # the Free Software Foundation, either version 3 of the Licens...
gpl-3.0
[ 3, 13, 1837, 2803, 26, 2774, 24, 446, 10, 199, 3, 199, 3, 8228, 662, 14, 1804, 9494, 685, 8695, 6146, 1786, 72, 555, 265, 665, 1786, 72, 555, 265, 32, 1786, 72, 555, 265, 14, 354, 30, 9079, 199, 3, 199, 3, 961, 570, 365, 177...
[ 13, 1837, 2803, 26, 2774, 24, 446, 10, 199, 3, 199, 3, 8228, 662, 14, 1804, 9494, 685, 8695, 6146, 1786, 72, 555, 265, 665, 1786, 72, 555, 265, 32, 1786, 72, 555, 265, 14, 354, 30, 9079, 199, 3, 199, 3, 961, 570, 365, 1777, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
junbochen/pylearn2
pylearn2/datasets/tests/test_hdf5.py
47
7240
""" HDF5 dataset tests. """ import numpy as np import os import tempfile from pylearn2.config import yaml_parse from pylearn2.testing.datasets import ( random_dense_design_matrix, random_one_hot_dense_design_matrix, random_one_hot_topological_dense_design_matrix) from pylearn2.testing.skip import skip_if_n...
bsd-3-clause
[ 624, 199, 30165, 21, 4789, 2295, 14, 199, 624, 199, 646, 2680, 465, 980, 199, 646, 747, 199, 646, 5549, 199, 199, 504, 27959, 18, 14, 888, 492, 8864, 63, 1122, 199, 504, 27959, 18, 14, 4776, 14, 12281, 492, 334, 272, 2196, 63, 7...
[ 199, 30165, 21, 4789, 2295, 14, 199, 624, 199, 646, 2680, 465, 980, 199, 646, 747, 199, 646, 5549, 199, 199, 504, 27959, 18, 14, 888, 492, 8864, 63, 1122, 199, 504, 27959, 18, 14, 4776, 14, 12281, 492, 334, 272, 2196, 63, 7253, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
yoer/hue
desktop/core/ext-py/Pygments-1.3.1/scripts/reindent.py
194
9926
#! /usr/bin/env python # Released to the public domain, by Tim Peters, 03 October 2000. # -B option added by Georg Brandl, 2006. """reindent [-d][-r][-v] [ path ... ] -d (--dryrun) Dry run. Analyze, but don't make any changes to files. -r (--recurse) Recurse. Search for all .py files in subdirectories too. -B (--...
apache-2.0
[ 3168, 1182, 2647, 15, 1393, 15, 1813, 2366, 199, 199, 3, 17646, 68, 370, 314, 4575, 2881, 12, 701, 26244, 11379, 878, 12, 30569, 18365, 22459, 12293, 14, 199, 3, 446, 34, 945, 3483, 701, 5346, 1308, 699, 3759, 76, 12, 8315, 14, 19...
[ 1182, 2647, 15, 1393, 15, 1813, 2366, 199, 199, 3, 17646, 68, 370, 314, 4575, 2881, 12, 701, 26244, 11379, 878, 12, 30569, 18365, 22459, 12293, 14, 199, 3, 446, 34, 945, 3483, 701, 5346, 1308, 699, 3759, 76, 12, 8315, 14, 199, 199...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
tomzhang/googletest
test/gtest_filter_unittest.py
2826
21261
#!/usr/bin/env python # # Copyright 2005 Google Inc. 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...
bsd-3-clause
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 199, 3, 1898, 11811, 4475, 3277, 14, 2900, 5924, 5702, 14, 199, 3, 199, 3, 10114, 436, 675, 315, 1350, 436, 3366, 4513, 12, 543, 503, 1928, 199, 3, 7100, 12, 787, 8211, 2741, 626, 31...
[ 2647, 15, 1393, 15, 1813, 2366, 199, 3, 199, 3, 1898, 11811, 4475, 3277, 14, 2900, 5924, 5702, 14, 199, 3, 199, 3, 10114, 436, 675, 315, 1350, 436, 3366, 4513, 12, 543, 503, 1928, 199, 3, 7100, 12, 787, 8211, 2741, 626, 314, 256...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Cloudef/mpv
waftools/checks/custom.py
1
4397
from waftools.inflectors import DependencyInflector from waftools.checks.generic import * from waflib import Utils import os __all__ = ["check_pthreads", "check_iconv", "check_lua", "check_oss_4front", "check_cocoa"] pthreads_program = load_fragment('pthreads.c') def check_pthread_flag(ctx, dependency_ide...
gpl-2.0
[ 504, 25782, 2537, 14, 4904, 3283, 83, 492, 22922, 17354, 3283, 199, 504, 25782, 2537, 14, 8625, 14, 6767, 492, 627, 199, 504, 31380, 492, 17397, 199, 646, 747, 199, 199, 363, 452, 363, 275, 2097, 1074, 63, 80, 6962, 401, 298, 1074, ...
[ 25782, 2537, 14, 4904, 3283, 83, 492, 22922, 17354, 3283, 199, 504, 25782, 2537, 14, 8625, 14, 6767, 492, 627, 199, 504, 31380, 492, 17397, 199, 646, 747, 199, 199, 363, 452, 363, 275, 2097, 1074, 63, 80, 6962, 401, 298, 1074, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
anryko/ansible
test/units/modules/network/nxos/test_nxos_ospf.py
23
2029
# (c) 2016 Red Hat Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is dis...
gpl-3.0
[ 3, 334, 67, 9, 7800, 9572, 13002, 3277, 14, 199, 3, 199, 3, 961, 570, 365, 1777, 402, 2622, 199, 3, 199, 3, 2622, 365, 2867, 2032, 26, 1265, 883, 3604, 652, 436, 15, 269, 2811, 199, 3, 652, 1334, 314, 2895, 402, 314, 1664, 169...
[ 334, 67, 9, 7800, 9572, 13002, 3277, 14, 199, 3, 199, 3, 961, 570, 365, 1777, 402, 2622, 199, 3, 199, 3, 2622, 365, 2867, 2032, 26, 1265, 883, 3604, 652, 436, 15, 269, 2811, 199, 3, 652, 1334, 314, 2895, 402, 314, 1664, 1696, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
anryko/ansible
lib/ansible/modules/cloud/vultr/vultr_plan_info.py
21
3763
#!/usr/bin/python # -*- coding: utf-8 -*- # # (c) 2018, Yanis Guenane <yanis+ansible@guenane.org> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type ANSIBLE_METADATA = {'metadata_version':...
gpl-3.0
[ 3381, 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 199, 3, 334, 67, 9, 14894, 12, 1488, 7199, 12436, 287, 5865, 665, 89, 7199, 11, 4853, 32, 6051, 287, 5865, 14, 1308, 30, 199, 3, 1664, 1696, 1...
[ 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 199, 3, 334, 67, 9, 14894, 12, 1488, 7199, 12436, 287, 5865, 665, 89, 7199, 11, 4853, 32, 6051, 287, 5865, 14, 1308, 30, 199, 3, 1664, 1696, 1684, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
kailIII/geraldo
site/newsite/django_1_0/django/dispatch/dispatcher.py
9
17129
"""Multiple-producer-multiple-consumer signal-dispatching dispatcher is the core of the PyDispatcher system, providing the primary API and the core logic for the system. Module attributes of note: Any -- Singleton used to signal either "Any Sender" or "Any Signal". See documentation of the _Any class. ...
lgpl-3.0
[ 624, 8433, 13, 16376, 13, 6048, 13, 8542, 4673, 13, 6052, 316, 199, 199, 14913, 365, 314, 6170, 402, 314, 1611, 15461, 2656, 12, 199, 496, 11604, 314, 5062, 3261, 436, 314, 6170, 9661, 367, 314, 199, 2253, 14, 199, 199, 2377, 3004, ...
[ 8433, 13, 16376, 13, 6048, 13, 8542, 4673, 13, 6052, 316, 199, 199, 14913, 365, 314, 6170, 402, 314, 1611, 15461, 2656, 12, 199, 496, 11604, 314, 5062, 3261, 436, 314, 6170, 9661, 367, 314, 199, 2253, 14, 199, 199, 2377, 3004, 402, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Dunkas12/BeepBoopBot
lib/youtube_dl/extractor/tubitv.py
32
3025
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from ..utils import ( ExtractorError, int_or_none, sanitized_Request, urlencode_postdata, ) class TubiTvIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?tubitv\.com/video/(?P<id>[0-9]+)' _...
gpl-3.0
[ 3, 2803, 26, 2774, 13, 24, 199, 504, 636, 2443, 363, 492, 2649, 63, 5955, 199, 199, 646, 295, 199, 199, 504, 1275, 2330, 492, 21298, 199, 504, 2508, 1208, 492, 334, 272, 19783, 12, 272, 1109, 63, 269, 63, 3592, 12, 272, 31734, 6...
[ 2803, 26, 2774, 13, 24, 199, 504, 636, 2443, 363, 492, 2649, 63, 5955, 199, 199, 646, 295, 199, 199, 504, 1275, 2330, 492, 21298, 199, 504, 2508, 1208, 492, 334, 272, 19783, 12, 272, 1109, 63, 269, 63, 3592, 12, 272, 31734, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
rmariano/pywars
game/views.py
2
7077
import json from django.http import HttpResponse, JsonResponse from django.shortcuts import render, redirect from django.views.decorators.csrf import csrf_exempt from django.views.decorators.http import require_POST from django.contrib.auth.decorators import login_required from django.views.decorators.cache import cach...
mit
[ 646, 2022, 199, 504, 1639, 14, 1014, 492, 6183, 12, 21072, 199, 504, 1639, 14, 17469, 492, 3795, 12, 4660, 199, 504, 1639, 14, 4196, 14, 11582, 14, 10088, 492, 19213, 63, 25254, 199, 504, 1639, 14, 4196, 14, 11582, 14, 1014, 492, ...
[ 2022, 199, 504, 1639, 14, 1014, 492, 6183, 12, 21072, 199, 504, 1639, 14, 17469, 492, 3795, 12, 4660, 199, 504, 1639, 14, 4196, 14, 11582, 14, 10088, 492, 19213, 63, 25254, 199, 504, 1639, 14, 4196, 14, 11582, 14, 1014, 492, 4409, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
flotre/sickbeard-vfvo
lib/requests/packages/chardet2/gb2312prober.py
2994
1681
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights Reserved. # # Con...
gpl-3.0
[ 6565, 16427, 5113, 8068, 11945, 199, 3, 710, 12769, 5495, 365, 1303, 6956, 14, 1308, 1233, 14, 199, 3, 199, 3, 710, 6026, 9607, 402, 314, 12769, 5495, 365, 199, 3, 20433, 18686, 11098, 14, 199, 3, 20825, 2737, 701, 314, 6026, 9607, ...
[ 16427, 5113, 8068, 11945, 199, 3, 710, 12769, 5495, 365, 1303, 6956, 14, 1308, 1233, 14, 199, 3, 199, 3, 710, 6026, 9607, 402, 314, 12769, 5495, 365, 199, 3, 20433, 18686, 11098, 14, 199, 3, 20825, 2737, 701, 314, 6026, 9607, 787, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
flotre/sickbeard-vfvo
cherrypy/_cpchecker.py
39
14290
import os import warnings import cherrypy class Checker(object): """A checker for CherryPy sites and their mounted applications. on: set this to False to turn off the checker completely. When this object is called at engine startup, it executes each of its own methods whose names start with...
gpl-3.0
[ 646, 747, 199, 646, 3598, 199, 199, 646, 13397, 421, 199, 533, 2670, 281, 8, 785, 304, 272, 408, 33, 7739, 367, 30992, 27794, 15424, 436, 3932, 27979, 13103, 14, 2286, 641, 26, 663, 642, 370, 756, 370, 7485, 2331, 314, 7739, 14793, ...
[ 747, 199, 646, 3598, 199, 199, 646, 13397, 421, 199, 533, 2670, 281, 8, 785, 304, 272, 408, 33, 7739, 367, 30992, 27794, 15424, 436, 3932, 27979, 13103, 14, 2286, 641, 26, 663, 642, 370, 756, 370, 7485, 2331, 314, 7739, 14793, 14, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
GrognardsFromHell/TemplePlus
tpdatasrc/co8infra/scr/Spell741 - Ice Breath Weapon.py
1
1381
from toee import * def OnBeginSpellCast( spell ): print "Frozen Breath OnBeginSpellCast" print "spell.target_list=", spell.target_list print "spell.caster=", spell.caster, " caster.level= ", spell.caster_level game.particles( "sp-evocation-conjure", spell.caster ) def OnSpellEffect ( spell ): print "Frozen Breat...
mit
[ 504, 370, 1024, 492, 627, 199, 199, 318, 4068, 5595, 27047, 914, 24654, 8, 14475, 914, 3461, 199, 198, 1361, 298, 29767, 699, 264, 1619, 4068, 5595, 27047, 914, 24654, 2, 199, 198, 1361, 298, 32252, 14, 1375, 63, 513, 11107, 14475, ...
[ 370, 1024, 492, 627, 199, 199, 318, 4068, 5595, 27047, 914, 24654, 8, 14475, 914, 3461, 199, 198, 1361, 298, 29767, 699, 264, 1619, 4068, 5595, 27047, 914, 24654, 2, 199, 198, 1361, 298, 32252, 14, 1375, 63, 513, 11107, 14475, 914, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Nowheresly/odoo
addons/delivery/stock.py
38
10914
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
agpl-3.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 8353, 13, 6542, 11947, 12361, 8642, 1014, 921, 9864, 14, 1235, 10121, 199, 3, 199, 3, 259, ...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 8353, 13, 6542, 11947, 12361, 8642, 1014, 921, 9864, 14, 1235, 10121, 199, 3, 199, 3, 259, 961,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
fboers/jumeg
examples/do_MLICA.py
1
5891
""" Compute ICA object based on filtered and downsampled data. Identify ECG and EOG artifacts using MLICA and compare results to correlation & ctps analysis. Apply ICA object to filtered and unfiltered data. Ahmad Hasasneh, Nikolas Kampel, Praveen Sripad, N. Jon Shah, and Juergen Dammers "Deep Learning Approach for A...
bsd-3-clause
[ 624, 199, 8564, 473, 3263, 909, 4079, 641, 9806, 436, 366, 23311, 865, 68, 666, 14, 199, 17062, 3338, 662, 4064, 436, 662, 14008, 27990, 1808, 603, 2507, 33, 436, 6540, 199, 2604, 370, 21280, 1253, 286, 30543, 11284, 14, 199, 199, 1...
[ 199, 8564, 473, 3263, 909, 4079, 641, 9806, 436, 366, 23311, 865, 68, 666, 14, 199, 17062, 3338, 662, 4064, 436, 662, 14008, 27990, 1808, 603, 2507, 33, 436, 6540, 199, 2604, 370, 21280, 1253, 286, 30543, 11284, 14, 199, 199, 16581, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
bfaviero/ok
nodisk.py
1
2852
import os import subprocess H_NAME = 'oauth-kerberos-server' H_FOLDER = os.path.join('/cgroup', H_NAME) CGROUP_NAME = 'thegroup' CGROUP_FOLDER = os.path.join(H_FOLDER, CGROUP_NAME) MOUNT_CMD_PATH = '/bin/mount' UMOUNT_CMD_PATH = '/bin/umount' MOUNTPOINT_CMD_PATH = '/bin/mountpoint' def prevent_swapping(): """preve...
mit
[ 646, 747, 199, 646, 3873, 199, 199, 40, 63, 2339, 275, 283, 6126, 13, 2570, 23920, 13, 1000, 7, 199, 40, 63, 19041, 275, 747, 14, 515, 14, 904, 2336, 24483, 297, 869, 63, 2339, 9, 199, 199, 4064, 6543, 63, 2339, 275, 283, 1589, ...
[ 747, 199, 646, 3873, 199, 199, 40, 63, 2339, 275, 283, 6126, 13, 2570, 23920, 13, 1000, 7, 199, 40, 63, 19041, 275, 747, 14, 515, 14, 904, 2336, 24483, 297, 869, 63, 2339, 9, 199, 199, 4064, 6543, 63, 2339, 275, 283, 1589, 923, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
explosion/thinc
thinc/tests/layers/test_combinators.py
1
7655
import pytest import numpy from numpy.testing import assert_allclose from thinc.api import clone, concatenate, noop, add, map_list from thinc.api import Linear, Dropout, Model, NumpyOps from thinc.layers import chain, tuplify @pytest.fixture(params=[1, 2, 9]) def nB(request): return request.param @pytest.fixtur...
mit
[ 646, 4613, 199, 646, 2680, 199, 504, 2680, 14, 4776, 492, 702, 63, 7520, 199, 504, 294, 6559, 14, 1246, 492, 7289, 12, 24788, 12, 29689, 12, 1050, 12, 2341, 63, 513, 199, 504, 294, 6559, 14, 1246, 492, 12489, 12, 18110, 548, 12, ...
[ 4613, 199, 646, 2680, 199, 504, 2680, 14, 4776, 492, 702, 63, 7520, 199, 504, 294, 6559, 14, 1246, 492, 7289, 12, 24788, 12, 29689, 12, 1050, 12, 2341, 63, 513, 199, 504, 294, 6559, 14, 1246, 492, 12489, 12, 18110, 548, 12, 5822, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
tersmitten/ansible
lib/ansible/modules/cloud/vmware/vmware_tag.py
7
8097
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2018, Ansible Project # Copyright: (c) 2018, Abhijeet Kasurde <akasurde@redhat.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = ty...
gpl-3.0
[ 3381, 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 1898, 26, 334, 67, 9, 14894, 12, 2622, 7290, 199, 3, 1898, 26, 334, 67, 9, 14894, 12, 8351, 5812, 6532, 386, 1804, 305, 300, 271, 665, 1151, 3...
[ 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 3, 1898, 26, 334, 67, 9, 14894, 12, 2622, 7290, 199, 3, 1898, 26, 334, 67, 9, 14894, 12, 8351, 5812, 6532, 386, 1804, 305, 300, 271, 665, 1151, 305, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
shadyueh/pyranking
env/lib/python2.7/site-packages/django/contrib/auth/handlers/modwsgi.py
537
1344
from django import db from django.contrib import auth from django.utils.encoding import force_bytes def check_password(environ, username, password): """ Authenticates against Django's auth database mod_wsgi docs specify None, True, False as return value depending on whether the user exists and authen...
mit
[ 504, 1639, 492, 1592, 199, 504, 1639, 14, 2828, 492, 1790, 199, 504, 1639, 14, 1208, 14, 2991, 492, 3542, 63, 2394, 421, 199, 318, 1104, 63, 2060, 8, 2314, 12, 3434, 12, 2505, 304, 272, 408, 272, 3590, 2815, 2335, 6169, 5634, 1159...
[ 1639, 492, 1592, 199, 504, 1639, 14, 2828, 492, 1790, 199, 504, 1639, 14, 1208, 14, 2991, 492, 3542, 63, 2394, 421, 199, 318, 1104, 63, 2060, 8, 2314, 12, 3434, 12, 2505, 304, 272, 408, 272, 3590, 2815, 2335, 6169, 5634, 1159, 179...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
matejv/micropython-weatherstation
weatherstation.py
1
4667
from machine import I2C, Pin, Timer import socket import utime as time import dht from bmp180 import BMP180 # https://github.com/micropython-IMU/micropython-bmp180 from esp8266_i2c_lcd import I2cLcd # https://github.com/dhylands/python_lcd/ import clock, nethelper class WeatherStation: DHTPIN = 14 # DHT data pin ...
mit
[ 504, 6844, 492, 473, 18, 35, 12, 26486, 12, 22287, 199, 646, 2838, 199, 646, 399, 521, 465, 900, 199, 646, 366, 517, 199, 504, 330, 311, 7663, 492, 699, 1658, 7663, 327, 4178, 921, 5031, 14, 957, 15, 6453, 1548, 13, 1469, 53, 15...
[ 6844, 492, 473, 18, 35, 12, 26486, 12, 22287, 199, 646, 2838, 199, 646, 399, 521, 465, 900, 199, 646, 366, 517, 199, 504, 330, 311, 7663, 492, 699, 1658, 7663, 327, 4178, 921, 5031, 14, 957, 15, 6453, 1548, 13, 1469, 53, 15, 645...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Tao-Ma/gpdb
src/test/tinc/tincrepo/mpp/models/mpp_tc.py
12
25269
""" Copyright (c) 2004-Present Pivotal Software, Inc. This program and the accompanying materials are made available under the terms of the 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....
apache-2.0
[ 624, 199, 7384, 334, 67, 9, 8353, 13, 19794, 510, 1003, 1735, 2290, 12, 3277, 14, 199, 199, 2765, 2240, 436, 314, 23073, 8418, 787, 6326, 2808, 1334, 199, 1589, 2895, 402, 314, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 158...
[ 199, 7384, 334, 67, 9, 8353, 13, 19794, 510, 1003, 1735, 2290, 12, 3277, 14, 199, 199, 2765, 2240, 436, 314, 23073, 8418, 787, 6326, 2808, 1334, 199, 1589, 2895, 402, 314, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 1589, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
schmidsi/django-pyodbc
tests/order_with_respect_to/models.py
24
2132
""" Tests for the order_with_respect_to Meta attribute. """ from django.db import models class Question(models.Model): text = models.CharField(max_length=200) class Answer(models.Model): text = models.CharField(max_length=200) question = models.ForeignKey(Question) class Meta: order_with_res...
bsd-3-clause
[ 624, 199, 2925, 367, 314, 1865, 63, 1045, 63, 27872, 63, 475, 6288, 2225, 14, 199, 624, 199, 199, 504, 1639, 14, 697, 492, 1709, 199, 199, 533, 21421, 8, 992, 14, 1685, 304, 272, 1318, 275, 1709, 14, 2183, 8, 988, 63, 1267, 29, ...
[ 199, 2925, 367, 314, 1865, 63, 1045, 63, 27872, 63, 475, 6288, 2225, 14, 199, 624, 199, 199, 504, 1639, 14, 697, 492, 1709, 199, 199, 533, 21421, 8, 992, 14, 1685, 304, 272, 1318, 275, 1709, 14, 2183, 8, 988, 63, 1267, 29, 1840,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
mjirik/teigen
tests/teigen_test.py
1
6709
#! /usr/bin/env python # -*- coding: utf-8 -*- import logging logger = logging.getLogger(__name__) import unittest import sys import pytest # import teigen # import io3d import os.path as op path_to_script = op.dirname(op.abspath(__file__)) class MyTestCase(unittest.TestCase): # @pytest.mark.interactive ...
apache-2.0
[ 3168, 1182, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 646, 2050, 199, 2921, 275, 2050, 14, 5572, 3460, 354, 3368, 199, 646, 2882, 199, 646, 984, 199, 199, 646, 4613, 199, 3, 492, 1565, 8478, ...
[ 1182, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 646, 2050, 199, 2921, 275, 2050, 14, 5572, 3460, 354, 3368, 199, 646, 2882, 199, 646, 984, 199, 199, 646, 4613, 199, 3, 492, 1565, 8478, 199, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
40423130/2016fallcadp_hw
plugin/liquid_tags/flickr.py
278
3478
""" Flickr Tag ---------- This implements a Liquid-style flickr tag for Pelican. IMPORTANT: You have to create a API key to access the flickr api. You can do this `here <https://www.flickr.com/services/apps/create/apply>`_. Add the created key to your config under FLICKR_API_KEY. Syntax ------ {% flickr image_id [sma...
agpl-3.0
[ 624, 199, 38, 8442, 82, 8053, 199, 9460, 199, 2765, 9031, 282, 24157, 28398, 13, 2487, 289, 8442, 82, 1947, 367, 11379, 28091, 14, 199, 199, 17576, 1441, 26, 2047, 1172, 370, 1218, 282, 3261, 790, 370, 2879, 314, 289, 8442, 82, 2986...
[ 199, 38, 8442, 82, 8053, 199, 9460, 199, 2765, 9031, 282, 24157, 28398, 13, 2487, 289, 8442, 82, 1947, 367, 11379, 28091, 14, 199, 199, 17576, 1441, 26, 2047, 1172, 370, 1218, 282, 3261, 790, 370, 2879, 314, 289, 8442, 82, 2986, 14,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
euri10/pynavitia
setup.py
1
1662
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'Click>=6.0', # TODO: put package requirements here ] test_requirem...
mit
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 504, 9116, 492, 3272, 199, 199, 1045, 1551, 360, 18195, 14, 8332, 358, 465, 1586, 278, 63, 493, 26, 272, 1586, 278, 275, 1586, 278, 63, ...
[ 2647, 15, 1393, 15, 1813, 2366, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 504, 9116, 492, 3272, 199, 199, 1045, 1551, 360, 18195, 14, 8332, 358, 465, 1586, 278, 63, 493, 26, 272, 1586, 278, 275, 1586, 278, 63, 493, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
lovexiaov/SandwichApp
venv/lib/python2.7/site-packages/wheel/egg2wheel.py
471
2633
#!/usr/bin/env python import os.path import re import sys import tempfile import zipfile import wheel.bdist_wheel import shutil import distutils.dist from distutils.archive_util import make_archive from argparse import ArgumentParser from glob import iglob egg_info_re = re.compile(r'''(?P<name>.+?)-(?P<ver>.+?) (-...
apache-2.0
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 199, 646, 747, 14, 515, 199, 646, 295, 199, 646, 984, 199, 646, 5549, 199, 646, 10392, 199, 646, 9989, 14, 17403, 63, 11798, 199, 646, 5145, 199, 646, 7065, 14, 2686, 199, 504, 7065, 14, 6404,...
[ 2647, 15, 1393, 15, 1813, 2366, 199, 646, 747, 14, 515, 199, 646, 295, 199, 646, 984, 199, 646, 5549, 199, 646, 10392, 199, 646, 9989, 14, 17403, 63, 11798, 199, 646, 5145, 199, 646, 7065, 14, 2686, 199, 504, 7065, 14, 6404, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
jimmbraddock/ns-3.20-ATN
src/fd-net-device/bindings/modulegen_customizations.py
128
1118
import os def post_register_types(root_module): enabled_features = os.environ['NS3_ENABLED_FEATURES'].split(',') if 'EmuFdNetDevice' not in enabled_features: if 'ns3::EmuFdNetDeviceHelper'in root_module: root_module.classes.remove(root_module['ns3::EmuFdNetDeviceHelper']) if 'TapFdNet...
gpl-2.0
[ 646, 747, 199, 199, 318, 2963, 63, 2683, 63, 1313, 8, 1231, 63, 578, 304, 272, 5223, 63, 3179, 275, 747, 14, 2314, 459, 2709, 19, 63, 15704, 63, 13313, 2278, 1294, 11917, 339, 340, 283, 37, 6553, 20689, 4351, 7, 440, 315, 5223, ...
[ 747, 199, 199, 318, 2963, 63, 2683, 63, 1313, 8, 1231, 63, 578, 304, 272, 5223, 63, 3179, 275, 747, 14, 2314, 459, 2709, 19, 63, 15704, 63, 13313, 2278, 1294, 11917, 339, 340, 283, 37, 6553, 20689, 4351, 7, 440, 315, 5223, 63, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
JimCircadian/ansible
lib/ansible/module_utils/facts/hardware/darwin.py
96
3527
# This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that ...
gpl-3.0
[ 3, 961, 570, 365, 1777, 402, 2622, 199, 3, 199, 3, 2622, 365, 2867, 2032, 26, 1265, 883, 3604, 652, 436, 15, 269, 2811, 199, 3, 652, 1334, 314, 2895, 402, 314, 1664, 1696, 1684, 844, 465, 3267, 701, 199, 3, 314, 2868, 2290, 2752...
[ 961, 570, 365, 1777, 402, 2622, 199, 3, 199, 3, 2622, 365, 2867, 2032, 26, 1265, 883, 3604, 652, 436, 15, 269, 2811, 199, 3, 652, 1334, 314, 2895, 402, 314, 1664, 1696, 1684, 844, 465, 3267, 701, 199, 3, 314, 2868, 2290, 2752, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
15Dkatz/pants
src/python/pants/option/ranked_value.py
6
3858
# coding=utf-8 # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) class RankedValue(o...
apache-2.0
[ 3, 2803, 29, 1624, 13, 24, 199, 3, 1898, 6927, 510, 2285, 2199, 8417, 334, 3239, 6483, 14, 1064, 680, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 3239, 5113, 680, 199, 199, 504, 636, 2443, 363, 492, 334, 6116...
[ 2803, 29, 1624, 13, 24, 199, 3, 1898, 6927, 510, 2285, 2199, 8417, 334, 3239, 6483, 14, 1064, 680, 199, 3, 3909, 1334, 314, 3668, 844, 12, 3394, 499, 14, 16, 334, 3239, 5113, 680, 199, 199, 504, 636, 2443, 363, 492, 334, 6116, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
gangeli/NaturalLI
etc/aristo/turk_51_view-turker.py
1
2410
#!/usr/bin/env python # import argparse import sys import os import csv import time import math sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/../../lib/') from naturalli import * """ Parse the command line arguments """ def parseargs(): parser = argparse.ArgumentParser(description= 'Conve...
mit
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 199, 3, 199, 199, 646, 7534, 199, 646, 984, 199, 646, 747, 199, 646, 7392, 199, 646, 900, 199, 646, 3473, 199, 199, 1274, 14, 515, 14, 740, 8, 736, 14, 515, 14, 3475, 8, 736, 14, 515, 14, ...
[ 2647, 15, 1393, 15, 1813, 2366, 199, 3, 199, 199, 646, 7534, 199, 646, 984, 199, 646, 747, 199, 646, 7392, 199, 646, 900, 199, 646, 3473, 199, 199, 1274, 14, 515, 14, 740, 8, 736, 14, 515, 14, 3475, 8, 736, 14, 515, 14, 11091,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
rednach/krill
test/shinken_modules.py
13
9693
#!/usr/bin/env python import os import re import copy import time import subprocess import shutil import datetime # not used but "sub-"imported by livestatus test.. (to be corrected..) import sys # not here used but "sub-"imported by livestatus test.. (to be corrected..) # from shinken.modulesctx import modulesctx fr...
agpl-3.0
[ 3381, 2647, 15, 1393, 15, 1813, 2366, 199, 199, 646, 747, 199, 646, 295, 199, 646, 1331, 199, 646, 900, 199, 646, 3873, 199, 646, 5145, 199, 646, 2197, 327, 440, 1202, 1325, 298, 954, 23245, 17932, 701, 12166, 1205, 511, 703, 334, ...
[ 2647, 15, 1393, 15, 1813, 2366, 199, 199, 646, 747, 199, 646, 295, 199, 646, 1331, 199, 646, 900, 199, 646, 3873, 199, 646, 5145, 199, 646, 2197, 327, 440, 1202, 1325, 298, 954, 23245, 17932, 701, 12166, 1205, 511, 703, 334, 475, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
eLBati/stock-logistics-workflow
__unported__/stock_cancel/stock.py
7
3434
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (c) 2012 Andrea Cometa All Rights Reserved. # www.andreacometa.it # openerp@andreacometa.it # Copyright (...
agpl-3.0
[ 3, 1882, 2644, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 67, 9, 6029, 6061, 8273, 445, 1377, 502, 2900, 5924, 5702, 14, 199, 3, 9668, 20732, 14, 460, 8273, ...
[ 1882, 2644, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 67, 9, 6029, 6061, 8273, 445, 1377, 502, 2900, 5924, 5702, 14, 199, 3, 9668, 20732, 14, 460, 8273, 331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
402231466/40223146
pybean.py
562
8617
#coding: utf-8 import sqlite3 from pkg_resources import parse_version __version__ = "0.2.1" __author__ = "Mickael Desfrenes" __email__ = "desfrenes@gmail.com" # Yen 2013.04.08, 將 Python2 的 .next() 改為 next(), 以便在 Python 3 中使用 class SQLiteWriter(object): """ In frozen mode (the default), the writer will not a...
gpl-3.0
[ 3, 1523, 26, 2774, 13, 24, 199, 646, 11723, 19, 199, 504, 5496, 63, 4435, 492, 2198, 63, 1023, 199, 199, 363, 1023, 363, 275, 298, 16, 14, 18, 14, 17, 2, 199, 363, 2502, 363, 275, 298, 45, 2000, 10643, 8055, 70, 828, 397, 2, ...
[ 1523, 26, 2774, 13, 24, 199, 646, 11723, 19, 199, 504, 5496, 63, 4435, 492, 2198, 63, 1023, 199, 199, 363, 1023, 363, 275, 298, 16, 14, 18, 14, 17, 2, 199, 363, 2502, 363, 275, 298, 45, 2000, 10643, 8055, 70, 828, 397, 2, 199,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Johnzero/OE7
openerp/addons-modules/event_sale/event_sale.py
30
4724
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
agpl-3.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 8353, 13, 6542, 11947, 12361, 8642, 1014, 921, 9864, 14, 1235, 10121, 199, 3, 199, 3, 259, ...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 8353, 13, 6542, 11947, 12361, 8642, 1014, 921, 9864, 14, 1235, 10121, 199, 3, 199, 3, 259, 961,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
laperry1/android_external_chromium_org
build/android/pylib/base/test_dispatcher.py
32
14970
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Dispatches tests, either sharding or replicating them. Performs the following steps: * Create a test collection factory, using the given tests - If sha...
bsd-3-clause
[ 3, 1898, 6171, 710, 12051, 6642, 14, 2900, 4481, 4644, 14, 199, 3, 3645, 402, 642, 1350, 1233, 365, 10413, 701, 282, 6289, 13, 2487, 4190, 626, 883, 506, 199, 3, 1911, 315, 314, 5113, 570, 14, 199, 199, 624, 2825, 11350, 2295, 12,...
[ 1898, 6171, 710, 12051, 6642, 14, 2900, 4481, 4644, 14, 199, 3, 3645, 402, 642, 1350, 1233, 365, 10413, 701, 282, 6289, 13, 2487, 4190, 626, 883, 506, 199, 3, 1911, 315, 314, 5113, 570, 14, 199, 199, 624, 2825, 11350, 2295, 12, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Manojkumar91/odoo_inresto
addons/point_of_sale/report/account_statement.py
8
1964
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
agpl-3.0
[ 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 8353, 13, 6542, 11947, 12361, 8642, 1014, 921, 9864, 14, 1235, 10121, 199, 3, 199, 3, 259, ...
[ 1882, 2803, 26, 2774, 13, 24, 1882, 199, 4605, 199, 3, 199, 3, 259, 7653, 12, 3232, 5800, 8259, 9274, 199, 3, 259, 1898, 334, 35, 9, 8353, 13, 6542, 11947, 12361, 8642, 1014, 921, 9864, 14, 1235, 10121, 199, 3, 199, 3, 259, 961,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
schlueter/ansible
lib/ansible/modules/notification/hall.py
103
3365
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2015, Billy Kimble <basslines@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
gpl-3.0
[ 3381, 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 3, 334, 67, 9, 6900, 12, 699, 382, 590, 1804, 1017, 830, 665, 66, 405, 1278, 32, 6799, 14, 957, 30, 199, 3, 1664, 1696, 1684, 844, 373, 19, ...
[ 2647, 15, 1393, 15, 1548, 199, 3, 1882, 2803, 26, 2774, 13, 24, 1882, 199, 199, 3, 334, 67, 9, 6900, 12, 699, 382, 590, 1804, 1017, 830, 665, 66, 405, 1278, 32, 6799, 14, 957, 30, 199, 3, 1664, 1696, 1684, 844, 373, 19, 14, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...