id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
3d1c91a97dd237ed7cc5c45498fcc778282f964e63c5b60269ea7d37ccb06f16 | // Copyright 2014 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.
#ifndef CONTENT_SHELL_RENDERER_WEB_TEST_TEXT_INPUT_CONTROLLER_H_
#define CONTENT_SHELL_RENDERER_WEB_TEST_TEXT_INPUT_CONTROLLER_H_
#include <string>
#incl... | C | content/shell/renderer/web_test/text_input_controller.h | endlessm/chromium-browser | bsd-3-clause | 2,134 | 68 | codeparrot/github-code |
69562dfbe1b036f0a04426d62b503aa6de26f9c60f90d88feefc4159cb98a406 | <?php
/**
* This file is part of the HttpClient package.
*
* (c) Andrzej Kostrzewa <andkos11@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace HttpClient\Util;
final class HttpSecurity
... | PHP | src/Util/HttpSecurity.php | andrewprofile/http-client | bsd-3-clause | 2,717 | 118 | codeparrot/github-code |
e6fcc61b279479d7caa3083affc93988dea9699542474bbfb04f8348ee27845c | /*
* [New BSD License]
* Copyright (c) 2011-2012, Brackit Project Team <info@brackit.org>
* 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 reta... | Java | brackitdb-server/src/main/java/org/brackit/server/xquery/function/bdb/util/DotIndex.java | x-clone/brackit.brackitdb | bsd-3-clause | 4,393 | 104 | codeparrot/github-code |
214c7f9a120c699a70a8e557f34afea11e8e8447fc04ac64981c50abcc6ec3d4 | import sys
import argparse
import logging
import importlib
from .server import Server, build_endpoint_description_strings
from .access import AccessLogGenerator
logger = logging.getLogger(__name__)
DEFAULT_HOST = '127.0.0.1'
DEFAULT_PORT = 8000
class CommandLineInterface(object):
"""
Acts as the main CLI en... | Python | daphne/cli.py | maikhoepfel/daphne | bsd-3-clause | 7,303 | 219 | codeparrot/github-code |
ea3e5f151a4e969f0c90d88ec01407599c1ed2021cb3dffd806b37a4b4696724 | /*
* $Id$
*/
/*
Copyright (c) 2000-2003 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
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... | Java | test/src/org/lockss/test/DatagramSocketListener.java | edina/lockss-daemon | bsd-3-clause | 5,301 | 163 | codeparrot/github-code |
0619103816c4028ae94b2e4e0e080f7a6fd4425eda4a4a05f808c81db5093df3 | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | C | Modules/Simulation/mitkSimulationObjectFactory.h | rfloca/MITK | bsd-3-clause | 1,524 | 53 | codeparrot/github-code |
72d8e8de0e8149ad4c52a679c59ed4e02e322db2b024095bb7ab99a88e844ad3 | // ----------------------------------------------------------------------------
// HardwareElement.h
//
//
// Authors:
// Peter Polidoro peterpolidoro@gmail.com
// ----------------------------------------------------------------------------
#ifndef _MODULAR_SERVER_HARDWARE_ELEMENT_H_
#define _MODULAR_SERVER_HARDWARE_EL... | C | src/ModularServer/HardwareElement.h | peterpolidoro/modular_device_arduino | bsd-3-clause | 931 | 37 | codeparrot/github-code |
816728ede815e7b55466d9e0aca59b0c6603b0197ec48659d5cc8b963df7dd76 | using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Teknik.Utilities.Cryptography
{
public static class AES
{
public static byte[] Encrypt(byte[] value, byte[] key, byte[] iv, int keyLength, int blockLength, int feedbackSize, CipherMode mode, PaddingMode paddingMode)
... | C# | Utilities/Cryptography/AES.cs | Teknikode/Teknik | bsd-3-clause | 2,599 | 71 | codeparrot/github-code |
c3cc58e1bf53005cf169486de2dd5074b75e30d175dd15fe422a7a157bdb7801 | # Licensed under a 3-clause BSD style license - see PYFITS.rst
import ctypes
import gc
import itertools
import math
import re
import time
import warnings
from contextlib import suppress
import numpy as np
from .base import DELAYED, ExtensionHDU, BITPIX2DTYPE, DTYPE2BITPIX
from .image import ImageHDU
from .table impo... | Python | astropy/io/fits/hdu/compressed.py | aleksandr-bakanov/astropy | bsd-3-clause | 87,677 | 2,007 | codeparrot/github-code |
e5d30e90096619e4697bd286c7917d6dcf101bc4cbc371c60ec074264b1859ff | namespace PattersonSoftware.PointsCalculator
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... | C# | MainWindow.Designer.cs | rwpcpe/points-calculator | bsd-3-clause | 13,806 | 276 | codeparrot/github-code |
14dd263b462c62e1f247906f6c2bd0b40955315c39c219bf0c8455f6ca9d818c | /*
* Software License Agreement (New BSD License)
*
* Copyright (c) 2013, Keith Leung, Felipe Inostroza
* 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 c... | C++ | test/SpatialIndexTreeTest.hpp | RangerKD/RFS-SLAM | bsd-3-clause | 8,922 | 291 | codeparrot/github-code |
5a5664fa45a3ef0f38ce01975e7114da421c9460ac06396218293bbcb4455845 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_file_w32_execvp_65a.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-65a.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: file Read input from a file
* G... | C | xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s08/CWE78_OS_Command_Injection__wchar_t_file_w32_execvp_65a.c | JianpingZeng/xcc | bsd-3-clause | 3,855 | 133 | codeparrot/github-code |
12c7415028278b2e8ff49228dcc36266c182f1ef1ad138e87d2f274f961313c6 | <?php
namespace common\components;
use common\models\hierarchy\ActiveHierarchy;
use common\models\user\User;
use yii\base\Component;
use yii\base\InvalidArgumentException;
use yii\db\ActiveRecord;
use yii\helpers\ArrayHelper;
class HierarchyComponent extends Component {
public const CHILDS_ARRAY_KEY = 'childs';
... | PHP | common/components/HierarchyComponent.php | edzima/VestraTele | bsd-3-clause | 3,374 | 150 | codeparrot/github-code |
158b9c268f703c66afa176baf0ba3dc822552af8e9743a816b1d3ecb565538a6 | // Copyright 2018 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.
#ifndef ASH_FRAME_SNAP_CONTROLLER_IMPL_H_
#define ASH_FRAME_SNAP_CONTROLLER_IMPL_H_
#include <memory>
#include "ash/ash_export.h"
#include "chromeos/ui/... | C | ash/frame/snap_controller_impl.h | scheib/chromium | bsd-3-clause | 1,138 | 39 | codeparrot/github-code |
ce027c2808470810c0b601b6bbc2e717c0df07f1de1b31b015e2bfafd35ea6f4 | /*
* SampleAlongProbes.h
* Copyright (C) 2009-2017 by MegaMol Team
* Alle Rechte vorbehalten.
*/
#pragma once
#include "mmcore/CalleeSlot.h"
#include "mmcore/CallerSlot.h"
#include "mmcore/Module.h"
#include "geometry_calls/VolumetricDataCall.h"
#include "kdtree.h"
#include "mmadios/CallADIOSData.h"
#include "m... | C | plugins/probe/src/SampleAlongProbes.h | UniStuttgart-VISUS/megamol | bsd-3-clause | 49,433 | 1,126 | codeparrot/github-code |
e3686a62c181cf9ab28e5c1fe384a474521f296813112d087818cc9eaa280b4c | /*
* Copyright (c) 2005-2017 National Technology & Engineering Solutions
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
* NTESS, the U.S. Government retains certain rights in this software.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitt... | C | packages/seacas/libraries/exodus/test/CreateEdgeFace.c | nschloe/seacas | bsd-3-clause | 23,750 | 566 | codeparrot/github-code |
d00563cf93db758b96808560e970da9e281198d1f123acb3c0aaf5f04719ba59 | var CoreView = require('backbone/core-view');
var _ = require('underscore');
var $ = require('jquery');
var TwitterCategoriesCollection = require('./twitter-categories-collection');
var TwitterCategoryModel = require('./twitter-category-model');
var TwitterCategoryView = require('./twitter-category-view');
/**
* Twi... | JavaScript | lib/assets/javascripts/builder/components/modals/add-layer/content/imports/import-twitter/twitter-categories/twitter-categories-view.js | CartoDB/cartodb | bsd-3-clause | 4,388 | 152 | codeparrot/github-code |
6f6fcd5150c049af03970cfe5bb32a63ab58547ede6f022ceaab3bdfd26edd86 | /*
* Copyright 2011 Scientific Computation Research Center
*
* This work is open source software, licensed under the terms of the
* BSD license as described in the LICENSE file in the top-level directory.
*/
#include <PCU.h>
#include <lionBase64.h>
#include <lionCompress.h>
#include "apfMesh.h"
#include "apfNumbe... | C++ | apf/apfVtk.cc | SCOREC/core | bsd-3-clause | 25,479 | 1,018 | codeparrot/github-code |
59d15ae12ca5166cb7e228e88a321c6e34c60f833ac1e19d199e1a5599bbfc66 | /*
* Copyright (c) Dominick Baier. All rights reserved.
* see license.txt
*/
using System;
using System.Collections.Specialized;
using System.IdentityModel.Tokens;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Xml;
using Microsoft.IdentityModel.Tokens.Saml11;
using Thinktec... | C# | IdentityModel/Thinktecture.IdentityModel/Clients/WrapClient.cs | IdentityModel/Thinktecture.IdentityModel.40 | bsd-3-clause | 4,840 | 137 | codeparrot/github-code |
ca4f8b60c49fe5ff69508fb725d3710822716a4951dcd5974ac1a89e7e75af13 | /*
* Copyright (C) 2005-2016 Christoph Rupp (chris@crupp.de).
* All Rights Reserved.
*
* 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 optio... | C++ | third_party/upscaledb/tools/ups_bench/database.cc | yorickdewid/Mavicona | bsd-3-clause | 2,962 | 154 | codeparrot/github-code |
8dfd9d064cc1e6b5c32176d77a3a03bcb7682ab3d834d689ee8db36b59e665b9 | var widgetModule = angular.module('motech-tasks');
widgetModule.directive('doubleClick', function () {
return {
restrict: 'A',
link: function (scope, element, attrs) {
element.dblclick(function () {
var parent = element.parent();
if (parent.hasClass('tri... | JavaScript | modules/tasks/tasks-bundle/src/main/resources/webapp/js/directives.js | bruceMacLeod/motech-server-pillreminder-0.18 | bsd-3-clause | 27,224 | 594 | codeparrot/github-code |
f9fc212a6dbe26c015ec6e2f315daae22929641097fa53849d07652ba746512c | # -*- coding: utf-8 -*-
from __future__ import unicode_literals, with_statement
import contextlib
import sys
import textwrap
from pytest import deprecated_call, raises
from korean import *
@contextlib.contextmanager
def disable_imports(*names):
"""Stolen from Attest."""
import __builtin__
import_ = __bu... | Python | koreantests.py | lqez/korean | bsd-3-clause | 17,217 | 445 | codeparrot/github-code |
2c038685e374641a9b2e5e2e012e4d8cd22102530f9baca60f3c287a317a4e01 | # Copyright 2014 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 logging
from telemetry import decorators
from telemetry.core import exceptions
from telemetry.core import util
from telemetry.core.backends.chrome im... | Python | tools/telemetry/telemetry/core/backends/chrome/cros_unittest.py | sgraham/nope | bsd-3-clause | 4,879 | 132 | codeparrot/github-code |
99619decf805fef4adf8cd0687cf0ed47cb568599e06cf8dfb3ff0beee7f4ca2 | /*
* Copyright (c) 2004-2005 HighPoint Technologies, 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:
* 1. Redistributions of source code must retain the above copyright
* notice,... | C | sys/dev/hptmv/ioctl.c | dcui/FreeBSD-9.3_kernel | bsd-3-clause | 27,485 | 1,024 | codeparrot/github-code |
2f73fb0923afd5ba69530972279d417fd0138997f47c8ac0cf77f5d9b484ebf5 | /*
BLIS
An object-based framework for developing high-performance BLAS-like
libraries.
Copyright (C) 2014, The University of Texas
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributi... | C | frame/1f/axpy2v/bli_axpy2v_ref.c | tkelman/blis | bsd-3-clause | 5,484 | 162 | codeparrot/github-code |
2dd6cc81f51808626657fec6f23408a66c630f358e6eaeb0eb7edf677c13eee1 | /*
* pca.cpp
*
* Author:
* Kevin Hughes <kevinhughes27[at]gmail[dot]com>
*
* Special Thanks to:
* Philipp Wagner <bytefish[at]gmx[dot]de>
*
* This program demonstrates how to use OpenCV PCA with a
* specified amount of variance to retain. The effect
* is illustrated further by using a trackbar to
* change the value... | C++ | OpenCV_documentation/samples/cpp/pca.cpp | AresRobotic/Vision | bsd-3-clause | 5,641 | 185 | codeparrot/github-code |
2be2fd3a359626931d0322c5c381dc95443bec0743837140e7080821aa23b33c | /* $NetBSD: cpu.c,v 1.2 2001/10/19 05:47:40 shin Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang. 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... | C | netbsd/sys/arch/playstation2/playstation2/cpu.c | MarginC/kame | bsd-3-clause | 2,173 | 64 | codeparrot/github-code |
c599c0841f34fe76dcbe1bc2dccaca14a5d11635bb59be1ac9441b69dbacaf99 | /** @file
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/license... | C | MdeModulePkg/Universal/Network/Dhcp4Dxe/ComponentName.c | intel/ipmctl | bsd-3-clause | 17,265 | 438 | codeparrot/github-code |
0fa2ca610197fae90e89586b0217c396fe875d6d6234a2c370d853261e72efbc | #include "stdafx.h"
///////////////////////////////////////////////////////////////////////////////
// 文件名:StdImpact042.cpp
// 功能说明:效果--明教七星落长空效果
//
// 修改记录:
//
//
//
///////////////////////////////////////////////////////////////////////////////
#include "StdImpact042.h"
namespace Combat_Module
{
using namespace... | C++ | server/Server/Skills/ImpactLogic/StdImpact042.cpp | viticm/web-pap | bsd-3-clause | 2,350 | 76 | codeparrot/github-code |
bf12e0dcaff193123b892791c37efe5e2da4d2cb4cecc5a2111908793ec55d5d | <?php
// Version: 1.1; index
global $forum_copyright;
// Locale (strftime, pspell_new) and spelling. (pspell_new, can be left as '' normally.)
// For more information see:
// - http://www.php.net/function.pspell-new
// - http://www.php.net/function.setlocale
// Again, SPELLING SHOULD BE '' 99% OF THE TIME!! Plea... | PHP | themes/default/languages/english/index.english.php | nwsw/Elkarte | bsd-3-clause | 39,300 | 939 | codeparrot/github-code |
d8387603a50f57057dc24ed63c9e85a1895c152920413be4da8b525603b4b8ed | #region Copyright
//+ Copyright © David Betz 2007-2017
#endregion
using System.Text;
namespace Nalarium.Data
{
/// <summary>
/// Represents a map that allows loading and saving of its data as a series of data.
/// </summary>
public abstract class SeriesStorableMap : ScopedMap, IStorable
{
... | C# | Nalarium/Data/SeriesStorableMap.cs | davidbetz/nalarium | bsd-3-clause | 2,455 | 91 | codeparrot/github-code |
3096a6b7608a528f04685e7d446b8830f3100221ba8b469f048d6a48156932f7 | // Copyright 2018 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.
#include "components/mirroring/service/wifi_status_monitor.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/check.h"
#include "base/js... | C++ | components/mirroring/service/wifi_status_monitor.cc | endlessm/chromium-browser | bsd-3-clause | 2,848 | 79 | codeparrot/github-code |
238471f84aa50d5ebfdba7a31a29276a692105b0311d929a0945aee5cc9a40af | /*jshint browser:true*/
/*global require*/
describe('FormManager', function() {
'use strict';
var sinon = window.sinon;
var assert = window.assert;
var _ = require('lodash');
var FormManager = require('collaboration-bundle/lib/form_manager');
describe('constructing', function() {
var version;
var... | JavaScript | test/form_manager.js | goinstant/collaboration-bundle | bsd-3-clause | 5,572 | 201 | codeparrot/github-code |
6d4c3b157797d411dfc51982be6e6eaf3a997b37c4dd741a12fff1fc9ea970b5 | /**
* Java
*
* Copyright 2012 IS2T. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be found at http://www.is2t.com/open-source-bsd-license/.
*/
package com.is2t.mwt.widgets.extended;
public class DefaultExtendedStyle implements IExtendedStyle {
private final IExtende... | Java | com.is2t.widgets/src/java/com/is2t/mwt/widgets/extended/DefaultExtendedStyle.java | MicroEJ/DemoJava-Showroom | bsd-3-clause | 1,995 | 109 | codeparrot/github-code |
c5fea518393706657b563d9cf4382d3e9b6139cd87041be1924842fa5224c4e9 | <?php
namespace lukisongroup\purchasing\models\sa;
use Yii;
use yii\base\Model;
use lukisongroup\hrd\models\Employe;
use lukisongroup\purchasing\models\sa\Salesorder;
/**
* @author ptrnov <piter@lukison.com>
* @since 1.1
*
* SignatureForm | Static Model get form Employe Model
* Check Oldpassword -> field [Emplo... | PHP | lukisongroup/purchasing/models/0M_purchasing-update_ver 1.2/sa/LoginForm.php | adem-team/advanced | bsd-3-clause | 2,997 | 102 | codeparrot/github-code |
c4cfa84deaccb3bba30b8d63e00cbebe7f00994d7cd67845df58a1b2de146aca | # -*- coding: utf-8 -*-
"""Utility functions and classes for testing Pyrseas"""
import sys
import os
import getpass
import tempfile
from unittest import TestCase
import yaml
from pyrseas.config import Config
from pyrseas.database import Database
from pyrseas.augmentdb import AugmentDatabase
from pyrseas.lib.dbconn i... | Python | pyrseas/testutils.py | reedstrm/Pyrseas | bsd-3-clause | 19,886 | 545 | codeparrot/github-code |
b994deb2bcd69579f4e6e45bf9ea54180049af15a236d0790ab729b5301ef7be | // Copyright 2020 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.
#ifndef CHROME_BROWSER_COMPONENT_UPDATER_SMART_DIM_COMPONENT_INSTALLER_H_
#define CHROME_BROWSER_COMPONENT_UPDATER_SMART_DIM_COMPONENT_INSTALLER_H_
#incl... | C | chrome/browser/component_updater/smart_dim_component_installer.h | endlessm/chromium-browser | bsd-3-clause | 2,369 | 66 | codeparrot/github-code |
8ddd42dbc9078d40a783986108a614e4de9c790ad5bd1dc364488fe31effe05c | /*
* Copyright (C) 2013 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 conditio... | C | third_party/WebKit/public/web/WebAXEnums.h | danakj/chromium | bsd-3-clause | 9,200 | 331 | codeparrot/github-code |
95458bf8a0be1859d6d6ba1c83b2322cc845cd1d6c8d6633dcd465738a327b2c | # Copyright 2004-2008 Roman Yakovenko.
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
# The initial version of the directory_cache_t class was written
# by Matthias Baas (baas@ira.uka.de).
"""Directory c... | Python | pygccxml-1.0.0/pygccxml/parser/directory_cache.py | avaitla/Haskell-to-C---Bridge | bsd-3-clause | 18,986 | 529 | codeparrot/github-code |
6592c69d8ffeef374d288d09136c0f57feb6506546ca43062b3b096b19274ffe | /******************************************************************************
*
* Module Name: adfile - Application-level disassembler file support routines
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2015, Intel Corp.
* All rights reserved.
*
* ... | C | sys/contrib/dev/acpica/common/adfile.c | jrobhoward/SCADAbase | bsd-3-clause | 9,870 | 359 | codeparrot/github-code |
ce41d74d187a25f68787f2ec54591df4062616f5820cd259870209e55840f011 | /* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Data Differential YATL (i.e. libtest) library
*
* Copyright (C) 2012 Data Differential, http://datadifferential.com/
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | C++ | libtest/http.cc | dm/gearmand | bsd-3-clause | 5,755 | 233 | codeparrot/github-code |
504a3d9999eb9e0b661a336a503adbc62ac07cc55b620c082d4f6057150e7dff |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.stats.stattools.robust_skewness — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../_st... | HTML | v0.10.2/generated/statsmodels.stats.stattools.robust_skewness.html | statsmodels/statsmodels.github.io | bsd-3-clause | 9,156 | 205 | codeparrot/github-code |
72a967938809c89b6f82ce6dffc13ffa77020b9d6ebcf0ee6ced433283d82a8c | //===-- sanitizer_win.cc --------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C++ | third_party/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_win.cc | youtube/cobalt | bsd-3-clause | 31,707 | 1,057 | codeparrot/github-code |
b09fb43a138217039c1993e990dd1742943ff81964c5d8f884adc64781657f7a | #!/usr/bin/env python
#
# This software is distributed under BSD 3-clause license (see LICENSE file).
#
# Authors: Heiko Strathmann
from numpy import array
from numpy.random import seed, rand
from tools.load import LoadMatrix
lm=LoadMatrix()
traindat = lm.load_numbers('../data/fm_train_real.dat')
testdat = lm.load_nu... | Python | examples/undocumented/python/modelselection_grid_search_krr.py | sorig/shogun | bsd-3-clause | 4,752 | 141 | codeparrot/github-code |
511da050cbb6f129310310de263015a7b73d3a37cfaaa4ed555117fea540fb35 | require 'torchandroid'
require 'torch'
require 'nn'
require 'image'
--require 'nnpack'
require 'ShaveImage'
require 'TotalVariation'
require 'InstanceNormalization'
local utils = require 'utils'
local preprocess = require 'preprocess'
local nnpack = require 'nnpack'
--[[
Use a trained feedforward model to stylize eit... | Lua | demos/android-demo/assets/fast_neural_style.lua | Jeff-Huang/th-android | bsd-3-clause | 4,425 | 157 | codeparrot/github-code |
906fd31be41fdb08009fd973eecd5809c7bc0f90b74729d621163117f14a747d | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | C++ | src/demos/vehicle/wheeled_models/demo_VEH_MAN_5t.cpp | projectchrono/chrono | bsd-3-clause | 10,466 | 296 | codeparrot/github-code |
e77fecc79020df61550728608d3ca2d458a990d68a3e9e98f254e5d850bc8f46 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Allegro DownLoads</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" ... | HTML | Source/Testing/HtmlRenderer.ExperimentalApp/Data/Files/allegro/06612DEDEE7990E73513452DF1B14A64.html | todor-dk/HTML-Renderer | bsd-3-clause | 4,686 | 107 | codeparrot/github-code |
bbcf9a00b33bfdb734984c9ec57125510881e7e5d1b34c37cfa5a3ccad5ac46c | /**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... | JavaScript | src/mutation/getRangeBehavior.js | mroch/relay | bsd-3-clause | 2,181 | 88 | codeparrot/github-code |
62b89b08f3503997db348ab9159b628184ee43abab743028f2482ea1892ba78e | package io.compgen.ngsutils.cli.bed;
import java.io.IOException;
import io.compgen.cmdline.annotation.Command;
import io.compgen.cmdline.annotation.Exec;
import io.compgen.cmdline.annotation.Option;
import io.compgen.cmdline.annotation.UnnamedArg;
import io.compgen.cmdline.exceptions.CommandArgumentException;
import ... | Java | src/java/io/compgen/ngsutils/cli/bed/BedCount.java | compgen-io/ngsutilsj | bsd-3-clause | 2,387 | 65 | codeparrot/github-code |
b55aed2494935bdedbfd4914b1597740784215725017f8b7f5d594b54cebb8fc | /*
* jfdctfst.c
*
* Copyright (C) 1994-1996, Thomas G. Lane.
* Modified 2003-2009 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains a fast, not so accurate integer implementation o... | C | sources/Plugins/jpeglib/jfdctfst.c | LukasBanana/ForkENGINE | bsd-3-clause | 8,055 | 231 | codeparrot/github-code |
cf451525f1400178d27f1f1d22bab51c76e8b5c1780288518897612e3230e41b | // Copyright 2015 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.
#ifndef WebGLVertexArrayObjectBase_h
#define WebGLVertexArrayObjectBase_h
#include "modules/webgl/WebGLBuffer.h"
#include "modules/webgl/WebGLContextObje... | C | third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h | was4444/chromium.src | bsd-3-clause | 1,705 | 59 | codeparrot/github-code |
c47bf6747d4cd3e61db0107d1baba7c2a10d9cb09a3a0ed085b13df773d4d273 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.stats.outliers_influence.MLEInfluence.plot_influence — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="sty... | HTML | v0.10.2/generated/statsmodels.stats.outliers_influence.MLEInfluence.plot_influence.html | statsmodels/statsmodels.github.io | bsd-3-clause | 12,653 | 220 | codeparrot/github-code |
07663470082a299493c8a062cbaf7438a138846f6c4a59d8161cf43ab13f7e82 | package jp.co.guru.PostgreSQLAnalyze
import Parse.ResultIterator
object HighChart {
def main(args: Array[String]) {
println(page)
}
val ri = new ResultIterator(Data.optSecond).toList
def labels() = ri.map(p => s""""${p.op} ${p.desc.mkString(",")}"""").mkString(",\n")
def periods() = ri.map(p => s"[ $... | Scala | src/main/scala/HighChart.scala | GURU-HQ/PostgreSQL-Analyze | bsd-3-clause | 3,380 | 142 | codeparrot/github-code |
32723d238798ebdcf55354e29e9e3b263f240f61d8e827efd1c4fca4fcac7b4f | <?php
/**
* Nerufio PHP Framework
* @link http://nerufa.ru/nerufio
* @copyright 2012-2015 Nerufa
* @license New BSD License
*/
namespace Nerufio\Helpers\Html;
use Nerufio\Core\Engine;
use Nerufio\Core\File;
\HTMLPurifier_Bootstrap::registerAutoload();
/**
* Class Purifier
* @package Nerufio\Helpers\... | PHP | src/Nerufio/Helpers/Html/Purifier.php | Nerufa/Nerufio | bsd-3-clause | 1,617 | 72 | codeparrot/github-code |
f523de44621052c83bedaea5ed2db02abde4a4e5f1f57d8094a7ad018ea27294 | /*L
* Copyright SAIC
* Copyright SAIC-Frederick
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cananolab/LICENSE.txt for details.
*/
package gov.nih.nci.cananolab.dto.particle.composition;
import gov.nih.nci.cananolab.domain.common.File;
import gov.nih.nci.cananola... | Java | software/cananolab-webapp/src/gov/nih/nci/cananolab/dto/particle/composition/ChemicalAssociationBean.java | NCIP/cananolab | bsd-3-clause | 5,221 | 160 | codeparrot/github-code |
cc360a9deb8448bae2432e679b5c05f604cc494d6a0667d4552bcaaf49752504 | // Copyright 2012 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.
#ifndef CC_LAYERS_SOLID_COLOR_LAYER_IMPL_H_
#define CC_LAYERS_SOLID_COLOR_LAYER_IMPL_H_
#include <memory>
#include "base/memory/ptr_util.h"
#include "cc... | C | cc/layers/solid_color_layer_impl.h | endlessm/chromium-browser | bsd-3-clause | 1,771 | 52 | codeparrot/github-code |
fda9c7c64be7eb20ee9e14c50956ca956300a4a7b532291b7a4ab4b920ff77ee | /*
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#include "Mc... | C++ | mcrouter/routes/McRouteHandleProvider.cpp | reddit/mcrouter | bsd-3-clause | 14,063 | 376 | codeparrot/github-code |
a253991cc0a458318aa144e63ef9172a5ae4ebd82e47ce98209fc08535392e9b | {% extends "admin/layout.html" %}
{% block title %}{{ _("Wars Overview") }}{% endblock %}
{% block contents %}
<h1>{{ _("Wars Overview") }}</h1>
<table>
<tr>
<th>{{ _("Opponent") }}</th>
<th>{{ _("Squad") }}</th>
<th>{{ _("Date") }}</th>
<th>{{ _("State") }}</th>
<th>{{ _("Result")... | HTML | pyClanSphere/plugins/war/templates/admin/war_list.html | jokey2k/pyClanSphere | bsd-3-clause | 1,235 | 41 | codeparrot/github-code |
9a1282593f33cd8c90272652b4d754e7dc26f03a65f26e12b738ce7b71d01d64 | // Copyright (c) 2013, Tencent Inc.
// All rights reserved.
//
// Author: <guofutan@tencent.com>
// Created: 2013-07-01
// Description:
#include "workpool.h"
#include "timerhelper.h"
namespace mio {
Reply::Reply(TaskType * t):task(t),isRuned(false){
}
/**
* @brief ResultWrapper
* @return
*/
int Reply::Resul... | C++ | mio/workpool.cpp | tanguofu/ASIOFRamework | bsd-3-clause | 4,526 | 294 | codeparrot/github-code |
de2d8ac3645e26a200b7d92c5c7b9c25caa46180fc59c88d792f4194e7a0493d | // Copyright 2018 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.
#include "chrome/browser/chromeos/smb_client/smb_url.h"
#include <string>
#include "base/macros.h"
#include "chrome/browser/chromeos/smb_client/smb_cons... | C++ | chrome/browser/chromeos/smb_client/smb_url_unittest.cc | endlessm/chromium-browser | bsd-3-clause | 4,634 | 134 | codeparrot/github-code |
e0ea4c3d09f8e539f0fd60b005244c6749a377435a7408531206022230f0a75d | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... | C++ | Sources/Tools/EPI/Document/DocumentModel.cpp | benkaraban/anima-games-engine | bsd-3-clause | 7,111 | 167 | codeparrot/github-code |
ca101d58411c4bc15bbba3f9345ec9c31cfd2534801223bf25f8b930b1d08795 | // Copyright (c) 2012 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.
#ifndef UI_DISPLAY_WIN_SCREEN_WIN_H_
#define UI_DISPLAY_WIN_SCREEN_WIN_H_
#include <windows.h>
#include <memory>
#include <vector>
#include "base/m... | C | ui/display/win/screen_win.h | endlessm/chromium-browser | bsd-3-clause | 11,571 | 276 | codeparrot/github-code |
2e1333e5fcb0873fcf15c0e4fe8fa465e816079a3cc6a8370e687551d7a3ffe4 | // 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.
#ifndef COMPONENTS_NACL_LOADER_NACL_LISTENER_H_
#define COMPONENTS_NACL_LOADER_NACL_LISTENER_H_
#include <stddef.h>
#include <stdint.h>
#include <map>
#... | C | components/nacl/loader/nacl_listener.h | endlessm/chromium-browser | bsd-3-clause | 3,971 | 132 | codeparrot/github-code |
8ce132128ede4e3a75730a45dab3422e7cbdf2802f602c63d22dd899fe074346 | /**
Author: Skyley Networks, Inc.
Version:
Description: main defs for SkWAN stack body
Copyrights(C) 2016-2018 Skyley Networks, Inc. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condit... | C | skwan/Project/source/stack/include/prot_ss_mac.h | skwan-lpwa/skwan | bsd-3-clause | 17,901 | 633 | codeparrot/github-code |
d1347d3e2c92a65fc907881c8e8a362b96d109856609c0d7058f6303e2246e95 | /*
* Copyright (c) 2018, Nordic Semiconductor
* 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 of conditi... | Java | app/src/main/java/no/nordicsemi/android/blinky/adapter/DiscoveredBluetoothDevice.java | NordicSemiconductor/Android-nRF-Blinky | bsd-3-clause | 5,393 | 181 | codeparrot/github-code |
452d6c5b2916c2abff2f51c6d9eebf5a9892be25e7b9a581f6bc2fe2da03eb52 | /* Definitions of target machine for GNU compiler,
for NetBSD/vax ELF systems.
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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... | C | gccxml/GCC/gcc/config/vax/netbsd-elf.h | avaitla/Haskell-to-C---Bridge | bsd-3-clause | 1,948 | 61 | codeparrot/github-code |
0ff4bc3c30b7882c2e30eae1080b1334a79499c2355068ddd0e2f005e7d9129e | package org.sirix.gui.view.smallmultiple;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.Comparator;
import java.util.List;
import org.sirix.gui.view.sunburst.SunburstItem;
/**
* SunburstList container u... | Java | bundles/sirix-gui/src/main/java/org/sirix/gui/view/smallmultiple/SunburstListContainer.java | sirixdb/sirix | bsd-3-clause | 1,966 | 69 | codeparrot/github-code |
0c2f2aad6093edd1491a7577a94fd7c25220e6088452ec1bce531d5f44acfb8b | using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using Newtonsoft.Json;
namespace UOKO.SSO.Core
{
/// <summary>
/// 按照特定方式读写相关 cookie
/// </summary>
public sealed class SSOAuthenticat... | C# | src/UOKO.SSO.Core/SSOAuthentication.cs | lust4life/uoko.sso | bsd-3-clause | 5,531 | 169 | codeparrot/github-code |
625aa6b707fffa1cbebf389dc40f7c6d64b3e5999fb4656b577f46f3c7b0b775 | // Copyright 2015 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.
#ifndef ASH_KEYBOARD_UI_RESOURCES_KEYBOARD_RESOURCE_UTIL_H_
#define ASH_KEYBOARD_UI_RESOURCES_KEYBOARD_RESOURCE_UTIL_H_
#include <stddef.h>
#include "as... | C | ash/keyboard/ui/resources/keyboard_resource_util.h | endlessm/chromium-browser | bsd-3-clause | 1,117 | 35 | codeparrot/github-code |
f5e751a929d1583cc8514059481b158aa2229ce9399dbe1e24e883e6feb9c865 | package org.basex.gui.dialog;
import static org.basex.core.Text.*;
import javax.swing.*;
import org.basex.core.*;
import org.basex.gui.*;
import org.basex.gui.layout.*;
import org.basex.gui.layout.BaseXFileChooser.Mode;
import org.basex.io.*;
import org.basex.util.ft.*;
/**
* Full-text creation dialog.
*
* @auth... | Java | basex-core/src/main/java/org/basex/gui/dialog/DialogFT.java | dimitarp/basex | bsd-3-clause | 5,014 | 153 | codeparrot/github-code |
43f0841d2e40c7eb119bd794e27a042e2ec0378bc7b210801f95f1a515fe6cc2 | // Copyright (c) 2012 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.
#include "chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h"
#include <string>
#include "base/base64.h"
#include "base/logging... | C++ | chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc | keishi/chromium | bsd-3-clause | 17,637 | 443 | codeparrot/github-code |
0b3047270041b7e2fa04766ebc62ceb046530552695b497f41460cf43d1cc34c | // Copyright 2014 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.
#ifndef COMPONENTS_SIGNIN_PUBLIC_IDENTITY_MANAGER_IOS_FAKE_DEVICE_ACCOUNTS_PROVIDER_H_
#define COMPONENTS_SIGNIN_PUBLIC_IDENTITY_MANAGER_IOS_FAKE_DEVICE_A... | C | components/signin/public/identity_manager/ios/fake_device_accounts_provider.h | endlessm/chromium-browser | bsd-3-clause | 1,766 | 50 | codeparrot/github-code |
c40312253a70bc80f590e3aeb282cbc52aeae2a5f5728ab4072a078e18e48a9d | {-# LANGUAGE BangPatterns #-}
-- |
-- Module: Data.Aeson.Encoding.Builder
-- Copyright: (c) 2011 MailRank, Inc.
-- (c) 2013 Simon Meier <iridcode@gmail.com>
-- License: BSD3
-- Maintainer: Bryan O'Sullivan <bos@serpentine.com>
-- Stability: experimental
-- Portability: portable
--
-- Efficie... | Haskell | Data/Aeson/Encoding/Builder.hs | sol/aeson | bsd-3-clause | 8,539 | 257 | codeparrot/github-code |
f2c99af5b9631f404a8fe456118522c0269e7b83d573733c61fcfd73ea1bed28 | 'use strict';
function testHeSheThey( alias ) {
return function() {
var template = Handlebars.compile( '{{' + alias.toLowerCase() + ' gender}}' );
var Template = Handlebars.compile( '{{' + alias + ' gender}}' );
it( 'should be "they"', function() {
expect( template() ).toBe( 'they' );
expect( Template() ... | JavaScript | test/gender.spec.js | bboyle/handlebars-pronouns | bsd-3-clause | 2,641 | 90 | codeparrot/github-code |
74cc9bd31f6bdbfb43f27d3206bbb920527cc517efbe160b2f6b8d80d138042d | /*
* Copyright (c) 2019, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
import { shared as lspCommon } from '@salesforce/lightning-lsp-common';
import { Telemet... | TypeScript | packages/salesforcedx-vscode-lightning/src/index.ts | forcedotcom/salesforcedx-vscode | bsd-3-clause | 6,968 | 227 | codeparrot/github-code |
b230035cfc577b3869b9e25ddb45777c706b5bde554773298ae3baed6199b103 | // Copyright (c) 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.
#ifndef PPAPI_PROXY_SERIALIZED_HANDLES_H_
#define PPAPI_PROXY_SERIALIZED_HANDLES_H_
#include <stdint.h>
#include <string>
#include <vector>
#includ... | C | ppapi/proxy/serialized_handle.h | endlessm/chromium-browser | bsd-3-clause | 5,890 | 175 | codeparrot/github-code |
c89c5e762d3d0a925c6922a77a4c6958bc6a1b4e621d173dad3acf5d05203575 | // Copyright 2014 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.
#include "services/sky/document_view.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/message_loop/message_loop.h"
#include "base/sing... | C++ | services/sky/document_view.cc | mxia/engine | bsd-3-clause | 10,340 | 298 | codeparrot/github-code |
a1808b47473167b00c8edc0edaeee3f1b4580556c0fb04da0b95e7865f1760c0 | // Copyright 2015 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.
#ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_MANAGER_DELEGATE_H_
#define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_MANAGER_DELEGATE_H_
#include <stdint.h>
#include <... | C | components/mus/public/cpp/window_manager_delegate.h | was4444/chromium.src | bsd-3-clause | 3,390 | 97 | codeparrot/github-code |
07857423799c9bef4a2c295e20cfbeaa193c7cdc03480189ac4ab7695d6e1672 | /**
*
*/
package edu.ucdenver.ccp.datasource.identifiers;
/*
* #%L
* Colorado Computational Pharmacology's common module
* %%
* Copyright (C) 2012 - 2014 Regents of the University of Colorado
* %%
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that... | Java | datasource-identifiers/src/main/java/edu/ucdenver/ccp/datasource/identifiers/ProteinAccessionResolver.java | bill-baumgartner/datasource | bsd-3-clause | 4,962 | 140 | codeparrot/github-code |
bc3d7bbe498bac756e84380a7e3427a2242b98cda3f56417017ec4000ccd77e8 | ###
# Copyright (c) 2002-2005, Jeremiah Fincher
# Copyright (c) 2009, James Vega
# 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 copyri... | Python | plugins/Factoids/config.py | mazaclub/mazabot-core | bsd-3-clause | 4,152 | 78 | codeparrot/github-code |
48f90a5e5c40609ad0f0543b611fa84a717e86d66d5b6aa564ff7c406c828845 | from __future__ import unicode_literals
from django import forms
from django.forms.models import inlineformset_factory
from django.forms.widgets import ClearableFileInput
from ...product.models import (ProductImage, Product, ShirtVariant, BagVariant,
Shirt, Bag)
PRODUCT_CLASSES = {
... | Python | saleor/dashboard/product/forms.py | hongquan/saleor | bsd-3-clause | 1,964 | 79 | codeparrot/github-code |
d47159a44bd89e1dfdfbdaeafe765bfadc468cb24c61b5f3ad7bff0da2442b77 | /*
* GLX Hardware Device Driver common code
* Copyright (C) 1999 Wittawat Yamwong
*
* 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
* ... | C | libdrm-example/libdrm/intel/mm.c | mtezych/cpp | bsd-3-clause | 5,845 | 265 | codeparrot/github-code |
69feeb79bced584d451b3934a4ef088a4c85cec08a5fd1bd982f6d316669bdba | <!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.5
Version: 4.1.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://them... | HTML | public/metronic/theme/templates/admin_material_design/page_portfolio.html | wtfckkk/crm-admision | bsd-3-clause | 96,276 | 2,633 | codeparrot/github-code |
b99b1bf24a7ffcca3c067a7ff6d33362100d13efc18357f1db1f7cc9308608d7 | '''Custom models for the block_comment app.'''
import difflib
from django.contrib.comments.models import Comment
from django.db import models
from django.utils.translation import ugettext as _
from block_comment.diff_match_patch import diff_match_patch
class BlockComment(Comment):
'''
``BlockComment`` exten... | Python | block_comment/models.py | gabrielhurley/django-block-comment | bsd-3-clause | 2,966 | 82 | codeparrot/github-code |
72655791f067caeab2051ce0f4723e2c4ed703d5e1e311ffade4181eb3451357 | // Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/extensions/common/xwalk_extension_server.h"
#include "base/file_util.h"
#include "base/files/file_enumerator.h"
#include "base/files/fil... | C++ | extensions/common/xwalk_extension_server.cc | wuhengzhi/crosswalk | bsd-3-clause | 11,999 | 379 | codeparrot/github-code |
40bb34b5f22960e39a8e4ed03ac1f5bfe5a1b83edc8d3833ae4e67365759b945 | // Copyright (c) 2012 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.
#include "ash/touch/touch_observer_hud.h"
#include "ash/shell_window_ids.h"
#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#... | C++ | ash/touch/touch_observer_hud.cc | keishi/chromium | bsd-3-clause | 6,849 | 229 | codeparrot/github-code |
923c3d45a34e5c9421d3acf2a5f2e960cf2ba5e8df1409978cff82dcc227ffc5 | /* HEADER.C - Device header
MODIFICATION HISTORY
DATE PROGRAMMER COMMENT
01-Jul-95 Timur Tabi Creation
09-Jan-97 Timur Tabi Added DA_NEEDOPEN to ATTRIB
*/
#pragma data_seg ("_header","data");
#define INCL_NOPMAPI
#include <os2.h>
#include <include.h>
#include <devhelp.h>
#include "header.h... | C | header.c | OS2World/DRV-MPU-401 | bsd-3-clause | 2,415 | 97 | codeparrot/github-code |
bf03d6430eaaaee1f0275919f00b3b5bcbf821d4644848605dd8fcffbc478df0 | package com.bdt.kiradb.mykdbapp;
import com.bdt.kiradb.Field;
import com.bdt.kiradb.FieldType;
import com.bdt.kiradb.Record;
import com.bdt.kiradb.RecordDescriptor;
public class TextDocument implements Record {
private static final String RECORD_NAME = "cacm";
private static final String PRIMARY_KEY = "docId";
pr... | Java | src/test/java/com/bdt/kiradb/mykdbapp/TextDocument.java | mrblog/KiraDB | bsd-3-clause | 1,320 | 63 | codeparrot/github-code |
45d4958ab321dc6a5c219c3cd5dfa7e1474bc2092b51ca3c2223f75ecc51adde | <?php
namespace SP\PhantomDriver;
use SP\Spiderling\BrowserInterface;
use Psr\Http\Message\UriInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Log\LoggerInterface;
use SP\Spiderling\Query;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Psr7\Uri;
use SP\Attempt\Attempt;
use GuzzleHttp\Psr7\Request;
/**
* @... | PHP | php/src/Browser.php | spiderling-php/phantom-driver | bsd-3-clause | 6,630 | 286 | codeparrot/github-code |
d76e375b48f53ac2be28e4c6a285292e2466fb3e82833e8426f7ec224283fc1a | #!/usr/bin/env vpython3
# Copyright 2020 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.
from __future__ import print_function
import argparse
import logging
import sys
import gold_inexact_matching.base_parameter_optimiz... | Python | chromium/content/test/gpu/determine_gold_inexact_parameters.py | ric2b/Vivaldi-browser | bsd-3-clause | 4,018 | 107 | codeparrot/github-code |
a0847c0c3ab511121b2210a96236f3c54350f64ae2196f5fa3e7979a5fa0a392 | /*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
Commercial Usage
Licensees holding valid commercial licenses may use this file in accordance with the Commercial
Software License Agreement provided with the Software or, alternatively, in accordanc... | JavaScript | public/js/ext/src/view/AbstractView.js | handsomegyr/ent | bsd-3-clause | 47,113 | 1,304 | codeparrot/github-code |
3d48101af921b8d703e6bc88461c5057628abb3d7cf791c076282ca121c8956f | local util = require "gumbo.dom.util"
local Node = require "gumbo.dom.Node"
local ChildNode = require "gumbo.dom.ChildNode"
local assertTextNode = util.assertTextNode
local assertStringOrNil = util.assertStringOrNil
local setmetatable = setmetatable
local _ENV = nil
local Text = util.merge(Node, ChildNode, {
type ... | Lua | gumbo/dom/Text.lua | ld-test/gumbo | isc | 1,033 | 48 | codeparrot/github-code |
25af2b38cf51d87e3b71aa09fb95387aa2315bb2c44503e56b14de2f1320c953 | #ifndef LD_SIGNALHANDLERIMPL_H
#define LD_SIGNALHANDLERIMPL_H
#include <nan.h>
#include <uv.h>
#include <alljoyn/BusObject.h>
#include <InterfaceDescription.h>
#include <TransportMask.h>
#include <alljoyn/AllJoynStd.h>
#include <alljoyn/MessageReceiver.h>
#include <Message.h>
#include <queue>
#include <memory>
class... | C | src/SignalHandlerImpl.h | octoblu/alljoyn | isc | 1,023 | 44 | codeparrot/github-code |
7f86cc1b607f01d470722e5d8c5d10cdd12789bf813dc46a58eb00156fb066e9 | /*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... | C | lnet-lite/include/libcfs/user-bitops.h | pscedu/slash2-stable | isc | 4,422 | 166 | codeparrot/github-code |
23e0a3718cab436f20fa4956d9bc57a9c5339d2c5f2dc1d07f96cf486a1f08d9 | /*
* services/listen_dnsport.c - listen on port 53 for incoming DNS queries.
*
* Copyright (c) 2007, NLnet Labs. All rights reserved.
*
* This software is open source.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... | C | FreeBSD/contrib/unbound/services/listen_dnsport.c | TigerBSD/TigerBSD | isc | 32,170 | 1,204 | codeparrot/github-code |
28c96b38323e95848d871d633714d5417ab342bf501572a44abff4f74f81ec8f | var sparql = require("./sparql.js"), $ = require("jquery");
var quote = function(string) {
return "'" + string + "'";
};
module.exports = {
createCurlString: function(yasqe, config) {
var ajaxConfig = sparql.getAjaxConfig(yasqe, config);
var url = ajaxConfig.url;
if (ajaxConfig.url.indexOf("http") !== 0... | JavaScript | src/curl.js | OpenTriply/YASGUI.YASQE | mit | 1,128 | 31 | codeparrot/github-code |
5bf30bac02c4469da80156390104b5a2b2a11a00a7cb6e099bd55e3b2dbc306e | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
// https://www.hackerrank.com/challenges/mark-and-toys/problem
public class MarkAndToys {
private static final String SPACE = " ";
private static long getBudget(BufferedReader reader) throws IOEx... | Java | hackerrank/MarkAndToys.java | julianespinel/training | mit | 1,255 | 44 | codeparrot/github-code |
1d469871c39f46505b72d5e4a5d2fe03ccf7ba98dd72f8d18caf0434417b7b67 | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | C | src/Providers/UNIXProviders/LaunchInContextSAP/UNIX_LaunchInContextSAP.h | brunolauze/openpegasus-providers-old | mit | 7,217 | 159 | codeparrot/github-code |
0a218aa84780bb65178889ad7cbb8ec12122ec0f10869bf651fe62d48ccf21ca | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>windows::basic_overlapped_handle::rebind_executor::other</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home"... | HTML | deps/boost_1_77_0/doc/html/boost_asio/reference/windows__basic_overlapped_handle__rebind_executor/other.html | davehorton/drachtio-server | mit | 14,172 | 321 | codeparrot/github-code |
13153663c61e86bbf8ce9cded20edd6429cf502442d4856058b4f2afb499eea2 | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | C++ | libs/boost_1_50_0/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/locking/try_lock_for_pass.cpp | djsedulous/namecoind | mit | 2,172 | 86 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.