Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
608
8.17k
// Code generated by smithy-go-codegen DO NOT EDIT. package finspace import ( "context" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" "github.com/aws/aws-sdk-go-v2/aws/signer/v4" "github.com/aws/smithy-go/middleware" smithyhttp "github.com/aws/smithy-go/transport/http" ) // Adds metadata tags to a...
/* * Hisilicon clock separated gate driver * * Copyright (c) 2012-2013 Hisilicon Limited. * Copyright (c) 2012-2013 Linaro Limited. * * Author: Haojian Zhuang <haojian.zhuang@linaro.org> * Xin Li <li.xin@linaro.org> * * This program is free software; you can redistribute it and/or modify * it under the ter...
/** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2015 Mark Samman <mark.samman@gmail.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; eithe...
/* Helpparse.c - help file parser. Copyright (C) 2000 Imre Leber 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) an...
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging __author__ = 'Tim Schneider <tim.schneider@northbridge-development.de>' __copyright__ = "Copyright 2015, Northbridge Development Konrad & Schneider GbR" __credits__ = ["Tim Schneider", ] __maintainer__ = "Tim Schneider" __email__ = "mail@northbridge-developm...
/* * Copyright 2013, The Sporting Exchange Limited * * 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 applicabl...
// Code generated by smithy-go-codegen DO NOT EDIT. package managedblockchain import ( "context" "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" "github.com/aws/aws-sdk-go-v2/aws/signer/v4" "github.com/aws/aws-sdk-go-v2/service/managedblockchain/types" smithy "github.com/awslabs/smithy-go" "g...
<?php defined('BASEPATH') or exit('No direct script access allowed'); /* * ============================================================================== * Author : Sheik * Email : info@srampos.com * For : SRAM POS * Web : http://srammram.com * ===========================================...
[stime](../README.md) › [Globals](../globals.md) › ["Format/Minute"](../modules/_format_minute_.md) › [Minute](_format_minute_.minute.md) # Class: Minute Minute format ## Hierarchy * [Format](_format_.format.md) ↳ **Minute** ## Index ### Methods * [format](_format_minute_.minute.md#format) * [formatNumber](_f...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_wchar_t_alloca_loop_33.cpp Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.string.label.xml Template File: sources-sink-33.tmpl.cpp */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSourc...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34011 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
/** @file appmodule.cpp @brief This file is part of Kalinka mediaserver. @author Ivan Murashko <ivan.murashko@gmail.com> Copyright (c) 2007-2012 Kalinka Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft...
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' require 'msf/core/handler/reverse_tcp' require 'msf/base/sessions/command_shell' require 'msf/base/sessions/command_shell_options' module Metasploit3 include M...
/** * Copyright (c) 2019 Horizon Robotics. All rights reserved. * @File: LmkPosePostPredictor.cpp * @Brief: definition of the LmkPosePostPredictor * @Author: zhengzheng.ge * @Email: zhengzheng.ge@horizon.ai * @Date: 2019-07-17 14:27:05 * @Last Modified by: zhengzheng.ge * @Last Modified time: 2019-07-17 15:18:1...
# coding=utf-8 # Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved. # Copyright 2020 Division of Medical Image Computing, German Cancer Research Center (DKFZ), Heidelberg, Germany # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Licen...
"""Get example scripts, notebooks, and data files.""" import argparse from datetime import datetime, timedelta from glob import glob import json import os import pkg_resources from progressbar import ProgressBar try: # For Python 3.0 and later from urllib.request import urlopen except ImportError: # Fall b...
const express = require('express'); const cors = require('cors'); const bodyParser = require('body-parser'); const session = require('express-session'); const MYSQLStore = require('express-session-sequelize')(session.Store); const next = require('next'); const compression = require('compression'); const helmet = requir...
# Copyright 2013-2022 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) import sys from spack import * class ScalapackBase(CMakePackage): """Base class for building ScaLAPACK, shared with...
import os from typing import Optional from pytorchltr.utils.downloader import DefaultDownloadProgress from pytorchltr.utils.downloader import Downloader from pytorchltr.utils.file import validate_and_download from pytorchltr.utils.file import extract_zip from pytorchltr.utils.file import dataset_dir from pytorchltr.da...
/* Package: dyncall Library: test File: test/callf/main.c Description: License: Copyright (c) 2007-2021 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, modify, and distribute this software for any purpose with or...
// This is a library to be used to represent a Graph and various measurments for a Graph // and to perform optimization using Particle Swarm Optimization (PSO) // Copyright (C) 2008, 2015 // Patrick Olekas - polekas55@gmail.com // Ali Minai - minaiaa@gmail.com // // This program is free softwa...
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. // http://code.google.com/p/protobuf/ // // 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:...
/* * Copyright (C) 2015 - 2016 VREM Software Development <VREMSoftwareDevelopment@gmail.com> * * 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.or...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE23_Relative_Path_Traversal__char_connect_socket_ifstream_83_bad.cpp Label Definition File: CWE23_Relative_Path_Traversal.label.xml Template File: sources-sink-83_bad.tmpl.cpp */ /* * @description * CWE: 23 Relative Path Traversal * BadSource: connect_socket Re...
/** * Tiny LRU cache for Client or Server * * @author Jason Mulligan <jason.mulligan@avoidwork.com> * @copyright 2018 * @license BSD-3-Clause * @link https://github.com/avoidwork/tiny-lru * @version 5.0.5 */ "use strict"; (function (global) { const empty = null; class LRU { constructor (max, ttl) { thi...
/* * SpanDSP - a series of DSP components for telephony * * super_tone_rx.h - Flexible telephony supervisory tone detection. * * Written by Steve Underwood <steveu@coppice.org> * * Copyright (C) 2003 Steve Underwood * * All rights reserved. * * This program is free software; you can redistribute it and/or mo...
import sys import logging import urlparse import urllib import redis from flask import Flask, current_app from flask_sslify import SSLify from werkzeug.contrib.fixers import ProxyFix from werkzeug.routing import BaseConverter from statsd import StatsClient from flask_mail import Mail from flask_limiter import Limiter ...
from datetime import timedelta from random import randint from ichnaea.data.tasks import ( monitor_api_key_limits, monitor_api_users, monitor_queue_size, ) from ichnaea import util class TestMonitor(object): def test_monitor_api_keys_empty(self, celery, stats): monitor_api_key_limits.delay()...
""" Test command line commands. """ from pathlib import Path from subprocess import PIPE, Popen __author__ = "Sergey Vartanov" __email__ = "me@enzet.ru" from xml.etree import ElementTree from xml.etree.ElementTree import Element from map_machine.ui.cli import COMMAND_LINES LOG: bytes = ( b"INFO Constructing way...
require File.dirname(__FILE__) + '/../../spec_helper' # include Remote class TestEC2Class include PoolParty::Remote::RemoterBase include Ec2 include CloudResourcer include CloudDsl def keypair "fake_keypair" end def ami;"ami-abc123";end def size; "small";end def security_group; "default"...
/** * \file main.cpp * \brief An example and benchmark of AmgX and PETSc with Poisson system. * * The Poisson equation we solve here is * \nabla^2 u(x, y) = -8\pi^2 \cos{2\pi x} \cos{2\pi y} * for 2D. And * \nabla^2 u(x, y, z) = -12\pi^2 \cos{2\pi x} \cos{2\pi y} \cos{2\pi z} * for 3D. * * The exact...
<?php /* * This file is part of the PHPBench package * * (c) Daniel Leech <daniel@dantleech.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * */ namespace PhpBench\Tests\Unit\Progress\Logger; use PhpBench\Model\Benchmark; use...
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2018 Zhongshi Jiang <jiangzs@nyu.edu> // // 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://mo...
import type { CustomNextPage } from "next"; import { useState } from "react"; import { useForm } from "react-hook-form"; import { useManageAccount } from "src/hook/vendor/useManageAccount"; import { Layout } from "src/layout"; import { Attention, InputLayout, InputType, } from "src/pages/vendor/auth/component"; i...
买卖股票的最佳时机 II 我们必须确定通过交易能够获得的最大利润(对于交易次数没有限制)。为此,我们需要找出那些共同使得利润最大化的买入及卖出价格。 解决方案 方法一:暴力法 这种情况下,我们只需要计算与所有可能的交易组合相对应的利润,并找出它们中的最大利润。 class Solution { public int maxProfit(int[] prices) { return calculate(prices, 0); } public int calculate(int prices[], int s) { if (s >= prices.length) ...
/* * UDP server wrapper class. * * @author Michel Megens * @email dev@bietje.net */ #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <lwiot.h> #include <lwiot/types.h> #include <lwiot/log.h> #include <lwiot/stl/string.h> #include <lwiot/error.h> #include <lwiot/network/stdne...
import * as angularDevkitSchematics from '@angular-devkit/schematics'; import { SchematicTestRunner, UnitTestTree, } from '@angular-devkit/schematics/testing'; import * as path from 'path'; import { readJsonInTree } from '../../src/utils'; const { Tree } = angularDevkitSchematics; jest.mock( '@angular-devkit/sc...
// // System.CodeDom CodeDirectiveCollection class // // Authors: // Marek Safar (marek.safar@seznam.cz) // Sebastien Pouliot <sebastien@ximian.com> // // (C) 2004 Ximian, Inc. // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtainin...
/* * Copyright (c) 2008-2020, Hazelcast, 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 ...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Transport; use Psr\Log\LoggerInterface; use Ps...
#pragma checksum "C:\Users\merve bilgiç\Documents\GitHub\KombniyApp\KombniyApp\Views\Shared\_LoginPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6c93321e6e9b0f148e0449c5902bf5cb7ad221b8" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemA...
describe 'Feature Test: Store', :type => :feature do describe "Category List" do it "displays all of the categories as links" do visit store_path Category.all.each do |category| expect(page).to have_link(category.title, href: category_path(category)) end end end ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (...
/* * machine_kexec.c - handle transition of Linux booting another kernel * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com> * * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz * LANDISK/sh4 supported by kogiidena * * This source code is licensed under the GNU General Public License, * Versi...
End of preview. Expand in Data Studio

Data for the annotation project

  • short_files.json with short code files (around 50 lines).
  • medium_files.json with medium sized files (around 120 lines).
  • guidelines for the annotation.
Downloads last month
51