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 |
|---|---|---|---|---|---|
/*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may... | Squeegee/batik | sources/org/apache/batik/extension/svg/HistogramRed.java | Java | apache-2.0 | 3,320 |
package com.fincatto.documentofiscal.nfe310.converters;
import org.junit.Assert;
import org.junit.Test;
import org.simpleframework.xml.stream.InputNode;
import org.simpleframework.xml.stream.NodeMap;
import org.simpleframework.xml.stream.Position;
public class NFStringNullToEmptyConverterTest {
@Test
public ... | fincatto/nfe | src/test/java/com/fincatto/documentofiscal/nfe310/converters/NFStringNullToEmptyConverterTest.java | Java | apache-2.0 | 1,927 |
//----------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc.
// All Rights Reserved
// Apache License 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may o... | LucVK/azure-activedirectory-library-for-dotnet | tests/Test.ADAL.WinRT.Unit/ReplayerHttpWebRequestFactory.cs | C# | apache-2.0 | 1,258 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | paplorinc/intellij-community | platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsViewUtil.java | Java | apache-2.0 | 3,816 |
<section class="hero-content">
<h1 class="hero-title">{{ landing.heroTitle }}</h1>
</section>
<section class="selling-points container clearfix">
<div class="point column third">
<span class="ion-music-note"></span>
<h5 class="point-title">Choose your music</h5>
<p class="point... | kaseycolleen/bloc-jams-angular | dist/templates/landing.html | HTML | apache-2.0 | 980 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | pivotal-amurmann/geode | geode-core/src/test/java/org/apache/geode/internal/cache/ConcurrentRegionOperationsJUnitTest.java | Java | apache-2.0 | 26,129 |
require 'formula'
# NOTE: When updating Wine, please check Wine-Gecko and Wine-Mono for updates
# too:
# - http://wiki.winehq.org/Gecko
# - http://wiki.winehq.org/Mono
class Wine < Formula
homepage 'https://www.winehq.org/'
stable do
url 'https://downloads.sourceforge.net/project/wine/Source/wine-1.6.2.tar.... | jasonm23/homebrew | Library/Formula/wine.rb | Ruby | bsd-2-clause | 6,499 |
/*
* The Minimal snprintf() implementation
*
* Copyright (c) 2013 Michal Ludvig <michal@logix.cz>
* 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 mus... | techno/mist32e-demos | mini-printf/mini-printf.h | C | bsd-2-clause | 1,922 |
/*-
* Copyright (c) 2006 Verdens Gang AS
* Copyright (c) 2006-2014 Varnish Software AS
* All rights reserved.
*
* Author: Poul-Henning Kamp <phk@phk.freebsd.dk>
* Author: Martin Blix Grydeland <martin@varnish-software.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, a... | adeelshahid/Varnish-Cache | lib/libvarnishapi/vsm.c | C | bsd-2-clause | 10,283 |
"""
Statistics for astronomy
"""
import numpy as np
from scipy.stats.distributions import rv_continuous
def bivariate_normal(mu=[0, 0], sigma_1=1, sigma_2=1, alpha=0,
size=None, return_cov=False):
"""Sample points from a 2D normal distribution
Parameters
----------
mu : array-lik... | nhuntwalker/astroML | astroML/stats/random.py | Python | bsd-2-clause | 3,890 |
class Castxml < Formula
desc "C-family Abstract Syntax Tree XML Output"
homepage "https://github.com/CastXML/CastXML"
url "https://mirrors.ocf.berkeley.edu/debian/pool/main/c/castxml/castxml_0.1+git20170823.orig.tar.xz"
mirror "https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/c/castxml/castxml_0.... | moderndeveloperllc/homebrew-core | Formula/castxml.rb | Ruby | bsd-2-clause | 1,243 |
//$$CDS-header$$
#include "priority_queue/hdr_pqueue.h"
#include <cds/container/fcpriority_queue.h>
#include <deque>
namespace priority_queue {
void PQueueHdrTest::FCPQueue_deque()
{
typedef cds::container::FCPriorityQueue<
PQueueHdrTest::value_type
,std::priority_queue<
... | goswamia/libcds | tests/test-hdr/priority_queue/hdr_fcpqueue_deque.cpp | C++ | bsd-2-clause | 1,563 |
Run this [Elasticsearch][] image with:
$ docker run -d --name elasticsearch-0 gentoobb/elasticsearch
Then [link][linking] to it from your client container:
$ docker run --link elasticsearch-0:elastic your-client
For example, we can use the busybox image and wget to query the elasticsearch container:
$ ... | guruvan/gentoo-bb | dock/guruvan/images/elasticsearch/README.md | Markdown | bsd-2-clause | 913 |
class Genometools < Formula
desc "GenomeTools: The versatile open source genome analysis software"
homepage "http://genometools.org/"
# doi "10.1109/TCBB.2013.68"
# tag "bioinformatics"
url "http://genometools.org/pub/genometools-1.5.8.tar.gz"
sha256 "c1864ce7df3bac9699a50a46b005995f96ddd287f9469d8448815aba... | kozo2/homebrew-science | genometools.rb | Ruby | bsd-2-clause | 2,154 |
<!doctype html>
<html>
<head>
<title>VisLab: {{page_title}}</title>
<link href="/static/main.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css" />
<script src="/static/sprintf-0.7-beta1.js"></script>
<script src="/static/jquery-1.10... | Jai-Chaudhary/vislab | vislab/templates/results.html | HTML | bsd-2-clause | 2,758 |
/*
* Copyright (c) 2018 Abex
* 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 conditions and ... | UniquePassive/runelite | runelite-client/src/main/java/net/runelite/client/plugins/kourendlibrary/LibraryCustomer.java | Java | bsd-2-clause | 2,190 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.6-4-365
description: >
ES5 Attributes - fail to update [[Enumerable]] attribute of data
property ([[Writable]] is false, [[Enumerable]] is true,
[[Confi... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/Object/defineProperty/15.2.3.6-4-365.js | JavaScript | bsd-2-clause | 1,015 |
package cz.metacentrum.perun.core.entry;
import cz.metacentrum.perun.TestUtils.TestConsumer;
import cz.metacentrum.perun.TestUtils.TestSupplier;
import cz.metacentrum.perun.core.AbstractPerunIntegrationTest;
import cz.metacentrum.perun.core.api.Attribute;
import cz.metacentrum.perun.core.api.AttributeDefinition;
impor... | zlamalp/perun | perun-core/src/test/java/cz/metacentrum/perun/core/entry/UsersManagerEntryIntegrationTest.java | Java | bsd-2-clause | 105,451 |
/*
* Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2008 Collabora Ltd. All rights reserved.
* Copyright (C) 2009 Holger Hans Peter Freyther
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are... | yoavweiss/RespImg-WebCore | plugins/PluginPackage.cpp | C++ | bsd-2-clause | 13,860 |
cask :v1 => 'fingerlock' do
version :latest
sha256 :no_check
url 'http://www.fingerkeyapp.com/download/FingerLock.dmg'
homepage 'http://www.fingerkeyapp.com/'
license :unknown # todo: improve this machine-generated value
app 'FingerLock.app'
end
| andyshinn/homebrew-cask | Casks/fingerlock.rb | Ruby | bsd-2-clause | 263 |
source ../testsupport.sh
bpipe run -p batch_name=testsim -p sample_info=samples.txt test.groovy > test.out 2>&1
exists testsim_simulated_cnvs/XXXXX_test.bam
# Run again should skip
bpipe test -p batch_name=testsim -p sample_info=samples.txt test.groovy > test.out 2>&1
grep -q "Would execute" test.out && err ... | vivovip/bpipe | tests/produce_wildcard_with_set_outputdir/run.sh | Shell | bsd-3-clause | 424 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.views.scroll;
import android.view.View;
import android.view.ViewGroup;
import com.facebook.react.bridge... | exponent/exponent | android/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.java | Java | bsd-3-clause | 3,192 |
/**
* 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... | rlugojr/react | src/renderers/native/ReactNativeFiber.js | JavaScript | bsd-3-clause | 11,790 |
// Copyright (c) 2013 Marshall A. Greenblatt. 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 ... | svn2github/cef | include/capi/cef_find_handler_capi.h | C | bsd-3-clause | 3,079 |
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkCanvas.h"
#include "SkCommandLineFlags.h"
#include "SkGraphics.h"
#include "SkMakeUnique.h"
#include "SkOSFile.h"
#include "SkOSPath.h"
#include "Skottie.h"
#inclu... | Hikari-no-Tenshi/android_external_skia | modules/skottie/src/SkottieTool.cpp | C++ | bsd-3-clause | 6,383 |
/*
* Copyright (c) 2015 - 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.
*/
package com.faceb... | algobardo/infer | infer/annotations/com/facebook/infer/annotation/TrueOnNull.java | Java | bsd-3-clause | 688 |
// =============================================================================
// 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... | projectchrono/chrono | src/chrono_models/vehicle/uaz/UAZBUS_Wheel.cpp | C++ | bsd-3-clause | 1,679 |
import copy
import datetime
import decimal
import math
import warnings
from itertools import tee
from django.db import connection
from django.db.models.query_utils import QueryWrapper
from django.conf import settings
from django import forms
from django.core import exceptions, validators
from django.utils.datastructur... | klnprj/testapp | django/db/models/fields/__init__.py | Python | bsd-3-clause | 47,219 |
// 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 CONTENT_CHILD_REQUEST_EXTRA_DATA_H_
#define CONTENT_CHILD_REQUEST_EXTRA_DATA_H_
#include "base/compiler_specific.h"
#include "content/common/... | ondra-novak/chromium.src | content/child/request_extra_data.h | C | bsd-3-clause | 4,312 |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/dialogflow/v2/session.proto
namespace Google\Cloud\Dialogflow\V2;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Represents the result of conversatio... | googleapis/proto-client-php | src/Google/Cloud/Dialogflow/V2/QueryResult.php | PHP | bsd-3-clause | 19,237 |
package main
import (
"fmt"
"github.com/flynn/go-docopt"
)
func init() {
register("install", runInstaller, `usage: flynn install`)
}
func runInstaller(args *docopt.Args) error {
fmt.Printf("DEPRECATED: `flynn install` has been deprecated.\nRefer to https://flynn.io/docs/installation for current installation ins... | flynn/flynn | cli/install.go | GO | bsd-3-clause | 512 |
// according to the offical reference (EN)
// https://ichigojam.net/IchigoJam-en.html
Prism.languages.ichigojam = {
'comment': /(?:\B'|REM)(?:[^\n\r]*)/i,
'string': {
pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
greedy: true
},
'number': /\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
... | netbek/chrys | demo/vendor/prismjs/components/prism-ichigojam.js | JavaScript | bsd-3-clause | 899 |
(function($){
$(function(){
var base_url = window.location.origin;
var d = document;
var safari = (navigator.userAgent.toLowerCase().indexOf() != -1) ? true : false;
var gebtn = function(parEl,child) { return parEl.getElementsByTagName(child); };
... | Baishakhidelgence/testzend | public/js3/checkNradio.js | JavaScript | bsd-3-clause | 7,017 |
#ifndef TAIJU_TRIE_CONVERTER_FACTORY_H
#define TAIJU_TRIE_CONVERTER_FACTORY_H
#include "trie-converter-base.h"
namespace taiju {
class TrieConverterFactory
{
public:
static TrieConverterBase *Create(const BuilderConfig &config);
static TrieConverterBase *Create(TrieType type);
private:
// Disallows instantiation... | rockeet/taiju | include/taiju/trie-converter-factory.h | C | bsd-3-clause | 582 |
from __future__ import print_function
import numpy as nm
try:
import matplotlib.pyplot as plt
import matplotlib as mpl
except (ImportError, RuntimeError):
plt = mpl = None
#print 'matplotlib import failed!'
from sfepy.base.base import output, pause
def spy(mtx, eps=None, color='b', **kwargs):
"""... | vlukes/sfepy | sfepy/base/plotutils.py | Python | bsd-3-clause | 4,706 |
---
title: Y combinator
---
## Y combinator
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/coding-interview-prep/rosetta-code/y-combinator/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
<a href='https://github.com/freecodecamp/guides/bl... | otavioarc/freeCodeCamp | guide/english/certifications/coding-interview-prep/rosetta-code/y-combinator/index.md | Markdown | bsd-3-clause | 578 |
---
title: Adjust the Width of an Element Using the width Property
---
## Adjust the Width of an Element Using the width Property
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/responsive-web-design/applied-visual-design/adjust-the-width-of-an-element-using-the-wid... | otavioarc/freeCodeCamp | guide/english/certifications/responsive-web-design/applied-visual-design/adjust-the-width-of-an-element-using-the-width-property/index.md | Markdown | bsd-3-clause | 716 |
// 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 CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_
#define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_
#include "b... | ltilve/chromium | chrome/browser/ui/autofill/autofill_popup_controller_impl.h | C | bsd-3-clause | 7,547 |
<!doctype html>
<!-- This file is generated by build.py. -->
<title>Reference for input tall.jpg; overflow:hidden; -o-object-fit:none; -o-object-position:1em top</title>
<link rel="stylesheet" href="../../support/reftests.css">
<style>
.helper { overflow:hidden }
.helper > * { left:1em; top:0; }
</style>
<div id="re... | frivoal/presto-testo | css/image-fit/reftests/input-jpg-tall/hidden_none_1em_top-ref.html | HTML | bsd-3-clause | 395 |
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Test: vertical-rl upright orientation Table Row/Rowgroup/Cell Ordering</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21tests... | axinging/chromium-crosswalk | third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/table-progression-vrl-003.html | HTML | bsd-3-clause | 2,861 |
<?xml version="1.0" encoding="UTF-8"?>
<!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>
<script src="../../../../../tools/svgweb/src/svg.js" data-path="../../../../../tools/svgweb/s... | frivoal/presto-testo | SVG/Testsuites/W3C-1_1F2/harness/htmlSVGWeb/masking-path-03-b.html | HTML | bsd-3-clause | 6,227 |
"""
===========================================
Sparse coding with a precomputed dictionary
===========================================
Transform a signal as a sparse combination of Ricker wavelets. This example
visually compares different sparse coding methods using the
:class:`sklearn.decomposition.SparseCoder` esti... | cdegroc/scikit-learn | examples/decomposition/plot_sparse_coding.py | Python | bsd-3-clause | 3,808 |
<!doctype html>
<title>getComputedStyle, embed</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<embed>
<script>
test(function() {
var e = document.body.firstChild;
var vals = ['none', 'fill', 'cover', 'contain', 'auto'];
var expected = ['none', 'fi... | frivoal/presto-testo | css/image-fit/js/getComputedStyle/016.html | HTML | bsd-3-clause | 525 |
/*
* Copyright (c) 2015-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.
*/
package com... | HKMOpen/fresco | imagepipeline-base/src/test/java/com/facebook/imagepipeline/cache/CountingMemoryCacheTest.java | Java | bsd-3-clause | 24,794 |
# -*- coding: utf-8 -*-
"""
CSS Testing
:copyright: (C) 2014 by Openlabs Technologies & Consulting (P) Limited
:license: BSD, see LICENSE for more details.
"""
from os.path import join
from cssutils import CSSParser
import unittest
import trytond.tests.test_tryton
dir = 'static/css/'
class CSSTest(unit... | gautampanday/nereid-webshop | tests/test_css.py | Python | bsd-3-clause | 1,062 |
/*--
Copyright (C) 2003-2007 Wolf Paulus.
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 conditions, and th... | boyjimeking/paintown | editor/src/swixml_220/src/org/swixml/layoutconverters/FormLayoutConverter.java | Java | bsd-3-clause | 7,909 |
/*
* Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* 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
* https://www.openssl.org/source/l... | jens-maus/amissl | openssl/crypto/evp/evp_pbe.c | C | bsd-3-clause | 9,652 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test: width:49%; height:49%; width="70" height="10%"</title>
</head>
<body>
<p>You should see a
blue rectangle 49% wide and 49% hig... | frivoal/presto-testo | SVG/Testsuites/Mozilla/Sizing/pct-pct--px-pct.html | HTML | bsd-3-clause | 539 |
package org.hisp.dhis.organisationunit.comparator;
/*
* 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 ret... | steffeli/inf5750-tracker-capture | dhis-api/src/main/java/org/hisp/dhis/organisationunit/comparator/OrganisationUnitComparator.java | Java | bsd-3-clause | 2,471 |
@import import_self.c;
#include "import-self-d.h"
// FIXME: This should not work; names from 'a' should not be visible here.
MyTypeA import_self_test_a;
// FIXME: This should work but does not; names from 'b' are not actually visible here.
//MyTypeC import_self_test_c;
MyTypeD import_self_test_d;
| santoshn/softboundcets-34 | softboundcets-llvm-clang34/tools/clang/test/Modules/Inputs/submodules/import-self-b.h | C | bsd-3-clause | 301 |
/*! \file
Copyright (c) 2003, The Regents of the University of California, through
Lawrence Berkeley National Laboratory (subject to receipt of any required
approvals from U.S. Dept. of Energy)
All rights reserved.
The source code is distributed under BSD license, see the file License.txt
at the top-level directory.
... | scipy/scipy | scipy/sparse/linalg/_dsolve/SuperLU/SRC/dmemory.c | C | bsd-3-clause | 19,820 |
// Example program for the linear_least_square_fitting function
// on a set of 3D triangles
#include <CGAL/Simple_cartesian.h>
#include <CGAL/linear_least_squares_fitting_3.h>
#include <vector>
typedef double FT;
typedef CGAL::Simple_cartesian<FT> K;
typedef K::Line_3 Line;
type... | hlzz/dotfiles | graphics/cgal/Principal_component_analysis/examples/Principal_component_analysis/linear_least_squares_fitting_triangles_3.cpp | C++ | bsd-3-clause | 1,060 |
/*****************************************************************************
Copyright (c) 2014, Intel Corp.
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 cod... | xianyi/OpenBLAS | lapack-netlib/LAPACKE/src/lapacke_zsytrf_aa_2stage.c | C | bsd-3-clause | 3,820 |
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... | marinescudan79/setup | vendor/ocramius/ocra-service-manager/tests/OcraServiceManagerTest/ServiceFactory/ApplicationFactoryTest.php | PHP | bsd-3-clause | 2,664 |
/*-
* Copyright (C) 2002 Benno Rice.
* 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... | jhbsz/OSI-OS | sys/powerpc/powermac/pswitch.c | C | bsd-3-clause | 3,705 |
# Copyright (c) 2019 MetPy Developers.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
"""Vendor core functionality used from xarray.
This code has been reproduced with modification under the terms of the Apache License, Version
2.0 (notice included below).
Copyr... | ahaberlie/MetPy | src/metpy/_vendor/xarray.py | Python | bsd-3-clause | 2,816 |
# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ImageAttachment'
db.create_table('upload_imageattachment', (
('id', self.gf('dja... | safwanrahman/linuxdesh | kitsune/upload/migrations/0001_initial.py | Python | bsd-3-clause | 4,996 |
<!DOCTYPE html>
<title>flexbox | flex: N 0 N%</title>
<style>
div {
background: blue;
margin: 1em 0;
border: 1px solid black;
height: 8em;
width: 40em;
}
span {
background: yellow;
margin: 1em 0;
width: 10em;
height: 6em;
display: inline-block;
}
span:nth-child(2) {background: pink;}
span:nth-child(3) {backgr... | frivoal/presto-testo | css/flexbox/flex-N-0-Npercent-ref.html | HTML | bsd-3-clause | 468 |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2016 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... | amelmquist/chrono | src/chrono_parallel/math/real3.h | C | bsd-3-clause | 6,640 |
package spark
import java.io._
import java.net._
import java.util.{Locale, Random, UUID}
import java.util.concurrent.{Executors, ThreadFactory, ThreadPoolExecutor}
import org.apache.hadoop.conf.Configuration
import org.apache.hadoop.fs.{Path, FileSystem, FileUtil}
import scala.collection.mutable.ArrayBuffer
import sca... | koeninger/spark | core/src/main/scala/spark/Utils.scala | Scala | bsd-3-clause | 16,754 |
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file pta_int.h
* @author dr... | tobspr/panda3d | panda/src/express/pta_int.h | C | bsd-3-clause | 1,287 |
<div class="col-md-9">
<div class="row" id="productMain">
<div class="col-sm-6">
<div id="mainImage">
<img src="img/detailbig1.jpg" alt="" class="img-responsive">
</div>
<div class="ribbon sale">
<div class="theribbon">SALE</div>
... | JayMorrison/Wesler.com | frontend/views/site/tmp.html | HTML | bsd-3-clause | 3,445 |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\db;
/**
* ColumnSchema class describes the metadata of a column in a database table.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
cla... | skynorg/yii2 | yii/db/ColumnSchema.php | PHP | bsd-3-clause | 2,479 |
#include "FLA_lapack2flame_return_defs.h"
#include "FLA_f2c.h" /* Table of constant values */
static int c__1 = 1;
static int c_n1 = -1;
int sgeqrfp_check(int *m, int *n, float *a, int *lda, float *tau, float *work, int *lwork, int *info)
{
/* System generated locals */
int a_dim1, a_offset, i__1;
/* Local... | yaowee/libflame | src/map/lapack2flamec/check/sgeqrfp.c | C | bsd-3-clause | 1,288 |
/*
* Table
*/
table.dataTable {
margin: 0 auto;
clear: both;
width: 100%;
}
table.dataTable thead th {
font-weight: bold;
cursor: pointer;
*cursor: hand;
}
table.dataTable tfoot th {
padding: 3px 18px 3px 10px;
border-top: 1px solid black;
font-weight: bold;
}
table.dataTable td {
padding: 3px 10px;
}
... | web-ir/szyk | public/css/jquery.dataTables.css | CSS | bsd-3-clause | 4,493 |
//
// DiskCacheStd.h
// Macshroom
//
// Created by Moishe Lettvin on 11/7/06.
// Copyright (C) 2006 Google Inc. All rights reserved.
//
//
#ifndef TALK_BASE_DISKCACHESTD_H__
#define TALK_BASE_DISKCACHESTD_H__
#include "talk/base/diskcache.h"
namespace talk_base {
class DiskCacheStd : public DiskCache {
protect... | rwatson/chromium-capsicum | third_party/libjingle/files/talk/base/diskcachestd.h | C | bsd-3-clause | 559 |
// Copyright 2013 The Flutter 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 "flutter/lib/ui/painting/image_generator.h"
#include "flutter/fml/logging.h"
namespace flutter {
ImageGenerator::~ImageGenerator() = default;
... | flutter/engine | lib/ui/painting/image_generator.cc | C++ | bsd-3-clause | 4,577 |
<?xml version="1.0" encoding="UTF-8"?>
<!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"/>
<meta name="keywords" content="W... | frivoal/presto-testo | SVG/Testsuites/W3C-Tiny-1_2/tiny-1_2/struct-image-08-t.html | HTML | bsd-3-clause | 3,035 |
# Copyright (c) 2013 David Holm <dholmster@gmail.com>
# This file is part of SimpleGUITk - https://github.com/dholm/simpleguitk
# See the file 'COPYING' for copying permission.
from .plot import plot_lines
| dholm/simpleguitk | simpleplot/__init___flymake.py | Python | bsd-3-clause | 207 |
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<title>Ruby Parser - Rubinius</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content='en' http-equiv='content-language'>
<meta content='Rubinius is an implementation of the Ruby programming langu... | yob/debian-rubinius | web/_site/doc/en/bytecode-compiler/parser/index.html | HTML | bsd-3-clause | 8,883 |
/**
* This file is part of the CernVM File System.
*/
#include <gtest/gtest.h>
#include "util/pointer.h"
#include "util/raii_temp_dir.h"
#include "platform.h"
#include "util/posix.h"
static bool DirExists(const std::string& dir) {
platform_stat64 dir_stat;
int ret = platform_stat(dir.c_str(), &dir_stat);
re... | Gangbiao/cvmfs | test/unittests/t_raii_temp_dir.cc | C++ | bsd-3-clause | 978 |
SUBROUTINE STIMRQ( LINE, NM, MVAL, NVAL, NK, KVAL, NNB, NBVAL,
$ NXVAL, NLDA, LDAVAL, TIMMIN, A, TAU, B, WORK,
$ RESLTS, LDR1, LDR2, LDR3, NOUT )
*
* -- LAPACK timing routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Cou... | yaowee/libflame | lapack-test/lapack-timing/LIN/stimrq.f | FORTRAN | bsd-3-clause | 16,666 |
// =============================================================================
// 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... | projectchrono/chrono | src/chrono_vehicle/tracked_vehicle/sprocket/SprocketDoublePin.h | C | bsd-3-clause | 3,688 |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | TigerBSD/TigerBSD | FreeBSD/cddl/contrib/opensolaris/head/libintl.h | C | isc | 3,047 |
var path = require('path');
var Supervisor = require(path.join(__dirname,'/../processes/supervisor'));
/**
* @function stopGateway
* @description Halts all pocesses.
*/
function stopGateway() {
return new Supervisor().stop();
}
module.exports = stopGateway;
| zealord/gatewayd | lib/api/stop_gateway.js | JavaScript | isc | 272 |
/** @file
GUIDs used for SAL system table entries in the EFI system table.
SAL System Table contains Itanium-based processor centric information about
the system.
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials ... | jjingram/schminke | inc/edk2/MdePkg/Include/Guid/SalSystemTable.h | C | mit | 1,128 |
"""This file contains code for use with "Think Stats" and
"Think Bayes", both by Allen B. Downey, available from greenteapress.com
Copyright 2014 Allen B. Downey
License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html
"""
from __future__ import print_function, division
"""This file contains class definitions for:
H... | AllenDowney/MarriageNSFG | thinkstats2.py | Python | mit | 75,264 |
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
/*
Generated class for the GridTestPage page.
See http://ionicframework.com/docs/v2/components/#navigation for more info on
Ionic pages and navigation.
*/
@Component({
templateUrl: 'build/pages/grid-test/grid-test.html',... | fabioindaiatuba/curso-ionic2-udemy | app/pages/grid-test/grid-test.ts | TypeScript | mit | 399 |
tr:nth-child(odd) td:nth-child(odd){
background : black;
}
tr:nth-child(even) td:nth-child(even){
background : black;
}
tr:nth-child(2) p::before {
content : "P";
}
tr:nth-child(7) p::before {
content : "P";
}
| c-square/python-lab | web/solutii/vrabie_victor/sah/ceva.css | CSS | mit | 218 |
require "active_support/core_ext/module/attribute_accessors"
require "rack/utils"
module ActionDispatch
class ExceptionWrapper
cattr_accessor :rescue_responses, default: Hash.new(:internal_server_error).merge!(
"ActionController::RoutingError" => :not_found,
"AbstractController::ActionN... | maicher/rails | actionpack/lib/action_dispatch/middleware/exception_wrapper.rb | Ruby | mit | 4,478 |
<!-- Report any requested source code -->
<!-- Report the active source code -->
<div class="bag-holder">
<a href="https://shop.diesel.com/cart" title="Go to My Bag" class="mini-cart-link">
<span id="mini-cart-icon-empty" class='header-mini-cart empty-black-bag'>Empty Bag</span>
<span class="empty-... | sygcom/diesel_2016 | application/views/Cart_AddProduct_2016_08_04_product.php | PHP | mit | 1,519 |
#include "Halide.h"
using namespace Halide;
// Compile a simple pipeline to an object and to C code.
HalideExtern_2(int, an_extern_func, int, int);
int main(int argc, char **argv) {
Func f, g, h;
ImageParam input(UInt(16), 2);
Var x, y;
f(x, y) = (input(clamp(x+2, 0, input.width()-1), clamp(y-2, 0, ... | ayanazmat/Halide | apps/c_backend/pipeline.cpp | C++ | mit | 898 |
<?php
use Api\Model\Languageforge\Lexicon\Command\LexOptionListCommands;
use Api\Model\Languageforge\Lexicon\LexOptionListListModel;
use PHPUnit\Framework\TestCase;
class LexOptionListCommandsTest extends TestCase
{
public function testUpdateList_newList_createsOK()
{
$e = new LexiconMongoTestEnvironm... | sillsdev/web-scriptureforge | test/php/model/languageforge/lexicon/command/LexOptionListCommandsTest.php | PHP | mit | 2,258 |
<?php
namespace TYPO3\Fluid\Tests\Unit\Core\Parser\Interceptor;
/*
* This file is part of the TYPO3.Fluid package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed ... | neos/fluid | Tests/Unit/Core/Parser/Interceptor/EscapeTest.php | PHP | mit | 5,380 |
<a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ng/directive/ngEventDirs.js?message=docs(ngKeydown)%3A%20describe%20your%20change...#L242' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.3.1/... | jeros-mz/angular.mobile.prototype | scripts/angular/docs/partials/api/ng/directive/ngKeydown.html | HTML | mit | 2,520 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Injector, NgModule, NgZone, OpaqueToken } from '@angular/core';
import { AsyncTestCompleter } from './async_... | ujjwalsharma045/Angular2-Creative-Tim-Admin-Theme-With-Code- | node_modules/ng2-opd-popup/node_modules/@angular/core/testing/test_bed.js | JavaScript | mit | 16,066 |
<?php
namespace AppBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Te... | Dragonis/exam-git | src/AppBundle/Controller/PokojController.php | PHP | mit | 6,600 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>windows::basic_stream_handle::implementation_type</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" hre... | TyRoXx/cdm | original_sources/boost_1_59_0/doc/html/boost_asio/reference/windows__basic_stream_handle/implementation_type.html | HTML | mit | 4,291 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export interface Position {
readonly offset: number;
readonly line: number;
readonly character: number;
}
ex... | DevIntent/angular-cli | packages/angular_devkit/core/src/json/interface.ts | TypeScript | mit | 2,582 |
'use strict';
(function(window, document, $, undefined) {
window.kunstmaan = window.kunstmaan || {};
window.kunstmaan.leadGeneration = window.kunstmaan.leadGeneration || {};
window.kunstmaan.leadGeneration.Popup = function(name, htmlId) {
var instance = {
'name': name
};
... | webtown-php/KunstmaanBundlesCMS | src/Kunstmaan/LeadGenerationBundle/Resources/public/js/popup/Popup.js | JavaScript | mit | 8,758 |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
n... | wp-plugins/double-click | vendor/zendframework/zendframework/library/Zend/Stdlib/Guard/ArrayOrTraversableGuardTrait.php | PHP | mit | 1,300 |
<?php
/*
V4.94 23 Jan 2007 (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 4 for best viewing.
T... | EOL/eol_php_code | vendor/rdfapi-php/api/util/adodb/adodb-pager.inc.php | PHP | mit | 8,407 |
/// <reference path="../../Phaser/Game.ts" />
(function () {
var game = new Phaser.Game(this, 'game', 800, 600, preload, create);
function preload() {
// Using Phasers asset loader we load up a PNG from the assets folder
game.load.image('bunny', 'assets/sprites/bunny.png');
}
... | 2016rshah/phaser | wip/TS Tests/sprites/scale sprite 3.ts | TypeScript | mit | 685 |
package org.knowm.xchange.bleutrade.dto.marketdata;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml... | dozd/XChange | xchange-bleutrade/src/main/java/org/knowm/xchange/bleutrade/dto/marketdata/BleutradeOrderBookReturn.java | Java | mit | 2,206 |
// Copyright (c) 2015-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/platformstyle.h>
#include <QApplication>
#include <QColor>
#include <QImage>
#include <QPalette>
static const ... | tjps/bitcoin | src/qt/platformstyle.cpp | C++ | mit | 4,143 |
//---------------------------------------------------------------------
// <copyright file="SelectExpandBuilderTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------... | pysco68/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.Query.TDD.Tests/UriBuilder/SelectExpandBuilderTests.cs | C# | mit | 40,177 |
var fs = require('fs');
var execSync = require('child_process').execSync;
var exec = function (cmd) {
execSync(cmd, {stdio: 'inherit'});
};
/* global jake, task, desc, publishTask */
task('build', ['lint', 'clean', 'browserify', 'minify'], function () {
console.log('Build completed.');
});
desc('Cleans browerifi... | ealbertos/dotfiles | vscode.symlink/extensions/ms-mssql.mssql-1.11.1/node_modules/ejs/jakefile.js | JavaScript | mit | 2,033 |
//
// SQRLUpdater.h
// Squirrel
//
// Created by Justin Spahr-Summers on 2013-07-21.
// Copyright (c) 2013 GitHub. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
// Represents the current state of the updater.
//
// SQRLUpdaterStateIdle - Doing absol... | ThomasBaumer/inofficial-WhatsApp-client | releases/WhatsApp Desktop-darwin-x64/WhatsApp Desktop.app/Contents/Frameworks/Squirrel.framework/Versions/A/Headers/SQRLUpdater.h | C | mit | 8,236 |
define(["npm:aurelia-loader-default@1.0.0-beta.1.0.1/aurelia-loader-default"], function(main) {
return main;
}); | Mteuahasan/ror-microblog | public/jspm_packages/npm/aurelia-loader-default@1.0.0-beta.1.0.1.js | JavaScript | mit | 114 |
---
layout: post
title: "Visualize and Search Your Auth0 Logs Using Sumo Logic"
description: The Auth0 Logs to Sumo Logic extension helps you deal with security incidents and performance issues
date: 2016-06-06 8:30
alias: /2016/06/06/visualize-your-auth0-logs-using-sumo-logic/
category: Auth0-based Tutorial, Tools
aut... | guillermoga88/blog | _posts/2016-06-06-visualize-your-auth0-logs-using-sumo-logic.markdown | Markdown | mit | 5,061 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.