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 |
|---|---|---|---|---|---|
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | sandsmedia/zf | tests/Zend/Oauth/Oauth/Signature/PlaintextTest.php | PHP | bsd-3-clause | 2,306 |
/*
* Copyright (C) 2012 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... | CTSRD-SOAAP/chromium-42.0.2311.135 | third_party/WebKit/Source/devtools/front_end/ui/Dialog.js | JavaScript | bsd-3-clause | 6,428 |
//===- ModuleFile.cpp - Module description --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | endlessm/chromium-browser | third_party/llvm/clang/lib/Serialization/ModuleFile.cpp | C++ | bsd-3-clause | 3,727 |
/*
* (C) Copyright David Brownell 2000-2002
* Copyright (c) 2005 MontaVista Software
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* optio... | ut-osa/laminar | linux-2.6.22.6/drivers/usb/host/ehci-fsl.c | C | bsd-3-clause | 9,011 |
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
/* Copyright (c) 2007, 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 cod... | scheib/chromium | third_party/tcmalloc/vendor/src/windows/preamble_patcher.cc | C++ | bsd-3-clause | 29,199 |
// Copyright 2014 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.
// +build !go1.5
// Package oracle contains the implementation of the oracle tool whose
// command-line is provided by golang.org/x/tools/cmd/oracle.
//
// htt... | muzining/net | x/tools/oracle/oracle14.go | GO | bsd-3-clause | 11,129 |
module ShowRepoEvents where
import qualified Github.Issues.Events as Github
import Data.List (intercalate)
import Data.Maybe (fromJust)
main = do
possibleEvents <- Github.eventsForRepo "thoughtbot" "paperclip"
case possibleEvents of
(Left error) -> putStrLn $ "Error: " ++ show error
(Right events) -... | bitemyapp/github | samples/Issues/Events/ShowRepoEvents.hs | Haskell | bsd-3-clause | 1,783 |
/* 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.
*/
.model-track {
-webkit-box-flex: 1;
}
| bpsinc-native/src_third_party_trace-viewer | trace_viewer/tracing/tracks/trace_model_track.css | CSS | bsd-3-clause | 213 |
/* -*- buffer-read-only: t -*-
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
* This file is built by regen/mk_PL_charclass.pl from property definitions
* and lib/unicore/CaseFolding.txt.
* Any changes made here will be lost!
*/
/* U+00 NUL */ _CC_CNTRL_A|_CC_CNTRL_L1|_CC_QUOTEMETA,
/* U+01 SOH */ _CC_CNTRL_A|_CC_CN... | Dokaponteam/ITF_Project | xampp/perl/lib/CORE/l1_char_class_tab.h | C | mit | 32,627 |
var fs = require('fs')
, child_process = require('child_process')
, _glob = require('glob')
, bunch = require('./bunch')
;
exports.loadEnv = function loadEnv(env, cb) {
var loaders = []
function load(name, cb) {
fs.readFile(env[name], function(error, data) {
env[name] = env[name].match(/.*\.json$... | KhaosT/node_mdns | utils/lib/actors.js | JavaScript | mit | 1,375 |
Function.prototype.bind = Function.prototype.bind || function (target) {
var self = this;
return function (args) {
if (!(args instanceof Array)) {
args = [args];
}
self.apply(target, args);
};
};
| ThatSonnyD/brad-pitt-2048 | tile-sets/brad pitt/js/bind_polyfill.js | JavaScript | mit | 229 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if NET45
using System;
using System.Runtime.InteropServices;
namespace Microsoft.DotNet.PlatformAbstractions.Native
{
internal static par... | gkhanna79/core-setup | src/managed/Microsoft.DotNet.PlatformAbstractions/Native/NativeMethods.Unix.cs | C# | mit | 1,173 |
from __future__ import print_function
import soco
""" Prints the name of each discovered player in the network. """
for zone in soco.discover():
print(zone.player_name)
| dundeemt/SoCo | examples/commandline/discover.py | Python | mit | 175 |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.oPaginate" );
/* Note that the paging language information only has relevence in full numbers */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData,
"sPaginationType": "full_numbers"
} ... | desarrollotissat/web-interface | web/js/DataTables-1.9.4/media/unit_testing/tests_onhold/2_js/oLanguage.oPaginate.js | JavaScript | mit | 2,212 |
{% include vars.html %}
<nav class="navbar navbar-full navbar-fixed-top navbar-dark">
<div class="container">
<a class="navbar-brand" href="{{url_base}}/">
{% include svg/logo-flow-nav.svg %}
<span class="sr-only">Flow</span>
</a>
<div class="clearfix hidden-lg-up">
<button class="navb... | JonathanUsername/flow | website/_includes/navbar.html | HTML | mit | 3,153 |
namespace Simple.Data.UnitTest
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class AdapterFactoryTest
{
private static AdapterFactory CreateTarget()
{
return new CachingAdapterFactory(new StubComposer());
... | ronnyek/Simple.Data | Simple.Data.UnitTest/AdapterFactoryTest.cs | C# | mit | 3,058 |
<div>Does not close properly<div>Nested same level as next div</div></div><div>Will be nested, but should be top level</div> | creationix/haml-js | test/div_nesting.html | HTML | mit | 124 |
module.exports={title:"Google Hangouts",hex:"0C9D58",source:"https://material.google.com/resources/sticker-sheets-icons.html#sticker-sheets-icons-components",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Hangouts icon</title><path d="M12 0C6.2 0 1.5 4.7 1.5 10.5c0 5.5 5 10 10... | cdnjs/cdnjs | ajax/libs/simple-icons/1.9.28/googlehangouts.min.js | JavaScript | mit | 474 |
/*
* pci_irq.c - ACPI PCI Interrupt Routing ($Revision: 11 $)
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2002 Dominik Brodowski <devel@brodo.de>
* (c) Copyright 2008 Hewlett-Packard Develo... | Fe-Pi/linux | drivers/acpi/pci_irq.c | C | gpl-2.0 | 14,413 |
// This file is part of par2cmdline (a PAR 2.0 compatible file verification and
// repair tool). See http://parchive.sourceforge.net for details of PAR 2.0.
//
// Copyright (c) 2003 Peter Brian Clements
//
// par2cmdline is free software; you can redistribute it and/or modify
// it under the terms of the GNU Gener... | BlackIkeEagle/par2cmdline | src/par1repairersourcefile.h | C | gpl-2.0 | 2,641 |
<?php
/**
* @file
* Contains \Drupal\Console\Generator\Generator.
*/
namespace Drupal\Console\Generator;
use Drupal\Console\Helper\HelperTrait;
use Drupal\Console\Style\DrupalStyle;
class Generator
{
use HelperTrait;
/**
* @var array
*/
private $files;
/**
* @var bool
*/
... | sgrichards/BrightonDrupal | vendor/drupal/console/src/Generator/Generator.php | PHP | gpl-2.0 | 1,821 |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | alexbevi/scummvm | engines/sherlock/tattoo/widget_files.h | C | gpl-2.0 | 2,168 |
option(
OKULAR_FORCE_DRM
"Forces okular to check for DRM to decide if you can copy/print protected pdf. (default=no)"
OFF
)
if (OKULAR_FORCE_DRM)
set(_OKULAR_FORCE_DRM 1)
else (OKULAR_FORCE_DRM)
set(_OKULAR_FORCE_DRM 0)
endif (OKULAR_FORCE_DRM)
# at the end, output the configuration
configure_file(
... | igsor/okular | OkularConfigureChecks.cmake | CMake | gpl-2.0 | 420 |
/* Copyright (C) 2003-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | rbheromax/src_glibc | sysdeps/s390/jmpbuf-unwind.h | C | gpl-2.0 | 1,928 |
// { dg-do compile }
// { dg-options "-O -w -Wno-psabi" }
typedef int vec __attribute__((vector_size(32)));
vec fn1()
{
vec x, zero{};
vec one = zero + 1;
return x < zero ? one : zero;
}
| Gurgel100/gcc | gcc/testsuite/g++.dg/pr86159.C | C++ | gpl-2.0 | 194 |
/**
* Notification.js
*
* Released under LGPL License.
* Copyright (c) 1999-2015 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* Creates a notification instance.
*
* @-x-less Notification.less
* @class tinymce.ui.Notif... | luis-knd/technoMvc | views/tinymce/js/tinymce/classes/ui/Notification.js | JavaScript | gpl-2.0 | 3,429 |
<?php
/**
* Generic Slider super class. Extended by library specific classes.
*/
class MetaImageSlide extends MetaSlide {
/**
* Register slide type
*/
public function __construct() {
add_filter( 'metaslider_get_image_slide', array( $this, 'get_slide' ), 10, 2 );
add_action( 'metasli... | jackcommon/vnusa | wp-content/plugins/ml-slider/inc/slide/metaslide.image.class.php | PHP | gpl-2.0 | 16,682 |
/*
* Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code 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 ... | ikeji/openjdk7-hotspot | src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp | C++ | gpl-2.0 | 30,816 |
<?PHP
// THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
//
// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
function wiki_upgrade($oldversion) {
/// This function does anything necessary to upgrade
/// older versions to match current... | xavilal/moodle | mod/wiki/db/mysql.php | PHP | gpl-3.0 | 8,723 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>com.qualcomm.robotcore.util</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"... | lasarobotics/FTC5998-2016 | ftc_app-master/doc/javadoc/com/qualcomm/robotcore/util/package-summary.html | HTML | gpl-3.0 | 6,375 |
/* aes256_dec.c */
/*
This file is part of the AVR-Crypto-Lib.
Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de)
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 ... | muccc/luftschleuse2 | software/avr-crypto-lib/aes/aes256_dec.c | C | gpl-3.0 | 1,072 |
<p><b><img alt="" src="<?php echo $CFG->wwwroot; ?>/mod/turnitintool/icon.gif" /> Turnitin Uppgifter - Uppgiftsdelar</b></p>
<p>Bestämmer huruvida delarna av denna uppgift är namngivna delar eller om den här uppgiften är en portfoliouppgift.</p> | ctestlms/portal | mod/turnitintool/lang/sv_utf8/help/turnitintool/partnames.html | HTML | gpl-3.0 | 265 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | mindvalley/kensei | system/vendor/Zend/Http/UserAgent/Features/Adapter/DeviceAtlas.php | PHP | agpl-3.0 | 2,924 |
module RGen
module MetamodelBuilder
module DataTypes
# An enum object is used to describe possible attribute values within a
# MetamodelBuilder attribute definition. An attribute defined this way can only
# take the values specified when creating the Enum object.
# Literal values can only be symbo... | nwops/puppet-retrospec | vendor/pup410/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/data_types.rb | Ruby | agpl-3.0 | 2,338 |
package com.puppycrawl.tools.checkstyle.checks.whitespace.emptylineseparator;
public class InputEmptyLineSeparatorPrePreviousLineEmptiness {
}
| AkshitaKukreja30/checkstyle | src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/emptylineseparator/InputEmptyLineSeparatorPrePreviousLineEmptiness.java | Java | lgpl-2.1 | 146 |
package route53
import (
"net/url"
"regexp"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol/restxml"
)
func init() {
initClient = func(c *client.Client) {
c.Handlers.Build.PushBack(sanitizeURL)
... | kubernetes/kops | vendor/github.com/aws/aws-sdk-go/service/route53/customizations.go | GO | apache-2.0 | 1,121 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | gfyoung/elasticsearch | qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/AbstractRollingTestCase.java | Java | apache-2.0 | 2,348 |
/*
* Copyright 2015 JBoss Inc
*
* 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 agreed to i... | jasonchaffee/apiman | gateway/engine/es/src/main/java/io/apiman/gateway/engine/es/beans/PrimitiveBean.java | Java | apache-2.0 | 1,370 |
/*
* 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 ... | kl0u/flink | flink-tests/src/test/java/org/apache/flink/test/operators/MapPartitionITCase.java | Java | apache-2.0 | 3,931 |
/*
* Copyright (C) 2010-2101 Alibaba Group Holding Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | alibaba/otter | node/etl/src/main/java/com/alibaba/otter/node/etl/common/task/GlobalTask.java | Java | apache-2.0 | 6,295 |
// Copyright (c) 2011-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.
#pragma once
#incl... | kostub/dgraph | vendor/github.com/cockroachdb/c-rocksdb/internal/util/delete_scheduler.h | C | apache-2.0 | 3,104 |
/*
Copyright 2016 The Kubernetes Authors.
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 agreed to in writing, ... | rawlingsj/gofabric8 | vendor/k8s.io/kubernetes/test/e2e_node/system/validators.go | GO | apache-2.0 | 1,288 |
package com.thinkaurelius.titan.hadoop.compat.h1;
import com.thinkaurelius.titan.graphdb.configuration.TitanConstants;
import com.thinkaurelius.titan.hadoop.config.job.JobClasspathConfigurer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.JobContext;
import org.apache.hadoop.mapreduce.... | evanv/titan | titan-hadoop-parent/titan-hadoop-1/src/main/java/com/thinkaurelius/titan/hadoop/compat/h1/Hadoop1Compat.java | Java | apache-2.0 | 2,628 |
const path = require('path');
const fs = require('fs');
const EventEmitter = require('events').EventEmitter;
const Shard = require('./Shard');
const Collection = require('../util/Collection');
const Util = require('../util/Util');
/**
* This is a utility class that can be used to help you spawn shards of your client.... | willkiller13/RivoBot | sharding/ShardingManager.js | JavaScript | apache-2.0 | 6,803 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Elasticsearch.Net;
namespace Nest
{
public partial class ElasticClient
{
/// <inheritdoc />
public ISearchResponse<T> MoreLikeThis<T>(Func<MoreLikeThisDescriptor<T>, MoreLikeThisDescriptor<T>> mltSelector)
where T : class
{... | joehmchan/elasticsearch-net | src/Nest/ElasticClient-MoreLikeThis.cs | C# | apache-2.0 | 2,228 |
/*
* 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 ... | tillrohrmann/flink | flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraphException.java | Java | apache-2.0 | 1,338 |
/*
* 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 ... | apache/flink | flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/metrics/AggregatedJobMetricsHeaders.java | Java | apache-2.0 | 1,648 |
package featureflag_test
import (
"errors"
fakeflag "github.com/cloudfoundry/cli/cf/api/feature_flags/fakes"
"github.com/cloudfoundry/cli/cf/command_registry"
"github.com/cloudfoundry/cli/cf/configuration/core_config"
testcmd "github.com/cloudfoundry/cli/testhelpers/commands"
testconfig "github.com/cloudfoundry... | Zouuup/cli | cf/commands/featureflag/enable_feature_flag_test.go | GO | apache-2.0 | 2,796 |
/*
* Copyright (C) 2010-2101 Alibaba Group Holding Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | wangcan2014/otter | node/etl/src/main/java/com/alibaba/otter/node/etl/conflict/exception/ConflictException.java | Java | apache-2.0 | 1,785 |
package org.csstudio.swt.xygraph.util;
import org.csstudio.swt.xygraph.figures.XYGraph;
import org.eclipse.draw2d.FigureUtilities;
import org.eclipse.draw2d.SWTGraphics;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.swt.SWT;
import org.eclipse.sw... | jhshin9/scouter | scouter.client/src/org/csstudio/swt/xygraph/util/SingleSourceHelperImpl.java | Java | apache-2.0 | 3,045 |
# Using AOT compilation
## What is tfcompile?
`tfcompile` is a standalone tool that ahead-of-time (AOT) compiles TensorFlow
graphs into executable code. It can reduce total binary size, and also avoid
some runtime overheads. A typical use-case of `tfcompile` is to compile an
inference graph into executable code for m... | ghchinoy/tensorflow | tensorflow/compiler/xla/g3doc/tfcompile.md | Markdown | apache-2.0 | 11,297 |
<?php if (!defined('APPLICATION')) exit();
$Alt = FALSE;
$Session = Gdn::Session();
$EditUser = $Session->CheckPermission('Garden.Users.Edit');
$DeleteUser = $Session->CheckPermission('Garden.Users.Delete');
foreach ($this->UserData->Result() as $User) {
$Alt = $Alt ? FALSE : TRUE;
?>
<tr id="<?php echo "UserI... | ppazos/cabolabs-web-old | forum/applications/dashboard/views/user/users.php | PHP | apache-2.0 | 2,182 |
/*
Copyright 2016 The Kubernetes Authors.
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 agreed to in writing, ... | thomasschickinger/kubernetes | staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go | GO | apache-2.0 | 3,155 |
Namespace Microsoft.CodeAnalysis.VisualBasic
Friend Partial Module ErrorFacts
Public Function IsWarning(code as ERRID) As Boolean
Select Case code
Case ERRID.WRN_BadSwitch,
ERRID.WRN_NoConfigInResponseFile,
ERRID.WRN_IgnoreModuleManifest... | VSadov/roslyn | src/Compilers/VisualBasic/Portable/Generated/ErrorFacts.Generated.vb | Visual Basic | apache-2.0 | 10,820 |
<?php
namespace yiiunit\extensions\authclient\oauth\signature;
use yii\authclient\signature\RsaSha1;
use yiiunit\extensions\authclient\TestCase;
class RsaSha1Test extends TestCase
{
/**
* Returns test public certificate string.
* @return string public certificate string.
*/
protected function ... | ropik/yii2 | tests/unit/extensions/authclient/signature/RsaSha1Test.php | PHP | bsd-3-clause | 4,625 |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>The Epytext Markup Language</title>
<link rel="stylesheet" href="epydoc.css" type="text/css"/>
</head>
<!-- $Id: epytext.html 1211 2006-04-10 19:38:37Z edloper $ -->
<body>
<div class="body">
<h1>The Epytext Markup Language</h1>
<a name="overview"/>
... | regular/pyglet-avbin-optimizations | tools/epydoc/doc/epytext.html | HTML | bsd-3-clause | 40,057 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import datetime
import itertools
import os
import re
from importlib import import_module
from django.apps import apps
from django.conf import settings
from django.contrib.admin.models import LogEntry
from django.contrib.auth import REDIRECT_FIELD_NAME, S... | bikong2/django | tests/auth_tests/test_views.py | Python | bsd-3-clause | 45,028 |
<d2-custom-data-entry-form custom-data-entry-form="customDataEntryForm"></d2-custom-data-entry-form> | minagri-rwanda/DHIS2-Agriculture | dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/angular-forms/custom-dataentry-form.html | HTML | bsd-3-clause | 100 |
! This file is all about BACKSPACE
! { dg-do run }
integer i, n, nr
real x(10), y(10)
! PR libfortran/20068
open (20, status='scratch')
write (20,*) 1
write (20,*) 2
write (20,*) 3
rewind (20)
read (20,*) i
if (i .ne. 1) call abort
write (*,*) ' '
back... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/gcc/testsuite/gfortran.dg/backspace.f | FORTRAN | bsd-3-clause | 1,676 |
/**
* 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.
*/
'use stric... | facebook/node-haste | src/lib/getAssetDataFromName.js | JavaScript | bsd-3-clause | 1,418 |
var utils = require('../../lib/utils');
// if they agree to the ULA, notify hubspot, create a trial and send verification link
module.exports = function trialSignup(request, reply) {
var postToHubspot = request.server.methods.npme.sendData,
getCustomer = request.server.methods.npme.getCustomer;
var opts = {}... | AgtLucas/newww | facets/enterprise/show-trial-signup.js | JavaScript | isc | 2,680 |
using System;
using System.Collections.Generic;
using UIKit;
using Foundation;
using System.Reflection;
namespace FontList.Code {
/// <summary>
/// Combined DataSource and Delegate for our UITableView
/// </summary>
public class NavItemTableSource : UITableViewSource
{
protected List<NavItemGroup> navItems;
s... | davidrynn/monotouch-samples | FontList/Code/NavItemTableSource.cs | C# | mit | 4,333 |
var insert = require('./insert')
var concat = require('concat-stream')
insert('aggregate', [{
name: 'Squirtle', type: 'water'
}, {
name: 'Starmie', type: 'water'
}, {
name: 'Charmander', type: 'fire'
}, {
name: 'Lapras', type: 'water'
}], function (db, t, done) {
db.a.aggregate([{$group: {_id: '$type'}}, {$p... | AMKohn/mongojs | test/test-aggregate-pipeline.js | JavaScript | mit | 1,310 |
<?php
namespace PhpOffice\PhpSpreadsheet\Worksheet;
use ArrayObject;
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
use PhpOffice\PhpSpreadsheet\Cell\Cell;
use PhpOffice\PhpSpreadsheet\Cell\Coordinate;
use PhpOffice\PhpSpreadsheet\Cell\DataType;
use PhpOffice\PhpSpreadsheet\Cell\DataValidation;
use PhpOffice\P... | keithbox/AngularJS-CRUD-PHP | vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php | PHP | mit | 87,851 |
import {addClass, hasClass, empty} from './../helpers/dom/element';
import {eventManager as eventManagerObject} from './../eventManager';
import {getRenderer, registerRenderer} from './../renderers';
import {WalkontableCellCoords} from './../3rdparty/walkontable/src/cell/coords';
var clonableWRAPPER = document.create... | pingyuanChen/handsontable | src/renderers/autocompleteRenderer.js | JavaScript | mit | 2,882 |
//----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------------------
namespace System.ServiceModel.Channels
{
using System.Collections.Generic;
using System.Runt... | sekcheong/referencesource | System.ServiceModel/System/ServiceModel/Channels/TransactionChannelFactory.cs | C# | mit | 13,242 |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
typedef struct {
uint32_t percent;
ngx_http_variable_value_t value;
} ngx_http_split_clients_part_t;
typedef struct {
ngx_http_complex_value_t v... | huangjilaiqin/nginx | src/http/modules/ngx_http_split_clients_module.c | C | mit | 6,443 |
module Jekyll
class TagIndex < Page
def initialize(site, base, dir, tag)
@site = site
@base = base
@dir = dir
@name = 'index.html'
self.process(@name)
self.read_yaml(File.join(base, '_layouts'), 'tag_index.html')
self.data['tag'] = tag
self.data['title'] = "Po... | johnDorian/johnDorian.github.io | _plugins/tag_gen.rb | Ruby | mit | 853 |
// The MIT License (MIT)
// Copyright (c) 2013-2016 Rapptz, ThePhD and contributors
// 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 the... | devxkh/FrankE | src/ThirdParty/sol/sol/demangle.hpp | C++ | mit | 5,420 |
var one = {
name: 'one'
};
| inodient/summer-mvc | node_modules/dojo/tests/functional/_base/loader/requirejs/urlfetch/one.js | JavaScript | mit | 28 |
/*
* Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code 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 ... | rokn/Count_Words_2015 | testing/openjdk/jdk/src/share/classes/sun/java2d/opengl/OGLSurfaceData.java | Java | mit | 24,976 |
<?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... | rafaelcalleja/EmptySymfony2Project | vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Event/EventArgs.php | PHP | mit | 1,647 |
var crypto = require('crypto');
var scmp = require('scmp');
var utils = require('keystone-utils');
// The DISABLE_CSRF environment variable is available to automatically pass
// CSRF validation. This is useful in development scenarios where you want to
// restart the node process and aren't using a persistent session ... | alobodig/keystone | lib/security/csrf.js | JavaScript | mit | 2,898 |
<?php
/**
* File containing the ezcDocumentDocbook class
*
* @package Document
* @version //autogen//
* @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* The document handler for the docbook document markup.
*
* @package D... | jim835/qscene_ez | lib/ezc/Document/src/document/xml/docbook.php | PHP | gpl-2.0 | 4,312 |
<?php
class Redux_Validation_preg_replace {
/**
* Field Constructor.
*
* Required - must call the parent constructor, then assign field and value to vars, and obviously call the render field function
*
* @since Redux_Options 1.0.0
*/
function __construct($field, $value, $current) {
$this->field = $fie... | joelcoxokc/joelcoxio | wp-content/themes/vcard/options/options/validation/preg_replace/validation_preg_replace.php | PHP | gpl-2.0 | 659 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | Eristoff47/P2 | src/public/lib/Zend/Http/UserAgent/Features/Exception.php | PHP | gpl-2.0 | 1,124 |
/*
* Ioctl handler
* Linux ethernet bridge
*
* Authors:
* Lennert Buytenhek <buytenh@gnu.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (... | getitnowmarketing/archos_kernel_27 | net/bridge/br_ioctl.c | C | gpl-2.0 | 9,288 |
#undef container_of
/*
* The container_of construct: if p is a pointer to member m of
* container class c, then return a pointer to the container of which
* *p is a member.
*/
#define container_of(p, c, m) ((c *)((char *)(p) - offsetof(c,m)))
#include <../../../com32/include/linux/list.h>
| ErwanAliasr1/syslinux | tests/unittest/include/linux/list.h | C | gpl-2.0 | 295 |
/*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | pablo93/TrinityCore | src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.cpp | C++ | gpl-2.0 | 18,304 |
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <mach/am_regs.h>
#include <linux/amports/canvas.h>
#include <linux/amports/vframe.h>
#include <linux/amports/vframe_provider.h>
#include "deinterlace.h"
#ifdef DEBUG
unsigned di_pre_underflow =... | j1nx/Openlinux.Amlogic.M3 | drivers/amlogic/amports/deinterlace.c | C | gpl-2.0 | 136,980 |
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <functional>
#include <utility>
#include <variant>
namespace Common
{
// A Lazy object holds a value. If a Lazy object is constructed using
// a function as an argument, that function ... | degasus/dolphin | Source/Core/Common/Lazy.h | C | gpl-2.0 | 1,340 |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#ifndef __CINNAMON_GENERIC_CONTAINER_H__
#define __CINNAMON_GENERIC_CONTAINER_H__
#include "st.h"
#define CINNAMON_TYPE_GENERIC_CONTAINER (cinnamon_generic_container_get_type ())
#define CINNAMON_GENERIC_CONTAINER(obj) ... | Kulmerov/Cinnamon | src/cinnamon-generic-container.h | C | gpl-2.0 | 2,327 |
/* Top-level LTO routines.
Copyright (C) 2009-2015 Free Software Foundation, Inc.
Contributed by CodeSourcery, 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; either vers... | apc-llc/gcc-5.1.1-knc | gcc/lto/lto.c | C | gpl-2.0 | 103,409 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | chemissi/P2 | src/public/lib/Zend/Service/DeveloperGarden/LocalSearch/SearchParameters.php | PHP | gpl-2.0 | 14,788 |
/*
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | AriDEV/TrinityCore | src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp | C++ | gpl-2.0 | 10,108 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | Exadios/XCSoar-the-library | src/Widget/FixedWindowWidget.hpp | C++ | gpl-2.0 | 1,282 |
/*
* EAP peer state machine functions (RFC 4137)
* Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternatively, this so... | robacklin/uclinux-users | wpa_supplicant/src/eap_peer/eap.h | C | gpl-2.0 | 9,428 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | Exadios/XCSoar-the-library | src/Net/HTTP/Init.cpp | C++ | gpl-2.0 | 1,066 |
/////////////////////////////////////////////////////////////////////////////
// Name: src/msw/mediactrl_qt.cpp
// Purpose: QuickTime Media Backend for Windows
// Author: Ryan Norton <wxprojects@comcast.net>
// Modified by: Robin Dunn (moved QT code from mediactrl.cpp)
//
// Created: 11/07/04
// RCS... | radiaku/decoda | libs/wxWidgets/src/msw/mediactrl_qt.cpp | C++ | gpl-3.0 | 45,849 |
/////////////////////////////////////////////////////////////////////////////
// Name: src/msw/gdiobj.cpp
// Purpose: wxGDIObject class
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id: gdiobj.cpp 40626 2006-08-16 14:53:49Z VS $
// Copyright: (c) Julian Smart
// Lic... | radiaku/decoda | libs/wxWidgets/src/msw/gdiobj.cpp | C++ | gpl-3.0 | 1,489 |
/*
*
* Copyright 2017 gRPC authors.
*
* 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 agree... | drebes/terraform | vendor/google.golang.org/grpc/balancer_v1_wrapper.go | GO | mpl-2.0 | 8,557 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | coding0011/elasticsearch | server/src/main/java/org/elasticsearch/search/fetch/subphase/ScriptFieldsFetchSubPhase.java | Java | apache-2.0 | 4,508 |
module.exports = require("./mime-functions");
module.exports.contentTypes = require("./content-types"); | stephentcannon/anonistreamr | public/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib-noiconv/index.js | JavaScript | apache-2.0 | 104 |
/*
Copyright 2017 The Kubernetes Authors.
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 agreed to in writing, ... | abgworrall/kubernetes | cmd/kubeadm/app/phases/upgrade/postupgrade.go | GO | apache-2.0 | 13,012 |
/*
* 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... | goodwinnk/intellij-community | plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/ast/builder/strategy/DefaultBuilderStrategySupport.java | Java | apache-2.0 | 8,689 |
/*
* Copyright 2004,2005 The Apache Software Foundation.
*
* 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 ap... | thusithathilina/carbon-registry | components/registry/org.wso2.carbon.registry.ws.client/src/main/ws-test/org/wso2/carbon/registry/ws/client/test/security/ContinuousOperations.java | Java | apache-2.0 | 3,380 |
/*
* Copyright 2012-2019 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Buzzardo/spring-boot | spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jooq/AutoConfigureJooq.java | Java | apache-2.0 | 1,395 |
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | erickt/rust | src/test/run-pass/cfgs-on-items.rs | Rust | apache-2.0 | 957 |
/*
*******************************************************************************
* Copyright (C) 2002-2012, International Business Machines Corporation and *
* others. All Rights Reserved. *
*************************************************************************... | nightauer/quickdic-dictionary.dictionary | jars/icu4j-52_1/main/tests/framework/src/com/ibm/icu/dev/util/Visitor.java | Java | apache-2.0 | 4,008 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>FindBugs Bug Descriptions</title>
<link rel="stylesheet" type="text/css" href="findbugs.css"/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
</head><body>
<table width="100%"><... | 1049884729/owasp-java-html-sanitizer | tools/findbugs/doc/bugDescriptions.html | HTML | apache-2.0 | 271,009 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.