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
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2014 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the ... | Simek/boinc | html/user/team_email_list.php | PHP | gpl-3.0 | 3,318 |
#Region "Microsoft.VisualBasic::d865566954cecb016e8a9789c08f7908, Data_science\Visualization\Canvas3D\Device\Mouse.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 License... | SMRUCC/GCModeller | src/runtime/sciBASIC#/Data_science/Visualization/Canvas3D/Device/Mouse.vb | Visual Basic | gpl-3.0 | 3,384 |
/*****************************************************************************
* FullFAT - High Performance, Thread-Safe Embedded FAT File-System *
* Copyright (C) 2009 James Walmsley (james@worm.me.uk) *
* *
* ... | piranna/fullfat | Demo/FullFAT32.dll/FullFAT32.dll/FullFAT32.dll/cmd.h | C | gpl-3.0 | 4,981 |
/*
* Copyright (c) 2011-2012 Yaroslav Stavnichiy <yarosla@gmail.com>
*
* This file is part of NXWEB.
*
* NXWEB is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation, either version 3
* of the License... | kevinhwm/adfs-lite | src/include/nxweb/nx_alloc.h | C | gpl-3.0 | 1,137 |
using System;
using kOS.Safe.Encapsulation.Suffixes;
using kOS.Safe.Exceptions;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using kOS.Safe.Encapsulation;
namespace kOS.Suffixed.PartModuleField
{
[kOS.Safe.Utilities.KOSNomenclature("ScienceExperimentModule")]
public abstract c... | theodoregoetz/KOS | src/kOS/Suffixed/PartModuleField/ScienceExperimentFields.cs | C# | gpl-3.0 | 2,802 |
#!/usr/bin/env bash
set -eux
platform="$(uname)"
function setup() {
if [[ "${platform}" == "FreeBSD" ]] || [[ "${platform}" == "Darwin" ]]; then
ifconfig lo0
existing=$(ifconfig lo0 | grep '^[[:blank:]]inet 127\.0\.0\. ' || true)
echo "${existing}"
for i in 3 4 254; do
... | jtyr/ansible | test/integration/targets/delegate_to/runme.sh | Shell | gpl-3.0 | 1,925 |
/* Profile heap and stack memory usage of running program.
Copyright (C) 1998-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms... | geminy/aidear | oss/glibc/glibc-2.24/malloc/memusage.c | C | gpl-3.0 | 28,929 |
-----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Gennoue
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Tavnazian_S... | Ninjistix/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Gennoue.lua | Lua | gpl-3.0 | 743 |
#!/bin/sh
if [ $# -lt 1 ]; then
cat <<EOF
Usage: blackbox_newuser.sh PREFIX
EOF
exit 1;
fi
PREFIX="$1"
shift 1
. `dirname $0`/subunit.sh
samba_tool="$BINDIR/samba-tool"
samba4bindir="$BINDIR"
samba4srcdir="$SRCDIR/source4"
samba4kinit=kinit
if test -x $BINDIR/samba4kinit; then
samba4kinit=$BINDIR/samba4kinit
fi
... | hef/samba | testprogs/blackbox/test_ktpass.sh | Shell | gpl-3.0 | 1,165 |
/**
******************************************************************************
*
* @file treeitem.cpp
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
* @author Tau Labs, http://taulabs.org, Copyright (C) 2014
* @addtogroup GCSPlugins GCS Plugins
* @{
* @addto... | mluessi/dronin | ground/gcs/src/plugins/uavobjectbrowser/treeitem.cpp | C++ | gpl-3.0 | 7,630 |
/*************************************************************************
* Copyright 2009-2013 Eucalyptus Systems, Inc.
*
* 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; version 3 of the ... | eethomas/eucalyptus | clc/modules/object-storage/src/main/java/com/eucalyptus/objectstorage/metadata/DbBucketMetadataManagerImpl.java | Java | gpl-3.0 | 15,289 |
//===--- CodeCompletionHandler.h - Preprocessor code completion -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Bootz/multicore-opimization | llvm/tools/clang/include/clang/Lex/CodeCompletionHandler.h | C | gpl-3.0 | 2,809 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | michael-milette/moodle | course/tests/modlib_test.php | PHP | gpl-3.0 | 6,998 |
/* -*- c++ -*- */
/*
* Copyright 2007 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your opti... | GREO/GNU-Radio | mblock/src/lib/mb_gettid.cc | C++ | gpl-3.0 | 1,184 |
package com.github.bordertech.wcomponents;
import com.github.bordertech.wcomponents.util.ComparableComparator;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.beanutils.PropertyUtils;... | marksreeves/wcomponents | wcomponents-core/src/main/java/com/github/bordertech/wcomponents/SimpleBeanTreeTableDataModel.java | Java | gpl-3.0 | 5,524 |
/*
YUI 3.8.0 (build 5744)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("view-node-map",function(e,t){function i(){}var n=e.namespace("View._buildCfg"),r={};n.aggregates||(n.aggregates=[]),n.aggregates.push("getByNode"),i.getByNode=function(t){... | relipse/cworklog | public_html/js/yui/3.8.0/build/view-node-map/view-node-map-min.js | JavaScript | gpl-3.0 | 631 |
#ifndef INC_EXEC_READDATA_H
#define INC_EXEC_READDATA_H
#include "Exec.h"
class Exec_ReadData : public Exec {
public:
Exec_ReadData() : Exec(GENERAL) {}
void Help() const;
DispatchObject* Alloc() const { return (DispatchObject*)new Exec_ReadData(); }
RetType Execute(CpptrajState&, ArgList&);
};
#endif... | hainm/cpptraj | src/Exec_ReadData.h | C | gpl-3.0 | 321 |
<?php
/* Copyright (C) 2011 Dimitri Mouillard <dmouillard@teclib.com>
* Copyright (C) 2013-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2012-2014 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2015-2016 Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
*
* This program is ... | All-3kcis/dolibarr | htdocs/hrm/index.php | PHP | gpl-3.0 | 14,703 |
def load_config(default_values, user_values):
if user_values is None:
return default_values
config = {}
for k, v in user_values.items():
if k in default_values:
if isinstance(v, dict):
cloned = user_values[k].copy()
for key, value in default_valu... | CoderBotOrg/coderbotsrv | server/lib/engineauth/utils.py | Python | gpl-3.0 | 948 |
<!DOCTYPE html>
<!-- fieldset with one invalid element and a barred for constraint validation element -->
<html>
<head>
<style>
fieldset:invalid { display: none; }
</style>
</head>
<body>
<fieldset id="fieldset">
<input required>
<input id='i' value='foo' readonly required>
</fieldset>
... | Yukarumya/Yukarum-Redfoxes | layout/reftests/css-invalid/fieldset/fieldset-invalid-and-barred.html | HTML | mpl-2.0 | 337 |
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<iframe id="content"></iframe>
</body>
</html>
| vladikoff/fxa-mochitest | tests/mochitest/chrome/layout/forms/test/bug536567_iframe.html | HTML | mpl-2.0 | 114 |
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<meta HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<link rel="stylesheet" href="../../../foundrydoc.css" type="text/css" charset="ISO-8859-1">
<link rel="stylesheet" href="foundrydoc.css" type="text/css" charset="ISO-8859-1">
... | dreadl0ck/govix | vendor/libvix/vix113_reference/lang/c/functions/VixHost_Connect.html | HTML | mpl-2.0 | 8,292 |
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style type="text/css">
#block1 {
height: 20px;
margin-bottom: 10px;
background-color: green;
}
#margin-only {
margin-top: 20px;
margin-bottom: 30px;
}
#block2 {
height: 20px;
background-color: green;
}
</style>
<script type="text/javascript">
function test() {
... | Yukarumya/Yukarum-Redfoxes | layout/reftests/margin-collapsing/block-no-content-2a-dyn.html | HTML | mpl-2.0 | 610 |
/*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2013 VillageReach
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, eith... | kelvinmbwilo/vims | test-modules/test-core/src/main/java/org/openlmis/UiUtils/DriverFactory.java | Java | agpl-3.0 | 6,593 |
from datetime import timedelta
import json
from django.utils import timezone
import factory
from factory.django import DjangoModelFactory
from opaque_keys.edx.locator import CourseLocator
from ..models import CourseOverview
class CourseOverviewFactory(DjangoModelFactory):
class Meta(object):
model = C... | cpennington/edx-platform | openedx/core/djangoapps/content/course_overviews/tests/factories.py | Python | agpl-3.0 | 1,152 |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "36331-c10.asn"
* `asn1c -S /usr/local/share/asn1c -fcompound-names -fskeletons-copy -gen-PER`
*/
#include "SupportedBandUTRA-FDD.h"
int
SupportedBandUTRA_FDD_constraint(asn_TYPE_descriptor_t *td, c... | yangchengwork/LTE-Cell-Scanner | asn1_test/LTE-BCCH-DL-SCH-decode/SupportedBandUTRA-FDD.c | C | agpl-3.0 | 7,375 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import
import six
from sys import platform
import locale
import os.path
from pelican.tests.support import unittest, get_settings
from pelican.contents import Page, Article, Static, URLWrapper, Author, Category
from pelican.settings import DEFA... | goerz/pelican | pelican/tests/test_contents.py | Python | agpl-3.0 | 24,186 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'horizontalrule', 'pl', {
toolbar: 'Wstaw poziomą linię'
} );
| musicEnfanthen/Knora | salsah1/src/public/vendor/ckeditor_4.7.0/plugins/horizontalrule/lang/pl.js | JavaScript | agpl-3.0 | 234 |
<?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* perm... | wlwwt/shopware | engine/Shopware/Bundle/BenchmarkBundle/Controllers/Backend/BenchmarkOverview.php | PHP | agpl-3.0 | 7,933 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('schedules', '0005_auto_20171010_1722'),
]
operations = [
migrations.CreateModel(
name='ScheduleExperience',
... | lduarte1991/edx-platform | openedx/core/djangoapps/schedules/migrations/0006_scheduleexperience.py | Python | agpl-3.0 | 750 |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "36331-c10.asn"
* `asn1c -S /usr/local/share/asn1c -fcompound-names -fskeletons-copy -gen-PER`
*/
#ifndef _ReestablishmentCause_H_
#define _ReestablishmentCause_H_
#include <asn_application.h>
/* ... | yangchengwork/LTE-Cell-Scanner | asn1_test/LTE-BCCH-DL-SCH-decode/ReestablishmentCause.h | C | agpl-3.0 | 1,372 |
""" Tests for OAuth Dispatch python API module. """
import unittest
from django.conf import settings
from django.http import HttpRequest
from django.test import TestCase
from oauth2_provider.models import AccessToken
from common.djangoapps.student.tests.factories import UserFactory
OAUTH_PROVIDER_ENABLED = setting... | eduNEXT/edx-platform | openedx/core/djangoapps/oauth_dispatch/tests/test_api.py | Python | agpl-3.0 | 2,669 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2016 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | UniversityOfHawaiiORS/kc | coeus-impl/src/main/java/org/kuali/kra/coi/disclosure/CoiDispositionStatusValuesFinder.java | Java | agpl-3.0 | 3,658 |
package com.gmail.nossr50.commands.party;
import org.bukkit.OfflinePlayer;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.datatypes.party.Party;
import com.... | EvilOlaf/mcMMO | src/main/java/com/gmail/nossr50/commands/party/PartyChangeOwnerCommand.java | Java | agpl-3.0 | 1,548 |
/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2010 Red Hat, Inc.
This 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 the Free Software Foundation; either
version 2.1 of the Lic... | Open365/spice-web-client | misc/spice-0.12.0/client/zlib_decoder.h | C | agpl-3.0 | 1,150 |
<?php
/**
* @author Vincent Petry <pvince81@owncloud.com>
*
* @copyright Copyright (c) 2017, ownCloud, Inc.
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foun... | jacklicn/owncloud | core/Command/InterruptedException.php | PHP | agpl-3.0 | 880 |
/*
* /MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js
*
* Copyright (c) 2009-2015 The MathJax Consortium
*
* 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 a... | hannesk001/SPHERE-Framework | Library/MathJax/2.5.0/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js | JavaScript | agpl-3.0 | 1,310 |
--
-- This program is part of the OpenLMIS logistics management information system platform software.
-- Copyright © 2013 VillageReach
--
-- This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, eith... | kelvinmbwilo/vims | modules/db/src/main/resources/db/migration/V28_1__insert_losses_adjustments_types.sql | SQL | agpl-3.0 | 1,322 |
CI specific scripts
===================
Static tests
------------
The [static_tests.sh] script runs all static tests and outputs them in a unified
output. You can also run this script by running `make static-test` in the base
directory.
To add a new static test, just write a `check.sh` script or call your static
che... | aabadie/RIOT | dist/tools/ci/README.md | Markdown | lgpl-2.1 | 5,154 |
// ---------------------------------------------------------------------
//
// Copyright (C) 2011 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | ESeNonFossiIo/dealii | tests/mpi/parallel_vector_back_interpolate.cc | C++ | lgpl-2.1 | 2,978 |
<html>
<head>
<meta charset='utf-8'>
<style>
.pass {
font-weight: bold;
color: green;
}
.fail {
font-weight: bold;
color: red;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function SputnikError(message)
{
this.message = message;
}
SputnikError.prototype.toString = funct... | youfoh/webkit-efl | LayoutTests/sputnik/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.11_T2.8.html | HTML | lgpl-2.1 | 2,323 |
/****************************************************************/
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* All contents are licensed under LGPL V2.1 */
/* See LICENSE for full restrictions ... | Chuban/moose | modules/porous_flow/include/dirackernels/PorousFlowLineGeometry.h | C | lgpl-2.1 | 2,124 |
<html>
<head>
<meta charset='utf-8'>
<style>
.pass {
font-weight: bold;
color: green;
}
.fail {
font-weight: bold;
color: red;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function SputnikError(message)
{
this.message = message;
}
SputnikError.prototype.toString = funct... | youfoh/webkit-efl | LayoutTests/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.6/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T10.html | HTML | lgpl-2.1 | 2,931 |
// ---------------------------------------------------------------------
//
// Copyright (C) 2005 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | sairajat/dealii | tests/tensors/symmetric_tensor_07.cc | C++ | lgpl-2.1 | 2,531 |
// The libMesh Finite Element Library.
// Copyright (C) 2002-2017 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// This 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 the Free Software Foundation; either
// version ... | vikramvgarg/libmesh | src/systems/steady_system.C | C++ | lgpl-2.1 | 986 |
<html>
<head>
<meta charset='utf-8'>
<style>
.pass {
font-weight: bold;
color: green;
}
.fail {
font-weight: bold;
color: red;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function SputnikError(message)
{
this.message = message;
}
SputnikError.prototype.toString = funct... | youfoh/webkit-efl | LayoutTests/sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6.html | HTML | lgpl-2.1 | 1,881 |
##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | EmreAtes/spack | var/spack/repos/builtin/packages/py-pyani/package.py | Python | lgpl-2.1 | 2,432 |
// ---------------------------------------------------------------------
//
// Copyright (C) 2008 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | kalj/dealii | tests/base/work_stream_05.cc | C++ | lgpl-2.1 | 2,078 |
package soot.jimple.validation;
import java.util.List;
import soot.Body;
import soot.SootMethod;
import soot.Unit;
import soot.jimple.IdentityStmt;
import soot.jimple.ParameterRef;
import soot.jimple.ThisRef;
import soot.util.Chain;
import soot.validation.BodyValidator;
import soot.validation.ValidationException;
pu... | mbenz89/soot | src/soot/jimple/validation/IdentityStatementsValidator.java | Java | lgpl-2.1 | 2,322 |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="resources/SVGTestCase.js"></script>
<script src="../../fast/js/resources/js-test-pre.js"></script>
<script src="../../fast/repaint/resources/repaint.js"></script>
</head>
<body onload="runRepaintTest()">
<h1>SVG 1.1 dynamic update tests</h1>
<p i... | youfoh/webkit-efl | LayoutTests/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-scale-attr.html | HTML | lgpl-2.1 | 465 |
MODULE=esp_idf_nvs_flash
include $(RIOTBASE)/Makefile.base
CFLAGS += -DESP_PLATFORM
INCLUDES += -I$(RIOTCPU)/$(CPU)/vendor/esp-idf/include/log
INCLUDES += -I$(ESP32_SDK_DIR)/components/nvs_flash/include
INCLUDES += -I$(ESP32_SDK_DIR)/components/spi_flash/include
| aabadie/RIOT | cpu/esp32/vendor/esp-idf/nvs_flash/Makefile | Makefile | lgpl-2.1 | 267 |
package org.intermine.objectstore.intermine;
/*
* Copyright (C) 2002-2016 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyle... | zebrafishmine/intermine | intermine/objectstore/test/src/org/intermine/objectstore/intermine/ObjectStoreWriterInterMineImplTest.java | Java | lgpl-2.1 | 9,113 |
##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | EmreAtes/spack | var/spack/repos/builtin/packages/editres/package.py | Python | lgpl-2.1 | 1,739 |
/*
* Copyright (c) 2010 Wind River Systems; see
* guts/COPYRIGHT for information.
*
* static struct group *
* wrap_getgrent(void) {
* struct group * rc = NULL;
*/
static struct group grp;
static char grbuf[PSEUDO_PWD_MAX];
int r_rc;
r_rc = wrap_getgrent_r(&grp, grbuf, PSEUDO_PWD_MAX, &rc);
/* different er... | incandescant/pseudo | ports/uids_generic/guts/getgrent.c | C | lgpl-2.1 | 407 |
/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as ... | carlos-lopez-garces/mapnik-trunk | src/image_reader.cpp | C++ | lgpl-2.1 | 1,901 |
/*
Copyright 2011, AUTHORS.txt (http://ui.operamasks.org/about)
Dual licensed under the MIT or LGPL Version 2 licenses.
*/
/**
* @fileOverview Undo/Redo system for saving shapshot for document modification
* and other recordable changes.
*/
(function()
{
OMEDITOR.plugins.add( 'undo',
{
requires : [ 'selectio... | yonghuang/fastui | samplecenter/basic/timeTest/operamasks-ui-2.0/development-bundle/ui/editor/_source/plugins/undo/plugin.js | JavaScript | lgpl-3.0 | 14,545 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Found... | mohanaraosv/sonarqube | server/sonar-server/src/test/java/org/sonar/server/computation/step/ReportUnitTestMeasuresStepTest.java | Java | lgpl-3.0 | 17,146 |
/*
* Copyright (c) 2009 Levente Farkas
* Copyright (c) 2007, 2008 Wayne Meissner
*
* This file is part of gstreamer-java.
*
* This code is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License version 3 only, as
* published by the Free Software Foun... | isaacrj/gst1-java-core | src/org/freedesktop/gstreamer/lowlevel/GstGhostPadAPI.java | Java | lgpl-3.0 | 2,152 |
-- Revert rename_clia_to_cle_for_analysis_projects
BEGIN;
ALTER TABLE config.analysis_project DROP COLUMN is_cle;
COMMIT;
| apregier/genome | sqitch/gms/revert/rename_clia_to_cle_for_analysis_projects.sql | SQL | lgpl-3.0 | 125 |
# This program is free software; you can redistribute it and/or modify
# it under the terms of the (LGPL) GNU Lesser General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will ... | USGM/suds | suds/builder.py | Python | lgpl-3.0 | 4,213 |
/*
* Ample SDK - JavaScript GUI Framework
*
* Copyright (c) 2012 Sergey Ilinsky, Zingus J. Rinkle
* Dual licensed under the MIT and GPL licenses.
* See: http://www.amplesdk.com/about/licensing/
*
*/
ample.locale.addCultureInfo("it", {
messages: {
// window/dialog/wizard
"xul.dialog.button.acc... | zonebuilder/zonebuilder.github.io | jul/ample-sdk/ample/languages/xul/locales/it.js | JavaScript | lgpl-3.0 | 2,266 |
/*
* Copyright 2001-2006 Stephen Colebourne
*
* 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... | syntelos/gap-data | types/lib/joda-time/src/org/joda/time/IllegalFieldValueException.java | Java | lgpl-3.0 | 10,401 |
642 | kfazolin/biblia | language/pt_br/bible/p_isaiah_14_14.html | HTML | unlicense | 3 |
# coding: utf-8
from __future__ import unicode_literals
import re
import calendar
import datetime
from .common import InfoExtractor
from ..compat import compat_str
from ..utils import (
HEADRequest,
unified_strdate,
strip_jsonp,
int_or_none,
float_or_none,
determine_ext,
remove_end,
un... | TRox1972/youtube-dl | youtube_dl/extractor/orf.py | Python | unlicense | 11,297 |
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
... | Nurmukhamed/www-hdfilm-kz-octopress | themes/Hugo-Octopress/static/css/hugo-octopress.css | CSS | unlicense | 40,401 |
import fechbase
class Records(fechbase.RecordsBase):
def __init__(self):
fechbase.RecordsBase.__init__(self)
self.fields = [
{'name': 'FORM TYPE', 'number': '1'},
{'name': 'FILER COMMITTEE ID NUMBER', 'number': '2'},
{'name': 'ENTITY TYPE', 'number': '3'},
... | h4ck3rm1k3/FEC-Field-Documentation | fec/version/v8_0/F9.py | Python | unlicense | 2,852 |
/*
* Copyright 2014 NAVER Corp.
*
* 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 ... | shuvigoss/pinpoint | collector/src/test/java/com/navercorp/pinpoint/collector/receiver/udp/SpanStreamUDPSenderTest.java | Java | apache-2.0 | 8,198 |
/*
* Copyright 2014-present Facebook, 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... | Dominator008/buck | src/com/facebook/buck/android/ApkGenruleDescription.java | Java | apache-2.0 | 3,481 |
/*
Derby - Class org.apache.derby.authentication.SystemPrincipal
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... | kavin256/Derby | java/engine/org/apache/derby/authentication/SystemPrincipal.java | Java | apache-2.0 | 5,828 |
#
# Cookbook Name:: lita
# Libraries:: typecast
#
# LitaHelpers
module LitaHelpers
# Try hard to find a correct type
def typecast(obj)
# This could definitely be normalized down to a simpler flow, but I keep
# thinking I'm going to find some exception that needs the granular detail
if obj.is_a?(Hash) |... | onetwotrip/chef-lita | libraries/helpers.rb | Ruby | apache-2.0 | 1,210 |
import Ember from 'ember';
import { sumBy } from 'lodash';
const { Controller, computed } = Ember;
export default Controller.extend({
ticketsTotal: computed(function() {
return sumBy(this.get('model'), 'tickets');
}),
salesTotal: computed(function() {
return sumBy(this.get('model'), 'sales');
}),
di... | sumedh123/open-event-frontend | app/controllers/admin/sales/marketer.js | JavaScript | apache-2.0 | 415 |
({
L_MENU_GRID: "M\u0159\u00ed\u017eka nab\u00eddky",
L_MENU_ITEM_DISABLED: "Polo\u017eka %1 nen\u00ed dostupn\u00e1.",
L_MENU_ITEM_SUBMENU: "Podnab\u00eddka %1",
L_MENU_SUBMENU: "podnab\u00eddka",
L_MENU_CHECK: "za\u0161krtnout"
})
| paulswithers/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.domino/resources/web/dwa/common/nls/cs/menu.js | JavaScript | apache-2.0 | 233 |
#subject-result-tables .subject-heading {
color: #444;
font-weight: bold;
margin: 30px 0 5px 0;
}
.subject-results-th {
background-color: #E7EEFF;
border-bottom: 1px solid #C4D2FE;
border-top: 1px solid #C4D2FE;
color: #444;
font-size: 0.8em;
height: 1.5em;
text-tra... | prafula/FedenaT | public/stylesheets/rtl/student/subject_wise_report.css | CSS | apache-2.0 | 1,103 |
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | benqiu2016/nifi-minifi-cpp | thirdparty/rocksdb/db/db_blob_index_test.cc | C++ | apache-2.0 | 13,817 |
//===--- Util.h - Common Driver Utilities -----------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | OscarSwanros/swift | include/swift/Driver/Util.h | C | apache-2.0 | 1,582 |
#include "editor/changeset_wrapper.hpp"
#include "editor/osm_feature_matcher.hpp"
#include "indexer/feature.hpp"
#include "geometry/mercator.hpp"
#include "base/logging.hpp"
#include "base/macros.hpp"
#include "std/algorithm.hpp"
#include "std/random.hpp"
#include "std/sstream.hpp"
#include "private.h"
using edit... | stangls/omim | editor/changeset_wrapper.cpp | C++ | apache-2.0 | 9,460 |
/*
* see COPYRIGHT
*/
/* options */
extern int encode; /* encode the resulting file */
extern int pfbflag; /* produce compressed file */
extern int wantafm; /* want to see .afm instead of .t1a on stdout */
extern int correctvsize; /* try to correct the vertical size of characters */
... | mrinsss/Full-Repo | tripezi/system/plugins/dompdf/lib/ttf2ufm/ttf2ufm-src/global.h | C | apache-2.0 | 6,437 |
import { test } from 'ember-qunit';
import moduleFor from 'open-event-frontend/tests/helpers/unit-helper';
moduleFor('route:admin/sessions', 'Unit | Route | admin/sessions', []);
test('it exists', function(assert) {
let route = this.subject();
assert.ok(route);
});
| sumedh123/open-event-frontend | tests/unit/routes/admin/sessions-test.js | JavaScript | apache-2.0 | 272 |
# Copyright 2016 Google 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 in writing,... | robertswiecki/oss-fuzz | projects/libtsm/Dockerfile | Dockerfile | apache-2.0 | 927 |
/*
* Copyright (c) 2009-2013 by Farsight Security, 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 appli... | farsightsec/sie-dns-sensor | build-deps/debian-7-i386/dest/usr/include/wdns.h | C | apache-2.0 | 9,510 |
/*
* Copyright 2017 StreamSets 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... | z123/datacollector | commonlib/src/main/java/com/streamsets/pipeline/lib/generator/sdcrecord/SdcRecordDataGeneratorFactory.java | Java | apache-2.0 | 1,644 |
<?php
/**
* This example gets all targeting criteria for a campaign. To add targeting
* criteria, run AddCampaignTargetingCriteria.php.
*
* Tags: CampaignCriterionService.get
*
* Copyright 2014, Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not u... | claimsmall/googleads-php-lib | examples/AdWords/v201502/Targeting/GetCampaignTargetingCriteria.php | PHP | apache-2.0 | 3,407 |
/*
* Copyright (C) 2016 The Dagger 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 ag... | cgruber/dagger | javatests/dagger/functional/ReusableTest.java | Java | apache-2.0 | 1,849 |
/*
* Copyright 2012 Proofpoint, 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 agree... | gwittel/platform | launcher/src/main/java/com/proofpoint/launcher/PidStatus.java | Java | apache-2.0 | 1,008 |
/*
* 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 ... | HeartSaVioR/incubator-zeppelin | zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterUtils.java | Java | apache-2.0 | 1,831 |
/***
Copyright (c) 2015 CommonsWare, LLC
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, s... | msoftware/cwac-cam2 | demo-playground/src/main/java/com/commonsware/cwac/cam2/playground/MainActivity.java | Java | apache-2.0 | 2,608 |
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# Copyright 2011 Justin Santa Barbara
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance wi... | Francis-Liu/animated-broccoli | nova/utils.py | Python | apache-2.0 | 53,116 |
/*
* Copyright (c) 2010-2015, b3log.org
*
* 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 ag... | sitexa/solo | core/src/main/java/org/b3log/solo/processor/console/PreferenceConsole.java | Java | apache-2.0 | 19,367 |
Tutorial
--------
W Pythonie używane są dwa rodzaje pętli: "while" i "for".
### Pętla "for"
Pętla for "przebiega" przez podany ciąg liczb. Przykład poniżej:
pierwsze = [2,3,5,7]
for pierwsza in pierwsze:
print pierwsza
Pętlę for możemy zrealizować z użyciem funkcji range i xrange. Różn... | GenericSnake/interactive-tutorials | tutorials/learnpython.org/pl/Petle.md | Markdown | apache-2.0 | 2,644 |
/*
* 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 ... | benbenw/jmeter | src/core/src/main/java/org/apache/jmeter/report/processor/graph/impl/ResponseTimeDistributionGraphConsumer.java | Java | apache-2.0 | 3,522 |
val x: Int => String = null
x(1)(<caret>)
// | loskutov/intellij-scala | testdata/parameterInfo/functionParameterInfo/currings/NoCurrings.scala | Scala | apache-2.0 | 44 |
define(['modules/forms/module','bootstrap-validator'], function(module){
"use strict";
module.registerDirective('bootstrapProfileForm', function(){
return {
restrict: 'E',
replace: true,
templateUrl: 'app/modules/forms/directives/bootstrap-validation/bootstrap-pro... | Orpheus11/nile | web/app/modules/forms/directives/bootstrap-validation/bootstrapProfileForm.js | JavaScript | apache-2.0 | 1,532 |
/*
* Copyright 2017-present Open Networking 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 appli... | osinstom/onos | apps/simplefabric/src/main/java/org/onosproject/simplefabric/package-info.java | Java | apache-2.0 | 707 |
/*
* 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 ... | nishantmonu51/druid | integration-tests/src/test/java/org/apache/druid/tests/indexer/ITS3ToS3ParallelIndexTest.java | Java | apache-2.0 | 2,128 |
/*
* ModeShape (http://www.modeshape.org)
*
* 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 o... | phantomjinx/modeshape | modeshape-schematic/src/main/java/org/infinispan/schematic/internal/document/JsonReader.java | Java | apache-2.0 | 60,038 |
<!--
~ Hibernate Validator, declare and validate application constraints
~
~ License: Apache License, Version 2.0
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1... | DavideD/hibernate-validator | engine/src/main/java/org/hibernate/validator/messageinterpolation/package.html | HTML | apache-2.0 | 640 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.Text;
namespace TestUtilities.Mocks
{
public class MockTrackingSpan : ITrack... | paulvanbrenk/nodejstools | Common/Tests/Utilities/Mocks/MockTrackingSpan.cs | C# | apache-2.0 | 3,329 |
// Copyright 2018 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | googleapis/google-cloud-dotnet | apis/Google.Cloud.Diagnostics.AspNetCore/Google.Cloud.Diagnostics.AspNetCore.Snippets/AssemblyInfo.cs | C# | apache-2.0 | 794 |
package sampleclean.clean.featurize
import org.apache.spark.sql.Row
/* With the ensemble featurizer we can take a set of featurizers and
combine them together.
*/
@serializable
private [sampleclean] abstract class EnsembleFeaturizer(cols: List[Int], featurizers:List[Featurizer]){
/**
*/
def featurize[K,V](rows:... | agilemobiledev/sampleclean-async | src/main/scala/sampleclean/clean/featurize/EnsembleFeaturizer.scala | Scala | apache-2.0 | 674 |
/*
* 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 ... | kralf/ros-android | src/xmlrpc/org/apache/xmlrpc/server/XmlRpcStreamServer.java | Java | apache-2.0 | 9,381 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.