code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
package main import ( "os" _ "k8s.io/kubernetes/pkg/client/metrics/prometheus" // for client metric registration "k8s.io/kubernetes/pkg/util/logs" _ "k8s.io/kubernetes/pkg/version/prometheus" // for version metric registration "github.com/openshift/origin/pkg/federation/kubefed" ) func main() { logs.InitLogs(...
kedgeproject/kedge
vendor/github.com/openshift/origin/cmd/kubefed/kubefed.go
GO
apache-2.0
470
/********************************************************************* * * * ConfigFemtoAnalysis.C - configuration macro for the femtoscopic * * analysis, meant as a QA process for two-particle effects * * ...
fcolamar/AliPhysics
PWGCF/FEMTOSCOPY/macros/Train/malinina/Oct19/MC/KK_13TeV_jets/ConfigFemtoAnalysis.C
C++
bsd-3-clause
21,676
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
elfprince13/Torque3D
Templates/Modules/FPSGameplay/scripts/datablocks/physics.cs
C#
mit
2,409
/* * The MIT License * Copyright (c) 2012 Microsoft Corporation * * 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 rights * to use,...
KatharineYe/ews-java-api
src/main/java/microsoft/exchange/webservices/data/property/complex/DelegateUser.java
Java
mit
6,929
import Vue from 'vue' describe('Options render', () => { it('basic usage', () => { const vm = new Vue({ render (h) { const children = [] for (let i = 0; i < this.items.length; i++) { children.push(h('li', { staticClass: 'task' }, [this.items[i].name])) } return h('...
new4/Vue4Fun
vue-2.5.16/test/unit/features/options/render.spec.js
JavaScript
mit
1,164
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h" #include <utility> #include <vector> #include "base/bind.h" #include ...
qtekfun/htcDesire820Kernel
external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc
C++
gpl-2.0
26,981
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("easyimage","it",{commands:{fullImage:"Immagine a dimensione intera",sideImage:"Immagine laterale",altText:"Cambia testo alternat...
stweil/TYPO3.CMS
typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/Contrib/plugins/easyimage/lang/it.js
JavaScript
gpl-2.0
450
<?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...
Quidd1tch/moodle
mod/lesson/backup/moodle2/backup_lesson_stepslib.php
PHP
gpl-3.0
9,660
# merge_frontend.py import sys import io import os import pygit2 import collections import typing ENCODING = 'utf-8' class MergeReturn(typing.NamedTuple): success: bool merge_result: typing.Optional[object] class MergeDriver: driver_id: typing.Optional[str] = None def pre_announce(self, path: str...
erwgd/-tg-station
tools/hooks/merge_frontend.py
Python
agpl-3.0
5,937
// ======================================================================== // $Id: SessionManager.java,v 1.18 2005/03/15 10:03:58 gregwilkins Exp $ // Copyright 1996-2004 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // Licensed under the Apache License, Vers...
jknguyen/josephknguyen-selenium
java/server/src/org/openqa/jetty/jetty/servlet/SessionManager.java
Java
apache-2.0
5,960
// mksyscall.pl -tags linux,s390x syscall_linux.go syscall_linux_s390x.go // Code generated by the command above; see README.md. DO NOT EDIT. // +build linux,s390x package unix import ( "syscall" "unsafe" ) var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func fchmodat(dirfd ...
laijs/moby
vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
GO
apache-2.0
50,840
/** * Copyright 2013 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 ...
hardbitcn/HardbitSafetyCheck
src/com/google/bitcoin/core/CheckpointManager.java
Java
apache-2.0
7,782
// 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. // Package sort provides primitives for sorting slices and user-defined // collections. package sort import "math" // A type, typically a collection, that sat...
rflanagan/reginaldflanagan-project1
src/pkg/sort/sort.go
GO
bsd-3-clause
6,831
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Drawing.Printing { public abstract partial class PrintController { protected PrintC...
shimingsg/corefx
src/System.Drawing.Common/src/System/Drawing/Printing/PrintController.cs
C#
mit
989
var test = require("testling") , sinon = require("sinon") , some = require("../../").someSync , createItem = require("..").createItem test("some calls each iterator", function (t) { var item = createItem() , iterator = sinon.spy(function (v) { if (v === "b1") { retur...
xinyzhang9/xinyzhang9.github.io
spirits2/node_modules/iterators/test/sync/some.js
JavaScript
mit
1,336
package com.common.utils; // //import android.annotation.TargetApi; //import android.app.Activity; //import android.app.AlertDialog; //import android.app.ProgressDialog; //import android.content.Context; //import android.content.Intent; //import android.graphics.Bitmap; //import android.net.Uri; //import android.os.Bu...
goofwear/android
utils/src/main/java/com/common/utils/CommonActivity.java
Java
mit
12,589
<?php namespace Concrete\Core\Permission; use Concrete\Core\Foundation\Repetition\AbstractRepetition; use Database; use Loader; class Duration extends AbstractRepetition { protected $pdID; /** * @param \Concrete\Core\Permission\Access\ListItem\ListItem[] $list * @return \Concrete\Core\Permission\A...
lifejuggler/audrey_site
updates/concrete5.7.5.6/concrete/src/Permission/Duration.php
PHP
mit
4,819
/**************************************************************************************** * Copyright (c) 2011 Norbert Nagold <norbert.nagold@gmail.com> * * Copyright (c) 2014 Houssam Salem <houssam.salem.au@gmail.com> * * ...
thinhhung/Anki-Android
AnkiDroid/src/main/java/com/ichi2/libanki/Note.java
Java
gpl-3.0
10,327
<?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 ...
crazyserver/moodle
competency/classes/api.php
PHP
gpl-3.0
204,934
/* * 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 ...
Wesley-Lawrence/nifi
nifi-nar-bundles/nifi-ignite-bundle/nifi-ignite-processors/src/main/java/org/apache/nifi/processors/ignite/cache/AbstractIgniteCacheProcessor.java
Java
apache-2.0
4,532
<?php /* * Copyright 2014 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 t...
drthomas21/WordPress_Tutorial
wordpress_htdocs/wp-content/plugins/swg-youtube-vids/vendor/google/apiclient-services/src/Google/Service/Storage/BucketRetentionPolicy.php
PHP
apache-2.0
1,269
# Copyright 2016 The TensorFlow Authors. 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 applica...
kevin-coder/tensorflow-fork
tensorflow/contrib/training/python/training/bucket_ops_test.py
Python
apache-2.0
18,461
package com.shunwang.api.request.recharge; import com.shunwang.api.SWApiException; import com.shunwang.api.SWConstants; import com.shunwang.api.SWObject; import com.shunwang.api.SWRequest; import com.shunwang.api.commons.codec.SWSignature; import com.shunwang.api.commons.lang.StringUtils; import com.shunwang.api.mappi...
waitttttttttttttttttttttttting/apitools
apitools-web/src/main/config/apidemos/recharge/updateDisburseConvertState-UTF-8/src/main/java/com/shunwang/api/request/recharge/AbstractSWRequest.java
Java
apache-2.0
5,055
// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: vanity.proto /* Package vanity is a generated protocol buffer package. It is generated from these files: vanity.proto It has these top-level messages: A */ package vanity import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "...
vasili-v/themis
vendor/github.com/gogo/protobuf/vanity/test/slick/vanity.pb.go
GO
apache-2.0
9,206
/* 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, ...
wjiangjay/origin
vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/cache/fifo.go
GO
apache-2.0
10,440
/* * 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 ...
irudyak/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/binary/datastreaming/DataStreamProcessorBinarySelfTest.java
Java
apache-2.0
2,633
// { dg-do "run" } // { dg-options "-std=gnu++0x" } struct A {}; struct B {}; struct C {}; template<typename... Exceptions> void f(int idx) throw(Exceptions...) { if (idx == 0) throw A(); else if (idx == 1) throw B(); else if (idx == 2) throw C(); } extern "C" void abort(); int main() { try { f<A, B, C>(...
efortuna/AndroidSDKClone
ndk_experimental/tests/device/test-stlport_static-exception/jni/variadic73.cpp
C++
apache-2.0
491
<?php /** * Copyright 2016 LINE Corporation * * LINE Corporation licenses this file to you 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 * * ...
rsps950551/LineBotTemplate
vendor/vendor/linecorp/line-bot-sdk/src/LINEBot/Event/MessageEvent/ImageMessage.php
PHP
apache-2.0
1,051
// Type definitions for base64id 2.0 // Project: https://github.com/faeldt/base64id // Definitions by: Shadman Kolahzary <https://github.com/Kolahzary> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 4.0 /// <reference types="node" /> /** * Generates a base64 id */ export fu...
georgemarshall/DefinitelyTyped
types/base64id/index.d.ts
TypeScript
mit
644
"""Tests for the NumpyVersion class. """ from __future__ import division, absolute_import, print_function from numpy.testing import assert_, assert_raises from numpy.lib import NumpyVersion def test_main_versions(): assert_(NumpyVersion('1.8.0') == '1.8.0') for ver in ['1.9.0', '2.0.0', '1.8.1']: as...
kubaszostak/gdal-dragndrop
osgeo/apps/Python27/Lib/site-packages/numpy/lib/tests/test__version.py
Python
mit
2,055
// Copyright Oliver Kowalke 2013. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_FIBERS_DETAIL_CONTEXT_SPMC_QUEUE_H #define BOOST_FIBERS_DETAIL_CONTEXT_SPMC_QUEUE_H #include...
kumakoko/KumaGL
third_lib/boost/1.75.0/boost/fiber/detail/context_spmc_queue.hpp
C++
mit
6,848
package org.robolectric.shadows; import android.app.PendingIntent; import android.content.Context; import android.graphics.Bitmap; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.RemoteViews; import android.widget.TextV...
lexs/robolectric
robolectric-shadows/shadows-core/src/main/java/org/robolectric/shadows/ShadowRemoteViews.java
Java
mit
3,505
ej.addCulture( "ug", { name: "ug", englishName: "Uyghur", nativeName: "ئۇيغۇرچە", language: "ug", isRTL: true, numberFormat: { "NaN": "سان ئەمەس", negativeInfinity: "مەنپىي چەكسىزلىك", positiveInfinity: "مۇسبەت چەكسىزلىك", percent: { pattern: ["-n%","n%"] }, currency: { pattern: ["$-n","$n"], ...
Asaf-S/jsdelivr
files/syncfusion-ej-global/15.1.41/i18n/ej.culture.ug.js
JavaScript
mit
7,278
module Docs class Less class CleanHtmlFilter < Filter def call css('.anchor-target').each do |node| node.parent['id'] = node['id'] node.remove end css('.source-link', 'a[id$="md"]', 'br').remove css('#functions-overview').each do |node| node.an...
zerin108/devdocs
lib/docs/filters/less/clean_html.rb
Ruby
mpl-2.0
881
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package elasticsearchservice import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol" "github.com/aws/aws-sdk-go/privat...
markpeek/terraform
vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go
GO
mpl-2.0
136,217
// Copyright 2015 The appc 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 t...
tixxdz/rkt
Godeps/_workspace/src/github.com/appc/spec/discovery/discovery_test.go
GO
apache-2.0
6,128
package json import ( "fmt" "github.com/hashicorp/hcl2/hcl/hclsyntax" "github.com/hashicorp/hcl2/hcl" "github.com/zclconf/go-cty/cty" ) // body is the implementation of "Body" used for files processed with the JSON // parser. type body struct { obj *objectVal // If non-nil, the keys of this map cause the corr...
xiaozhu36/terraform-provider
vendor/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hcl2/hcl/json/structure.go
GO
apache-2.0
10,389
package broker_builder_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "testing" ) func TestBrokerBuilder(t *testing.T) { RegisterFailHandler(Fail) RunSpecs(t, "BrokerBuilder Suite") }
cf-routing/cli
cf/actors/broker_builder/broker_builder_suite_test.go
GO
apache-2.0
213
/** * Copyright (c) Microsoft. 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 applicable law or ag...
oaastest/azure-xplat-cli
lib/util/authentication/accessTokenCloudCredentials.js
JavaScript
apache-2.0
1,385
describe ManageIQ::Providers::BaseManager do context ".default_blacklisted_event_names" do it 'returns an empty array for the base class' do expect(described_class.default_blacklisted_event_names).to eq([]) end it 'returns the provider event if configured' do stub_settings_merge( :ems...
tzumainn/manageiq
spec/models/manageiq/providers/base_manager_spec.rb
Ruby
apache-2.0
624
//// [optionalPropertiesInClasses.ts] interface ifoo { x?:number; y:number; } class C1 implements ifoo { public y:number; } class C2 implements ifoo { // ERROR - still need 'y' public x:number; } class C3 implements ifoo { public x:number; public y:number; } //// [optionalPropertiesInClasses.js] var C1 = ...
AbubakerB/TypeScript
tests/baselines/reference/optionalPropertiesInClasses.js
JavaScript
apache-2.0
539
/* * 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 ...
markusweimer/incubator-reef
lang/java/reef-runtime-hdinsight/src/main/java/org/apache/reef/runtime/hdinsight/client/yarnrest/ListApplicationResponse.java
Java
apache-2.0
2,497
/* * * 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"); y...
wso2/andes
modules/andes-core/management/eclipse-plugin/src/main/java/org/wso2/andes/management/ui/views/type/ConnectionTypeTabControl.java
Java
apache-2.0
1,664
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. class TraceResult(object): def __init__(self, impl): self._impl = impl def Serialize(self, f): """Serializes the trace result to a file-like obj...
DirtyUnicorns/android_external_chromium-org
tools/telemetry/telemetry/core/trace_result.py
Python
bsd-3-clause
520
/* Copyright (c) 2015-2016 VMware, 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 applicable law or agr...
aleksandra-malinowska/autoscaler
vertical-pod-autoscaler/vendor/github.com/vmware/govmomi/object/datastore.go
GO
apache-2.0
11,224
ActionController::Routing::Routes.draw do |map| map.login "login", :controller => "user_sessions", :action => "new" map.logout "logout", :controller => "user_sessions", :action => "destroy" map.resources :user_sessions map.resources :users map.resources :articles map.resources :comments map.root :artic...
avinashsivaraman/railscasts-episodes
episode-170/blog/config/routes.rb
Ruby
mit
328
/*********************************************************************** filename: CEGUIGeometryBuffer.cpp created: Wed Jan 13 2010 author: Paul D Turner <paul@cegui.org.uk> *************************************************************************/ /*************************************************...
gorkinovich/DefendersOfMankind
dependencies/CEGUI/cegui/src/CEGUIGeometryBuffer.cpp
C++
gpl-3.0
2,382
/*********************************************************************** filename: CEGUIItemListBase.cpp created: 31/3/2005 author: Tomas Lindquist Olsen (based on original Listbox code by Paul D Turner) purpose: Implementation of ItemListBase widget base class ***************************************************...
gorkinovich/DefendersOfMankind
dependencies/CEGUI/cegui/src/elements/CEGUIItemListBase.cpp
C++
gpl-3.0
21,769
<?php /** * PHP script to be used as 404 handler to create and stream out a * not yet existing image thumbnail. * * 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 Li...
BRL-CAD/web
wiki/thumb_handler.php
PHP
bsd-2-clause
1,085
AliAnalysisTaskSEMultDQdev *AddTaskMultDQdev(const Bool_t bOutputList = kTRUE) { AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager(); if (!mgr) { ::Error("AddTaskMuonDistributions", "No analysis manager to connect to."); return nullptr; } //================================================...
AMechler/AliPhysics
PWG/muon/AddTaskMultDQdev.C
C++
bsd-3-clause
986
/* LzFind.c -- Match finder for LZ algorithms 2008-10-04 : Igor Pavlov : Public domain */ #include "crn_core.h" #include <string.h> #include "lzma_LzFind.h" #include "lzma_LzHash.h" namespace crnlib { #define kEmptyHashValue 0 #define kMaxValForNormalize ((UInt32)0xFFFFFFFF) #define kNormalizeStepMin (1 << 10) /* it...
no1dead/xenia
third_party/crunch/crnlib/lzma_LzFind.cpp
C++
bsd-3-clause
19,547
import * as module from './export-referrer-checker.py'; if ('DedicatedWorkerGlobalScope' in self && self instanceof DedicatedWorkerGlobalScope) { postMessage(module.referrer); } else if ( 'SharedWorkerGlobalScope' in self && self instanceof SharedWorkerGlobalScope) { onconnect = e => { e.ports[0].po...
scheib/chromium
third_party/blink/web_tests/external/wpt/workers/modules/resources/static-import-same-origin-referrer-checker-worker.js
JavaScript
bsd-3-clause
355
<?php namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Component\Serialization\Json; use Drupal\Core\EventSubscriber\ActiveLinkResponseFilter; use Drupal\Core\Template\Attribute; use Drupal\Tests\UnitTestCase; /** * @coversDefaultClass \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter * @group EventSubs...
windtrader/drupalvm-d8
web/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php
PHP
gpl-2.0
22,455
/*! UIkit 3.0.0-beta.6 | http://www.getuikit.com | (c) 2014 - 2016 YOOtheme | MIT License */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) : typeof define === 'function' && define.amd ? define(['jquery'], factory) : (gl...
ahocevar/cdnjs
ajax/libs/uikit/3.0.0-beta.6/js/uikit.js
JavaScript
mit
161,667
/* * Copyright (c) 2007-2012 SlimDX Group * * 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 rights * to use, copy, modify, merge, publis...
pandap/slimdx
source/direct3d11/EffectTechnique11.cpp
C++
mit
3,536
/******************************************************************************* * Copyright (c) 2013 Lectorius, Inc. * Authors: * Vijay Pandurangan (vijayp@mitro.co) * Evan Jones (ej@mitro.co) * Adam Hilss (ahilss@mitro.co) * * * This program is free software: you can redistribute it and/or modify * i...
imrehg/mitro
mitro-core/java/server/src/co/mitro/core/server/data/DBSignup.java
Java
gpl-3.0
2,541
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.watcher.actions.pagerduty; import org.apache....
gfyoung/elasticsearch
x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/pagerduty/ExecutablePagerDutyAction.java
Java
apache-2.0
2,531
/* * 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...
Nimco/sling
tooling/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/OutputBundleListMojo.java
Java
apache-2.0
1,853
/** * 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...
steveloughran/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/AppPage.java
Java
apache-2.0
2,454
export { InformationFilled32 as default } from "../../";
markogresak/DefinitelyTyped
types/carbon__icons-react/es/information--filled/32.d.ts
TypeScript
mit
57
<?php define('lang_Select','Velg'); define('lang_Erase','Slett'); define('lang_Open','Åpne'); define('lang_Confirm_del','Er du sikker på at du vil slette denne filen?'); define('lang_All','Alle'); define('lang_Files','Filer'); define('lang_Images','Bilder'); define('lang_Archives','Arkiv'); define('lang_Error_Upload','...
gaschuf/landingdeposito
wpanel/filemanager/lang/nb_NO.php
PHP
mit
5,274
export { Train20 as default } from "../../";
georgemarshall/DefinitelyTyped
types/carbon__icons-react/es/train/20.d.ts
TypeScript
mit
45
export { StarFilled32 as default } from "../../";
georgemarshall/DefinitelyTyped
types/carbon__icons-react/es/star--filled/32.d.ts
TypeScript
mit
50
export { SkipBackOutlineFilled24 as default } from "../../";
markogresak/DefinitelyTyped
types/carbon__icons-react/es/skip--back--outline--filled/24.d.ts
TypeScript
mit
61
<?php /** * @file * Sample file for handling redirection from old to new URIs. Use an Apache * rewrite rule (or equivalent) to map legacy requests to this file. To use, * copy or symlink this file to the root of your drupal site. Customize this * file to your needs. * * CREATE TABLE `migrate_source_uri_map`...
abrege/lerouergue
sites/all/modules/migrate/uri_map_redirect.php
PHP
gpl-2.0
3,339
<?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 ...
ernestovi/ups
moodle/mod/quiz/report/overview/db/upgrade.php
PHP
gpl-3.0
1,910
<?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 a...
dbashyal/MagentoStarterBase
trunk/lib/Zend/Gdata/Media/Extension/MediaDescription.php
PHP
lgpl-3.0
3,353
// // Copyright (c) Microsoft and contributors. 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 requi...
atpham256/azure-powershell
src/ResourceManager/Sql/LegacySdk/Generated/Models/RecommendedActionUpdateResponse.cs
C#
apache-2.0
2,978
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
mahaliachante/aws-sdk-java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ExportEnvironment.java
Java
apache-2.0
1,740
/* * 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...
gingerwizard/elasticsearch
client/rest-high-level/src/main/java/org/elasticsearch/client/NodesResponse.java
Java
apache-2.0
2,170
/* * Copyright 2012-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
mahaliachante/aws-sdk-java
aws-java-sdk-swf-libraries/src/main/java/com/amazonaws/services/simpleworkflow/flow/core/Functor.java
Java
apache-2.0
1,448
/* * 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...
ThalaivaStars/OrgRepo1
core/src/main/java/org/elasticsearch/cluster/InternalClusterInfoService.java
Java
apache-2.0
19,259
/* * 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 ...
anchela/jackrabbit-oak
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/util/TokenizerChain.java
Java
apache-2.0
3,587
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
priyatransbit/aws-sdk-java
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/WorkflowExecutionInfo.java
Java
apache-2.0
33,107
import { DynamsoftEnums as Dynamsoft } from "./Dynamsoft.Enum"; import { WebTwainUtil } from "./WebTwain.Util"; export interface WebTwainIO extends WebTwainUtil { /** * The password to connect to the FTP. */ FTPPassword: string; /** * The port to connect to the FTP. */ FTPPort: numb...
markogresak/DefinitelyTyped
types/dwt/WebTwain.IO.d.ts
TypeScript
mit
36,425
/* * Copyright (c) 1997, 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 ...
rokn/Count_Words_2015
testing/openjdk2/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/core/TypeInfoSet.java
Java
mit
6,284
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // DataflowBlockOptions...
shimingsg/corefx
src/System.Threading.Tasks.Dataflow/src/Base/DataflowBlockOptions.cs
C#
mit
21,643
// -*- C++ -*- // Copyright (C) 2005-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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...
ChangsoonKim/STM32F7DiscTutor
toolchain/osx/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/c++/6.3.1/ext/pb_ds/detail/gp_hash_table_map_/debug_no_store_hash_fn_imps.hpp
C++
mit
2,505
/* * Copyright (C) 2015-2018 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #include "GameClientKeyboard.h" #include "GameClientInput.h" #include "addons/kodi-dev-kit/include/kodi/addon-instance/Game.h" ...
scbash/xbmc
xbmc/games/addons/input/GameClientKeyboard.cpp
C++
gpl-2.0
2,683
class AddMetaCategory < ActiveRecord::Migration def up unless Rails.env.test? result = Category.exec_sql "SELECT 1 FROM site_settings where name = 'meta_category_id'" if result.count == 0 description = I18n.t('meta_category_description') name = I18n.t('meta_category_name') if ...
fs/open-core
spec/dummy/db/migrate/20140122043508_add_meta_category.rb
Ruby
gpl-2.0
1,275
if (ign.ignited()) { volScalarField& heau = thermo.heu(); fvScalarMatrix heauEqn ( fvm::ddt(rho, heau) + mvConvection->fvmDiv(phi, heau) + (fvc::ddt(rho, K) + fvc::div(phi, K))*rho/thermo.rhou() + ( heau.name() == "eau" ? fvc::div ( fvc:...
adrcad/OpenFOAM-2.3.x
applications/solvers/combustion/XiFoam/EauEqn.H
C++
gpl-3.0
1,023
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const Hook = require("./Hook"); const HookCodeFactory = require("./HookCodeFactory"); class AsyncSeriesWaterfallHookCodeFactory extends HookCodeFactory { content({ onError, onResult, onDone }) { return...
convox/convox.github.io
webpack/node_modules/tapable/lib/AsyncSeriesWaterfallHook.js
JavaScript
apache-2.0
1,187
/* 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, ...
fgimenez/kubernetes
staging/src/k8s.io/kubectl/pkg/cmd/set/set.go
GO
apache-2.0
1,670
/* 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, ...
sp-borja-juncosa/kops
vendor/k8s.io/kubernetes/pkg/controller/statefulset/stateful_set_test.go
GO
apache-2.0
18,539
import os import sys import shutil import tempfile import contextlib from ._compat import iteritems, PY2 # If someone wants to vendor click, we want to ensure the # correct package is discovered. Ideally we could use a # relative import here but unfortunately Python does not # support that. clickpkg = sys.modules[_...
gameduell/duell
pylib/click/testing.py
Python
bsd-2-clause
10,834
--TEST-- Function -- array_walk_recursive --SKIPIF-- <?php if (function_exists('array_walk_recursive')) { echo 'skip'; } ?> --FILE-- <?php require_once 'PHP/Compat.php'; PHP_Compat::loadFunction('array_walk_recursive'); $sweet = array('a' => 'apple', 'b' => 'banana'); $fruits = array('sweet' => $sweet, 'sour' => 'lemo...
nanasess/ec-azure
html/data/module/Compat/tests/function/array_walk_recursive.phpt
PHP
gpl-2.0
498
/* Copyright (c) 2007, 2014, Oracle and/or its affiliates. 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 as published by the Free Software Foundation; version 2 of the License. This program is distributed i...
ForcerKing/ShaoqunXu-mysql5.7
storage/ndb/ndbapi-examples/ndbapi_blob_ndbrecord/main.cpp
C++
gpl-2.0
17,977
/* * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2009 Red Hat, Inc. * 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 on...
ikeji/openjdk7-hotspot
src/share/vm/shark/sharkMemoryManager.cpp
C++
gpl-2.0
3,985
// Boost.Geometry // Copyright (c) 2017-2019, Oracle and/or its affiliates. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Licensed under the Boost Software License version 1.0. // http://www.boost.org/users/lice...
zcobell/QADCModules
thirdparty/boost_1_75_0/boost/geometry/strategies/spherical/densify.hpp
C++
gpl-3.0
4,079
/* * * Copyright (C) 2011 Pierre Malarme * * Authors: Pierre Malarme <pmalarme at ulb.ac.be> * * Institution: Laboratory of Image Synthesis and Analysis (LISA) * Faculty of Applied Science * Universite Libre de Bruxelles (U.L.B.) * * Website: http://lisa.ulb.ac.be * * This file <CL...
carlosqueiroz/droid-dicom-viewer
src/be/ac/ulb/lisa/idot/android/dicomviewer/mode/CLUTMode.java
Java
gpl-3.0
1,510
/* * 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 ...
tzulitai/flink
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamFlatMap.java
Java
apache-2.0
1,822
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkCanvas.h" #include "SkPath.h" // Reproduces https://code.google.com/p/chromium/issues/detail?id=279014 static const int kWidth = 640; static cons...
TeamCarbonXtremeARMv6/android_external_skia
gm/stringart.cpp
C++
bsd-3-clause
1,762
'use strict'; function create (env, entries, settings, treatments, profile, devicestatus) { var express = require('express'), app = express( ) ; var wares = require('../middleware/')(env); // set up express app with our options app.set('name', env.name); app.set('version', env.version); // app.se...
johnyburd/cgm-remote-monitor
lib/api/index.js
JavaScript
agpl-3.0
1,687
// Copyright 2006 The Closure Library Authors. 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 requ...
metamolecular/closure-library
closure/goog/structs/circularbuffer.js
JavaScript
apache-2.0
5,746
/* * Copyright 2013 The Netty Project * * The Netty Project licenses this file to you 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 ...
wangcy6/storm_app
frame/java/netty-4.1/codec-memcache/src/main/java/io/netty/handler/codec/memcache/binary/BinaryMemcacheServerCodec.java
Java
apache-2.0
1,572
// Copyright JS Foundation and other contributors, http://js.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 r...
bsdelf/jerryscript
tests/jerry-test-suite/11/11.08/11.08.07/11.08.07-011.js
JavaScript
apache-2.0
691
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
mxOBS/deb-pkg_trusty_chromium-browser
third_party/libc++/trunk/test/utilities/template.bitset/bitset.members/set_one.pass.cpp
C++
bsd-3-clause
1,080
// RUN: %clang_cc1 -fexceptions -fcxx-exceptions -std=c++1z -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s // CHECK-LABEL: define {{.*}} @_Z11builtin_newm( // CHECK: call {{.*}} @_Znwm( void *builtin_new(unsigned long n) { return __builtin_operator_new(n); } // CHECK-LABEL: define {{.*}} @_Z14builtin_dele...
endlessm/chromium-browser
third_party/llvm/clang/test/CodeGenCXX/cxx1z-noexcept-function-type.cpp
C++
bsd-3-clause
427
// RUN: %clang -g -std=c++11 -S -emit-llvm %s -o - | FileCheck %s template<typename T> struct foo { }; namespace x { // splitting these over multiple lines to make sure the right token is used for // the location template<typename T> using # 42 bar = foo<T*>; } // CHECK: !DIGlobalVariable(name: "bi",{{.*}} type: [[BI...
endlessm/chromium-browser
third_party/llvm/clang/test/CodeGenCXX/debug-info-alias.cpp
C++
bsd-3-clause
1,055
/* * 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. Oracle designates this * particular file as subject to th...
rokn/Count_Words_2015
testing/openjdk2/jaxp/src/org/w3c/dom/Document.java
Java
mit
45,108