repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
mnovak1/activemq-artemis | tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/client/ReceiveNoWaitTest.java | 2747 | /*
* 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 n... | apache-2.0 |
asedunov/intellij-community | platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/task/ToolWindowModuleService.java | 4952 | /*
* Copyright 2000-2013 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... | apache-2.0 |
bOOm-X/spark | sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/PruneFiltersSuite.scala | 6570 | /*
* 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 ... | apache-2.0 |
geekpi/TranslateProject | published/201902/20190201 Top 5 Linux Distributions for New Users.md | 9261 | [#]: collector: (lujun9972)
[#]: translator: (wxy)
[#]: reviewer: (wxy)
[#]: publisher: (wxy)
[#]: url: (https://linux.cn/article-10553-1.html)
[#]: subject: (Top 5 Linux Distributions for New Users)
[#]: via: (https://www.linux.com/blog/learn/2019/2/top-5-linux-distributions-new-users)
[#]: author: (Jack Wallen https:... | apache-2.0 |
dabaitu/presto | presto-main/src/test/java/com/facebook/presto/execution/buffer/TestClientBuffer.java | 15131 | /*
* 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, software
* distribut... | apache-2.0 |
graydon/rust | src/test/ui/never_type/expr-empty-ret.rs | 196 | // run-pass
#![allow(dead_code)]
// Issue #521
// pretty-expanded FIXME #23616
fn f() {
let _x = match true {
true => { 10 }
false => { return }
};
}
pub fn main() { }
| apache-2.0 |
stephanenicolas/google-guice | latest-api-diffs/2.0/javadoc/com/google/inject/spi/class-use/PrivateElements.html | 9911 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_07) on Tue May 19 17:01:48 PDT 2009 -->
<TITLE>
Uses of Interface com.google.inject.spi.PrivateElements (Guice 2.0)
</TITLE>
<META NAME="date" CONTE... | apache-2.0 |
bravo-zhang/spark | core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala | 7585 | /*
* 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 ... | apache-2.0 |
gkmlo/gdata-ruby-util | doc/fr_method_index.html | 6104 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Methods
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Methods</title>
<meta http-equ... | apache-2.0 |
pmezard/bleve | analysis/token_filters/shingle/shingle.go | 3459 | package shingle
import (
"container/ring"
"fmt"
"github.com/blevesearch/bleve/analysis"
"github.com/blevesearch/bleve/registry"
)
const Name = "shingle"
type ShingleFilter struct {
min int
max int
outputOriginal bool
tokenSeparator string
fill string
ring *ring.Ri... | apache-2.0 |
lorcanmooney/roslyn | src/Scripting/CoreTest.Desktop/MetadataShadowCopyProviderTests.cs | 12063 | // 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.Linq;
using System.IO;
using Roslyn.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
using Microsoft.Code... | apache-2.0 |
BRL-CAD/web | wiki/languages/messages/MessagesTe.php | 376813 | <?php
/** Telugu (తెలుగు)
*
* See MessagesQqq.php for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author Arjunaraoc
* @author Chaduvari
* @author Jprmvnvijay5
* @author Kaganer
* @author Kiranmayee
* @au... | bsd-2-clause |
zlamalp/perun | perun-web-gui/src/main/java/cz/metacentrum/perun/webgui/json/authzResolver/RemoveAdmin.java | 13511 | package cz.metacentrum.perun.webgui.json.authzResolver;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.json.client.JSONNumber;
import com.google.gwt.json.client.JSONObject;
import cz.metacentrum.perun.webgui.client.PerunWebSession;
import cz.metacentrum.perun.webgui.client.UiElements;
import... | bsd-2-clause |
trigger-corp/trigger.io-segmentio | inspector/ios-inspector/ForgeModule/Analytics.framework/Headers/KSCrashSentry_NSException.h | 1813 | //
// KSCrashSentry_NSException.h
//
// Created by Karl Stenerud on 2012-01-28.
//
// Copyright (c) 2012 Karl Stenerud. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the So... | bsd-2-clause |
endlessm/chromium-browser | third_party/llvm/openmp/runtime/src/kmp_debug.cpp | 3628 | /*
* kmp_debug.cpp -- debug utilities for the Guide library
*/
//===----------------------------------------------------------------------===//
//
// 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: ... | bsd-3-clause |
michalliu/chromium-depot_tools | third_party/pylint/checkers/typecheck.py | 16288 | # Copyright (c) 2006-2010 LOGILAB S.A. (Paris, FRANCE).
# http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# 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, o... | bsd-3-clause |
ToonTalk/mopix2 | MoPiX/extras/Model/soycReport/compile-report/initial_boolean-9Lits.html | 1140 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script type="text/javascript">
function show(elementName)
{
hp = document.getElementById(elementName);
hp.style.visibility = "Visible";
}
function hide(elementName)
{
hp = document.getElementById(elementName);
hp.s... | bsd-3-clause |
DweebsUnited/CodeMonkey | resources/glfw3.3/docs/html/search/variables_3.html | 1262 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<link rel="stylesheet" type="text/css" href="searc... | bsd-3-clause |
7kbird/chrome | components/policy/core/common/cloud/device_management_service.cc | 17300 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/policy/core/common/cloud/device_management_service.h"
#include <utility>
#include "base/bind.h"
#include "base/compiler_specifi... | bsd-3-clause |
endlessm/chromium-browser | third_party/llvm/clang/test/OpenMP/for_simd_linear_messages.cpp | 8731 | // RUN: %clang_cc1 -verify -fopenmp %s -Wuninitialized
// RUN: %clang_cc1 -verify -fopenmp-simd %s -Wuninitialized
extern int omp_default_mem_alloc;
void xxx(int argc) {
int i, lin, step; // expected-note {{initialize the variable 'lin' to silence this warning}} expected-note {{initialize the variable 'step' to si... | bsd-3-clause |
ChangsoonKim/STM32F7DiscTutor | toolchain/osx/gcc-arm-none-eabi-6-2017-q1-update/lib/gcc/arm-none-eabi/6.3.1/plugin/include/attribs.h | 1737 | /* Declarations and definitions dealing with attribute handling.
Copyright (C) 2013-2016 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either ver... | mit |
cdnjs/cdnjs | ajax/libs/amcharts4/4.10.9/.internal/core/data/DataSource.js | 20447 | import { __extends } from "tslib";
/**
* ============================================================================
* IMPORTS
* ============================================================================
* @hidden
*/
import { dataLoader } from "./DataLoader";
import { JSONParser } from "./JSONParser";
... | mit |
smarr/OmniVM | vm/src/from_squeak/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3css.h | 213 | #ifndef MPEG3CSS_H
#define MPEG3CSS_H
#include "mpeg3private.inc"
struct mpeg3_block
{
char huh;
};
struct mpeg3_playkey {
char huh;
};
typedef struct
{
char huh;
} mpeg3_css_t;
#endif
| epl-1.0 |
NhlalukoG/android_samsung_j7e3g | vendor/samsung/preloads/UniversalMDMClient/rhino1_7R4/testsrc/org/mozilla/javascript/drivers/JsTestsBase.java | 2042 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.javascript.drivers;
import java.io.File;
import java.io.FileReader;
import java.io.IOExceptio... | gpl-2.0 |
Fevax/exynos8890_stock | drivers/media/platform/exynos/fimc-is2/fimc-is-i2c.c | 2870 | /*
* driver for FIMC-IS SPI
*
* Copyright (c) 2011, Samsung Electronics. All rights reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed ... | gpl-2.0 |
heshamelmatary/rtems-rumpkernel | c/src/lib/libbsp/powerpc/shared/bootloader/zlib.h | 17259 | /*
* This file is derived from zlib.h and zconf.h from the zlib-0.95
* distribution by Jean-loup Gailly and Mark Adler, with some additions
* by Paul Mackerras to aid in implementing Deflate compression and
* decompression for PPP packets.
*/
/*
* ==FILEVERSION 960122==
*
* This marker is used by the Linux in... | gpl-2.0 |
Gurgel100/gcc | gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice24.C | 187 | // PR c++/82293
// { dg-do compile { target c++11 } }
// { dg-options "-Wshadow" }
template <typename>
struct S {
int f{[this](){return 42;}()};
};
int main(){
return S<int>{}.f;
}
| gpl-2.0 |
codeaurora-unoffical/linux-msm | fs/f2fs/acl.c | 9137 | // SPDX-License-Identifier: GPL-2.0
/*
* fs/f2fs/acl.c
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Portions of this code from linux/fs/ext2/acl.c
*
* Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>
*/
#include <linux/f2fs_fs.h>
#include "f2fs.h"
... | gpl-2.0 |
ingagecreative/cg | wp-content/plugins/constant-contact-api/vendor/giggsey/libphonenumber-for-php/src/libphonenumber/data/PhoneNumberMetadata_RS.php | 5064 | <?php
/**
* This file is automatically @generated by {@link BuildMetadataPHPFromXml}.
* Please don't modify it directly.
*/
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '
[126-9]\\d{4,11}|
3(?:
[0-79]\\d{3,10}|
8[2-9]\\d{2,9}
)
... | gpl-2.0 |
hannes/linux | drivers/bluetooth/bpa10x.c | 9716 | /*
*
* Digianswer Bluetooth USB driver
*
* Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.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 th... | gpl-2.0 |
SheYo/bc | webform_handlers/vendor/jms/serializer/tests/Fixtures/ObjectWithNullProperty.php | 980 | <?php
/*
* Copyright 2016 Johannes M. Schmitt <schmittjoh@gmail.com>
*
* 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 re... | gpl-2.0 |
c0d3z3r0/linux-rockchip | drivers/gpu/drm/arc/arcpgu_crtc.c | 6944 | // SPDX-License-Identifier: GPL-2.0-only
/*
* ARC PGU DRM driver.
*
* Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com)
*/
#include <drm/drm_atomic_helper.h>
#include <drm/drm_device.h>
#include <drm/drm_fb_cma_helper.h>
#include <drm/drm_gem_cma_helper.h>
#include <drm/drm_vblank.h>
#include <drm/drm_plane_hel... | gpl-2.0 |
NetSys/click | tools/lib/elementmap.cc | 21491 | // -*- c-basic-offset: 4 -*-
/*
* elementmap.{cc,hh} -- an element map class
* Eddie Kohler
*
* Copyright (c) 1999-2000 Massachusetts Institute of Technology
* Copyright (c) 2000 Mazu Networks, Inc.
* Copyright (c) 2001 International Computer Science Institute
* Copyright (c) 2008-2009 Meraki, Inc.
*
* Permiss... | gpl-2.0 |
j2carv/xbmc-1 | xbmc/linux/DBusUtil.cpp | 4822 | /*
* Copyright (C) 2005-2009 Team XBMC
* http://www.xbmc.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, or (at your option)
* any later version.
*
... | gpl-2.0 |
Gurgel100/gcc | gcc/testsuite/gfortran.dg/elemental_subroutine_2.f90 | 1761 | ! { dg-do run }
! Test the fix for pr22146, where and elemental subroutine with
! array actual arguments would cause an ICE in gfc_conv_function_call.
! This test checks that the main uses for elemental subroutines work
! correctly; namely, as module procedures and as procedures called
! from elemental functions. The c... | gpl-2.0 |
janrinze/loox7xxport.loox2624 | drivers/hwmon/abituguru3.c | 39709 | /*
abituguru3.c Copyright (c) 2006 Hans de Goede <j.w.r.degoede@hhs.nl>
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 la... | gpl-2.0 |
kidmaple/CoolWall | user/pppd/pppd/plugins/rp-pppoe/common.c | 13812 | /***********************************************************************
*
* common.c
*
* Implementation of user-space PPPoE redirector for Linux.
*
* Common functions used by PPPoE client and server
*
* Copyright (C) 2000 by Roaring Penguin Software Inc.
*
* This program may be distributed according to the terms of th... | gpl-2.0 |
slfl/HUAWEI89_WE_KK_700 | bootable/bootloader/lk/app/nandwrite/nandwrite.c | 5822 | /*
* Copyright (C) 2008 The Android Open Source Project
* All rights reserved.
* Copyright (c) 2009, Code Aurora Forum. 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... | gpl-3.0 |
KernelAnalysisPlatform/KlareDbg | tracers/qemu/decaf/shared/sleuthkit/framework/modules/c_LibExifModule/libexif-0.6.20/libexif/exif-entry.c | 51660 | /* exif-entry.c
*
* Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net>
*
* 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 of the License, or (at your op... | gpl-3.0 |
collmot/ardupilot | libraries/AP_Scripting/examples/frsky_wp.lua | 3416 | --[[
This example adds a new passthrough packet type for waypoints.
Waypoint data is packet into 32bits and sent down the frsky bus with a DIY appid of 0x5009.
- 10 bits for current waypoint index, max 1023
- 12 bits for the distance in meters encoded with AP_Frsky_SPort::prep_number(distance, 3, 2) max is 102... | gpl-3.0 |
louyihua/edx-platform | common/djangoapps/lang_pref/api.py | 1986 | # -*- coding: utf-8 -*-
""" Python API for language and translation management. """
from collections import namedtuple
from django.conf import settings
from django.utils.translation import ugettext as _
from dark_lang.models import DarkLangConfig
# Named tuples can be referenced using object-like variable
# deferen... | agpl-3.0 |
maligulzar/Rstudio-instrumented | src/gwt/src/org/rstudio/core/client/CommandWithArg.java | 682 | /*
* CommandWithArg.java
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public Licen... | agpl-3.0 |
gjbex/datasink | src/well_cl_params_aux.h | 525 | #ifndef CL_TYPECHECK_HDR
#define CL_TYPECHECK_HDR
#define EXIT_CL_ALLOC_FAIL 2
#define EXIT_CL_MISSING_VALUE 3
#define EXIT_CL_INVALID_VALUE 4
#define EXIT_CL_FILE_OPEN_FAIL 5
#define EXIT_CL_INVALID_STRING 6
int isIntCL(char *input, int isVerbose);
int isLongCL(char *input, int isVerbose);
int isFloatCL(char *input,... | lgpl-3.0 |
monaca/cordova-docs | docs/jp/2.9.0/guide/upgrading/index.md | 1274 | ---
license: 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, Versi... | apache-2.0 |
Guavus/hbase | hbase-common/src/main/java/org/apache/hadoop/hbase/types/OrderedFloat32.java | 2533 | /**
* 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-2.0 |
DanielRosenwasser/roslyn | src/Compilers/VisualBasic/Portable/Symbols/Source/SourceNamespaceSymbol.vb | 31920 | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.Threading
Imports Microsoft.CodeAnalysis.ImmutableArrayExtensions
Imports Microsoft.CodeAnalysis.Text
Impo... | apache-2.0 |
wubenqi/zutils | zutils/base/run_loop.cc | 2073 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/run_loop.h"
#include "base/bind.h"
#if defined(OS_WIN)
#include "base/message_loop/message_pump_dispatcher.h"
#endif
namespace base ... | apache-2.0 |
tarak/chef-provisioning-aws | lib/chef/resource/aws_key_pair.rb | 796 | require 'chef/provisioning/aws_driver/aws_resource'
class Chef::Resource::AwsKeyPair < Chef::Provisioning::AWSDriver::AWSResource
aws_sdk_type AWS::EC2::KeyPair, id: :name
# Private key to use as input (will be generated if it does not exist)
attribute :private_key_path, :kind_of => String
# Public key to use... | apache-2.0 |
HubSpot/cglib | cglib/src/main/java/net/sf/cglib/proxy/Mixin.java | 8394 | /*
* Copyright 2003,2004 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 a... | apache-2.0 |
ueshin/apache-spark | resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterMessage.scala | 942 | /*
* 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 ... | apache-2.0 |
cmebarrow/gateway | transport/http/src/test/java/org/kaazing/gateway/transport/http/bridge/filter/HttpxeProtocolFilterTest.java | 66272 | /**
* Copyright 2007-2016, Kaazing Corporation. 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 require... | apache-2.0 |
pwong-mapr/incubator-drill | exec/java-exec/src/main/java/org/apache/drill/exec/schema/BackedRecord.java | 1390 | /*
* 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-2.0 |
jbovet/spring-boot | spring-boot-test/src/test/java/org/springframework/boot/test/mock/mockito/SpyBeanWithNameOnTestFieldForMultipleExistingBeansTests.java | 1967 | /*
* Copyright 2012-2017 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | apache-2.0 |
Stackdriver/heapster | vendor/k8s.io/kubernetes/pkg/kubectl/cmd/cmd_test.go | 6357 | /*
Copyright 2014 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, ... | apache-2.0 |
BRL-CAD/web | wiki/includes/api/ApiQueryExtLinksUsage.php | 7300 | <?php
/**
*
*
* Created on July 7, 2007
*
* Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
*
* 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 L... | bsd-2-clause |
Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-1.js | 1285 | /// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-93-1.js
* @description Object.defineProperties will update [[Value]] attribute of named data property 'P' successfully when [[Configurable]] attribute is true and [[Writable]] attribute is false but no... | bsd-3-clause |
keybase/node-client | node_modules/spotty/node_modules/iced-runtime/README.md | 56 | iced-runtime
============
Runtime for IcedCoffeeScript
| bsd-3-clause |
Prcuvu/librime | thirdparty/src/leveldb-windows/db/log_format.h | 857 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
//
// Log format information shared by reader and writer.
// See ../doc/log_format.txt for more detail.
... | bsd-3-clause |
Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-10.js | 388 | /// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-7-c-ii-10.js
* @description Array.prototype.some - callbackfn is called with 1 formal parameter
*/
function testcase() {
function callbackfn(val) {
return val > 10;
}
... | bsd-3-clause |
Oceanswave/NiL.JS | Tests/tests/sputnik/ch10/10.4/10.4.3/10.4.3-1-49gs.js | 506 | /// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch10/10.4/10.4.3/10.4.3-1-49gs.js
* @description Strict - checking 'this' from a global scope (FunctionExpression with a strict directive prologue defined within a FunctionExpression)
* @noStrict
*/
var f1 = function () {
var f = fun... | bsd-3-clause |
Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.19/15.4.4.19-8-b-16.js | 1006 | /// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.19/15.4.4.19-8-b-16.js
* @description Array.prototype.map - decreasing length of array does not delete non-configurable properties
*/
function testcase() {
function callbackfn(val, idx, obj) {
... | bsd-3-clause |
Schetss/duomar | src/Backend/Modules/Faq/Installer/Data/install.sql | 1463 | CREATE TABLE IF NOT EXISTS `faq_categories` (
`id` int(11) NOT NULL auto_increment,
`meta_id` int(11) NOT NULL,
`extra_id` int(11) NOT NULL,
`language` varchar(5) NOT NULL,
`title` varchar(255) NOT NULL,
`sequence` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ... | mit |
dphiffer/urbit | jets/e/rs.c | 6484 | /* j/e/rs.c
**
*/
#include "all.h"
#include "softfloat.h"
#define SINGNAN 0x7fc00000
union sing {
float32_t s;
c3_w c;
};
/* functions
*/
static inline c3_t
_nan_test(float32_t a)
{
return !f32_eq(a, a);
}
static inline float32_t
_nan_unify(float32_t a)
{
if ( _nan_test(a) )
{
... | mit |
Dokaponteam/ITF_Project | xampp/apache/manual/mod/mod_proxy_html.html | 224 | # GENERATED FROM XML -- DO NOT EDIT
URI: mod_proxy_html.html.en
Content-Language: en
Content-type: text/html; charset=ISO-8859-1
URI: mod_proxy_html.html.fr
Content-Language: fr
Content-type: text/html; charset=ISO-8859-1
| mit |
bopo/generator-ionic | docs/FAQ.md | 7354 | #Frequently asked questions
##How do I manage libraries with Bower?
Install a new front-end library using `bower install --save` to update your `bower.json` file.
```
bower install --save lodash
```
This way, when the Grunt [`bower-install`](https://github.com/stephenplusplus/grunt-bower-install#grunt-bower-instal... | mit |
dmaticzka/bioconda-recipes | recipes/links/build.sh | 524 | mkdir -p $PREFIX/bin
#Copying perl script to bin folder
cp LINKS $PREFIX/bin
chmod +x $PREFIX/bin/LINKS
#Recompiling C code
cd lib/bloomfilter/swig/
PERL5DIR=`(perl -e 'use Config; print $Config{archlibexp}, "\n";') 2>/dev/null`
swig -Wall -c++ -perl5 BloomFilter.i
g++ -c BloomFilter_wrap.cxx -I$PERL5DIR/CORE -fPI... | mit |
smrq/DefinitelyTyped | types/riot/index.d.ts | 12881 | // Type definitions for riot v2.6.0
// Project: https://github.com/riot/riot
// Definitions by: Boriss Nazarovs <https://github.com/Stubb0rn>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace riot {
/**
* Current version number as string
*/
const version: string;
... | mit |
LinkedOpenData/challenge2015 | docs/concrete5/updates/concrete5.7.5.1_remote_updater/concrete/src/StyleCustomizer/Style/ColorStyle.php | 3566 | <?php
namespace Concrete\Core\StyleCustomizer\Style;
use Core;
use \Concrete\Core\StyleCustomizer\Style\Value\ColorValue;
use Less_Tree_Color;
use Less_Tree_Call;
use Less_Tree_Dimension;
use View;
use Request;
use \Concrete\Core\Http\Service\Json;
class ColorStyle extends Style {
public function render($value =... | mit |
KurdyMalloy/packages | utils/mksh/Makefile | 2864 | #
# Copyright (C) 2007-2011 OpenWrt.org
# Copyright (c) 2009-2014 Thorsten Glaser <tg@mirbsd.org>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mksh
PKG_VERSION:=52c
PKG_RELEASE:=1
PKG_MAINTAINER:=Thorsten Glas... | gpl-2.0 |
mikewadsten/asuswrt | release/src-rt/linux/linux-2.6/drivers/char/tty_ioctl.c | 26382 | /*
* linux/drivers/char/tty_ioctl.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*
* Modified by Fred N. van Kempen, 01/29/93, to add line disciplines
* which can be dynamically activated and de-activated by the line
* discipline handling modules (like SLIP).
*/
#include <linux/types.h>
#include ... | gpl-2.0 |
tomvand/paparazzi-gazebo | sw/tools/vectornav_configurator/Makefile | 85 | all:
g++ VectorNavSetup_console.cpp -o vn_console_setup
clean:
rm vn_console_setup
| gpl-2.0 |
md-5/jdk10 | test/jdk/java/util/concurrent/tck/AtomicBoolean9Test.java | 7537 | /*
* 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 Software Foundation.
*
* This code is distributed in the hope that it will be ... | gpl-2.0 |
ChengXiaoZ/MariaDBserver | storage/tokudb/PerconaFT/src/tests/test_4015.cc | 5525 | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | gpl-2.0 |
lxl1140989/dmsdk | uboot/u-boot-dm6291/include/configs/omap5_uevm.h | 1969 | /*
* (C) Copyright 2013
* Texas Instruments Incorporated.
* Sricharan R <r.sricharan@ti.com>
*
* Configuration settings for the TI EVM5430 board.
* See omap5_common.h for omap5 common settings.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you... | gpl-2.0 |
washingtonstateuniversity/WSU-Lists | www/admin/help/de/preparemessage.php | 2382 | <p>Auf dieser Seite können Sie eine Nachricht vorbereiten, die erst zu einem späteren Zeitpunkt verschickt werden soll.
Sie können alle erforderlichen Angaben erfassen - ausser an welche Liste(n) die Nachricht versendet werden soll.
Dies geschieht erst in dem Moment, wo Sie eine vorbereitete Nachricht ta... | gpl-2.0 |
c0d3z3r0/linux-rockchip | drivers/net/ethernet/mellanox/mlx5/core/main.c | 40652 | /*
* Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of th... | gpl-2.0 |
wjrsonic/openwrt | qca/feeds/packages/net/shorewall-lite/Makefile | 2256 | #
# Copyright (C) 2008-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=shorewall-lite
PKG_VERSION:=4.4.27.3
PKG_DIRECTORY:=4.4.27
PKG_RELEASE:=4
PKG_SOURCE_URL:=http://www.shorewall.net/pub/shor... | gpl-2.0 |
evancich/apm_motor | modules/PX4NuttX/nuttx/include/nuttx/mmcsd.h | 4368 | /****************************************************************************
* include/nuttx/mmcsd.h
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pr... | gpl-3.0 |
Li-Yanzhi/SmartStoreNET | src/Plugins/SmartStore.Clickatell/RouteProvider.cs | 700 | using System.Web.Mvc;
using System.Web.Routing;
using SmartStore.Web.Framework.Mvc.Routes;
namespace SmartStore.Clickatell
{
public partial class RouteProvider : IRouteProvider
{
public void RegisterRoutes(RouteCollection routes)
{
routes.MapRoute("SmartStore.Clickatell",
"Plu... | gpl-3.0 |
glennw/servo | tests/wpt/mozilla/tests/mozilla/bluetooth/connect/device-goes-out-of-range.html | 664 | <!doctype html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/_mozilla/mozilla/bluetooth/bluetooth-helpers.js"></script>
<script>
'use strict';
promise_test(t => {
window.testRunner.setBluetoothMockDataSet(adapter_type.heart_rate);
return... | mpl-2.0 |
UK992/servo | tests/wpt/update/update.py | 1349 | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
import os
from wptrunner.update.base import Step, StepRunner
from wptrunner.update.update import LoadConfig, SyncFromU... | mpl-2.0 |
vladnicoara/SDLive-Blog | plugins/livedesk-embed/gui-themes/themes/tageswoche.min.js | 209 | define([
'css!theme/liveblog',
'tmpl!theme/container',
'tmpl!theme/item/base',
'plugins/wrappup-toggle',
'plugins/scroll-pagination',
'plugins/permanent-link',
'plugins/user-comments'
], function(){
}); | agpl-3.0 |
ericsnowcurrently/juju | logfwd/origin.go | 6547 | // Copyright 2016 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package logfwd
import (
"fmt"
"github.com/juju/errors"
"github.com/juju/version"
"gopkg.in/juju/names.v2"
)
// canonicalPEN is the IANA-registered Private Enterprise Number
// assigned to Canonical. Among other things, ... | agpl-3.0 |
ist-dresden/sling | testing/org.apache.sling.testing.paxexam/src/test/java/org/apache/sling/testing/paxexam/SlingOptionsEventadminIT.java | 1546 | /*
* 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-2.0 |
oleksandr-minakov/northshore | ui/node_modules/@angular/platform-browser-dynamic/testing.d.ts | 689 | import { PlatformRef } from '@angular/core';
export * from './private_export_testing';
/**
* @experimental API related to bootstrapping are still under review.
*/
export declare const platformBrowserDynamicTesting: (extraProviders?: any[]) => PlatformRef;
/**
* NgModule for testing.
*
* @stable
*/
export declare ... | apache-2.0 |
dennishuo/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/amrmproxy/AbstractRequestInterceptor.java | 5223 | /**
* 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-2.0 |
siosio/intellij-community | java/java-tests/testData/inspection/conditionalCanBeOptional/afterOptionalReturn.java | 291 | // "Replace with Optional.ofNullable() chain" "GENERIC_ERROR_OR_WARNING"
import java.util.Optional;
class Test {
interface V {}
interface Type {
V getValue();
}
// IDEA-179273
public Optional<V> foo(Type arg) {
return Optional.ofNullable(arg).map(Type::getValue);
}
} | apache-2.0 |
liyinan926/kubernetes | pkg/kubectl/polymorphichelpers/canbeautoscaled.go | 1298 | /*
Copyright 2018 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, ... | apache-2.0 |
jasontedor/elasticsearch-hadoop | mr/src/itest/java/org/elasticsearch/hadoop/integration/rest/ssl/BasicSSLServer.java | 5006 | /*
* 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... | apache-2.0 |
GlenRSmith/elasticsearch | x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/integration/DocumentLevelSecurityRandomTests.java | 5357 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.integration;
import org.elasticsearch.ac... | apache-2.0 |
aidancully/rust | src/test/ui/rfc-2093-infer-outlives/regions-outlives-nominal-type-region.rs | 441 | // Test that a nominal type (like `Foo<'a>`) outlives `'b` if its
// arguments (like `'a`) outlive `'b`.
//
// Rule OutlivesNominalType from RFC 1214.
#![allow(dead_code)]
mod variant_struct_region {
struct Foo<'a> {
x: &'a i32,
}
trait Trait<'a, 'b> {
type Out;
}
impl<'a, 'b> Tra... | apache-2.0 |
XiaosongWei/crosswalk-test-suite | usecase/usecase-cordova-android-tests/samples/CordovaPackage4.x/REAMDE.md | 430 | ## Usecase Design
This sample demonstrates Cordova Package feature basic functionalities, include:
* Create cordova package
* Build cordova package using cordova-plugin-crosswalk-webview
* Install, Launch, Run and Exit the cordova package
This usecase covers following methods:
* $ cordova-android/bin/create
* $ plu... | bsd-3-clause |
scheib/chromium | third_party/blink/web_tests/external/wpt/css/css-position/sticky/position-sticky-scrollIntoView.html | 1000 | <!DOCTYPE html>
<title>Scrolling to sticky position elements uses their unshifted position</title>
<link rel="help" href="https://www.w3.org/TR/css-position-3/#stickypos-scroll" />
<meta name="assert" content="This test checks that scrolling to sticky position elements uses their initial position" />
<script src="/res... | bsd-3-clause |
mhennings/marcohennings-go | src/cmd/5l/softfloat.c | 1619 | // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "l.h"
#include "../ld/lib.h"
// Software floating point.
void
softfloat(void)
{
Prog *p, *next, *psfloat;
Sym *symsfloat;
int wasfloat;
if(!debu... | bsd-3-clause |
chromium/chromium | third_party/blink/web_tests/external/wpt/permissions-policy/experimental-features/resources/common.js | 3063 | const url_base = "/permissions-policy/experimental-features/resources/";
window.messageResponseCallback = null;
function setFeatureState(iframe, feature, origins) {
iframe.setAttribute("allow", `${feature} ${origins};`);
}
// Returns a promise which is resolved when the <iframe> is navigated to |url|
// and "load... | bsd-3-clause |
NBurrichter/Brainzzz | UnityGame/Brainz/Assets/AstarPathfindingProject/Editor/CustomGraphEditorAttribute.cs | 551 | /** Added to editors of custom graph types */
[System.AttributeUsage(System.AttributeTargets.All, Inherited = false, AllowMultiple = true)]
public class CustomGraphEditorAttribute : System.Attribute {
/** Graph type which this is an editor for */
public System.Type graphType;
/** Name displayed in the inpector */
... | mit |
stevepiercy/readthedocs.org | readthedocs/rtd_tests/tests/test_doc_building.py | 15211 | # -*- coding: utf-8 -*-
import os.path
import shutil
import uuid
import re
from django.test import TestCase
from django.contrib.auth.models import User
from mock import patch, Mock, PropertyMock
from docker.errors import APIError as DockerAPIError, DockerException
from readthedocs.projects.models import Project
from... | mit |
shawlu95/SuperWordLadder | lib/StanfordCPPLib/io/urlstream.cpp | 2486 | /*
* File: urlstream.cpp
* -------------------
* This file contains the implementation of the iurlstream class.
* Please see urlstream.h for information about how to use these classes.
*
* @author Marty Stepp
* @version 2015/07/05
* - removed static global Platform variable, replaced by getPlatform as needed
*... | mit |
james54068/stm32f429_learning | stm32f429_SDCard/Libraries/CMSIS/Documentation/DSP/html/search/groups_6c.html | 1017 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.3.1">
<link rel="stylesheet" type="text/css" href="search... | mit |
masmike/accu | vendor/ircmaxell/random-lib/test/Unit/RandomLib/Mixer/HashTest.php | 1704 | <?php
/*
* The RandomLib library for securely generating random numbers and strings in PHP
*
* @author Anthony Ferrara <ircmaxell@ircmaxell.com>
* @copyright 2011 The Authors
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @version Build @@version@@
*/
namespace RandomLi... | mit |