Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
17
737k
import os import datetime import operator import pytest from doit import tools from doit import task def test_create_folder(): def rm_dir(): if os.path.exists(DIR_DEP): os.removedirs(DIR_DEP) DIR_DEP = os.path.join(os.path.dirname(__file__),"parent/child/") rm_dir() assert True ...
import logging import json import requests import datetime import math import time # django modules from django.views.decorators.csrf import csrf_exempt from django.shortcuts import render, get_object_or_404 from django.views.generic import View, TemplateView, ListView, DetailView from django.db.models import Q,Count ...
{ 'targets': [ { 'target_name': 'compiler', 'type': 'static_library', 'include_dirs': [ 'include', 'src', 'externals/utf8proc', 'externals/json-parser', ], 'sources': [ 'src/compiler/build_tables/build_parse_table.cc', 'src/compiler/bu...
version = "1.2.2"
import cv2 import matplotlib.pyplot as plt import numpy as np import os import _init_paths import caffe caffe_root = os.path.join(os.path.dirname(__file__), '..', '..', 'caffe') def get_map(image, verbose=False): # caffe.set_device(0) # caffe.set_mode_gpu() caffe.set_mode_cpu() model_def = os.path...
""" This file is part of Arakoon, a distributed key-value store. Copyright (C) 2010 Incubaid BVBA Licensees holding a valid Incubaid license may use this file in accordance with Incubaid's Arakoon commercial license agreement. For more information on how to enter into this agreement, please contact Incubaid (contact d...
# Amara, universalsubtitles.org # # Copyright (C) 2012 Participatory Culture Foundation # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your op...
# -*- encoding: utf-8 -*- from abjad.tools import systemtools from abjad.tools import timespantools import consort import collections def _make_timespan_inventory(): timespan_inventory = timespantools.TimespanInventory([ consort.PerformedTimespan( start_offset=0, stop_offset=20, ...
# -*- coding: utf-8 -*- # Copyright (C) 2014 Johannes Baiter <johannes.baiter@gmail.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your ...
"""Formatter producing CSV data.""" import sys import csv from collections import OrderedDict import formatter import executor # TO BE DEFINED # - wrong lines # - return_code/code/section status # - difference/similarity class CSVFormatter(formatter.Formatter): _RESULT_TABLE = { executor.ER_OK: "ok", ...
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
42