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 |
|---|---|---|---|---|---|
/** @file
UDF/ECMA-167 file system driver.
Copyright (C) 2014-2017 Paulo Alcantara <pcacjr@zytor.com>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be... | google/google-ctf | third_party/edk2/MdeModulePkg/Universal/Disk/UdfDxe/Udf.c | C | apache-2.0 | 9,008 |
<faceted-datatable params="{columns: $component.tableColumns, options: $component.facetOptions, reference: mappedConcepts, rowCallback: $component.contextSensitiveLinkColor}"></faceted-datatable>
| OHDSI/Calypso | js/modules/conceptsetbuilder/components/MappedConcepts.html | HTML | apache-2.0 | 196 |
canvas {
display:block;
margin:0px auto;
height:600px;
width:400px;
border:none;
} | NicolasMilligan/CanvasClock | clock.css | CSS | apache-2.0 | 102 |
/*
* 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 ... | davidkarlsen/camel | core/camel-core/src/test/java/org/apache/camel/processor/intercept/InterceptFromSimpleLogTest.java | Java | apache-2.0 | 1,955 |
imgUrl1="data/afficheimg/20140121tpclwh.jpg";
imgtext1="";
imgLink1=escape("http://www.haoid.cn");
imgUrl2="data/afficheimg/20140121tiskvu.jpg";
imgtext2="";
imgLink2=escape("http://www.haoid.cn");
imgUrl3="data/afficheimg/20140121gmlyoj.jpg";
imgtext3="";
imgLink3=escape("http://www.haoid.cn");
var pics=imgUrl1+"|"+i... | lvguocai/ec | data/flashdata/pinkfocus/data.js | JavaScript | apache-2.0 | 431 |
package org.apereo.cas.authentication.principal.cache;
import org.apereo.cas.authentication.principal.Principal;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.util.spring.ApplicationContextProvider;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.... | rrenomeron/cas | core/cas-server-core-authentication-attributes/src/main/java/org/apereo/cas/authentication/principal/cache/CachingPrincipalAttributesRepository.java | Java | apache-2.0 | 4,862 |
package org.apache.hadoop.hdfs.server.namenode;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.io.IOException;
import java.util.List;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hdfs.server.common.JspHelper;
import org.apache.hadoop.hdfs.server.na... | weilu/Hadoop-Resource-Aware-Scheduler | hdfs/build/src/org/apache/hadoop/hdfs/server/namenode/corrupt_005freplicas_005fxml_jsp.java | Java | apache-2.0 | 4,917 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Core.SyntaxRewriters
{
/// <summary>
/// Writes out the syntax required ... | DefectiveCube/IDE | IDE/Core/SyntaxRewriters/InterfaceImplementer.cs | C# | apache-2.0 | 758 |
package support;
/**
* Data bucket holding information about an airport.
*
* @version JDSL 2
*/
public class AirportSpecs {
private String code_, name_;
private int gmtOff_;
private int x_, y_;
private String label_;
// accessors
/**
* @return the 3-letter code of the airport (PVD, etc)
*/
... | patrickfav/tuwien | master/swt workspace/ModelJUnit 2.0 beta1/modeljunit/jdsl/tutorial/lesson07/support/AirportSpecs.java | Java | apache-2.0 | 2,578 |
/*
* 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/tomcat | modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/DataSource.java | Java | apache-2.0 | 4,950 |
/**
* Copyright 2005-2014 Red Hat, Inc.
*
* Red Hat 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 r... | janstey/fabric8 | fabric/fabric-agent/src/test/java/io/fabric8/agent/download/DownloadManagerHelperTest.java | Java | apache-2.0 | 1,902 |
/*
* Copyright 2005 Red Hat, Inc. and/or its affiliates.
*
* 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... | vinodkiran/drools | drools-core/src/main/java/org/drools/core/common/SingleBetaConstraints.java | Java | apache-2.0 | 7,700 |
# Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the Apache 2.0 License.
# See the LICENSE file in the project root for more information.
from iptest.assert_util import *
add_clr_assemblies("loadorder_3")
# namespace First {
# public clas... | slozier/ironpython2 | Tests/interop/net/loadorder/t3g1.py | Python | apache-2.0 | 833 |
(function () {
"use strict";
angular
.module('mnWizard')
.controller('mnWizardStep4Controller', mnWizardStep4Controller);
function mnWizardStep4Controller($scope, $state, mnWizardStep4Service, pools, mnPromiseHelper) {
var vm = this;
vm.isEnterprise = pools.isEnterprise;
vm.sendStat... | ceejatec/ns_server | priv/public/ui/app-classic/mn_wizard/step4/mn_wizard_step4_controller.js | JavaScript | apache-2.0 | 1,150 |
from __future__ import absolute_import
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "api.api.settings")
import copy
import logging
import django
from api.webview.models import HarvesterResponse, Document, Version
from scrapi import events
from scrapi.util import json_without_bytes
from scrapi.linter i... | erinspace/scrapi | scrapi/processing/postgres.py | Python | apache-2.0 | 6,903 |
package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
public class R12wProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
var decoder = new R12wProtocolDecoder(null);
verifyNull(decoder, text(
"$HX,000... | orcoliver/traccar | src/test/java/org/traccar/protocol/R12wProtocolDecoderTest.java | Java | apache-2.0 | 412 |
from module import *
| Skaper/RMCStudio | images/emotion/eyes/type1/ico/__init__.py | Python | apache-2.0 | 21 |
/**************************************************************
OLAP demo queries
Works for MySQL (with kludge for CUBE)
SQLite and Postgres don't support ROLLUP or CUBE
**************************************************************/
/**************************************************************
Full star joi... | hemmerling/sql-stanford2013 | src/16_olap/OLAPqueries.sql | SQL | apache-2.0 | 8,013 |
package eduni.simdiag;
import java.util.List;
import java.util.ArrayList;
import java.applet.Applet;
/**
* Generates sin/cos graph from equation.
* The output format is a stream of
* GraphEventObjects which can be read and displayed by
* a GraphDiagram.
* This class may be useful as an example of how to
* gene... | mzuhri/salam | salam/salam-external-lib/src/main/java/eduni/simdiag/GraphEqn.java | Java | apache-2.0 | 2,102 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Tue Jan 06 21:14:27 PST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface o... | mike-jumper/incubator-guacamole-website | doc/0.9.4/guacamole-ext/org/glyptodon/guacamole/net/event/listener/class-use/TunnelConnectListener.html | HTML | apache-2.0 | 5,237 |
package com.seven.designbox.designpatterns.weatherInfo;
import android.os.Parcel;
import android.os.Parcelable;
public class Weather implements Parcelable{
public String imageUrl;
public Condition condition = new Condition();
public Wind wind = new Wind();
public Atmosphere atmosphere = new Atmosph... | yihongyuelan/DesignBox | app/src/main/java/com/seven/designbox/designpatterns/weatherInfo/Weather.java | Java | apache-2.0 | 2,619 |
<?php
/**
* This example gets all companies. To create companies, run
* CreateCompanies.php.
*
* Tags: CompanyService.getCompaniesByStatement
*
* PHP version 5
*
* Copyright 2014, Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ... | classano/googleads | examples/Dfp/v201411/CompanyService/GetAllCompanies.php | PHP | apache-2.0 | 2,994 |
---
title: "数据类型"
nav-parent_id: python_datastream_api
nav-pos: 10
---
<!--
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 unde... | aljoscha/flink | docs/dev/python/datastream-api-users-guide/data_types.zh.md | Markdown | apache-2.0 | 4,099 |
cdi-alternative: Demostrates CDI Alternatives
======================================================
Author: Nevin Zhu
Level: Intermediate
Technologies: CDI, Servlet, JSP
Summary: Demonstrates the use of CDI Alternatives where the bean is selected during deployment
Target Product: EAP
Product Versions: EAP 6.1, EAP 6.... | wfink/jboss-as-quickstart | cdi-alternative/README.md | Markdown | apache-2.0 | 4,225 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | xingwu1/azure-sdk-for-node | lib/services/serviceFabric/lib/models/applicationUpgradeRollbackCompletedEvent.js | JavaScript | apache-2.0 | 3,459 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | xingwu1/azure-sdk-for-node | lib/services/automationManagement/lib/operations/jobStreamOperations.js | JavaScript | apache-2.0 | 33,385 |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | malaterre/ITK | Modules/Core/Common/include/itkImageRegionConstIteratorWithIndex.h | C | apache-2.0 | 8,294 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.01.... | kohsah/akomantoso-lib | src/main/java/org/akomantoso/schema/v3/csd11/Li.java | Java | apache-2.0 | 27,264 |
/* Copyright 2015 Yurii Litvinov and CyberTech Labs Ltd.
*
* 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 appl... | iakov/trikRuntime | trikHal/src/trik/trikSystemConsole.h | C | apache-2.0 | 1,090 |
<!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_45) on Thu Nov 13 21:21:59 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.apache.hadoop.lib.service.had... | SAT-Hadoop/hadoop-2.6.0 | share/doc/hadoop/api/org/apache/hadoop/lib/service/hadoop/package-tree.html | HTML | apache-2.0 | 6,287 |
// 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... | cinderella/incubator-cloudstack | api/src/com/cloud/agent/api/GetDomRVersionAnswer.java | Java | apache-2.0 | 1,661 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ws;
import javax.jws.WebService;
/**
*
* @author usuario
*/
@WebService
public class PersonaWebService {
public Perso... | xroca/planFormacionJava | serviciosweb/Objetos/EjemploWsObjetosMaven/src/main/java/ws/PersonaWebService.java | Java | apache-2.0 | 378 |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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 app... | romartin/jbpm | jbpm-services/jbpm-kie-services/src/test/java/org/jbpm/kie/services/impl/admin/UserTaskAdminServiceImplTest.java | Java | apache-2.0 | 59,966 |
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { CommonModule } from '@angular/common';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { NgJhipsterModule } from 'ng-jhipster';
import { InfiniteScrollModule } from... | dads-software-brotherhood/sekc | node_modules/generator-jhipster/generators/client/templates/angular/src/main/webapp/app/shared/_shared-libs.module.ts | TypeScript | apache-2.0 | 854 |
/*
* Copyright 2015 Textocat
*
* 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 la... | Denis220795/Textokit | Textokit.Morph.Dictionary.OpenCorpora/src/main/java/com/textocat/textokit/morph/opencorpora/resource/DictionaryXmlHandler.java | Java | apache-2.0 | 24,558 |
/**
* Copyright 2011 Google Inc.
* Copyright 2012 Matt Corallo.
*
* 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... | cbeams/bitcoinj | core/src/main/java/com/google/bitcoin/script/Script.java | Java | apache-2.0 | 61,134 |
extern crate libc;
extern crate serde_json;
use api::{ErrorCode, IndyHandle, CommandHandle, WalletHandle, SearchHandle};
use errors::prelude::*;
use commands::{Command, CommandExecutor};
use commands::anoncreds::AnoncredsCommand;
use commands::anoncreds::issuer::IssuerCommand;
use commands::anoncreds::prover::ProverCo... | srottem/indy-sdk | libindy/src/api/anoncreds.rs | Rust | apache-2.0 | 91,966 |
/*!
* IE10 viewport hack for Surface/desktop Windows 8 bug
* Copyright 2014-2017 The Bootstrap Authors
* Copyright 2014-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
// See the Getting Started docs for more information:
// https://getbootstrap.com/getting-start... | Recks11/theLXGweb | src/main/webapp/resources/lxg_fiesta/js/ie10-viewport-bug-workaround.js | JavaScript | apache-2.0 | 710 |
/*
* Copyright 2022 ThoughtWorks, 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 agr... | Skarlso/gocd | api/api-internal-materials-v1/src/main/java/com/thoughtworks/go/apiv1/internalmaterials/representers/materials/ScmMaterialRepresenter.java | Java | apache-2.0 | 1,440 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2010 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
package com.sleepycat.collections.test;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import com.sleepycat.co... | racker/omnibus | source/db-5.0.26.NC/test/scr024/src/com/sleepycat/collections/test/TestSR15721.java | Java | apache-2.0 | 2,986 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2010 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
package collections.ship.entity;
/**
* A Part represents the combined key/data pair for a part entity.
*
* <p>In this sample, Part is created from the stored... | racker/omnibus | source/db-5.0.26.NC/examples_java/src/collections/ship/entity/Part.java | Java | apache-2.0 | 1,515 |
Scalr.regPage('Scalr.ui.account2.environments.clouds.gce', function (loadParams, moduleParams) {
var params = moduleParams['params'];
var form = Ext.create('Ext.form.Panel', {
bodyCls: 'x-container-fieldset',
fieldDefaults: {
anchor: '100%',
labelWidth: 110
},
autoScro... | kikov79/scalr | app/www/ui2/js/ui/account2/environments/clouds/gce.js | JavaScript | apache-2.0 | 3,361 |
/*
* Copyright 2014 The Luvit 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 requir... | luvit/luv | src/loop.c | C | apache-2.0 | 3,853 |
// automatically generated by the FlatBuffers compiler, do not modify
#ifndef FLATBUFFERS_GENERATED_REFLECTION_REFLECTION_H_
#define FLATBUFFERS_GENERATED_REFLECTION_REFLECTION_H_
#include "flatbuffers/flatbuffers.h"
namespace reflection {
struct Type;
struct KeyValue;
struct EnumVal;
struct Enum;
struct Field... | rw/flatbuffers | include/flatbuffers/reflection_generated.h | C | apache-2.0 | 41,277 |
<?php namespace app\widgets\jqGrid;
/**
* Created by PhpStorm.
* User: Андрей
* Date: 21.10.2015
* Time: 1:52
*/
use yii\base\Event;
class EventBeforeSave extends Event {
public $model;
public $get;
public $post;
}
| andriell/yii2-gii | widgets/jqGrid/EventBeforeSave.php | PHP | apache-2.0 | 240 |
/*
* 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 ... | jackylk/incubator-carbondata | integration/spark/src/test/scala/org/apache/carbondata/spark/testsuite/datacompaction/MajorCompactionIgnoreInMinorTest.scala | Scala | apache-2.0 | 7,171 |
#!/bin/bash
SRCFILE=TestDFSIO.java
HADOOPSRC=/home/weijia/ws/hadoop-crtc-src
DSTFILE=${HADOOPSRC}/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/fs/TestDFSIO.java
cp $SRCFILE $DSTFILE
| songweijia/hdfsrs | experiments/snapshot/run/src/updateTestDFSIO.sh | Shell | apache-2.0 | 253 |
/**
*
*/
package com.perforce.p4java.tests.dev.unit.bug.r111;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.junit.Test;
import com.perforce.p4java.cl... | groboclown/p4ic4idea | p4java/r18-1/src/test/java/com/perforce/p4java/tests/dev/unit/bug/r111/Job042258Test.java | Java | apache-2.0 | 4,146 |
#! /bin/bash
DPLID=$(ctx deployment id)
ctx logger info "disabling monitoring for deployment ${DPLID}"
MONITORING_DIR="$BASE_DIR/${DPLID}"
read PID < $MONITORING_DIR/pid_file
sudo kill -9 $PID
(crontab -l ; cat $MONITORING_DIR/policycron) 2>&1 | grep -v "no crontab" | grep -v $MONITORING_DIR/log | sort | uniq | cron... | victorkeophila/alien4cloud-cloudify3-provider | src/main/resources/recipe/monitor/scripts/policy-stop.sh | Shell | apache-2.0 | 435 |
/**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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
*
* Unle... | pinotlytics/pinot | pinot-core/src/main/java/com/linkedin/pinot/core/operator/docvaliterators/SortedSingleValueIterator.java | Java | apache-2.0 | 2,253 |
/*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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.a... | ryoenji/libgdx | extensions/gdx-setup-ui/src/aurelienribon/gdxsetupui/LibraryDef.java | Java | apache-2.0 | 2,914 |
<?php
final class PhabricatorRepositoryShortcut extends PhabricatorRepositoryDAO {
protected $name;
protected $href;
protected $description;
protected $sequence;
public function getConfiguration() {
return array(
self::CONFIG_TIMESTAMPS => false,
) + parent::getConfiguration();
}
}
| apexstudios/phabricator | src/applications/repository/storage/PhabricatorRepositoryShortcut.php | PHP | apache-2.0 | 313 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("En... | xamarin/xamarin-forms-book-preview-2 | Chapter23/EntrySwell/EntrySwell/EntrySwell.UWP/Properties/AssemblyInfo.cs | C# | apache-2.0 | 1,048 |
package org.hl7.fhir.instance.model;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above co... | bjornna/hapi-fhir | hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/StructureDefinition.java | Java | apache-2.0 | 117,624 |
/*
* Copyright 1999-2019 Seata.io Group.
*
* 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 l... | seata/seata | sqlparser/seata-sqlparser-antlr/src/main/java/io/seata/sqlparser/antlr/mysql/listener/UpdateSpecificationSqlListener.java | Java | apache-2.0 | 3,049 |
"""Provide common test tools for Z-Wave JS."""
AIR_TEMPERATURE_SENSOR = "sensor.multisensor_6_air_temperature"
HUMIDITY_SENSOR = "sensor.multisensor_6_humidity"
ENERGY_SENSOR = "sensor.smart_plug_with_two_usb_ports_value_electric_consumed_2"
POWER_SENSOR = "sensor.smart_plug_with_two_usb_ports_value_electric_consumed"
... | w1ll1am23/home-assistant | tests/components/zwave_js/common.py | Python | apache-2.0 | 1,508 |
+++
date = "2015-03-19T14:27:51-04:00"
title = "Authenticating"
[menu.main]
parent = "Connecting"
identifier = "Authenticating"
weight = 20
pre = "<i class='fa'></i>"
+++
# Authentication
The Node.js driver supports all MongoDB [authentication mechanisms](http://docs.mongodb.org/manual/core/authentication/), ... | flyingfisher/node-mongodb-native | docs/reference/content/reference/connecting/authenticating.md | Markdown | apache-2.0 | 6,820 |
/*
* Copyright 2010-2017 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 "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-elastictranscoder/source/model/Warning.cpp | C++ | apache-2.0 | 1,657 |
/* global describe, it, element, by, expect */
'use strict';
var common = require('../../common/common');
var setup = require('../../common/setup');
var authentication = require('../../authentication/authentication');
var topologyEditorCommon = require('../../topology/topology_editor_common');
var xedit = require('../... | broly-git/alien4cloud | alien4cloud-ui/src/test/webapp/e2e/scenarios/application_topology/application_topology_suggestions_property.js | JavaScript | apache-2.0 | 5,797 |
// Copyright 2017 The Bazel 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 appl... | ButterflyNetwork/bazel | src/main/java/com/google/devtools/build/lib/analysis/AspectCollection.java | Java | apache-2.0 | 15,413 |
'use strict';
// =========================================================================
//
// Policies for users
//
// =========================================================================
var acl = require('acl');
acl = new acl(new acl.memoryBackend());
var helpers = require (require('path').resolve('./modules... | logancodes/esm-server | modules/users/server/policies/admin.server.policy.js | JavaScript | apache-2.0 | 641 |
package # hide package from pause
DBIx::Class::PK::Auto::Pg;
use strict;
use warnings;
use base qw/DBIx::Class/;
__PACKAGE__->load_components(qw/PK::Auto/);
1;
__END__
=head1 NAME
DBIx::Class::PK::Auto::Pg - (DEPRECATED) Automatic primary key class for Pg
=head1 SYNOPSIS
Just load PK::Auto instead; auto-inc ... | ray66rus/vndrv | local/lib/perl5/DBIx/Class/PK/Auto/Pg.pm | Perl | apache-2.0 | 748 |
/**
* 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... | massakam/pulsar | pulsar-broker/src/test/java/org/apache/pulsar/broker/intercept/BrokerInterceptorWithClassLoaderTest.java | Java | apache-2.0 | 9,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 ... | apache/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree/src/main/java/org/apache/hyracks/storage/am/lsm/btree/impls/LSMBTreeWithBloomFilterDiskComponent.java | Java | apache-2.0 | 2,959 |
/*
* Copyright 2012-2018 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... | marcosbarbero/spring-cloud-zuul-ratelimit | spring-cloud-zuul-ratelimit-core/src/main/java/com/marcosbarbero/cloud/autoconfigure/zuul/ratelimit/config/properties/validators/Policies.java | Java | apache-2.0 | 1,289 |
package com.perforce.p4java.tests.dev.unit.feature.client;
import com.perforce.p4java.core.file.IntegrationOptions;
import com.perforce.p4java.tests.dev.annotations.TestId;
import com.perforce.p4java.tests.dev.unit.P4JavaRshTestCase;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static or... | groboclown/p4ic4idea | p4java/src/test/java/com/perforce/p4java/tests/dev/unit/feature/client/ClientIntegrationTest.java | Java | apache-2.0 | 12,211 |
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... | monich/ImageMagick | tests/drawtest.c | C | apache-2.0 | 20,314 |
.splunk-toolkit-punchcard .axis path,.axis line {
fill: none;
stroke: #b6b6b6;
shape-rendering: crispEdges;
}
.splunk-toolkit-punchcard .tick text {
fill: #999;
}
.splunk-toolkit-punchcard g.dimension.active {
cursor: pointer;
}
.splunk-toolkit-punchcard text.label {
font-size: 12px;
cursor: pointer;
}
.s... | splunk/splunk-webframework-toolkit | splunk_wftoolkit/django/splunk_wftoolkit/static/splunk_wftoolkit/components/punchcard/punchcard.css | CSS | apache-2.0 | 450 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/external/gtest.h>
#include <aws/core/utils/logging/DefaultLogSystem.h>
#include <aws/core/utils/logging/LogMacros.h>
#include <aws/core/utils/logging/CRTLogging.h>
#include <aws/core/u... | aws/aws-sdk-cpp | aws-cpp-sdk-core-tests/utils/logging/LoggingTest.cpp | C++ | apache-2.0 | 10,078 |
// This file is part of libfringe, a low-level green threading library.
// Copyright (c) whitequark <whitequark@whitequark.org>,
// Nathan Zadoks <nathan@nathan7.eu>
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE... | QuiltOS/libfringe | tests/generator.rs | Rust | apache-2.0 | 2,795 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
#include <aws/comprehendmedical/ComprehendMedicalRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility... | awslabs/aws-sdk-cpp | aws-cpp-sdk-comprehendmedical/include/aws/comprehendmedical/model/DescribePHIDetectionJobRequest.h | C | apache-2.0 | 3,686 |
import { triggerPixel, parseSizesInput, deepAccess, logError, getGptSlotInfoForAdUnitCode } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { config } from '../src/config.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
import { INSTREAM as VIDEO_INSTREAM } fr... | prebid/Prebid.js | modules/visxBidAdapter.js | JavaScript | apache-2.0 | 12,057 |
package com.huassit.imenu.android.http;
import java.io.IOException;
import java.util.List;
import org.apache.http.NameValuePair;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.D... | kevin-duan/Imenu | iMenu/src/com/huassit/imenu/android/http/BaseInvoker.java | Java | apache-2.0 | 6,272 |
// Copyright (C) 2012 The Android Open Source Project
//
// 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 ... | MerritCR/merrit | gerrit-server/src/main/java/com/google/gerrit/server/project/PutDescription.java | Java | apache-2.0 | 4,591 |
/**
* Cobertura - http://cobertura.sourceforge.net/
*
* Copyright (C) 2003 jcoverage ltd.
* Copyright (C) 2005 Mark Doliner <thekingant@users.sourceforge.net>
*
* Cobertura 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 S... | SERG-Delft/operias | operias-report/src/test/resources/simpleMavenProject/src/test/java/simpleMavenProject/SimpleTest.java | Java | apache-2.0 | 1,573 |
/**
* 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... | ptgoetz/storm-hdfs | src/main/java/org/apache/storm/hdfs/bolt/rotation/FileRotationPolicy.java | Java | apache-2.0 | 1,691 |
# Copyright (c) 2014 OpenStack 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 applicable law or agreed to ... | keedio/sahara | sahara/service/edp/spark/engine.py | Python | apache-2.0 | 8,343 |
<?php
/**
* @link https://github.com/gridiron-guru/FantasyDataAPI for the canonical source repository
* @copyright Copyright (c) 2014 Robert Gunnar Johnson Jr.
* @license http://opensource.org/licenses/Apache-2.0
* @package FantasyDataAPI
*/
namespace FantasyDataAPI\Test\Schedules\Response;
use GuzzleHt... | mashurex/FantasyDataAPI | test/phpunit/Schedules/Response/Mock.php | PHP | apache-2.0 | 1,067 |
<div class="modal fade" id="addRepositoryModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
... | cmu-db/db-webcrawler | library/templates/admin/add_repository.html | HTML | apache-2.0 | 2,221 |
/*
* 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")... | kidaa/isis | core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/defaults/method/ActionDefaultsFacetViaMethod.java | Java | apache-2.0 | 3,351 |
package yuku.alkitab.yes2.section;
import yuku.alkitab.model.PericopeBlock;
import yuku.alkitab.model.PericopeIndex;
import yuku.alkitab.yes2.io.RandomInputStream;
import yuku.alkitab.yes2.io.RandomOutputStream;
import yuku.alkitab.yes2.model.PericopeData;
import yuku.alkitab.yes2.model.PericopeData.Entry;
import yuku... | Jaden-J/androidbible | AlkitabYes2/src/main/java/yuku/alkitab/yes2/section/PericopesSection.java | Java | apache-2.0 | 6,801 |
var mainwindow_8h =
[
[ "MainWindow", "d9/dc6/class_main_window.html", "d9/dc6/class_main_window" ],
[ "BINARY_FILE", "d9/d53/mainwindow_8h.html#a235764c67fdcb87b7484bdc1ef801959", null ],
[ "DEFAULT_DATA_DIR", "d9/d53/mainwindow_8h.html#a89d9b90dbc1df3ab30a2d08519e40e49", null ],
[ "DEFAULT_DATA_FILE_E... | delfernan/LP | release/doc/html/d9/d53/mainwindow_8h.js | JavaScript | apache-2.0 | 605 |
/*
* Copyright 2017 PayPal
*
* 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 writin... | akara/squbs | squbs-ext/src/main/scala/akka/http/org/squbs/util/JavaConverters.scala | Scala | apache-2.0 | 3,782 |
<head>
<!-- **************************************************************************** -->
<!-- SITE SETTINGS -->
<!-- **************************************************************************** -->
<!-- Font to use within the entire site -->
<link rel='stylesheet' type='text/css'
href='htt... | caceres-lab/InvFEST-code | invfreeze/html/header.html | HTML | apache-2.0 | 7,893 |
package com.iisquare.solr.wltea.util;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.Cookie;
import javax.... | iisquare/analysis-ik-online | solr6.x/src/main/java/com/iisquare/solr/wltea/util/ServletUtil.java | Java | apache-2.0 | 7,227 |
// Copyright 2015 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 applicable... | IanLewis/dashboard | src/app/frontend/ingress/list/state.js | JavaScript | apache-2.0 | 717 |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Uses of Class org.apache.sysds.runtime.io.hdf5.message.H5DataTypeMessage (Apache SystemDS 2.3.0-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" h... | apache/incubator-systemml | docs/api/java/org/apache/sysds/runtime/io/hdf5/message/class-use/H5DataTypeMessage.html | HTML | apache-2.0 | 7,380 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_55) on Fri Jun 20 06:34:21 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... | BibAlex/bhl_rails_4_solr | docs/solr-core/org/apache/solr/search/grouping/distributed/requestfactory/class-use/TopGroupsShardRequestFactory.html | HTML | apache-2.0 | 5,434 |
/*
* Copyright 2010-2017 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 "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/GetOfferingStatusResult.h | C | apache-2.0 | 8,801 |
################################################################################
# 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... | aljoscha/flink | flink-python/pyflink/version.py | Python | apache-2.0 | 1,132 |
/*
* Copyright (c) 2019 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.gui.api;
import org.apache.wicket.markup.html.form.FormComponent;
import java.io.Serializable;
public ... | bshp/midPoint | gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/Validatable.java | Java | apache-2.0 | 413 |
/*
* 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 ... | archord/svom | src/main/java/com/gwac/action/UserList.java | Java | apache-2.0 | 6,485 |
<?php
/**
* @file
* Contains \Drupal\aggregator\Plugin\aggregator\fetcher\DefaultFetcher.
*/
namespace Drupal\aggregator\Plugin\aggregator\fetcher;
use Drupal\aggregator\Annotation\AggregatorFetcher;
use Drupal\aggregator\Plugin\FetcherInterface;
use Drupal\aggregator\Entity\Feed;
use Drupal\Core\Annotation\Trans... | nickopris/musicapp | www/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php | PHP | apache-2.0 | 3,618 |
#include <qpdf/CryptoRandomDataProvider.hh>
#include <qpdf/QPDFCryptoProvider.hh>
CryptoRandomDataProvider::CryptoRandomDataProvider()
{
}
CryptoRandomDataProvider::~CryptoRandomDataProvider()
{
}
void
CryptoRandomDataProvider::provideRandomData(unsigned char* data, size_t len)
{
auto crypto = QPDFCryptoProvide... | qpdf/qpdf | libqpdf/CryptoRandomDataProvider.cc | C++ | apache-2.0 | 511 |
/*
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, ... | MustWin/kubernetes | test/e2e_node/runner/run_e2e.go | GO | apache-2.0 | 13,026 |
package com.ctrip.zeus.service.model.handler.impl;
import com.ctrip.zeus.dao.entity.SlbGroupStatusR;
import com.ctrip.zeus.dao.entity.SlbGroupStatusRExample;
import com.ctrip.zeus.dao.entity.SlbGroupVsR;
import com.ctrip.zeus.dao.entity.SlbGroupVsRExample;
import com.ctrip.zeus.dao.mapper.SlbGroupStatusRMapper;
... | sdgdsffdsfff/zeus | slb/src/main/java/com/ctrip/zeus/service/model/handler/impl/SlbGroupVsRelMaintainer.java | Java | apache-2.0 | 4,958 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | dulems/azure-powershell | src/ResourceManager/Sql/Commands.Sql/Common/AzureSqlCmdletBase.cs | C# | apache-2.0 | 4,968 |
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.toolWindow;
import com.intellij.ide.ui.UISettings;
import com.intellij.ide.ui.UISettingsListener;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.wm.ToolWindow... | jwren/intellij-community | platform/platform-impl/src/com/intellij/toolWindow/Stripe.java | Java | apache-2.0 | 8,601 |
/**
* Provides annotations represents feature.
*/
package com.develhack.annotation.feature; | develhack/core | src/main/java/com/develhack/annotation/feature/package-info.java | Java | apache-2.0 | 93 |
#!/bin/bash -eux
echo "==> Recording box generation date"
date > /etc/vagrant_box_build_date
echo "==> Customizing message of the day"
MOTD_FILE=/etc/motd
BANNER_WIDTH=64
PLATFORM_RELEASE=$(sed 's/^.\+ release \([.0-9]\+\).*/\1/' /etc/redhat-release)
PLATFORM_MSG=$(printf 'Oracle Linux %s' "$PLATFORM_RELEASE")
BUILT_... | boxcutter/oraclelinux | script/motd.sh | Shell | apache-2.0 | 579 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.