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 |
|---|---|---|---|---|---|
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 Greenplum, Inc.
//
// @filename:
// CDXLScalarLimitOffset.cpp
//
// @doc:
// Implementation of DXL Scalar Limit Offset
//
//----------------------------------------------------------------------... | PengJi/gporca-comments | libnaucrates/src/operators/CDXLScalarLimitOffset.cpp | C++ | apache-2.0 | 2,989 |
__author__ = 'mpetyx'
from tastypie.authorization import DjangoAuthorization
from .models import OpeniQuestion
from OPENiapp.APIS.OpeniGenericResource import GenericResource
from OPENiapp.APIS.OPENiAuthorization import Authorization
from OPENiapp.APIS.OPENiAuthentication import Authentication
class QuestionResource... | OPENi-ict/ntua_demo | openiPrototype/openiPrototype/APIS/Activity/Question/Resources.py | Python | apache-2.0 | 2,158 |
"use strict";
import HTTP from "./http";
import endpoint from "./endpoint";
import * as requests from "./requests";
import * as optionUtils from "./options";
import Tenant from "./tenant";
import Admin from "./admin/admin";
import LocationService from "./location";
/**
* HTTP client for the Business Elements API.
... | Product-Foundry/business-elements-client-js | src/base.js | JavaScript | apache-2.0 | 8,012 |
---
path: "/docs/sessions/raw-session"
title: Raw Routing Session
---
#Raw Routing Session
HTTP is a stateless connection protocol, that is the server can't distinguish one request from another. Sessions and cookies provide HTTP with state, they allow the server to know who is making a specific request and respond ac... | IBM-Swift/kitura.io | content/docs/guides/sessions/raw-sessions.md | Markdown | apache-2.0 | 9,700 |
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Copyright 2012 Nebula, Inc.
# Copyright 2012 OpenStack LLC
#
# Licensed under the Apache License, Version 2.0 (... | 1ukash/horizon | horizon/dashboards/project/images_and_snapshots/views.py | Python | apache-2.0 | 3,222 |
# Senecio longeligulatus H.Lév. & Vaniot SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Tephroseris flammea/ Syn. Senecio longeligulatus/README.md | Markdown | apache-2.0 | 196 |
package org.gridkit.util.formating;
import static org.assertj.core.api.Assertions.assertThat;
import java.text.DecimalFormat;
import java.util.TimeZone;
import org.junit.Test;
public class SimpleNumberFormatterTest {
private static char localeDecimalSeparator = ((DecimalFormat)DecimalFormat.getInstance()).getD... | aragozin/jvm-tools | sjk-core/src/test/java/org/gridkit/util/formating/SimpleNumberFormatterTest.java | Java | apache-2.0 | 1,691 |
<?php
/**
* Transfers a result set from the last query
*
* @phpstub
*
* @param resource $link
*
* @return resource
*/
function maxdb_store_result($link)
{
}
/**
* Transfers a result set from the last query
*
* @phpstub
*
* @return object
*/
function maxdb_store_result()
{
} | schmittjoh/php-stubs | res/php/maxdb/functions/maxdb-store-result.php | PHP | apache-2.0 | 290 |
#include <QThread>
#include "Worker.h"
#include "services/ftp/FtpConnection.h"
Worker::Worker(QObject *parent) :
QObject(parent)
{
}
//void Worker::run()
//{
// qDebug() << "Thread running";
// exec();
//}
void Worker::addConnection(IncomingConnection incomingConnection)
{
// connectionQueue.enqueue(connection);... | relbit/bitoxy | src/Worker.cpp | C++ | apache-2.0 | 2,092 |
/*
* 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... | brwe/es-token-plugin | src/main/java/org/elasticsearch/action/allterms/AllTermsAction.java | Java | apache-2.0 | 1,500 |
package com.gscopetech.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.*;
import javax.persistence.criteria.CriteriaBuilder;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.Jso... | iyaoqiujie/airsim | src/main/java/com/gscopetech/entity/WiFiDevice.java | Java | apache-2.0 | 1,625 |
// Code generated by "stringer -type=Token tokens.go"; DO NOT EDIT.
package traversal
import "strconv"
const _Token_name = "ILLEGALEOFWSIDENTCOMMADOTLEFTPARENTHESISRIGHTPARENTHESISSTRINGNUMBERGVEHASHASKEYHASNOTHASEITHEROUTINOUTVINVBOTHVOUTEINEBOTHEDEDUPWITHINWITHOUTMETADATASHORTESTPATHTONENEEBOTHCONTEXTREGEXLTGTLTEG... | skydive-project/skydive | graffiti/graph/traversal/token_string.go | GO | apache-2.0 | 937 |
module ConlangWordGenerator
VERSION = '0.3.1'
end | fluorine/ConlangWordGenerator | lib/conlang/version.rb | Ruby | apache-2.0 | 51 |
/*
* Copyright (c) 2008-2016, Hazelcast, 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 ... | lmjacksoniii/hazelcast | hazelcast/src/main/java/com/hazelcast/spi/impl/operationservice/impl/InvocationRegistry.java | Java | apache-2.0 | 7,381 |
package name.kuznetsov.andrei.scoresightreading.views;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.util.AttributeSet;
import android.view.View;
import java.util.LinkedList;
import java.util.L... | andrei-kuznetsov/notes-sight-reading-trainer | app/src/main/java/name/kuznetsov/andrei/scoresightreading/views/StaveView.java | Java | apache-2.0 | 11,264 |
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>AutoAdapters.addLabelClass - biomedicus-uima</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">biomedicus-uima</a> / <a href="../index.html">edu.umn.biomedicus.uima.labels</a> / <a href="index.html">AutoAda... | NLPIE/BioMedICUS | doc/dokka/biomedicus-uima/edu.umn.biomedicus.uima.labels/-auto-adapters/add-label-class.html | HTML | apache-2.0 | 1,296 |
/*
* #%L
* omakase
* %%
* Copyright (C) 2015 Project Omakase LLC
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | projectomakase/omakase | omakase/src/main/java/org/projectomakase/omakase/content/rest/v1/model/VariantModel.java | Java | apache-2.0 | 1,718 |
# Copyright (c) 2015 Dell 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 a... | Akrog/cinder | cinder/tests/test_dellscapi.py | Python | apache-2.0 | 155,946 |
import click
@click.command('config', short_help='Display remote client config')
@click.pass_obj
def cli(obj):
"""Display client config downloaded from API server."""
for k, v in obj.items():
if isinstance(v, list):
v = ', '.join(v)
click.echo(f'{k:20}: {v}')
| alerta/python-alerta-client | alertaclient/commands/cmd_config.py | Python | apache-2.0 | 298 |
<?php
/**
* Admin user suggestion page
*
* @see, controllers/admin/user_suggestion.php
*/
?>
<script type="text/javascript">
jQuery(function($){
$(document).ready(function(){
});
});
</script>
<?php /*
<div id="right_panel">
<h2><?php echo $page_title;?></h2>
<div id="accountlist">
<div... | mrinsss/Full-Repo | guru/application/views/admin/user_suggestion/index.tpl.php | PHP | apache-2.0 | 2,121 |
# Xerotes juncea F.Muell. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Asparagaceae/Lomandra/Lomandra juncea/ Syn. Xerotes juncea/README.md | Markdown | apache-2.0 | 180 |
# Nepenthes phyllamphora var. macrantha Hook.f. VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Nepenthaceae/Nepenthes/Nepenthes mirabilis/Nepenthes phyllamphora macrantha/README.md | Markdown | apache-2.0 | 195 |
# Diaporthe fuegiana Speg. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Boletín de la Academia Nacional de Ciencias de Córdoba 11(2): 213 (1888)
#### Original name
Diaporthe fuegiana Speg.
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Sordariomycetes/Diaporthales/Diaporthaceae/Diaporthe/Diaporthe fuegiana/README.md | Markdown | apache-2.0 | 247 |
# Indigofera longibractea J.M.Black SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Indigofera/Indigofera longibractea/README.md | Markdown | apache-2.0 | 183 |
# Delitschia spiralirima Jeng, Luck-Allen & Cain SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Can. J. Bot. 55(4): 388 (1977)
#### Original name
Delitschia spiralirima Jeng, Luck-Allen & Cain
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Dothideomycetes/Pleosporales/Delitschiaceae/Delitschia/Delitschia spiralirima/README.md | Markdown | apache-2.0 | 247 |
# Rubus floribundus var. nimbatus J.F.Macbr. VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Rubus/Rubus floribundus/Rubus floribundus nimbatus/README.md | Markdown | apache-2.0 | 192 |
# Potentilla jacquemontii (Franch.) Soják SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Potentilla/Potentilla jacquemontii/README.md | Markdown | apache-2.0 | 190 |
package ca.waterloo.dsg.graphflow.query.parser;
import org.antlr.v4.runtime.BaseErrorListener;
import org.antlr.v4.runtime.Parser;
import org.antlr.v4.runtime.RecognitionException;
import org.antlr.v4.runtime.Recognizer;
import org.antlr.v4.runtime.atn.ATNConfigSet;
import org.antlr.v4.runtime.dfa.DFA;
import org.antl... | graphflow/graphflow | src/main/java/ca/waterloo/dsg/graphflow/query/parser/ErrorListener.java | Java | apache-2.0 | 1,951 |
/*
* Copyright 2016-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 app... | griffon/griffon | tutorials/reactive/src/main/java/org/example/api/Links.java | Java | apache-2.0 | 3,255 |
/**
* @require common:widget/jquery/jqueryEx.js
* @require common:widget/utils/underscore.js
* @require common:widget/dhtmlxSuite/dhtmlxEx.js
*/
$(window).resize(function() {
GPW.layout.mainLayout.setSizes();
});
var GPC = {
url:{
refreshGridUrl:GLOBAL.S.URL+GLOBAL.P.MODULES+"/a/resLoadRole?_value="+GLOBAL.... | LittleLazyCat/TXEYXXK | 2017workspace/go-public/go-show/src/main/webapp/WEB-INF/core/scripts/resourceRole.js | JavaScript | apache-2.0 | 5,019 |
// Copyright (c) 2017 Cisco 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 applicabl... | milanlenco/vpp-1 | vendor/github.com/ligato/vpp-agent/plugins/vppv2/l2plugin/vppcalls/l2fib_vppcalls.go | GO | apache-2.0 | 2,231 |
# DemoTiles
A playground for tile based UI designs
## Animated responsive design
Built following seeing a website with an animated responsive design. Created using Isotope, MetroUI and CSS transforms for the hover tilt effect.
| jonathanody/DemoTiles | README.md | Markdown | apache-2.0 | 229 |
/*
Copyright 2017 Vector Creations Ltd.
Copyright 2017, 2018 New Vector Ltd.
Copyright 2019 The Matrix.org Foundation C.I.C.
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... | matrix-org/matrix-react-sdk | src/components/structures/GroupView.js | JavaScript | apache-2.0 | 56,656 |
/*
* 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 ... | shakamunyi/beam | sdks/java/core/src/test/java/com/google/cloud/dataflow/sdk/transforms/DoFnTesterTest.java | Java | apache-2.0 | 8,727 |
/*
* Copyright (C) 2014 ZYYX, 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... | dynamicapp/dynamicapp | lib/iOS/DynamicApp/Classes/random.c | C | apache-2.0 | 863 |
package org.wso2.carbon.apimgt.rest.api.gateway.v1.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import javax.validation.constraints.*;
import io.swagger.annotations.*;
import java.util.Objects;
import javax.xml.bind.annotation.*;
import org.wso2.car... | jaadds/carbon-apimgt | components/apimgt/org.wso2.carbon.apimgt.rest.api.gateway.v1/src/gen/java/org/wso2/carbon/apimgt/rest/api/gateway/v1/dto/ErrorListItemDTO.java | Java | apache-2.0 | 2,344 |
/* mbed Microcontroller Library
* Copyright (c) 2017 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | netzimme/mbed-os | targets/TARGET_NXP/TARGET_LPC176X/device/flash_api.c | C | apache-2.0 | 2,468 |
package ga.thesis.gui.table.model;
import ga.thesis.hibernate.entities.AbsenceMatrix;
import ga.thesis.hibernate.entities.Group;
import ga.thesis.hibernate.entities.GroupCode;
import ga.thesis.hibernate.entities.Teacher;
import ga.thesis.hibernate.service.CRUDService;
import ga.thesis.hibernate.service.PersistenceConf... | skylady/GAThesis2 | src/main/java/ga/thesis/gui/table/model/TeacherTableModel.java | Java | apache-2.0 | 1,794 |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.ui.toolkit.impl.swt.view.sync;
import net.sf.mmm.ui.toolkit.api.view.UiNode;
import net.sf.mmm.ui.toolkit.impl.swt.UiFactorySwt;
import org.eclipse.swt.widgets.Listener;
... | m-m-m/multimedia | mmm-uit/mmm-uit-impl-swt/src/main/java/net/sf/mmm/ui/toolkit/impl/swt/view/sync/AbstractSyncWidgetAccess.java | Java | apache-2.0 | 4,825 |
// SAX default implementation for Locator.
// http://www.saxproject.org
// No warranty; no copyright -- use this as you will.
// $Id: LocatorImpl.java,v 1.6 2002/01/30 20:52:27 dbrownell Exp $
namespace Sax.Helpers
{
/// <summary>
/// Provide an optional convenience implementation of <see cref="ILocator"/>.
... | laimis/lucenenet | src/Lucene.Net.Benchmark/Support/Sax/Helpers/LocatorImpl.cs | C# | apache-2.0 | 4,360 |
package tangyong.javaee.understadingcdi.basic06;
import org.jboss.weld.environment.se.Weld;
import org.jboss.weld.environment.se.WeldContainer;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
public class HotelTest {
protected static Wel... | tangyong/JavaEETraining | UnderstandingCDI/basic/src/test/java/tangyong/javaee/understadingcdi/basic06/HotelTest.java | Java | apache-2.0 | 989 |
/*
* Copyright 2012 Hai Bison
*
* 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 ... | sunilgautam/FileChooserActivity | src/group/pals/android/lib/ui/filechooser/utils/DataModelComparator.java | Java | apache-2.0 | 1,549 |
'use strict'
var crypto = require('crypto');
var Authenticator = require('./authenticator.js');
/**
* A class implementing http digest authentication.
*
* @constructs Digest
* @param {ReplayDetector} detector - A replay detector registering hashes.
* @param {Function} identify - A function performing the passwo... | tdecaluwe/http-authentication | digest.js | JavaScript | apache-2.0 | 2,263 |
import { asUrlQueryString } from './query-parameters-v2';
describe('asUrlQueryString', () => {
it('should create a empty query', () => {
expect(asUrlQueryString({})).toBe('');
});
it('should create a query string with one argument', () => {
expect(asUrlQueryString({ foo: 'bar' })).toBe('?foo=bar');
})... | Taskana/taskana | web/src/app/shared/util/query-parameters-v2.spec.ts | TypeScript | apache-2.0 | 920 |
/*
* Copyright (C) 2015-2022 Emanuel Moecklin
*
* 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... | 1gravity/Android-RTEditor | RTEditor/src/main/java/com/onegravity/rteditor/utils/Helper.java | Java | apache-2.0 | 7,834 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v8/errors/time_zone_error.proto
package com.google.ads.googleads.v8.errors;
public interface TimeZoneErrorEnumOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v8.errors.TimeZoneErrorEnum... | googleads/google-ads-java | google-ads-stubs-v8/src/main/java/com/google/ads/googleads/v8/errors/TimeZoneErrorEnumOrBuilder.java | Java | apache-2.0 | 367 |
/*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | GoogleCloudPlatform/java-docs-samples | spanner/changestreams/src/main/java/com/example/spanner/changestreams/model/ChangeStreamRecord.java | Java | apache-2.0 | 891 |
var Utils = {
_parseUrl: function (url) {
var query_string = {};
var url = url.substring(url.lastIndexOf("?") + 1).split("&")[0];
var vars = url.split("&");
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
// If first entry with this name... | lopesdasilva/trakt-it | src/services/Utils.js | JavaScript | apache-2.0 | 1,090 |
/*
* Copyright (c), Recep Aslantas.
*
* MIT License (MIT), http://opensource.org/licenses/MIT
* Full license can be found in the LICENSE file
*/
/*!
* @brief SIMD like functions
*/
/*
Functions:
CGLM_INLINE void glm_vec3_broadcast(float val, vec3 d);
CGLM_INLINE void glm_vec3_fill(vec3 v, float val);
... | rohdesamuel/cubez | deps/include/cglm/vec3-ext.h | C | apache-2.0 | 5,466 |
#!/Users/vishnu/anaconda/bin/python
import random
import sys
"""class schema:
files=[]
def __init__(self):
pass
def addFile(self,file):
self.files.append(file)
def setForeignKey(self,primaryFile,theOtherOne):
pass"""
class JoinReq:
def __init__(self,R,S,m,n,fing):
self.cost=0
self.first_req=True... | vishnuprathish/constrained-data-generator | fingered_temp.py | Python | apache-2.0 | 10,459 |
/*
* Copyright 2012-2020 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... | planet42/Laika | core/shared/src/main/scala/laika/parse/css/CSSParsers.scala | Scala | apache-2.0 | 4,875 |
// 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 "content/shell/webkit_test_runner.h"
#include <algorithm>
#include <clocale>
#include <cmath>
#include "base/base64.h"
#include "base/debug... | plxaye/chromium | src/content/shell/webkit_test_runner.cc | C++ | apache-2.0 | 24,003 |
# UPGRADE FROM X to 4.1.9
When using this bundle with Symfony 4.3 you should configure the templating engine:
```yaml
framework:
templating:
engines:
- twig
```
# UPGRADE FROM 3.X to 4.X
This release makes error reporting more specific. This release changed the API of the
`ReceivedAut... | SURFnet/Stepup-saml-bundle | UPGRADING.md | Markdown | apache-2.0 | 3,252 |
/*
* Copyright (C) 2018 the original author or authors.
*
* This file is part of jBB Application Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.jbb.e2e.serenity.web.loggi... | jbb-project/jbb | jbb-web-app-e2e-tests/src/test/java/org/jbb/e2e/serenity/web/logging/LoggingSettingsSteps.java | Java | apache-2.0 | 5,031 |
# Inocephalus rhombisporus (Kühner & Boursier) Largent, 1994 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Entolomatoid fungi of the Western United States and Alaska (Eureka) 388 (1994)
#### Original name
Leptonia rhombispora Kühner & Boursier, 1929
### Rem... | mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Entolomataceae/Entoloma/Entoloma rhombisporum/ Syn. Inocephalus rhombisporus/README.md | Markdown | apache-2.0 | 331 |
/**
* Copyright 2014 Kosta Korenkov
*
* 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 ... | jife94/bitcoinj | core/src/main/java/org/bitcoinj/wallet/RedeemData.java | Java | apache-2.0 | 2,503 |
# Contributing Guidelines
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional
documentation, we greatly value feedback and contributions from our community.
Please read through this document before submitting any issues or pull requests to ens... | amzn/login-and-pay-with-amazon-sdk-samples | CONTRIBUTING.md | Markdown | apache-2.0 | 3,603 |
package com.github.aalleexxeeii.hocon.sbt
import java.io.{FileOutputStream, OutputStream, PrintStream, PrintWriter}
import com.github.aalleexxeeii.hocon.sbt.opt.Common.{CommentMode, _}
import com.github.aalleexxeeii.hocon.sbt.opt.{Common, Defaults, Purify}
import com.typesafe.config._
import sbt.Keys._
import sbt.cla... | aalleexxeeii/sbt-hocon | project/plugin.scala | Scala | apache-2.0 | 7,133 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | dcarda/aba.route.validator | target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_15_testAbaNumberCheck_32603_good_hfk.html | HTML | apache-2.0 | 9,179 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | dcarda/aba.route.validator | target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_17b_testAbaNumberCheck_37277_good_7p9.html | HTML | apache-2.0 | 9,183 |
/*
* 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... | freeVM/freeVM | enhanced/archive/classlib/java6/modules/awt/src/main/native/gl/windows/GDIBlitter.h | C | apache-2.0 | 1,506 |
using System;
using System.Collections.Generic;
namespace TheUnacademicPortfolio.ViewModels {
public class StudentViewModel {
public Guid Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string MothersLastName { get; set; }
... | pichardoJ/TheUnacademicPortfolio | src/TheUnacademicPortfolio/ViewModels/StudentViewModel.cs | C# | apache-2.0 | 569 |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2011 by ListAndPicker, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
*/
#... | TShelton41/ListAndPicker | build/iphone/Classes/TIDOMCharacterDataProxy.h | C | apache-2.0 | 756 |
namespace Data
{
using System;
using System.Collections.Generic;
using System.Data.Entity;
using Data.Repositories;
using Model;
public class BullsAndCowsData : IBullsAndCowsData
{
private DbContext context;
private IDictionary<Type, object> repositories;
public B... | iliantrifonov/TelerikAcademy | Web services and Cloud/ExamWebApi/Data/BullsAndCowsData.cs | C# | apache-2.0 | 1,793 |
require 'aws-sigv4'
module Aws
module EC2
module Plugins
# This plugin auto populates the following request params for the
# CopySnapshot API:
#
# * `:destination_region`
# * `:presigned_url`
#
# These params are required by EC2 when copying an encrypted snapshot.
... | llooker/aws-sdk-ruby | gems/aws-sdk-ec2/lib/aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb | Ruby | apache-2.0 | 1,736 |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | jjeb/kettle-trunk | engine/src/org/pentaho/di/trans/steps/parallelgzipcsv/ParGzipCsvInput.java | Java | apache-2.0 | 23,573 |
/*
* @(#)dds_cpp_flowcontroller.h generated by: makeheader Mon Dec 3 23:08:33 2007
*
* built from: flowcontroller.ifcxx
*/
#ifndef dds_cpp_flowcontroller_h
#define dds_cpp_flowcontroller_h
#ifndef dds_cpp_infrastructure_h
#include "dds_cpp/dds_cpp_infrastructure.h"
#endif
#ifndef dds_c_flowcont... | OpenVnmrJ/ovjTools | NDDS/ndds.4.2e/include/ndds/dds_cpp/dds_cpp_flowcontroller.h | C | apache-2.0 | 1,479 |
<html><!-- Created using the cpp_pretty_printer from the dlib C++ library. See http://dlib.net for updates. --><head><title>dlib C++ Library - dir_nav_kernel_1.cpp</title></head><body bgcolor='white'><pre>
<font color='#009900'>// Copyright (C) 2003 Davis E. King (davis@dlib.net)
</font><font color='#009900'>// Lic... | Nekel-Seyew/Complex-3D-Vector-Fields | dlib-18.18/docs/dlib/dir_nav/dir_nav_kernel_1.cpp.html | HTML | apache-2.0 | 24,472 |
/*
* 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 ... | arina-ielchiieva/drill | exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/StreamingAggTemplate.java | Java | apache-2.0 | 20,427 |
//-----------------------------------------------------------------------
// <copyright file="ImageApi.cs" company="Google">
//
// Copyright 2018 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// ... | googlesamples/arcore-lightboard | Assets/GoogleARCore/SDK/Scripts/Api/ImageApi.cs | C# | apache-2.0 | 4,271 |
// Copyright 2016 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... | meteorcloudy/bazel | src/main/java/com/google/devtools/build/skyframe/SkyFunctionEnvironment.java | Java | apache-2.0 | 42,587 |
export class TopRequest {
constructor(
public By: string,
public Class: number,
public Source: number) {}
}
| 4WallpapersNinja/FourWallpapers | FourWallpapers/wwwroot_source/app/core/models/Top.ts | TypeScript | apache-2.0 | 139 |
<!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_67) on Mon Mar 23 19:49:38 CET 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>org.jboss.netty.han... | anmei/netty-3.10.1.Final | doc/api/org/jboss/netty/handler/logging/package-frame.html | HTML | apache-2.0 | 991 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Inventory
{
public class Cheat : MonoBehaviour
{
private InventoryModel model;
private InventoryController controller;
public enum Inventory
{
Ship,
Base
}
... | CalinoursIncorporated/8INF830 | Assets/Scripts/Cheat.cs | C# | apache-2.0 | 1,835 |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.core.status;
import com.yahoo.vespa.clustercontroller.core.status.statuspage.StatusPageResponse;
import com.yahoo.vespa.clustercontroller.core.status.statuspage.StatusPageS... | vespa-engine/vespa | clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/status/StatusHandler.java | Java | apache-2.0 | 5,611 |
package ru.job4j.dal.dao.queries; | Rmelev/rshmelev | music_store/src/main/java/ru/job4j/dal/dao/queries/package-info.java | Java | apache-2.0 | 33 |
# AUTOGENERATED FILE
FROM balenalib/artik5-ubuntu:disco-build
ENV NODE_VERSION 10.23.1
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.poo... | nghiant2710/base-images | balena-base-images/node/artik5/ubuntu/disco/10.23.1/build/Dockerfile | Dockerfile | apache-2.0 | 2,757 |
/* Copyright 2014-2016 Maurice Laveaux
*
* 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... | mlaveaux/OpenGLRenderer | lib/src/opengl/OpenglContext.cpp | C++ | apache-2.0 | 4,888 |
package net.steel.circuit;
public class CircuitBreaker {
public enum CircuitState {
CLOSED,
HALF_OPEN,
OPEN;
}
} | Mr-Steel/vertx_loadtest | src/main/java/net.steel.circuit/CircuitBreaker.java | Java | apache-2.0 | 145 |
/*
* 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 ... | agentmilindu/stratos | components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/Monitor.java | Java | apache-2.0 | 5,445 |
var chai = require('chai');
var expect = chai.expect;
var sinonChai = require('sinon-chai');
var _ = require("underscore");
var syncClient = require("../../src/feedhenry").sync;
chai.use(sinonChai);
//work around phantomjs's issue: https://github.com/ariya/phantomjs/issues/10647
var fakeNavigator = {};
for (var i i... | feedhenry/fh-js-sdk | test/tests/test_sync.js | JavaScript | apache-2.0 | 2,821 |
package scope
import (
"fmt"
"net/url"
"github.com/docker/infrakit/pkg/discovery"
"github.com/docker/infrakit/pkg/discovery/local"
"github.com/docker/infrakit/pkg/plugin"
"github.com/docker/infrakit/pkg/run/scope"
"github.com/docker/infrakit/pkg/spi/controller"
"github.com/docker/infrakit/pkg/spi/flavor"
"gi... | chungers/infrakit | pkg/testing/scope/scope.go | GO | apache-2.0 | 4,874 |
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(MvcTestClient.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(MvcTestClient.App_Start.NinjectWebCommon), "Stop")]
namespace MvcTestClient.App_Start
{
using System;
using System.Web;
... | iappert/Ninject.Extensions.AssemblyVersionInformation | source/MvcTestClient/App_Start/NinjectWebCommon.cs | C# | apache-2.0 | 2,384 |
package com.olvind
sealed trait OutFile
case class PrimaryOutFile(filename: CompName, content: String, secondaries: Seq[SecondaryOutFile])
extends OutFile
case class SecondaryOutFile(filename: String, content: String) extends OutFile
object Printer {
case class FieldStats(maxFieldNameLen: Int, maxTypeNameLen: I... | aparo/scalajs-react-components | gen/src/main/scala/com/olvind/printers.scala | Scala | apache-2.0 | 6,481 |
/*******************************************************************************
*
* Copyright FUJITSU LIMITED 2017
*
* Author: Aleh Khomich ... | opetrovski/development | oscm-portal/javasrc/org/oscm/ui/converter/CurrencyConverter.java | Java | apache-2.0 | 3,800 |
/*
* 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 ... | code4wt/nutch-learning | src/java/org/apache/nutch/hostdb/UpdateHostDb.java | Java | apache-2.0 | 9,742 |
package http
import (
"strconv"
"go-common/app/service/main/archive/api"
"go-common/library/ecode"
bm "go-common/library/net/http/blademaster"
)
func pageList(c *bm.Context) {
var (
aid int64
err error
pages []*api.Page
)
aidStr := c.Request.Form.Get("aid")
if aid, err = strconv.ParseInt(aidStr, 10... | LQJJ/demo | 126-go-common-master/app/interface/main/player/http/archive.go | GO | apache-2.0 | 1,235 |
/*
* Copyright 2015 RichRelevance
*
* 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... | alissapajer/scalaz-netty | src/test/scala/scalaz/netty/NettySpecs.scala | Scala | apache-2.0 | 9,952 |
#define alpha( i,j ) A[ (j)*ldA + (i) ] // map alpha( i,j ) to array A
#define beta( i,j ) B[ (j)*ldB + (i) ] // map beta( i,j ) to array B
#define gamma( i,j ) C[ (j)*ldC + (i) ] // map gamma( i,j ) to array C
#include<immintrin.h>
void Gemm_MRxNRKernel( int k, double *A, int ldA, double *B, int ldB,
double... | xunilrj/sandbox | courses/UTAustinX UT.PHP.16.01x/Assignments/Week2/C/Gemm_8x6Kernel.c | C | apache-2.0 | 4,305 |
LineAnnotate = Rickshaw.Class.create({
initialize: function(args) {
var graph = this.graph = args.graph;
var element = this.element = document.createElement('div');
element.className = 'line_annotation_parent';
this.visible = true;
graph.element.appendChild(element);
this.lastEvent = null;
... | arkadius/micro-burn | src/main/webapp/js/LineAnnotate.js | JavaScript | apache-2.0 | 4,653 |
# -*- coding: utf-8 -*-
require 'webrick'
require 'date'
# サーバ設定
config = {
:Port => 8099,
:DocumentRoot => '.',
}
# WebrickのHTTP Serverクラスのサーバインスタンス
server = WEBrick::HTTPServer.new(config)
server.mount_proc("/testprogram") {|req, res|
# アクセスした日付をレスポンスの内容に追加
res.body << "<html><body><p>アクセス日時#{Date.today.to_s}<... | hiroharu8864/ruby_script | webrick.rb | Ruby | apache-2.0 | 789 |
"""
Find the closest DMC colors for a hex color.
Usage: python closest_colors.py <hexcolor>
"""
import sys
from .. import color
from .. import dmc_colors
def main():
if len(sys.argv) < 2:
sys.exit(__doc__)
hex_color = sys.argv[1]
rgb_color = color.RGBColorFromHexString(hex_color)
print 'Given RGB ... | nanaze/pystitch | pystitch/examples/closest_colors.py | Python | apache-2.0 | 562 |
/*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 Foundatio... | HuangLS/neo4j | community/kernel/src/main/java/org/neo4j/unsafe/impl/batchimport/executor/DynamicTaskExecutor.java | Java | apache-2.0 | 7,724 |
# bootstrap-practice
Trying to layout Bootstrap from Whiteboard example
| CreativeCorrie/bootstrap-practice | README.md | Markdown | apache-2.0 | 72 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
<title>Servlet con Sesion</title>
</head>
<body>
<div style="text-align:center;font-family:Arial;color:Blue;font-size:large;">
<b>Servlet que cuenta las conex... | Danmarjim/mwm-2014-2015 | Mod2/JEEBasico/CuentaConexionesConSesion/public_html/Formulario.html | HTML | apache-2.0 | 1,304 |
Function Get-TargetResource {
Param(
[Parameter(Mandatory=$True)]
[ValidateNotNullOrEmpty()]
[string]$ZoneName,
[Parameter(Mandatory=$True)]
[ValidateNotNullOrEmpty()]
[string[]]$MasterServers,
[Parameter(Mandatory=$True)]
[ValidateSet("No... | ConclusionMC/puppetlabs-dsc | lib/puppet_x/dsc_resources/cDns/DSCResources/cDns_ConditionalForwarder2/cDns_ConditionalForwarder2.psm1 | PowerShell | apache-2.0 | 4,650 |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | brat000012001/keycloak | testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/ResetPasswordTest.java | Java | apache-2.0 | 44,355 |
package oauthserver
import (
"io/ioutil"
"os"
"reflect"
"testing"
_ "github.com/openshift/origin/pkg/api/install"
"github.com/openshift/origin/pkg/cmd/server/apis/config"
"github.com/openshift/origin/pkg/cmd/server/apis/config/latest"
)
func TestGetDefaultSessionSecrets(t *testing.T) {
secrets, err := getSes... | sg00dwin/origin | pkg/oauthserver/oauthserver/oauth_apiserver_test.go | GO | apache-2.0 | 2,401 |
<?php
Route::get('settings', function () {
return View::returnView('settings');
});
Route::post('/settings/changePassword', function () {
Authentication::newPassword($_POST["current"], $_POST["repeat"], $_POST["new"]);
return Router::redirect('settings');
});
| sachaw/framework | controllers/settings.php | PHP | apache-2.0 | 273 |
# Dortmanna pinifolia (L.) Kuntze SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Campanulaceae/Lobelia/Lobelia pinifolia/ Syn. Dortmanna pinifolia/README.md | Markdown | apache-2.0 | 188 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.