code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
class NewrelicInfraAgent < Formula
desc "New Relic infrastructure agent"
homepage "https://github.com/newrelic/infrastructure-agent"
url "https://github.com/newrelic/infrastructure-agent.git",
tag: "1.20.7",
revision: "b17a417d4745da7be9c00ecc72619523867f7add"
license "Apache-2.0"
head "https... | sjackman/homebrew-core | Formula/newrelic-infra-agent.rb | Ruby | bsd-2-clause | 2,137 |
#include <sys/time.h>
#include <time.h>
#include "warnp.h"
#include "monoclock.h"
/**
* monoclock_get(tv):
* Store the current time in ${tv}. If CLOCK_MONOTONIC is available, use
* that clock; otherwise, use gettimeofday(2).
*/
int
monoclock_get(struct timeval * tv)
{
#ifdef CLOCK_MONOTONIC
struct timespec tp... | brainwater/spiped | lib/util/monoclock.c | C | bsd-2-clause | 669 |
class Yaz < Formula
desc "Toolkit for Z39.50/SRW/SRU clients/servers"
homepage "https://www.indexdata.com/yaz"
url "http://ftp.indexdata.dk/pub/yaz/yaz-5.15.1.tar.gz"
sha256 "ebef25b0970ea1485bbba43a721d7001523b6faa18c8d8da4080a8f83d5e2116"
revision 1
bottle do
cellar :any
sha256 "5c92b86a99954d7c9... | tkoenig/homebrew-core | Formula/yaz.rb | Ruby | bsd-2-clause | 2,555 |
/**
* 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.
*
* The examp... | mrspeaker/react-native | Examples/UIExplorer/js/TextInputExample.android.js | JavaScript | bsd-3-clause | 15,828 |
#! /usr/bin/python
"""versioneer.py
(like a rocketeer, but for versions)
* https://github.com/warner/python-versioneer
* Brian Warner
* License: Public Domain
* Version: 0.7+
This file helps distutils-based projects manage their version number by just
creating version-control tags.
For developers who work from a V... | sahat/bokeh | versioneer.py | Python | bsd-3-clause | 25,525 |
<?php
/**
* TOP API: taobao.tmc.user.get request
*
* @author auto create
* @since 1.0, 2015.12.04
*/
class TmcUserGetRequest
{
/**
* 需返回的字段列表,多个字段以半角逗号分隔。可选值:TmcUser结构体中的所有字段,一定要返回topic。
**/
private $fields;
/**
* 用户昵称
**/
private $nick;
/**
* 用户所属的平台类型,tbUIC:淘宝用户; icbu: icbu用户
**/
privat... | jasonzhangxian/scanner | common/components/topsdk/top/request/TmcUserGetRequest.php | PHP | bsd-3-clause | 1,496 |
# Linux Eclipse Dev
Eclipse can be used on Linux (and probably Windows and Mac) as an IDE for
developing Chromium. It's unpolished, but here's what works:
* Editing code works well (especially if you're used to it or Visual Studio).
* Navigating around the code works well. There are multiple ways to do this
(... | axinging/chromium-crosswalk | docs/linux_eclipse_dev.md | Markdown | bsd-3-clause | 19,553 |
// 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 NET_SPDY_SPDY_FRAMER_H_
#define NET_SPDY_SPDY_FRAMER_H_
#include <map>
#include <memory>
#include <string>
#include <utility>
#include "base... | CapOM/ChromiumGStreamerBackend | net/spdy/spdy_framer.h | C | bsd-3-clause | 33,489 |
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import reverse
from django.utils.decorators import method_decorator
from django.views import generic
from regressiontests.generic_views.models import Artist, Author, Book, Page
from regressiontests.generic_views.forms import Author... | faun/django_test | tests/regressiontests/generic_views/views.py | Python | bsd-3-clause | 3,421 |
// 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.
#include <utility>
#include "base/bind.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/message_loop/message_loop.h"
#include... | axinging/chromium-crosswalk | remoting/protocol/connection_unittest.cc | C++ | bsd-3-clause | 10,137 |
<html>
<head>
<script src="../../../http/tests/inspector/inspector-test.js"></script>
<script src="../../../http/tests/inspector/debugger-test.js"></script>
<script>
var a = 1;
function testFunction()
{
var a = 2;
debugger;
}
var test = function()
{
InspectorTest.startDebuggerTest(step1);
function st... | ondra-novak/blink | LayoutTests/inspector/sources/debugger/debugger-eval-on-call-frame.html | HTML | bsd-3-clause | 1,027 |
"""A connection adapter that tries to use the best polling method for the
platform pika is running on.
"""
import os
import logging
import socket
import select
import errno
import time
from operator import itemgetter
from collections import defaultdict
import threading
import pika.compat
from pika.compat import dictk... | reddec/pika | pika/adapters/select_connection.py | Python | bsd-3-clause | 21,137 |
/*
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | Alkalyne/webrtctrunk | sdk/android/src/jni/androidmetrics_jni.cc | C++ | bsd-3-clause | 2,312 |
{% extends 'djangopypi/base.html' %}
{% block title %}Manage {{ package.name }}{% endblock %}
{% block body %}
<h1>Manage {{ package.name }}</h1>
<div>
<form action="" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Submit">
</form>
</div>
{% endblock %}
| EightMedia/djangopypi | djangopypi/templates/djangopypi/package_manage.html | HTML | bsd-3-clause | 295 |
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2020, Cinesite VFX Ltd. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistri... | lucienfostier/gaffer | include/GafferScene/MergeScenes.h | C | bsd-3-clause | 6,816 |
/*
Copyright (c) 2007, Arvid Norberg
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 conditions and the f... | jav/libtorrent | src/udp_socket.cpp | C++ | bsd-3-clause | 22,274 |
package VCP::DB_File::sdbm;
=head1 NAME
VCP::DB_File::sdbm - Subclass providing SDBM_File storage
=head1 SYNOPSIS
use VCP::DB_File;
VCP::DB_File->new;
=head1 DESCRIPTION
To write your own DB_File filetype, copy this file and alter it. Then
ask us to add an option to the .vcp file parsing to enable it.
=... | gitpan/VCP-autrijus-snapshot | lib/VCP/DB_File/sdbm.pm | Perl | bsd-3-clause | 5,516 |
/*
* Copyright (c) 2015, Simone Margaritelli <evilsocket at gmail dot com>
* 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 copyr... | mokhdzanifaeq/arminject | jni/libhook/linker.h | C | bsd-3-clause | 3,126 |
Specifies a list of libraries and projects to link against.
```lua
links { "references" }
```
### Parameters ###
`references` is a list of library and project names.
When linking against another project in the same workspace, specify the project name here, rather than the library name. Premake will figure out the c... | starkos/premake-core | website/docs/links.md | Markdown | bsd-3-clause | 2,645 |
<!DOCTYPE html>
<html>
<head>
<title>Flatty - Flat Administration Template</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<meta content='text/html;charset=utf-8' http-equiv='content-type'>
<meta content='Flat administration template for Tw... | zahdxj/YinCart | themes/backend/views/core/default/login.php | PHP | bsd-3-clause | 18,572 |
package org.hisp.dhis.system.filter;
/*
* Copyright (c) 2004-2015, University of Oslo
* 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 th... | steffeli/inf5750-tracker-capture | dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/filter/AggregatableDataElementFilter.java | Java | bsd-3-clause | 2,620 |
// 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 CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_FACTORY_CHROMEOS_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_... | patrickm/chromium.src | chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.h | C | bsd-3-clause | 3,587 |
// 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.
#include "content/browser/mojo/mojo_app_connection_impl.h"
#include <stdint.h>
#include <utility>
#include "base/bind.h"
#include "content/browser/mojo/... | axinging/chromium-crosswalk | content/browser/mojo/mojo_app_connection_impl.cc | C++ | bsd-3-clause | 1,495 |
# encoding: utf-8
require_relative './job'
module CartoDB
module Importer2
class FormatLinter
CHARACTER_LIMIT = 1000
def self.supported?(extension)
extension == '.kml'
end
# INFO: importer_config not used but needed for compatibility with other normalizers
def initialize(f... | codeandtheory/cartodb | services/importer/lib/importer/format_linter.rb | Ruby | bsd-3-clause | 827 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms ... | klim-iv/phantomjs-qt5 | src/qt/qtbase/src/corelib/doc/snippets/qsignalmapper/buttonwidget.cpp | C++ | bsd-3-clause | 2,655 |
from __future__ import division, absolute_import, print_function
import sys
if sys.version_info[0] >= 3:
from io import StringIO
else:
from io import StringIO
import compiler
import inspect
import textwrap
import tokenize
from .compiler_unparse import unparse
class Comment(object):
""" A comment block.... | nguy/artview | docs/sphinxext/numpydoc/comment_eater.py | Python | bsd-3-clause | 5,425 |
/**
* Copyright 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.
*
* @providesModu... | nathanmarks/react | src/renderers/shared/stack/event/eventPlugins/ResponderEventPlugin.js | JavaScript | bsd-3-clause | 25,013 |
/*
* BridJ - Dynamic and blazing-fast native interop for Java.
* http://bridj.googlecode.com/
*
* Copyright (c) 2010-2015, Olivier Chafik (http://ochafik.com/)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... | nativelibs4java/BridJ | src/main/java/org/bridj/DefaultNativeList.java | Java | bsd-3-clause | 8,041 |
//
// MCOMessageHeader+Private.h
// mailcore2
//
// Created by DINH Viêt Hoà on 3/11/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#ifndef __MAILCORE_MCOMESSAGEHEADER_PRIVATE_H_
#define __MAILCORE_MCOMESSAGEHEADER_PRIVATE_H_
#ifdef __cplusplus
namespace mailcore {
class MessageHeader;
}
@inter... | zhanleewo/mailcore2 | src/objc/abstract/MCOMessageHeader+Private.h | C | bsd-3-clause | 521 |
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Chris Torek.
*
* Copyright (c) 2011 The FreeBSD Foundation
* All rights reserved.
* Portions of this software were developed by David Chisnall
... | jrobhoward/SCADAbase | lib/libc/stdio/vfwprintf.c | C | bsd-3-clause | 28,031 |
from django.conf.urls.defaults import patterns, url
urlpatterns = patterns(
'popcorn_gallery.users.views',
url(r'^edit/$', 'edit', name='users_edit'),
url(r'^delete/$', 'delete_profile', name='users_delete'),
url(r'^(?P<username>[\w-]+)/$', 'profile', name='users_profile'),
)
| mozilla/popcorn_maker | popcorn_gallery/users/urls.py | Python | bsd-3-clause | 294 |
/*
* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
* Copyright Siemens AG 2020
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* htt... | jens-maus/amissl | openssl/test/http_test.c | C | bsd-3-clause | 12,328 |
// 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 CSSParserFastPaths_h
#define CSSParserFastPaths_h
#include "core/CSSPropertyNames.h"
#include "core/CSSValueKeywords.h"
#include "platform/graphi... | axinging/chromium-crosswalk | third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.h | C | bsd-3-clause | 1,081 |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.util.lz4;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.l... | LWJGL-CI/lwjgl3 | modules/lwjgl/lz4/src/generated/java/org/lwjgl/util/lz4/LZ4StreamHC.java | Java | bsd-3-clause | 6,358 |
import copy
from django import forms
from django.db import models
from django.core.exceptions import ValidationError, ImproperlyConfigured
from django.db.models.fields.subclassing import Creator
from djangae.forms.fields import ListFormField
from django.utils.text import capfirst
class _FakeModel(object):
"""
... | nealedj/djangae | djangae/fields/iterable.py | Python | bsd-3-clause | 10,309 |
from __future__ import absolute_import
from datetime import datetime
from django.utils import timezone
from django.core.urlresolvers import reverse
from sentry.models import (
ProcessingIssue, EventError, RawEvent, EventProcessingIssue
)
from sentry.testutils import APITestCase
class ProjectProjectProcessingIss... | BuildingLink/sentry | tests/sentry/api/endpoints/test_project_processingissues.py | Python | bsd-3-clause | 4,405 |
// Copyright (c) 2011 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 "base/basictypes.h"
#include "chrome/browser/sync/profile_sync_service_harness.h"
#include "chrome/test/live_sync/live_themes_sync_test.h"
c... | meego-tablet-ux/meego-app-browser | chrome/test/live_sync/single_client_live_themes_sync_test.cc | C++ | bsd-3-clause | 2,855 |
// Copyright (c) 2011 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_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_GTK_H_
#define CHROME_BROWSER_UI_GTK_DOWNLOAD_DOWNLOAD_SHELF_CONTEXT_MENU_GTK_H_
#... | leiferikb/bitpop-private | chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.h | C | bsd-3-clause | 1,731 |
$.ajax({
url: './data/population.json',
success: function (data) {
var max = -Infinity;
data = data.map(function (item) {
max = Math.max(item[2], max);
return {
geoCoord: item.slice(0, 2),
value: item[2]
}
});
da... | wangyuefive/echarts-x | doc/example/code/map3d_population3.js | JavaScript | bsd-3-clause | 1,877 |
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Peter Kelly (pmk@post.com)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved.
*
* This library is free software; yo... | axinging/chromium-crosswalk | third_party/WebKit/Source/core/dom/Element.h | C | bsd-3-clause | 39,638 |
Подробная инструкция по установке:
[http://yupe.ru/docs/install.html](http://yupe.ru/docs/install.html)
Настройка операционной системы (Ubuntu):
[http://yupe.ru/docs/ubuntu.html](http://yupe.ru/docs/ubuntu.html)
После установки
---------------
- [Расскажите нам о новом сайте на Юпи!](http://yupe.ru/contacts). Нам бу... | StWings/yupe | install.md | Markdown | bsd-3-clause | 1,153 |
"""Tools for manipulating of large commutative expressions. """
from __future__ import print_function, division
from sympy.core.add import Add
from sympy.core.compatibility import iterable, is_sequence, SYMPY_INTS
from sympy.core.mul import Mul, _keep_coeff
from sympy.core.power import Pow
from sympy.core.basic impor... | kmacinnis/sympy | sympy/core/exprtools.py | Python | bsd-3-clause | 41,487 |
/*===================================================================
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... | iwegner/MITK | Modules/Core/test/mitkAccessByItkTest.cpp | C++ | bsd-3-clause | 12,165 |
/**
* OpenAL cross platform audio library
* Copyright (C) 1999-2007 by authors.
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your op... | DKGL/DKGL | DK/lib/OpenAL/OpenAL32/alFilter.c | C | bsd-3-clause | 17,106 |
# Author: Prabhu Ramachandran <prabhu [at] aero . iitb . ac . in>
# Copyright (c) 2008, Enthought, Inc.
# License: BSD Style.
# Enthought library imports.
from tvtk.tools.tvtk_doc import TVTKFilterChooser, TVTK_FILTERS
# Local imports.
from mayavi.filters.filter_base import FilterBase
from mayavi.core.common import ... | dmsurti/mayavi | mayavi/filters/user_defined.py | Python | bsd-3-clause | 3,082 |
<!doctype html>
<title>ProgressEvent constructor</title>
<script src=../../../../resources/testharness.js></script>
<script src=../../../../resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(function() {
var ev = new ProgressEvent("test")
assert_equals(ev.type, "test")
assert_equals(ev.targ... | axinging/chromium-crosswalk | third_party/WebKit/LayoutTests/imported/wpt/dom/events/ProgressEvent.html | HTML | bsd-3-clause | 890 |
# Contributing
Contributions to Respect\Validation are always welcome. You make our lives
easier by sending us your contributions through
[GitHub pull requests](http://help.github.com/pull-requests).
Pull requests for bug fixes must be based on the current stable branch whereas
pull requests for new features must be ... | ahmetgunes/Validation | CONTRIBUTING.md | Markdown | bsd-3-clause | 4,427 |
/* PIED DE PAGE*/
#nom_ input[type="text"]
{ /*le input ou le textarea*/
background-color: #fffffa; /*la couleur du champ*/
height: 25px; /*la hauteur du champ input*/
width: 100%; /* la largeur du champ input*/
}
#prenom_ input[type="text"]
{ /*le input ou le textarea*/
background-color: #fffffa; /*la couleur du... | alhassimdiallo/simens-urgence | public/css/facturation/styleListePatientAdmis.css | CSS | bsd-3-clause | 15,984 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=Home.action">
</head>
<body>
<p>Loading ...</p>
</body>
</html>
| NCIP/cacore-sdk-pre411 | conf/web/index.html | HTML | bsd-3-clause | 188 |
//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// texture_format_util:
// Contains helper functions for texture_format_table
//
#include "libANGLE/renderer/d3d/d3d11/texture_format_util.h"... | mlfarrell/angle | src/libANGLE/renderer/d3d/d3d11/texture_format_util.cpp | C++ | bsd-3-clause | 27,624 |
#include "atlas_misc.h"
#include "camm_strat1.h"
void ATL_USET(int len, const SCALAR alpha, TYPE *X, const int incX)
{
NO_INLINE;
#ifndef SREAL
len+=len;
#endif
#ifdef DCPLX
len+=len;
#endif
#define VERS 3
#define N Mjoin(set_,VERS)
#ifndef BITS
#define BITS 4
#endif
#ifndef CL
#define CL 24
#endif
#ifdef SR... | rakib-hasan/math-atlas | AtlasBase/kernel/CammMaguire/set_SSE_p4.c | C | bsd-3-clause | 966 |

### Free peer-to-peer file transfers in your browser
Cooked up by [Alex Kern](http://kern.io) & [Neeraj Baid](http://neeraj.io) while eating *Sliver* @ UC Berkeley.
[](https://xkcd.com/949/)
## Overview
FilePizza enab... | Ribeiro/filepizza | README.md | Markdown | bsd-3-clause | 4,022 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>tools — Translate Toolkit 1.11.0 documentatio... | staranjeet/fjord | vendor/packages/translate-toolkit/docs/_build/html/api/tools.html | HTML | bsd-3-clause | 131,436 |
//
// IMAPFetchNamespaceOperation.h
// mailcore2
//
// Created by DINH Viêt Hoà on 1/12/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#ifndef __MAILCORE_MCIMAPFETCHNAMESPACEOPERATION_H_
#define __MAILCORE_MCIMAPFETCHNAMESPACEOPERATION_H_
#include <MailCore/MCIMAPOperation.h>
#ifdef __cplusplus
na... | zhanleewo/mailcore2 | src/async/imap/MCIMAPFetchNamespaceOperation.h | C | bsd-3-clause | 734 |
// 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 "ui/events/platform/x11/hotplug_event_handler_x11.h"
#include <X11/extensions/XInput.h>
#include <X11/extensions/XInput2.h>
#include <cmath>
#i... | collinjackson/mojo | ui/events/platform/x11/hotplug_event_handler_x11.cc | C++ | bsd-3-clause | 5,674 |
<?php
/**
* ALIPAY API: alipay.pass.instance.update request
*
* @author auto create
* @since 1.0, 2015-07-23 11:37:35
*/
class AlipayPassInstanceUpdateRequest
{
/**
* 需要更新的券实例变量和状态信息
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private $prodCode;
... | black-tangyang/basic | web/alipay/aop/request/AlipayPassInstanceUpdateRequest.php | PHP | bsd-3-clause | 1,524 |
"""Univariate features selection."""
# Authors: V. Michel, B. Thirion, G. Varoquaux, A. Gramfort, E. Duchesnay.
# L. Buitinck, A. Joly
# License: BSD 3 clause
import numpy as np
import warnings
from scipy import special, stats
from scipy.sparse import issparse
from ..base import BaseEstimator
from ..prepr... | loli/semisupervisedforests | sklearn/feature_selection/univariate_selection.py | Python | bsd-3-clause | 18,609 |
/*
* graph.h
* PHD Guiding
*
* Created by Craig Stark.
* Copyright (c) 2006-2010 Craig Stark.
* All rights reserved.
*
* This source code is distributed under the following "BSD" license
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | lynxdeterra/open-phd-guiding | graph.h | C | bsd-3-clause | 7,901 |
# coding=utf-8
from __future__ import absolute_import
from .base import *
# ######### IN-MEMORY TEST DATABASE
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": ":memory:",
},
} | manazag/hopper.pw | hopperpw/hopperpw/settings/test.py | Python | bsd-3-clause | 229 |
// 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.
#include "ios/chrome/browser/search_engines/template_url_service_factory.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/no_destructo... | scheib/chromium | ios/chrome/browser/search_engines/template_url_service_factory.cc | C++ | bsd-3-clause | 3,840 |
#!/bin/bash -ex
# 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.
#
# Buildbot annotator script for the main waterfall. Tester only.
BB_DIR="$(dirname $0)"
BB_SRC_ROOT="$(cd "$BB_DIR/../../.."; pwd)"
.... | leighpauls/k2cro4 | build/android/buildbot/bb_main_tester.sh | Shell | bsd-3-clause | 723 |
// 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 "base/threading/platform_thread.h"
#include <errno.h>
#include <sched.h>
#include <stddef.h>
#include "base/lazy_instance.h"
#include "base/log... | kku1993/libquic | src/base/threading/platform_thread_freebsd.cc | C++ | bsd-3-clause | 2,784 |
/*
* Copyright (c) 2013, Michael Lehn, Klaus Pototzky
*
* 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... | d-tk/FLENS | flens/lapack/gb/tf2.h | C | bsd-3-clause | 2,661 |
# - Try to find the CHECK libraries
# Once done this will define
#
# CHECK_FOUND - system has check
# CHECK_INCLUDE_DIR - the check include directory
# CHECK_LIBRARIES - check library
#
# This configuration file for finding libcheck is originally from
# the opensync project. The originally was downloaded from her... | refu-lang/rfbase | cmake/FindCheck.cmake | CMake | bsd-3-clause | 2,079 |
<?php
error_reporting(E_ALL);
trait THello {
public abstract function hello();
}
class TraitsTest {
use THello;
public function hello() {
echo 'Hello';
}
}
$test = new TraitsTest();
$test->hello();
?>
| JSchwehn/php | testdata/fuzzdir/corpus/Zend_tests_traits_bugs_abstract-methods03.php | PHP | bsd-3-clause | 216 |
// Copyright 2015, ARM Limited
// 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 conditions a... | darkenk/vixl | test/traces/a64/sim-fadd-2s-trace-a64.h | C | bsd-3-clause | 74,222 |
package org.broadinstitute.hellbender.tools.spark.pathseq;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.Output;
import htsjdk.samtools.SAMSequenceRecord;
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchiveInputStrea... | magicDGS/gatk | src/main/java/org/broadinstitute/hellbender/tools/spark/pathseq/PSBuildReferenceTaxonomyUtils.java | Java | bsd-3-clause | 17,481 |
// 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.
#include "chrome/browser/banners/app_banner_debug_log.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_conte... | ds-hwang/chromium-crosswalk | chrome/browser/banners/app_banner_debug_log.cc | C++ | bsd-3-clause | 2,713 |
---
layout: data_model
title: ActionPertinentObjectPropertiesType
this_version: 1.1.1
---
<div class="alert alert-danger bs-alert-old-docs">
<strong>Heads up!</strong> These docs are for STIX 1.1.1, which is not the latest version (1.2). <a href="/data-model/1.2/cybox/ActionPertinentObjectPropertiesType">View the l... | johnwunder/johnwunder.github.io | data-model/1.1.1/cybox/ActionPertinentObjectPropertiesType/index.html | HTML | bsd-3-clause | 1,868 |
using Microsoft.Extensions.DependencyInjection;
namespace OrchardCore.Liquid
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddLiquidFilter<T>(this IServiceCollection services, string name) where T : class, ILiquidFilter
{
services.Configure<Liq... | OrchardCMS/Brochard | src/OrchardCore/OrchardCore.Liquid.Abstractions/ServiceExtensions.cs | C# | bsd-3-clause | 475 |
// 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.
package org.chromium.content.browser.input;
import android.os.SystemClock;
import android.text.Editable;
import android.text.InputType;
import android.te... | PeterWangIntel/chromium-crosswalk | content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java | Java | bsd-3-clause | 27,345 |
/*
* Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net)
* 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, ... | odanek/duel6r | source/Vertex.h | C | bsd-3-clause | 2,490 |
VERSION = (1, 0, 0,)
__version__ = '.'.join(map(str, VERSION))
default_app_config = 'admin_sso.apps.AdminSSOConfig'
# Do not use Django settings at module level as recommended
try:
from django.utils.functional import LazyObject
except ImportError:
pass
else:
class LazySettings(LazyObject):
def _se... | frog32/django-admin-sso | admin_sso/__init__.py | Python | bsd-3-clause | 716 |
// 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.
#include "third_party/blink/renderer/core/layout/ng/mathml/ng_math_under_over_layout_algorithm.h"
#include "third_party/blink/renderer/core/layout/ng/mat... | nwjs/chromium.src | third_party/blink/renderer/core/layout/ng/mathml/ng_math_under_over_layout_algorithm.cc | C++ | bsd-3-clause | 18,124 |
/// @ref simd
/// @file glm/simd/platform.h
#pragma once
///////////////////////////////////////////////////////////////////////////////////
// Platform
#define GLM_PLATFORM_UNKNOWN 0x00000000
#define GLM_PLATFORM_WINDOWS 0x00010000
#define GLM_PLATFORM_LINUX 0x00020000
#define GLM_PLATFORM_APPLE 0x00040000
//... | broxen/Segs | 3rd_party/glm/simd/platform.h | C | bsd-3-clause | 15,944 |
# Copyright 2009 The Go 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 $(GOROOT)/src/Make.$(GOARCH)
TARG=encoding/hex
GOFILES=\
hex.go\
include $(GOROOT)/src/Make.pkg
| edisonwsk/golang-on-cygwin | src/pkg/encoding/hex/Makefile | Makefile | bsd-3-clause | 264 |
/*
*
* Copyright 2015, 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 condi... | ppietrasa/grpc | test/core/end2end/tests/payload.c | C | bsd-3-clause | 10,278 |
/****************************************************************************
*
* Copyright (C) 2012-2019 PX4 Development Team. 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. Redi... | acfloria/Firmware | src/systemcmds/tests/test_ppm_loopback.c | C | bsd-3-clause | 5,363 |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org 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:
* * Redistributions of so... | newrelic/ace | lib/ace/layer/gutter.js | JavaScript | bsd-3-clause | 8,543 |
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkFont.h"
#include "include/core/SkTypeface.h"
#include "src/core/SkScalerCache.h"
#include "src/core/SkStrikeSpec.h"
#include "src/core/SkTaskGroup.h"
... | youtube/cobalt | third_party/skia_next/third_party/skia/tests/SkScalerCacheTest.cpp | C++ | bsd-3-clause | 2,751 |
// Copyright 2016 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 "third_party/blink/renderer/core/fetch/multipart_parser.h"
#include "base/cxx17_backports.h"
#include "third_party/blink/public/platform/platfor... | nwjs/chromium.src | third_party/blink/renderer/core/fetch/multipart_parser.cc | C++ | bsd-3-clause | 12,588 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const chalk = require("chalk");
const cli_utils_1 = require("@ionic/cli-utils");
const command_1 = require("@ionic/cli-utils/lib/command");
const validators_1 = require("@ionic/cli-utils/lib/validators");
cons... | vivadaniele/spid-ionic-sdk | node_modules/ionic/dist/commands/package/build.js | JavaScript | bsd-3-clause | 8,855 |
/****************************************************************************
*
* Copyright (C) 2012 PX4 Development Team. 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. Redistri... | PX4/Firmware | src/lib/controllib/BlockLowPassVector.hpp | C++ | bsd-3-clause | 3,118 |
//===- PDBExtras.h - helper functions and classes for PDBs ------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | endlessm/chromium-browser | third_party/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h | C | bsd-3-clause | 1,888 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from builtins import *
import versioneer
__author__ = 'Chia-Jung, Yang'
__email__ = 'jeroyang@gmail.com'
__version__ = versioneer.get_version()
from ._version imp... | jeroyang/newsletter | newsletter/__init__.py | Python | bsd-3-clause | 394 |
<?php
/* Prototype : string basename(string path [, string suffix])
* Description: Returns the filename component of the path
* Source code: ext/standard/string.c
* Alias to functions:
*/
echo "*** Testing basename() : usage variation ***\n";
// Define error handler
function test_error_handler($err_no, $err_ms... | JSchwehn/php | testdata/fuzzdir/corpus/ext_standard_tests_file_basename_variation3.php | PHP | bsd-3-clause | 2,234 |
#!/bin/sh
bindir=/usr/bin
sbindir=/usr/bin
libdir=/usr/lib
[ -n "$gearman_db_type" ] && db_type=$gearman_db_type
if [ "$db_type" = "mysql" ]; then
persistence="-q libdrizzle --libdrizzle-user=%{gearman.db_user} --libdrizzle-password=\\\"\$(pw=\\\"%{gearman.db_pass}\\\" && [ \\\"\${pw:0:8}\\\" = \\\"keydb://\\\" ]... | yahoo/gearbox | workers/gearbox/conf/mock-gearbox.conf.sh | Shell | bsd-3-clause | 2,079 |
define(
[
{
"value": 40,
"name": "Accessibility",
"path": "Accessibility"
},
{
"value": 180,
"name": "Accounts",
"path": "Accounts",
"children": [
{
"value": 76,
"name": "Access",
"path": "Acc... | redmed/echarts-www | related/ppt/asset/data/disk-tree.json.js | JavaScript | bsd-3-clause | 750,572 |
// Copyright 2019 the V8 project 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 "src/torque/torque-compiler.h"
#include <fstream>
#include "src/torque/declarable.h"
#include "src/torque/declaration-visitor.h"
#include "src... | endlessm/chromium-browser | v8/src/torque/torque-compiler.cc | C++ | bsd-3-clause | 5,519 |
# -*- coding: utf-8 -*-
# Copyright (C) 2012, Almar Klein
#
# Visvis is distributed under the terms of the (new) BSD License.
# The full license can be found in 'license.txt'.
import visvis as vv
import numpy as np
import os
# Try importing imageio
imageio = None
try:
import imageio
except ImportError:
pass
... | chrisidefix/visvis | functions/volread.py | Python | bsd-3-clause | 1,322 |
/*
* Copyright (c) 2012, Michael Lehn, Klaus Pototzky
*
* 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... | d-tk/FLENS | cxxlapack/interface/lasdq.h | C | bsd-3-clause | 3,056 |
<!doctype html>
<html>
<head>
<style>
iframe {
position: fixed;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
width: 100%;
height: 100%;
border: none;
margin: 0;
}
</style>
</head>
<body>
<iframe src="test_web_input_ed... | ric2b/Vivaldi-browser | chromium/chrome/test/data/xr/e2e_test_files/html/test_web_input_editing_iframe_outer.html | HTML | bsd-3-clause | 375 |
""" test positional based indexing with iloc """
from datetime import datetime
import re
from warnings import (
catch_warnings,
simplefilter,
)
import numpy as np
import pytest
import pandas.util._test_decorators as td
from pandas import (
NA,
Categorical,
CategoricalDtype,
DataFrame,
In... | rs2/pandas | pandas/tests/indexing/test_iloc.py | Python | bsd-3-clause | 46,354 |
// 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/usb/usb_policy_allowed_devices.h"
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/strings/string_spli... | ric2b/Vivaldi-browser | chromium/chrome/browser/usb/usb_policy_allowed_devices.cc | C++ | bsd-3-clause | 5,366 |
#pragma once
#include "scbwdata.h"
#include <algorithm>
namespace scbw {
/// The UnitFinder class is used to efficiently search for units in a certain
/// area using StarCraft's internal data structures.
class UnitFinder {
public:
/// Default constructor.
UnitFinder();
/// Constructs and... | xboi209/general-plugin-template-project | SCT-Plugin/SCBW/UnitFinder.h | C | isc | 9,141 |
#ifndef HEATSHRINK_H
#define HEATSHRINK_H
#define HEATSHRINK_AUTHOR "Scott Vokes <scott.vokes@atomicobject.com>"
#define HEATSHRINK_URL "https://github.com/atomicobject/heatshrink"
/* Version 0.4.0 */
#define HEATSHRINK_VERSION_MAJOR 0
#define HEATSHRINK_VERSION_MINOR 4
#define HEATSHRINK_VERSION_PATCH 0
#define HEA... | senyor/heatshrink | heatshrink_common.h | C | isc | 512 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | weimingtom/OtterUI | Tool/Aga.Controls/Properties/Resources.Designer.cs | C# | mit | 6,371 |
<div ng-controller="EditableFormCtrl" id="EditableFormCtrl">
<form editable-form name="editableForm" onaftersave="saveUser()">
<div>
<!-- editable username (text with validation) -->
<span class="title">User name: </span>
<span editable-text="user.name" e-name="name" onbeforesave="checkName($dat... | HS2-SOLUTIONS/angular-xeditable | docs/demos/editable-form/view.html | HTML | mit | 1,597 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>sd-reader: partitio... | bzisjo/Skate | uSD/uSD/doc/html/partition_8c.html | HTML | mit | 3,886 |
/*
* Copyright (c) 2012-2014 The Khronos Group Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and/or associated documentation files (the
* "Materials"), to deal in the Materials without restriction, including
* without limitation the rights to use, copy, m... | hy3440/HOG-OpenVX | sample/bindings/java/jni/Node.cpp | C++ | mit | 3,492 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.