code stringlengths 10 805k | def_use_chains listlengths 0 667 |
|---|---|
"""Sensor for Supervisord process status."""
import logging
import xmlrpc.client
import voluptuous as vol
from homeassistant.components.sensor import PLATFORM_SCHEMA, SensorEntity
from homeassistant.const import CONF_URL
import homeassistant.helpers.config_validation as cv
_LOGGER = logging.getLogger(__name__)
ATTR... | [
[
[
52,
59
],
[
287,
294
]
],
[
[
67,
80
],
[
699,
705
]
],
[
[
89,
106
],
[
462,
465
]
],
[
[
152,
167
],
[
433,
448
]
],
[
[
169... |
from app.schemas import filtration
from typing import Any
from uuid import UUID, uuid4
import celery
from datetime import datetime, timedelta
from app import crud, models, schemas
from app.celery import celery as celery_app
from app.api import deps
from app.core.config import settings
from app.utils import auth
from a... | [
[
[
24,
34
]
],
[
[
54,
57
]
],
[
[
75,
79
]
],
[
[
81,
86
]
],
[
[
94,
100
]
],
[
[
123,
131
]
],
[
[
133,
142
]
],
[
[
159,
163
... |
import re
import time
import json
import numpy as np
from collections import Counter
from utilities.utilities import VOWELS, LETTERS, get_vowel_count, get_available_words, log_list
start = time.time()
# 正解単語リストを開く
with open('data/answer-word-list.txt', mode='r') as f:
answer_word_list = f.read().split('\n')
# 入力... | [
[
[
7,
9
]
],
[
[
17,
21
],
[
190,
194
],
[
1543,
1547
]
],
[
[
29,
33
],
[
1666,
1670
]
],
[
[
41,
52
]
],
[
[
77,
84
]
],
[
[
... |
"""Support gathering system information of hosts which are running glances."""
import logging
from homeassistant.const import CONF_NAME, STATE_UNAVAILABLE
from homeassistant.core import callback
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.helpers.entity import Entity
from ... | [
[
[
86,
93
],
[
380,
387
]
],
[
[
127,
136
],
[
601,
610
]
],
[
[
138,
155
],
[
8188,
8205
],
[
8755,
8772
]
],
[
[
187,
195
],
[
4151... |
import logging
import os
import tempfile
import threading
from contextlib import contextmanager
from typing import Dict
from funcy import retry, wrap_with
from dvc.exceptions import (
FileMissingError,
NoOutputInExternalRepoError,
NoRemoteInExternalRepoError,
NotDvcRepoError,
OutputNotFoundError,
... | [
[
[
7,
14
],
[
410,
417
]
],
[
[
22,
24
],
[
1158,
1160
],
[
1585,
1587
],
[
7712,
7714
],
[
1303,
1305
],
[
1341,
1343
],
[
1412,
1414
... |
from django.conf.urls import url
from rest_framework.urlpatterns import format_suffix_patterns
from .views import AuthorSignupView, AuthorList, AuthorDetailView
urlpatterns = [
url(r'^$', AuthorList.as_view(), name='author-list'),
url(r'^(?P<pk>\d+)/$', AuthorDetailView, name='author-rud'),
url(r'^signup/... | [
[
[
29,
32
],
[
183,
186
],
[
241,
244
],
[
306,
309
]
],
[
[
72,
94
]
],
[
[
115,
131
],
[
324,
340
]
],
[
[
133,
143
],
[
194,
... |
from unittest import TestCase
from unittest.mock import Mock, call
import pandas as pd
from sdv.metadata import Metadata
from sdv.modeler import Modeler
from sdv.models.base import SDVModel
from sdv.models.copulas import GaussianCopula
class TestModeler(TestCase):
def test___init__default(self):
"""Tes... | [
[
[
21,
29
],
[
258,
266
]
],
[
[
56,
60
],
[
689,
693
],
[
1124,
1128
],
[
1351,
1355
],
[
1465,
1469
],
[
2106,
2110
],
[
2152,
2156
... |
test = {
'name': 'q2_1_3',
'points': 1,
'suites': [
{
'cases': [
{
'code': r"""
>>> np.isclose(distance_from_batman_returns('titanic'), 0.0023550202650824965)
True
""",
'hidden': False,
'locked': False
}
],
'scored':... | [
[
[
0,
4
]
]
] |
import unittest
from typing import NoReturn
import marshmallow
import urllib3
import vaa
import deal
import pytest
class TestPreDeal:
@pytest.mark.parametrize('correct,incorrect', [(1, -1), (2, -2), (3, -3), (5, -5), (7, -7), (11, -11)])
def test_pre_contract_fulfilled(self, correct, incorrect):
fun... | [
[
[
7,
15
],
[
5195,
5203
],
[
11689,
11697
]
],
[
[
35,
43
],
[
12731,
12739
],
[
12816,
12824
]
],
[
[
52,
63
],
[
5258,
5269
],
[
5298,... |
"""Class client for atome protocol."""
import json
import logging
import requests
import simplejson
from fake_useragent import UserAgent
# export const
DAILY_PERIOD_TYPE = "day"
WEEKLY_PERIOD_TYPE = "week"
MONTHLY_PERIOD_TYPE = "month"
YEARLY_PERIOD_TYPE = "year"
# internal const
COOKIE_NAME = "PHPSESSID"
API_BASE_... | [
[
[
46,
50
],
[
2455,
2459
],
[
4008,
4012
]
],
[
[
58,
65
],
[
589,
596
],
[
3622,
3629
]
],
[
[
74,
82
],
[
1356,
1364
]
],
[
[
90,
... |
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class WhenDirectivesFalse(Package):
"""Package that tests False when specs on directives."""
... | [
[
[
216,
217
],
[
246,
253
],
[
417,
424
],
[
473,
478
],
[
623,
630
],
[
659,
669
],
[
691,
700
],
[
725,
733
]
],
[
[
226,
245
]
... |
import numpy as np
import math
class Cache():
def __init__(self, max_size=10):
self.cache = []
self.size = 0
self.max_size=max_size
def add(self, element):
self.cache.append(element)
self.size+=1
if self.size > self.max_size:
del self.cache[0]
... | [
[
[
7,
18
],
[
396,
398
],
[
404,
406
]
],
[
[
26,
30
]
],
[
[
38,
43
],
[
753,
758
]
],
[
[
745,
750
],
[
775,
780
],
[
802,
80... |
#####################################################################################
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
# This source code is subject to terms and conditions of the Apache License, Version 2.0. A
# copy of the license can be found in the License.html file at the root of t... | [
[
[
751,
759
],
[
22830,
22838
]
],
[
[
767,
773
],
[
12946,
12952
]
],
[
[
781,
784
],
[
12406,
12409
],
[
12455,
12458
],
[
12513,
12516
],
[
... |
import itertools
from operator import getitem
import pytest
from toolz import merge
np = pytest.importorskip('numpy')
import dask
import dask.array as da
from dask.array.slicing import (_sanitize_index_element, _slice_1d,
new_blockdim, sanitize_index, slice_array,
... | [
[
[
7,
16
],
[
24103,
24112
]
],
[
[
38,
45
],
[
4872,
4879
],
[
4940,
4947
],
[
5007,
5014
],
[
5074,
5081
],
[
5264,
5271
],
[
5331,
5... |
# -*- coding: utf-8 -*-
# Copyright (C) 2015 Hewlett-Packard Development Company, L.P.
#
# 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/... | [
[
[
673,
684
],
[
1314,
1325
]
],
[
[
692,
696
],
[
1792,
1796
],
[
1802,
1806
],
[
1827,
1831
]
],
[
[
704,
706
],
[
729,
731
],
[
745,
... |
"""Test package."""
import shapely.geometry
import simpy
import openclsim.core as core
import openclsim.model as model
from .test_utils import assert_log
def test_test_resource_synchronization():
"""Test resource Synchronization."""
simulation_start = 0
my_env = simpy.Environment(initial_time=simulati... | [
[
[
28,
44
],
[
932,
939
]
],
[
[
52,
57
],
[
281,
286
]
],
[
[
66,
88
],
[
404,
408
],
[
435,
439
],
[
457,
461
],
[
485,
489
]... |
from confluent_kafka import Producer
import socket
if __name__ == '__main__':
print("Starting Kafka Producer")
producer_config = {'client.id': socket.gethostname(),
'bootstrap.servers': 'localhost:9092'}
print("Creating Producer")
producer = Producer(producer_config)
print... | [
[
[
28,
36
],
[
284,
292
]
],
[
[
44,
50
],
[
153,
159
]
],
[
[
121,
136
],
[
293,
308
]
],
[
[
273,
281
],
[
422,
430
],
[
515,
... |
from membase.api.rest_client import RestConnection, RestHelper
import urllib.request, urllib.parse, urllib.error
import json
from remote.remote_util import RemoteMachineShellConnection, RemoteMachineHelper
from newupgradebasetest import NewUpgradeBaseTest
from security.auditmain import audit
import subprocess
import so... | [
[
[
36,
50
]
],
[
[
52,
62
]
],
[
[
70,
84
]
],
[
[
86,
98
]
],
[
[
100,
112
]
],
[
[
120,
124
]
],
[
[
156,
184
],
[
1959,
1987
],
... |
from django.conf.urls import url
from test_app.views.home import Home
from test_app.views.ajax import Ajax
app_name = "test_app"
urlpatterns = [
url(regex=r"^$", view=Home, name="home"),
url(regex=r"^ajax$", view=Ajax, name="ajax"),
]
| [
[
[
29,
32
],
[
152,
155
],
[
198,
201
]
],
[
[
66,
70
],
[
174,
178
]
],
[
[
103,
107
],
[
224,
228
]
],
[
[
109,
117
]
],
[
[
13... |
import arrow
def __mask_day(date_str):
return date_str[:8] + "**"
def __mask_month(date_str):
return date_str[:5] + "**" + date_str[7:]
def encrypt_day(value_, params=None):
date = arrow.get(value_)
date_str = date.format('YYYY-MM-DD')
return __mask_day(date_str)
def encrypt_month(value_, pa... | [
[
[
7,
12
],
[
199,
204
],
[
343,
348
],
[
493,
498
]
],
[
[
19,
29
],
[
269,
279
],
[
563,
573
]
],
[
[
78,
90
],
[
413,
425
],... |
import discord
import config
import requests
client = discord.Client()
@client.event
async def on_ready():
for guild_id in client.guilds:
if guild_id.name == config.DISCORD_GUILD_NAME:
break
print(
f'{client.user} is connected to {guild_id.name}(id: {guild_id.id})'
... | [
[
[
7,
14
],
[
55,
62
]
],
[
[
22,
28
],
[
1023,
1029
],
[
172,
178
]
],
[
[
36,
44
],
[
868,
876
]
],
[
[
46,
52
],
[
74,
80
... |
# Generated by Django 3.1.13 on 2021-09-07 16:27
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('users', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Role',
fie... | [
[
[
72,
82
],
[
142,
152
],
[
256,
266
],
[
562,
572
]
],
[
[
84,
90
],
[
349,
355
],
[
466,
472
],
[
657,
663
]
],
[
[
98,
123
... |
from typing import Any, Dict, Optional, Union, cast
import httpx
from ...client import Client
from ...models.file_conversion_with_output import FileConversionWithOutput
from ...models.error import Error
from ...models.file_conversion_output_format import FileConversionOutputFormat
from ...models.file_conversion_sourc... | [
[
[
19,
22
],
[
546,
549
],
[
706,
709
],
[
754,
757
],
[
977,
980
],
[
1433,
1436
],
[
1792,
1795
],
[
2208,
2211
],
[
3053,
3056
],
... |
# Generated by Django 3.0.5 on 2020-04-14 19:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('workshops', '0006_auto_20200414_2235'),
]
operations = [
migrations.AddField(
model_name='workshop',
name='name',
... | [
[
[
71,
81
],
[
108,
118
],
[
237,
247
]
],
[
[
83,
89
],
[
336,
342
]
],
[
[
98,
107
]
]
] |
import gettext
import os
import re
from datetime import datetime, timedelta
from importlib import import_module
import pytz
from django import forms
from django.conf import settings
from django.contrib import admin
from django.contrib.admin import widgets
from django.contrib.admin.tests import AdminSeleniumTestCase
f... | [
[
[
7,
14
],
[
39487,
39494
]
],
[
[
22,
24
],
[
39292,
39294
],
[
39305,
39307
]
],
[
[
32,
34
],
[
15921,
15923
],
[
15969,
15971
],
[
1... |
# -*- coding: utf-8 -*-
# This file as well as the whole tsfresh package are licenced under the MIT licence (see the LICENCE.txt)
# Maximilian Christ (maximilianchrist.com), Blue Yonder Gmbh, 2016
"""
Contains a feature selection method that evaluates the importance of the different extracted features. To do so,
for ev... | [
[
[
692,
707
]
],
[
[
709,
717
]
],
[
[
719,
733
]
],
[
[
757,
764
],
[
5432,
5439
]
],
[
[
787,
790
],
[
11363,
11366
]
],
[
[
812,
817
... |
# -*- coding: utf-8 -*-
#
# django-faq documentation build configuration file, created by
# sphinx-quickstart on Sat Sep 17 13:09:21 2011.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# ... | [
[
[
428,
431
]
],
[
[
433,
435
]
],
[
[
1040,
1050
]
],
[
[
1103,
1122
]
],
[
[
1468,
1481
]
],
[
[
1587,
1597
]
],
[
[
1650,
1657
]
],
[
[
... |
import importlib
import importlib.util
import json
import os
import signal
import subprocess
import sys
import time
import urllib.request
import pytest
import matplotlib as mpl
# Minimal smoke-testing of the backends for which the dependencies are
# PyPI-installable on CI. They are not available for all tested Pyt... | [
[
[
7,
16
]
],
[
[
24,
38
],
[
948,
957
]
],
[
[
46,
50
],
[
5528,
5532
]
],
[
[
58,
60
],
[
5952,
5954
],
[
6059,
6061
],
[
1022,
... |
TENPOW18 = 10 ** 18
TENPOW6 = 10 ** 6
ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'
ETH_ADDRESS = '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'
AUCTION_TOKENS = 10000 * TENPOW18
AUCTION_TIME = 50000
AUCTION_START_PRICE = 100 * TENPOW18
AUCTION_RESERVE = 0.001 * TENPOW18
AUCTION_MINIMUM_COMMITMENT = 10 * ... | [
[
[
0,
8
],
[
184,
192
],
[
242,
250
],
[
277,
285
],
[
320,
328
],
[
357,
365
],
[
392,
400
],
[
450,
458
],
[
482,
490
],
[
... |
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | [
[
[
626,
637
]
],
[
[
645,
654
],
[
4626,
4635
]
],
[
[
662,
664
]
],
[
[
684,
688
]
],
[
[
690,
698
],
[
7430,
7438
]
],
[
[
700,
705
]... |
# extract from:
# * https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md
# * https://webassembly.github.io/spec/core/binary/instructions.html
# * https://github.com/athre0z/wasm/blob/master/wasm/opcodes.py
from wasm.immtypes import *
from wasm.opcodes import INSN_ENTER_BLOCK, INSN_LEAVE_BLOCK, INSN_BRAN... | [
[
[
248,
249
],
[
595,
603
],
[
655,
663
],
[
713,
721
],
[
897,
906
],
[
954,
963
],
[
1014,
1028
],
[
1127,
1134
],
[
1190,
1205
],
... |
import json
from pytest import raises
from graphql.core import graphql
from graphql.core.error import format_error
from graphql.core.language.location import SourceLocation
from graphql.core.language.parser import parse
from graphql.core.execution import execute
from graphql.core.type import (
GraphQLSchema,
Gr... | [
[
[
7,
11
],
[
38920,
38924
]
],
[
[
31,
37
],
[
49078,
49084
]
],
[
[
63,
70
],
[
2143,
2150
],
[
39538,
39545
],
[
41239,
41246
],
[
421... |
# coding=utf-8
import os
import sys
import django
from django.core.urlresolvers import reverse
from django.db import DatabaseError
from django.db.models import Count
from django.http import HttpResponse, Http404
from django.shortcuts import redirect, get_object_or_404
from django.utils import six
from django.views.gen... | [
[
[
22,
24
],
[
7773,
7775
]
],
[
[
32,
35
],
[
5984,
5987
]
],
[
[
44,
50
],
[
5940,
5946
]
],
[
[
88,
95
],
[
7464,
7471
]
],
[
[
... |
import unittest
from repeater import repeater
def test_repeater(benchmark):
assert benchmark(repeater,'a',5) == 'aaaaa'
assert benchmark(repeater,'Wub', 6 ) == 'Wub Wub Wub Wub Wub Wub '
| [
[
[
7,
15
]
],
[
[
37,
45
],
[
99,
107
],
[
147,
155
]
],
[
[
52,
65
]
]
] |
from distutils.core import setup
import py2exe , sys, os
sys.argv.append("py2exe")
setup(
options = {'py2exe': {'bundle_files': 1}},
windows = [{'script': "DNS.py", 'uac_info': "requireAdministrator"}],
zipfile = None,
)
| [
[
[
27,
32
],
[
86,
91
]
],
[
[
40,
46
]
],
[
[
49,
52
],
[
60,
63
]
],
[
[
54,
56
]
]
] |
from os import listdir, path
from types import GeneratorType
import six
from pyinfra import logger, pseudo_inventory
from pyinfra.api.inventory import Inventory
from pyinfra_cli.util import exec_file
# Hosts in an inventory can be just the hostname or a tuple (hostname, data)
ALLOWED_HOST_TYPES = tuple(
six.stri... | [
[
[
15,
22
],
[
1535,
1542
]
],
[
[
24,
28
],
[
1440,
1444
],
[
1484,
1488
],
[
1690,
1694
],
[
1753,
1757
],
[
3028,
3032
],
[
3409,
34... |
# Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
def test_constants_only():
try:
from pants.constants_only.constants import VALID_IDENTIFIERS # noqa
except ImportError as e:
assert False, 'Failed to correctly generate python... | [
[
[
137,
156
]
]
] |
from struct import (unpack_from, calcsize)
from bglcapi.types import MessageType
from . import rsp
from . import evt
PARSE_MAP = {
MessageType.COMMAND_RESPONSE: {
0x00: rsp.message_to_target,
},
MessageType.EVENT: {
0x00: evt.message_to_host,
},
}
def from_binary(msg_type: int, msg_... | [
[
[
20,
31
]
],
[
[
33,
41
]
],
[
[
70,
81
],
[
138,
149
],
[
218,
229
]
],
[
[
97,
100
],
[
184,
187
]
],
[
[
115,
118
],
[
253,
... |
import itertools
import toposort
from populus.utils.contracts import (
compute_direct_dependency_graph,
compute_recursive_contract_dependencies,
)
def compute_deploy_order(dependency_graph):
"""
Given a dictionary that maps contract to their dependencies,
determine the overall dependency orderin... | [
[
[
7,
16
],
[
822,
831
]
],
[
[
25,
33
],
[
368,
376
]
],
[
[
77,
108
],
[
572,
603
]
],
[
[
114,
153
],
[
861,
900
]
],
[
[
163,... |
import utility
import static_sim_functions as smf
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.metrics import *
from time_series_grp import TimeSeriesGroupProcessing
from RandomNeighbors import RandomNeighbors
from sklearn.neighbors import NearestNeighbors
from sklearn.model_sele... | [
[
[
7,
14
],
[
20810,
20817
],
[
22314,
22321
],
[
22381,
22388
],
[
23345,
23352
],
[
23808,
23815
]
],
[
[
22,
49
],
[
19458,
19461
],
[
815... |
#!/usr/bin/env python2
"""
Copyright (c) 2016, Bliksem Labs B.V.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list... | [
[
[
1357,
1360
],
[
4390,
4393
],
[
4457,
4460
],
[
4473,
4476
],
[
4510,
4513
]
],
[
[
1368,
1373
],
[
2898,
2903
],
[
3883,
3888
]
],
[
[
... |
# coding: utf-8
"""
ThinVolumeReinitializeDescriptor.py
The Clear BSD License
Copyright (c) – 2016, NetApp, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following con... | [
[
[
1727,
1734
],
[
5076,
5083
]
],
[
[
1751,
1760
],
[
4258,
4267
]
],
[
[
1769,
1801
]
]
] |
"""Option helper functions"""
__docformat__ = "numpy"
import argparse
from typing import List
import pandas as pd
import numpy as np
from gamestonk_terminal.helper_funcs import (
parse_known_args_and_warn,
check_non_negative,
)
# pylint: disable=R1710
def load(other_args: List[str]) -> str:
"""Load ti... | [
[
[
30,
43
]
],
[
[
62,
70
],
[
491,
499
],
[
564,
572
],
[
1716,
1724
],
[
1789,
1797
],
[
5191,
5199
],
[
5264,
5272
],
[
6755,
6763
... |
from . import _version
from .core import CondaEnv, CondaPackException, File, pack
__version__ = _version.get_versions()['version']
| [
[
[
14,
22
],
[
97,
105
]
],
[
[
41,
49
]
],
[
[
51,
69
]
],
[
[
71,
75
]
],
[
[
77,
81
]
],
[
[
83,
94
]
]
] |
from abc import ABCMeta, abstractmethod
from multiprocessing import Process, Value
import numpy as np
from flare.common.log import GameLogEntry
from flare.common.communicator import AgentCommunicator
from flare.common.replay_buffer import NoReplacementQueue, ReplayBuffer, Experience
class AgentHelper(object):
"""... | [
[
[
16,
23
],
[
573,
580
],
[
7359,
7366
]
],
[
[
25,
39
],
[
3614,
3628
],
[
4231,
4245
],
[
13481,
13495
],
[
14046,
14060
]
],
[
[
68,
... |
import logging
from typing import List
from homeassistant.helpers.entity import Entity
from gehomesdk import ErdCode, ErdApplianceType
from .washer import WasherApi
from .dryer import DryerApi
from ..entities import GeErdSensor, GeErdBinarySensor
_LOGGER = logging.getLogger(__name__)
class WasherDryerApi(WasherApi,... | [
[
[
7,
14
],
[
260,
267
]
],
[
[
34,
38
],
[
475,
479
]
],
[
[
81,
87
],
[
480,
486
]
],
[
[
110,
117
],
[
605,
612
],
[
667,
67... |
"""Decoding module."""
import numpy as np
import warnings
from . import utils
from numba import njit, int64, types, float64
def decode(H, y, snr, maxiter=1000):
"""Decode a Gaussian noise corrupted n bits message using BP algorithm.
Decoding is performed in parallel if multiple codewords are passed in y.
... | [
[
[
30,
41
],
[
810,
812
],
[
845,
847
],
[
1239,
1241
],
[
1284,
1286
],
[
1511,
1513
],
[
2546,
2548
],
[
2703,
2705
],
[
2857,
2859
]... |
import logging
import time
import sh
logger = logging.getLogger(__name__)
def is_command_available(name):
try:
sh.bash('which', name)
except sh.ErrorReturnCode:
return False
else:
return True
class KubernetesDependency:
def ensure_running(self):
logger.debug('Checki... | [
[
[
7,
14
],
[
48,
55
]
],
[
[
22,
26
],
[
1424,
1428
]
],
[
[
35,
37
],
[
127,
129
],
[
161,
163
],
[
821,
823
],
[
901,
903
],... |
class UnsafeUtility: pass | [
[
[
6,
19
]
]
] |
import enum
from itertools import chain
from django.contrib.auth.models import AbstractUser, UserManager as DjangoUserManager
from django.contrib.postgres.fields import ArrayField
from django.db import models
from django.urls import reverse
from django.utils import timezone
from django.utils.functional import cached_pr... | [
[
[
7,
11
],
[
5397,
5401
]
],
[
[
34,
39
],
[
3100,
3105
]
],
[
[
79,
91
],
[
517,
529
]
],
[
[
93,
125
],
[
475,
492
]
],
[
[
16... |
from deepdab.ai import *
class TDZeroPolicy(TabularPolicy):
def __init__(self, board_size, learning_rate=0.0, gamma=0.0, epsilon=0.0, initial_state_value=0.0, table_file_path=None):
super(TDZeroPolicy, self).__init__(board_size=board_size, epsilon=epsilon,
initia... | [
[
[
23,
24
],
[
46,
59
]
],
[
[
33,
45
],
[
202,
214
]
]
] |
from sklearn2sql_heroku.tests.classification import generic as class_gen
class_gen.test_model("SGDClassifier" , "digits" , "db2")
| [
[
[
52,
72
],
[
75,
84
]
]
] |
from celery import shared_task
from .signals import slack_event_received
@shared_task
def receive_slack_signal_task(sender, event_type, event_data, **data):
slack_event_received.send(sender=sender, event_type=event_type, event_data=event_data, **data)
| [
[
[
19,
30
],
[
77,
88
]
],
[
[
53,
73
],
[
164,
184
]
],
[
[
93,
118
]
]
] |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Jun 3 19:19:34 2019
@author: sercangul
"""
from math import erf
std = 10
h1 = 80
h2 = 60
mean = 70
def N(mean, std, x):
return 0.5 + 0.5 * erf((x-mean)/(std* 2**0.5))
print (round(((1 - N(mean,std,h1))*100),2))
print (round(((1 - N(mean,std,h2)... | [
[
[
129,
132
],
[
214,
217
]
],
[
[
134,
137
],
[
269,
272
],
[
313,
316
],
[
353,
356
]
],
[
[
143,
145
],
[
273,
275
]
],
[
[
151,
... |
import requests
import requests_cache
from bs4 import BeautifulSoup
import json
from lxml import html
import pdb
import re
import sys
import logging
import datetime
import time
# import winsound
from jinja2 import Environment, FileSystemLoader
import math
import itertools
from playsound import playsound
class Planet... | [
[
[
7,
15
],
[
4147,
4155
],
[
8547,
8555
],
[
8860,
8868
],
[
18786,
18794
]
],
[
[
23,
37
],
[
15038,
15052
]
],
[
[
54,
67
],
[
4487,
... |
from bizfriendly import app
from flask.ext.heroku import Heroku
import os
heroku = Heroku(app) # Sets CONFIG automagically
app.config.update(
# DEBUG = True,
# SQLALCHEMY_DATABASE_URI = 'postgres://hackyourcity@localhost/howtocity',
# SQLALCHEMY_DATABASE_URI = 'postgres://postgres:root@localhost/howtocity'... | [
[
[
24,
27
],
[
91,
94
],
[
124,
127
],
[
353,
356
],
[
409,
412
],
[
469,
472
],
[
539,
542
],
[
617,
620
],
[
972,
975
]
],
[
... |
from itertools import product
aarr = list(map(int, input().split()))
barr = list(map(int, input().split()))
print(' '.join(str(i) for i in list(product(*[aarr, barr]))))
| [
[
[
22,
29
],
[
146,
153
]
],
[
[
31,
35
],
[
156,
160
]
],
[
[
70,
74
],
[
162,
166
]
]
] |
"""
SYS-611: Example factory model in SimPy (object-oriented).
@author: Paul T. Grogan, pgrogan@stevens.edu
"""
# import the python3 behavior for importing, division, and printing in python2
from __future__ import absolute_import, division, print_function
# import the simpy package
# see https://simpy.readthedocs.i... | [
[
[
216,
231
]
],
[
[
233,
241
]
],
[
[
243,
257
]
],
[
[
371,
376
],
[
4120,
4125
],
[
1369,
1374
],
[
1436,
1441
]
],
[
[
503,
514
],
... |
import logging
from tornado import web
from tornado import gen
from ..views import BaseHandler
from ..api.workers import ListWorkers
logger = logging.getLogger(__name__)
class WorkerView(BaseHandler):
@web.authenticated
@gen.coroutine
def get(self, name):
try:
yield ListWorkers.upd... | [
[
[
7,
14
],
[
146,
153
]
],
[
[
36,
39
],
[
212,
215
],
[
529,
532
],
[
630,
633
]
],
[
[
60,
63
],
[
235,
238
]
],
[
[
85,
96
... |
from great_expectations.render.renderer.content_block.content_block import (
ContentBlockRenderer,
)
from great_expectations.render.types import (
RenderedBulletListContent,
RenderedStringTemplateContent,
)
class ExceptionListContentBlockRenderer(ContentBlockRenderer):
"""Render a bullet list of excep... | [
[
[
81,
101
],
[
261,
281
]
],
[
[
155,
180
],
[
394,
419
]
],
[
[
186,
215
],
[
2733,
2762
]
],
[
[
227,
260
]
]
] |
#!/usr/bin/env python
#
# Electrum - Lightweight Bitcoin Client
# Copyright (C) 2015 Thomas Voegtlin
#
# 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... | [
[
[
1170,
1174
],
[
3034,
3038
]
],
[
[
1182,
1191
],
[
1858,
1867
],
[
1981,
1990
]
],
[
[
1199,
1205
],
[
2785,
2791
]
],
[
[
1228,
1235
],
... |
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: MIT
from __future__ import absolute_import
from mock import patch
import pytest
from module_build_service import app
from module_build_service.common import models
from module_build_service.common.models import BUILD_STATES, ModuleBuild
from module_build_service.mana... | [
[
[
78,
93
]
],
[
[
112,
117
],
[
1626,
1631
],
[
3156,
3161
],
[
5941,
5946
],
[
7221,
7226
],
[
4396,
4401
],
[
4647,
4652
],
[
4872,
... |
# -*- test-case-name: twisted.test.test_factories -*-
#
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.
"""Standard implementations of Twisted protocol-related interfaces.
Start here if you are looking to write a new protocol implementation for
Twisted. The Protocol class contains ... | [
[
[
478,
484
],
[
8835,
8841
]
],
[
[
512,
522
],
[
824,
834
],
[
11872,
11882
],
[
12938,
12948
],
[
13383,
13393
],
[
17838,
17848
]
],
[
[
... |
# -*- coding: utf-8 -*-
"""
AsciiDoc Reader
===============
This plugin allows you to use AsciiDoc to write your posts.
File extension should be ``.asc``, ``.adoc``, or ``asciidoc``.
"""
from pelican.readers import BaseReader
from pelican.utils import pelican_open
from pelican import signals
import six
try:
# a... | [
[
[
218,
228
],
[
567,
577
]
],
[
[
255,
267
],
[
936,
948
]
],
[
[
288,
295
],
[
1903,
1910
]
],
[
[
303,
306
],
[
1613,
1616
]
],
[
[
... |
# Generated by Django 2.2.4 on 2019-08-13 12:04
from django.db import migrations
import mdeditor.fields
class Migration(migrations.Migration):
dependencies = [
('blog', '0003_post_clicks'),
]
operations = [
migrations.RemoveField(
model_name='post',
name='excerpt... | [
[
[
71,
81
],
[
123,
133
],
[
240,
250
],
[
342,
352
]
],
[
[
89,
104
],
[
439,
447
]
],
[
[
113,
122
]
]
] |
from django.conf.urls import url
from rest_framework.urlpatterns import format_suffix_patterns
from drfpasswordless.views import (ObtainEmailCallbackToken,
ObtainMobileCallbackToken,
ObtainAuthTokenFromCallbackToken,
... | [
[
[
29,
32
],
[
517,
520
],
[
624,
627
],
[
717,
720
],
[
813,
816
],
[
920,
923
],
[
1029,
1032
]
],
[
[
72,
94
],
[
1127,
1149
]
... |
import distutils.sysconfig
import os
import platform
import re
import sys
def get_python_relative_libdir():
"""Returns the appropropriate python libdir relative to the build directory.
@param exe_path the path to the lldb executable
@return the python path that needs to be added to sys.path (PYTHONPATH)... | [
[
[
7,
26
],
[
725,
734
]
],
[
[
34,
36
],
[
819,
821
],
[
1179,
1181
]
],
[
[
44,
52
],
[
381,
389
]
],
[
[
60,
62
],
[
840,
84... |
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | [
[
[
552,
556
],
[
2833,
2837
],
[
2844,
2848
],
[
2902,
2906
],
[
14443,
14447
],
[
14454,
14458
],
[
14491,
14495
]
],
[
[
564,
566
],
[
1006... |
class Engine:
PANDAS = "pandas"
POSTGRES = "postgres"
PRESTO = "Presto"
SPARK = "Spark"
SQL_SERVER = "SqlServer"
known_engines = {PANDAS, POSTGRES, PRESTO, SPARK, SQL_SERVER}
| [
[
[
6,
12
]
]
] |
#!/usr/bin/env python
# Copyright Contributors to the Open Shading Language project.
# SPDX-License-Identifier: BSD-3-Clause
# https://github.com/imageworks/OpenShadingLanguage
# This shader would ordinarily issue a warning.
# With -Werror, it should be upgraded to an error.
failureok = 1 # this test is expected... | [
[
[
279,
288
]
],
[
[
341,
349
]
]
] |
from multiprocessing import freeze_support
from pathlib import Path
from typing import Dict
from deafwave.full_node.full_node import FullNode
from deafwave.rpc.full_node_rpc_api import FullNodeRpcApi
from deafwave.server.outbound_message import NodeType
from deafwave.server.start_service import run_service
from deafwa... | [
[
[
28,
42
],
[
2111,
2125
]
],
[
[
63,
67
],
[
730,
734
]
],
[
[
87,
91
],
[
769,
773
],
[
744,
748
]
],
[
[
134,
142
],
[
885,
... |
"""
Computes putative binding pockets on protein.
"""
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
__author__ = "Bharath Ramsundar"
__copyright__ = "Copyright 2017, Stanford University"
__license__ = "MIT"
import os
import tempfile
import numpy as np
fr... | [
[
[
77,
85
]
],
[
[
109,
123
]
],
[
[
147,
163
]
],
[
[
165,
175
]
],
[
[
198,
211
]
],
[
[
252,
263
]
],
[
[
280,
282
],
[
8508,
8510
... |
# 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... | [
[
[
771,
786
]
],
[
[
810,
818
]
],
[
[
842,
856
]
],
[
[
865,
867
],
[
3290,
3292
],
[
3459,
3461
]
],
[
[
875,
883
],
[
1486,
1494
],
... |
from selenium import webdriver
import time
from bs4 import BeautifulSoup
import requests
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
driver = webdriver.PhantomJS()
driver.set_window_size(1120,550)
d... | [
[
[
21,
30
],
[
263,
272
]
],
[
[
38,
42
],
[
1257,
1261
]
],
[
[
59,
72
],
[
900,
913
]
],
[
[
80,
88
]
],
[
[
130,
132
],
[
449,... |
# coding=utf-8
# Copyright 2018 The Google AI Language Team Authors.
#
# 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 ... | [
[
[
667,
682
]
],
[
[
706,
714
]
],
[
[
738,
752
]
],
[
[
761,
772
],
[
3981,
3992
]
],
[
[
780,
782
],
[
1318,
1320
]
],
[
[
790,
801
]... |
from __future__ import annotations
from decimal import Decimal
def inverse_of_matrix(matrix: list[list[float]]) -> list[list[float]]:
"""
A matrix multiplied with its inverse gives the identity matrix.
This function finds the inverse of a 2x2 matrix.
If the determinant of a matrix is 0, its inverse d... | [
[
[
23,
34
]
],
[
[
56,
63
],
[
1070,
1077
]
],
[
[
70,
87
]
]
] |
# Copyright (c) Ye Liu. All rights reserved.
import nncore
def test_bind_getter():
@nncore.bind_getter('name', 'depth')
class Backbone:
_name = 'ResNet'
_depth = 50
backbone = Backbone()
assert backbone.name == 'ResNet'
assert backbone.depth == 50
| [
[
[
53,
59
],
[
92,
98
]
],
[
[
66,
82
]
]
] |
# Generated by Django 2.1.4 on 2019-03-24 19:19
import datetime
import django.contrib.auth.models
import django.contrib.auth.validators
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
('auth', '0009_alter_u... | [
[
[
56,
64
],
[
2591,
2599
]
],
[
[
72,
98
]
],
[
[
106,
136
]
],
[
[
159,
169
],
[
225,
235
],
[
382,
392
]
],
[
[
171,
177
],
[
... |
import os
import click
from yoda.ssh.shell import Shell
from yoda.ssh.config import importHost
# Context obj
class Cmd():
def __init__(self):
self.verbose = False
self.shell = None
self.host = None
pass_cmd = click.make_pass_decorator(Cmd, ensure=True)
class CmdsLoader(click.MultiCommand):
_cmdFolder... | [
[
[
7,
9
],
[
323,
325
],
[
339,
341
],
[
352,
354
],
[
453,
455
]
],
[
[
17,
22
],
[
225,
230
],
[
287,
292
],
[
779,
784
],
[
... |
"""This module supports puzzles that place fixed shape regions into the grid."""
from collections import defaultdict
import sys
from typing import Dict, List
from z3 import ArithRef, Int, IntVal, Or, Solver, PbEq
from .fastz3 import fast_and, fast_eq, fast_ne
from .geometry import Lattice, Point, Vector
from .quadtre... | [
[
[
106,
117
],
[
5660,
5671
]
],
[
[
125,
128
],
[
8868,
8871
],
[
8929,
8932
],
[
9705,
9708
],
[
9769,
9772
]
],
[
[
148,
152
],
[
3381... |
def Print():
print('you may want to install beautifulsoup4,not beautfulsoup4')
| [
[
[
4,
9
]
]
] |
from os.path import abspath, dirname, join
from os import environ, path
_cwd = dirname(abspath(__file__))
basedir = path.abspath(path.dirname(__file__))
class BaseConfiguration(object):
DEBUG = True
SECRET_KEY = 'Test'
CORS = ["http://localhost:4200", "http://127.0.0.1:5000"] | [
[
[
20,
27
],
[
91,
98
]
],
[
[
29,
36
],
[
83,
90
]
],
[
[
38,
42
]
],
[
[
59,
66
]
],
[
[
68,
72
],
[
121,
125
],
[
134,
1... |
# File to hold all objects to ease construction of JSON payload.
# Non-PEP8 property declaration used as JSON serializing is 1:1, eg. "clientId = clientId", not "client_id = clientId"
class Client(object):
clientId = ""
clientVersion = "0.0.1"
def __init__(self, client_id, client_version="0.0.1"):
... | [
[
[
192,
198
]
],
[
[
400,
411
]
],
[
[
481,
491
]
],
[
[
768,
775
]
]
] |
from .utils.defaults import default_depot_path, default_install_dir, default_symlink_dir
from .utils.filters import f_major_version, f_minor_version
from .utils import query_yes_no
from .utils import current_architecture, current_system, current_libc
from .utils import latest_version
from .utils import DmgMounter, TarM... | [
[
[
28,
46
],
[
2011,
2029
],
[
6071,
6089
]
],
[
[
48,
67
],
[
13062,
13081
]
],
[
[
69,
88
],
[
13181,
13200
]
],
[
[
116,
131
],
[
... |
# Automatically generated
# pylint: disable=all
get = [{'SupportedArchitectures': ['arm64'], 'SustainedClockSpeedInGhz': 2.3, 'DefaultVCpus': 1, 'DefaultCores': 1, 'DefaultThreadsPerCore': 1, 'ValidCores': [1], 'ValidThreadsPerCore': [1], 'SizeInMiB': 2048, 'EbsOptimizedSupport': 'default', 'EncryptionSupport': 'supp... | [
[
[
50,
53
],
[
9123,
9126
]
],
[
[
8995,
9013
]
]
] |
#
# Tic Tac Toe
#
import numpy as np
from gym import spaces
WinMasks = [
[
[1,0,0],
[1,0,0],
[1,0,0],
],
[
[0,1,0],
[0,1,0],
[0,1,0],
],
[
[0,0,1],
[0,0,1],
[0,0,1],
],
[
[1,1,1],
[0,0,0],
... | [
[
[
26,
37
],
[
606,
608
],
[
796,
798
],
[
885,
887
],
[
974,
976
],
[
1216,
1218
],
[
1252,
1254
],
[
1892,
1894
],
[
2040,
2042
],
... |
###################################################################
""" Summary: Class and Methods for deriving MCSS based MMP's
About: Derive a matched pair based MCSS from a pair molecules
To do: - extend the method enumerate_fragment_properties to also
enumerate self.mol_smi_dict as this would allow th... | [
[
[
1239,
1246
],
[
1928,
1935
],
[
22461,
22468
]
],
[
[
1254,
1257
],
[
3827,
3830
]
],
[
[
1265,
1267
],
[
1415,
1417
],
[
28934,
28936
]
],
... |
import os
import json
CURRENT_DIR = os.path.dirname(os.path.realpath(__file__))
class Action:
def __init__(self, card, config):
config.pop("action", None)
self.card = card
self.config = config
def env_vars_for_object(self, config, prefix):
env_vars = {}
config.pop("... | [
[
[
7,
9
],
[
37,
39
],
[
53,
55
]
],
[
[
17,
21
],
[
897,
901
]
],
[
[
23,
34
],
[
815,
826
]
],
[
[
89,
95
],
[
1209,
1215
... |
from office365.runtime.client_value_collection import ClientValueCollection
from office365.runtime.queries.service_operation_query import ServiceOperationQuery
from office365.runtime.resource_path import ResourcePath
from office365.sharepoint.base_entity import BaseEntity
from office365.sharepoint.tenant.administration... | [
[
[
54,
75
],
[
1424,
1445
]
],
[
[
138,
159
],
[
1550,
1571
],
[
2112,
2133
],
[
2596,
2617
],
[
2973,
2994
],
[
3472,
3493
],
[
3863,
... |
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
__version__ = '1.18.1333'
# -----------------------------------------------------------------------------
import asyncio
import concurrent
import socket
import time
import math
import random
import certifi
import... | [
[
[
106,
117
]
],
[
[
221,
228
],
[
1320,
1327
],
[
3533,
3540
]
],
[
[
236,
246
],
[
6487,
6497
]
],
[
[
254,
260
],
[
6390,
6396
]
],
[
... |
import csv
def ClassFactory(class_name, dictionary):
return type(class_name, (object,), dictionary)
class CsvReader:
def __init__(self, filepath):
self.data = []
with open(filepath) as csv_files:
csv_data = csv.DictReader(csv_files, delimiter=',')
for row in csv_data... | [
[
[
7,
10
],
[
248,
251
]
],
[
[
17,
29
],
[
498,
510
]
],
[
[
114,
123
]
]
] |
# Copyright 2017 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.
import json
import unittest
import mock
from dashboard.pinpoint.models.quest import read_value
from tracing.value import histogram_set
from tracing.value i... | [
[
[
170,
174
],
[
3192,
3196
]
],
[
[
182,
190
],
[
648,
656
],
[
2176,
2184
],
[
2853,
2861
]
],
[
[
199,
203
],
[
2907,
2911
],
[
3789,
... |
"""Tests for fan platforms."""
import pytest
from homeassistant.components.fan import FanEntity
class BaseFan(FanEntity):
"""Implementation of the abstract FanEntity."""
def __init__(self):
"""Initialize the fan."""
def test_fanentity():
"""Test fan entity methods."""
fan = BaseFan()
... | [
[
[
39,
45
],
[
2054,
2060
],
[
577,
583
],
[
650,
656
],
[
719,
725
],
[
794,
800
],
[
875,
881
],
[
942,
948
],
[
1383,
1389
],
[
... |
from ynab_api import __version__
def test_version():
assert __version__ == '0.1.0'
| [
[
[
21,
32
],
[
66,
77
]
],
[
[
39,
51
]
]
] |
from vkbottle_types import GroupTypes
from vkbottle_types.events import GroupEventType, UserEventType
from .api import (
ABCAPI,
API,
DEFAULT_REQUEST_VALIDATORS,
DEFAULT_RESPONSE_VALIDATORS,
ABCRequestRescheduler,
ABCRequestValidator,
ABCResponseValidator,
ABCTokenGenerator,
Blockin... | [
[
[
27,
37
],
[
2091,
2101
]
],
[
[
72,
86
]
],
[
[
88,
101
]
],
[
[
126,
132
]
],
[
[
138,
141
]
],
[
[
147,
173
]
],
[
[
179,
206
... |
import cv2 as cv
image = cv.imread() | [
[
[
7,
16
],
[
28,
30
]
],
[
[
20,
25
]
]
] |
# -*- encoding: utf-8
from sqlalchemy.testing import eq_, engines
from sqlalchemy import *
from sqlalchemy import exc
from sqlalchemy.dialects.mssql import pyodbc, pymssql
from sqlalchemy.engine import url
from sqlalchemy.testing import fixtures
from sqlalchemy import testing
from sqlalchemy.testing import assert_raise... | [
[
[
53,
56
],
[
601,
604
],
[
862,
865
],
[
1129,
1132
],
[
1789,
1792
],
[
2173,
2176
],
[
2569,
2572
],
[
2981,
2984
],
[
3012,
3015
]... |
# Import spacy
import spacy
# Instantiate the English model: nlp
nlp = spacy.load('en', tagger=False, parser= False, matcher = False)
# Create a new document: doc
doc = nlp(article)
# Print all of the found entities and their labels
for ent in doc.ents:
print(ent.label_, ent.text)
""" <script.py> output:
OR... | [
[
[
22,
27
],
[
72,
77
]
],
[
[
66,
69
],
[
171,
174
]
],
[
[
165,
168
],
[
247,
250
]
],
[
[
240,
243
],
[
267,
270
],
[
279,
2... |
import glob
import cv2
import os
def extract_frame(movie_files_dir, out_dir):
movie_files = glob.glob(movie_files_dir)
if not movie_files:
print('movie files are not found.')
return
for movie_file in movie_files:
ext = movie_file.split('.')[-1]
if not ext == 'mp4' or not ... | [
[
[
7,
11
],
[
98,
102
]
],
[
[
19,
22
],
[
533,
536
],
[
715,
718
],
[
850,
853
]
],
[
[
30,
32
],
[
463,
465
],
[
500,
502
]
... |
#!/usr/bin/env python
from ping360_sonar.sensor import Ping360
from numpy import pi, sqrt, tan, cos, sign
from brping import definitions
class SonarInterface:
samplePeriodTickDuration = 25e-9
firmwareMinTransmitDuration = 5
firmwareMaxTransmitDuration = 500
firmwareMaxSamples = 1200
firmwareM... | [
[
[
56,
63
],
[
510,
517
]
],
[
[
82,
84
],
[
2573,
2575
],
[
8339,
8341
],
[
8357,
8359
]
],
[
[
86,
90
],
[
7064,
7068
],
[
7300,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.