code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
// Demo wrapper for the PAM module. This is part of the Google Authenticator
// project.
//
// Copyright 2011 Google Inc.
// Author: Markus Gutschke
//
// 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 L... | google/google-authenticator-libpam | examples/demo.c | C | apache-2.0 | 4,991 |
# kvmmgr
| phoenixsbk/kvmmgr | README.md | Markdown | apache-2.0 | 9 |
# Spiraea aruncus var. aruncus VARIETY
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Rosales/Rosaceae/Aruncus/Aruncus dioicus/Spiraea aruncus aruncus/README.md | Markdown | apache-2.0 | 170 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | stweil/tesseract-ocr.github.io | 4.0.0-beta.1/a00878.html | HTML | apache-2.0 | 5,430 |
module.exports = function(app, express) {
app.configure(function() {
app.use(express.logger());
});
app.configure('development', function() {
app.use(express.errorHandler({
dumpExceptions: true,
showStack: true
}));
});
app.configure('production', f... | Ken-Richard/tincan_nodejs | config/environment.js | JavaScript | apache-2.0 | 385 |
package com.ahars.domain.util;
import java.sql.Types;
import org.hibernate.dialect.H2Dialect;
public class FixedH2Dialect extends H2Dialect {
public FixedH2Dialect() {
super();
registerColumnType( Types.FLOAT, "real" );
}
}
| ahars/dataviz-jhipster | src/main/java/com/ahars/domain/util/FixedH2Dialect.java | Java | apache-2.0 | 251 |
package org.hl7.fhir.instance.model;
import java.util.*;
import org.hl7.fhir.instance.utils.IWorkerContext;
import org.hl7.fhir.utilities.Utilities;
public class ExpressionNode {
public enum Kind {
Name, Function, Constant, Group
}
public static class SourceLocation {
private int line;
privat... | eug48/hapi-fhir | hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/ExpressionNode.java | Java | apache-2.0 | 17,778 |
// Copyright 2015 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.
package org.chromium.chrome.browser.password_manager;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface... | mogoweb/365browser | app/src/main/java/org/chromium/chrome/browser/password_manager/AccountChooserDialog.java | Java | apache-2.0 | 14,683 |
<!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 (1.8.0_151) on Wed Jun 10 13:52:48 MST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MimeMappingSupplier (BOM: ... | wildfly-swarm/wildfly-swarm-javadocs | 2.7.0.Final/apidocs/org/wildfly/swarm/config/undertow/servlet_container/MimeMappingSupplier.html | HTML | apache-2.0 | 9,692 |
<!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 (1.8.0_151) on Wed Jul 17 13:50:47 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.ee.securi... | wildfly-swarm/wildfly-swarm-javadocs | 2.5.0.Final/apidocs/org/wildfly/swarm/ee/security/detect/package-tree.html | HTML | apache-2.0 | 5,480 |
$(document).ready(function() {
PromotionGroup.init();
PromotionGroup.loadImage();
$('#add-new-promotion').on('click', function(){
PromotionGroup.addNew();
})
$('#update-promotion').on('click', function(){
PromotionGroup.update();
})
// date picker
$('#promotion-add-end-... | imtoantran/beleza | Views/spaCMS/promotion/js/spaCMS_promotion.js | JavaScript | apache-2.0 | 21,895 |
/*
* Copyright (C) 2010 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 app... | OrBin/SynClock-Android | src/orbin/deskclock/HandleApiCalls.java | Java | apache-2.0 | 21,891 |
package com.atom.empire.das.osite.auto.records;
import org.apache.empire.db.DBRecord;
import com.atom.empire.das.osite.auto.OSiteTable;
public abstract class OSiteTBO<T extends OSiteTable> extends DBRecord {
private static final long serialVersionUID = 1L;
public OSiteTBO(T table) {
super(table);
... | wuhongjun/atom-empire-demo | src/main/java/com/atom/empire/das/osite/auto/records/OSiteTBO.java | Java | apache-2.0 | 533 |
/* ************************************************************************
* Copyright 2013 Advanced Micro Devices, 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... | jslhs/clBLAS | src/library/blas/generic/common.c | C | apache-2.0 | 22,637 |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib 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 a... | stdlib-js/stdlib | lib/node_modules/@stdlib/random/base/erlang/lib/index.js | JavaScript | apache-2.0 | 1,304 |
/*******************************************************************************
* Copyright 2015 Maximilian Stark | Dakror <mail@dakror.de>
*
* 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... | Dakror/SpamWars | src/main/java/de/dakror/spamwars/net/packet/Packet01Disconnect.java | Java | apache-2.0 | 1,729 |
# Verbesina macrophylla S.F.Blake SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Asterales/Asteraceae/Verbesina macrophylla/README.md | Markdown | apache-2.0 | 181 |
# -*- coding: utf-8 -*-
# Copyright (c) 2015-2016 MIT Probabilistic Computing 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
# Unles... | probcomp/cgpm | src/crosscat/statedoc.py | Python | apache-2.0 | 8,646 |
package jsfunction.gwt.returns;
import jsfunction.gwt.JsFunction;
import com.google.gwt.core.client.JavaScriptObject;
/**
* This is the JavaScriptObject type returned from JsFunction.create(JsReturn).
* It can be passed as an argument to a JavaScript function, which then returns
* its results asynchronously by ca... | richkadel/jsfunction-gwt | jsfunction-gwt-main/src/main/java/jsfunction/gwt/returns/JsResultOrError.java | Java | apache-2.0 | 825 |
/*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... | gmrodrigues/crate | sql/src/test/java/io/crate/integrationtests/TransportSQLActionClassLifecycleTest.java | Java | apache-2.0 | 30,721 |
function qSc(){}
function sUc(){}
function W6d(){}
function Q6d(){}
function FV(b){b.c.Ze(JN(b.b.b))}
function jJ(b,c,d){return new sSc(b,c,d)}
function Gte(){kse.call(this,(gCe(),eCe))}
function kse(b){this.M=new Object;this.M[Ghf]=zqg;this.M[kRf]=b.b}
function sSc(b,c,d){fY.call(this,b,c);this.d=d;uld(this.j,263).Wc(... | yauritux/venice-legacy | Venice/Venice-Web/target/Venice-Web-1.0/Venice/deferredjs/AB044E8946F390304175332DF12BD630/38.cache.js | JavaScript | apache-2.0 | 2,880 |
package main
import (
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/cloudwatch"
"github.com/prometheus/client_golang/prometheus"
"time"
"regexp"
"strings"
)
func getLatestDatapoint(datapoints []*cloudwatch.Datapoint) *cloudwatch.Datapoint {
v... | Technofy/cloudwatch_exporter | aws.go | GO | apache-2.0 | 6,778 |
/*
* 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 | processing/src/main/java/org/apache/carbondata/processing/sort/sortdata/SingleThreadFinalSortFilesMerger.java | Java | apache-2.0 | 10,940 |
/*
* #%L
* asio integration
* %%
* Copyright (C) 2013 - 2015 Research Group Scientific Computing, University of Vienna
* %%
* 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
*
* h... | pyranja/asio | integration/src/main/java/at/ac/univie/isc/asio/matcher/SqlResultMatcher.java | Java | apache-2.0 | 2,993 |
/*
* Copyright 2011-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 "l... | dagnir/aws-sdk-java | aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/internal/AcceptJsonRequestHandler.java | Java | apache-2.0 | 1,404 |
package fr.utc.leapband.view;
import jade.gui.GuiEvent;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;
import java.beans.PropertyChangeEvent;
import java.io.File;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swi... | hukewei/leapband | src/fr/utc/leapband/view/InstrumentSelectView.java | Java | apache-2.0 | 2,477 |
/*
* Copyright 2017 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 ... | google/google-authenticator-libpam | src/util.c | C | apache-2.0 | 1,428 |
package com.meteorite.core.datasource;
import org.junit.Test;
public class DataSourceManagerTest {
@Test
public void testExp() throws Exception {
}
} | weijiancai/metaui | core/src/test/java/com/meteorite/core/datasource/DataSourceManagerTest.java | Java | apache-2.0 | 166 |
<!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 (1.8.0_151) on Mon Jan 15 08:36:51 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | wildfly-swarm/wildfly-swarm-javadocs | 2018.1.0/apidocs/org/wildfly/swarm/config/elytron/class-use/ServerSslContext.html | HTML | apache-2.0 | 15,423 |
//Copyright 2015 Sebastian Bingel
//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... | sebingel/sharpchievements | Achievements/AchievementConditionCompletedHandler.cs | C# | apache-2.0 | 938 |
# Dianthus impunctatus Jord. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Caryophyllales/Caryophyllaceae/Dianthus/Dianthus impunctatus/README.md | Markdown | apache-2.0 | 176 |
# AUTOGENERATED FILE
FROM balenalib/am571x-evm-debian:bookworm-build
ENV GO_VERSION 1.17.7
RUN mkdir -p /usr/local/go \
&& curl -SLO "http://resin-packages.s3.amazonaws.com/golang/v$GO_VERSION/go$GO_VERSION.linux-armv7hf.tar.gz" \
&& echo "e4f33e7e78f96024d30ff6bf8d2b86329fc04df1b411a8bd30a82dbe60f408ba go$GO_VERS... | resin-io-library/base-images | balena-base-images/golang/am571x-evm/debian/bookworm/1.17.7/build/Dockerfile | Dockerfile | apache-2.0 | 2,032 |
package org.vaadin.addons.producttour.button;
import com.vaadin.event.ConnectorEvent;
import org.vaadin.addons.producttour.provider.StepButtonProvider;
import org.vaadin.addons.producttour.provider.StepProvider;
import org.vaadin.addons.producttour.provider.TourProvider;
import org.vaadin.addons.producttour.st... | Juchar/product-tour | product-tour-addon/src/main/java/org/vaadin/addons/producttour/button/StepButtonEvent.java | Java | apache-2.0 | 1,731 |
/**
* MetricExpression.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package metricgrouping.webservicesapi.server.introscope.wily.com;
@SuppressWarnings("PMD")
public class MetricExpression implements java.io.Serializable {
private... | oshingc/Hygieia | collectors/performance/ca-apm-collector/src/main/java/metricgrouping/webservicesapi/server/introscope/wily/com/MetricExpression.java | Java | apache-2.0 | 3,790 |
<?php
/*
* @package s9e\TextFormatter
* @copyright Copyright (c) 2010-2019 The s9e Authors
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
namespace s9e\TextFormatter\Configurator\JavaScript;
use Exception;
abstract class Minifier
{
public $cacheDir;
public $keepGoing = \false;
... | drthomas21/WordPress_Tutorial | community_htdocs/vendor/s9e/text-formatter/src/Configurator/JavaScript/Minifier.php | PHP | apache-2.0 | 1,018 |
function removeFile() {
var sheet = SpreadsheetApp.getActiveSheet(); //Activate sheet
var tno = sheet.getRange('C1').getValues();
var file_name = 'Current Test Buffer-'+tno+'.zip';
var folder = DriveApp.getFolderById('0B5Sb6IOPwl52flVvMXg4dGJuVVdCYl9fNk1MNlBzazBMdk1IZ3BiWkJRR05TNXFZWUtYV3M');
var file1 = D... | arpan-chavda/my_google_scripts | file_cleaner.js | JavaScript | apache-2.0 | 736 |
using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DTcms.Common;
namespace DTcms.Web.admin.Transport
{
public partial class goods_edit : Web.UI.ManagePage
{
string defaultpassword = "0|0|0|0"; //默认显示密码
... | LutherW/MTMS | Source/DTcms.Web/admin/Transport/goods_edit.aspx.cs | C# | apache-2.0 | 4,623 |
# A command line tool to send XMPP IMs.
This github repository contains a tool that can be run to send IMs.
Usage:
```bash
java -jar xmpp-alert.jar alert npc-cred.yml -Ddw.user=alertedUser -Ddw.msg="Hello There"
```
Sample Config (`npc-cred.yml`):
```yml
talk:
host: talk.google.com
serviceName: gmail.com # The d... | nbauernfeind/xmpp-alert | readme.md | Markdown | apache-2.0 | 647 |
# Pertusaria aberrans Müll. Arg. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Bull. Herb. Boissier 1: 42 (1893)
#### Original name
Pertusaria aberrans Müll. Arg.
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Pertusariales/Pertusariaceae/Pertusaria/Pertusaria aberrans/README.md | Markdown | apache-2.0 | 245 |
/*
* 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 ... | adobe-research/spark-cluster-deployment | initial-deployment-puppet/modules/spark/files/spark/examples/src/main/scala/org/apache/spark/examples/HdfsTest.scala | Scala | apache-2.0 | 1,383 |
##card-showcase-headref
#### Card Showcase
Card Showcase is further customization of Card Image. It uses several different items.
* Begins with the Card List component, which is similar to our List Avatar.
* Make use of Left, Body and Right components to align the content of your Card header.
* To mixup Image with oth... | GeekyAnts/native-base-docs | _book/docs/components/card/CardShowcase.md | Markdown | apache-2.0 | 4,091 |
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("Ta... | taliesins/talifun-web | src/Talifun.Crusher.Tests/Properties/AssemblyInfo.cs | C# | apache-2.0 | 1,418 |
<!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 (1.8.0_151) on Tue Dec 12 12:37:10 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WebservicesSupplier (BOM: ... | wildfly-swarm/wildfly-swarm-javadocs | 2012.12.0/apidocs/org/wildfly/swarm/config/WebservicesSupplier.html | HTML | apache-2.0 | 8,971 |
#include "test_helper_library.h"
void euler2quat(double roll, double pitch, double yaw, double* q) {
// Compute quaternion
Eigen::Quaterniond q_ = Eigen::AngleAxisd(yaw, Eigen::Vector3d::UnitZ()) *
Eigen::AngleAxisd(pitch, Eigen::Vector3d::UnitY()) *
Eigen::Ang... | ethz-asl/ros_vrpn_client | src/test/library/test_helper_library.cpp | C++ | apache-2.0 | 2,913 |
/*
* Copyright (c) 2014 DataTorrent, 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... | DataTorrent/malhar-angular-dashboard | src/components/directives/dashboard/dashboard.js | JavaScript | apache-2.0 | 10,601 |
package com.gentics.mesh.core.endpoint.admin;
import java.util.concurrent.TimeUnit;
import javax.inject.Inject;
import com.gentics.mesh.cli.BootstrapInitializer;
import com.gentics.mesh.context.InternalActionContext;
import com.gentics.mesh.core.rest.common.GenericMessageResponse;
import io.netty.handler.codec.http... | gentics/mesh | core/src/main/java/com/gentics/mesh/core/endpoint/admin/ShutdownHandler.java | Java | apache-2.0 | 1,369 |
---
datafolder: engine-cli
datafile: docker_image_save
title: docker image save
redirect_from:
- /edge/engine/reference/commandline/image_save/
---
<!--
Sorry, but the contents of this page are automatically generated from
Docker's source code. If you want to suggest a change to the text that appears
here, you'll ne... | londoncalling/docker.github.io | engine/reference/commandline/image_save.md | Markdown | apache-2.0 | 473 |
package com.shareyourproxy.api.domain.model;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import com.shareyourproxy.api.domain.factory.AutoValueClass;
import java.util.HashMap;
import java.util.HashSet;
import auto.parcel.AutoParcel;
import static com.shareyourproxy.util.ObjectUtils.bu... | ProxyApp/Proxy | Application/src/main/java/com/shareyourproxy/api/domain/model/User.java | Java | apache-2.0 | 5,970 |
# Vitis amurensis var. yanshanensis D.Z.Lu & H.P.Liang VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
J. Beijing Forest. Univ. 15:134. 1993
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Vitales/Vitaceae/Vitis/Vitis amurensis/Vitis amurensis yanshanensis/README.md | Markdown | apache-2.0 | 235 |
package com.vaadin.tests.components.tree;
import com.vaadin.tests.components.TestBase;
import com.vaadin.v7.ui.Tree;
@SuppressWarnings("serial")
public class PreselectedTreeVisible extends TestBase {
@Override
protected void setup() {
String itemId1 = "Item 1";
String itemId2 = "Item 2";
... | Legioth/vaadin | uitest/src/main/java/com/vaadin/tests/components/tree/PreselectedTreeVisible.java | Java | apache-2.0 | 773 |
package ru.job4j.synchronize;
import net.jcip.annotations.GuardedBy;
import net.jcip.annotations.ThreadSafe;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Хранилище User.
*/
@ThreadSafe
public class UserStorage {
/**
* Карта для хранения User.
... | alexeremeev/aeremeev | chapter_007/src/main/java/ru/job4j/synchronize/UserStorage.java | Java | apache-2.0 | 2,810 |
<script type="text/ng-template" id="components/explorationFooter">
<div class="footer navbar-fixed-bottom oppia-exploration-footer">
<div class="row">
<div class="col-sm-5">
<ul class="author-profile">
<li>
<img ng-src="<[getStaticImageUrl('/general/apple.svg')]>" class="explor... | michaelWagner/oppia | core/templates/dev/head/pages/exploration_player/exploration_footer_directive.html | HTML | apache-2.0 | 4,947 |
/**
* 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... | phunt/zkexamples | src/test_session_expiration/TestSessionExpiration.java | Java | apache-2.0 | 3,492 |
package configconversion
import (
"net"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/serializer"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
configv1 "github.com/openshift/api/config/v1"
kubecontrolplanev1 "github.com/openshift/api/kubecontrolplane/v1"
legacyconfigv1 "github.com/o... | PI-Victor/origin | pkg/configconversion/legacyconfig_conversion.go | GO | apache-2.0 | 5,292 |
/*
* Copyright 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" file ... | colmmacc/s2n | tests/unit/s2n_tls13_server_finished_test.c | C | apache-2.0 | 7,714 |
package tamil.lang.api.join;
import tamil.lang.known.IKnownWord;
/**
* <p>
* Joins known words and based on the type of புணர்ச்சி.
*
* </p>
*
* @author velsubra
*/
public interface KnownWordsJoiner {
public static enum TYPE {
VEATTUMAI,
ALVAZHI
}
/**
* adds word to the cu... | velsubra/Tamil | ezhuththu/src/main/java/tamil/lang/api/join/KnownWordsJoiner.java | Java | apache-2.0 | 984 |
package main
import (
"fmt"
"github.com/satori/go.uuid"
)
func main() {
// Creating UUID Version 4
u1 := uuid.NewV4()
fmt.Printf("UUIDv4: %s\n", u1)
// Parsing UUID from string input
u2, err := uuid.FromString("6ba7b810-9dad-11d1-80b4-00c04fd430c8")
if err != nil {
fmt.Printf(... | gothxx/backyard | go/src/test/makeUUID.go | GO | apache-2.0 | 411 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>async_write_at (2 of 4 overloads)</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title=... | letitvi/VideoGridPlayer | thirdparty/source/asio-1.11.0/doc/asio/reference/async_write_at/overload2.html | HTML | apache-2.0 | 11,419 |
//
// File: %sys-context.h
// Summary: {context! defs AFTER %tmp-internals.h (see: %sys-context.h)}
// Project: "Rebol 3 Interpreter and Run-time (Ren-C branch)"
// Homepage: https://github.com/metaeducation/ren-c/
//
//=////////////////////////////////////////////////////////////////////////=//
//
// Copyright 201... | draegtun/ren-c | src/include/datatypes/sys-context.h | C | apache-2.0 | 19,419 |
import os
import threading
import datetime
import cloudstorage as gcs
from google.appengine.api import app_identity
class FileServer():
def __init__(self):
bucket_name = os.environ.get('BUCKET_NAME',
app_identity.get_default_gcs_bucket_name())
self.bucket = '/' + bucket_name... | benmorss/excalibur | cloudserver.py | Python | apache-2.0 | 563 |
# Frustulia acuminata Kützing SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Bacillariophyta/Bacillariophyceae/Naviculales/Amphipleuraceae/Frustulia/Frustulia acuminata/README.md | Markdown | apache-2.0 | 186 |
package io.skysail.server.app.demo.timetable.course.resources;
import org.restlet.resource.ResourceException;
import io.skysail.domain.core.repos.Repository;
import io.skysail.server.ResourceContextId;
import io.skysail.server.app.demo.DemoApplication;
import io.skysail.server.app.demo.timetable.course.Course;
import... | evandor/skysail | skysail.server.app.demo/src/io/skysail/server/app/demo/timetable/course/resources/PostCourseResource.java | Java | apache-2.0 | 1,307 |
# Sida virgata Hook. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Malvales/Malvaceae/Sida/Sida virgata/README.md | Markdown | apache-2.0 | 168 |
package cases;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.testng.annotations.Test;
import cn.bubi.tools.acc.Sign;
import net.sf.json.JSONObject;
import utils.APIUtil;
import utils.HttpUtil;
import utils.Result;
import utils.SignUtil;
import utils.TxUtil;
import... | bubichain/blockchain | test/testcase/testng/InterfaceTest-1.8/src/cases/SubmitTxTest.java | Java | apache-2.0 | 3,761 |
/*
* MinIO Cloud Storage, (C) 2017-2020 MinIO, 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 applicab... | harshavardhana/minio | cmd/gateway/s3/gateway-s3.go | GO | apache-2.0 | 26,308 |
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
//Read the package.json (optional)
pkg: grunt.file.readJSON('package.json'),
// Metadata.
meta: {
basePath: './',
srcPath: './src/',
deployPath: './bin/',
... | wildcatsoft/Knockout.WinJS | gruntfile.js | JavaScript | apache-2.0 | 3,484 |
#import <Foundation/Foundation.h>
#import "L4FileAppender.h"
#import "NSDate-Calendar.h"
/**
* The accepted constants for L4DailyRollingFileAppenderFrequency's <code>setFrequency:</code> method.
*/
typedef enum L4RollingFrequency
{
never, /**< Never roll the file. */
monthly, /**< Roll the file over every month. ... | seqoy/jump | JUMPLogger/Libraries/Log4CocoaTouch/Headers/L4DailyRollingFileAppender.h | C | apache-2.0 | 3,229 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// 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.06.13 at... | phoenixsbk/kvmmgr | backend/manager/modules/restapi/interface/definition/xjc/org/ovirt/engine/api/model/Feature.java | Java | apache-2.0 | 8,468 |
# Paskovia E. Purkynová, 1970 GENUS
#### Status
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Plantae/Paskovia/README.md | Markdown | apache-2.0 | 192 |
# Copyright (c) 2014 Mirantis, 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... | olivierlemasle/murano | murano/tests/unit/dsl/foundation/object_model.py | Python | apache-2.0 | 2,019 |
---
copyright:
years: 2016, 2017
lastupdated: "2017-02-27"
---
{:shortdesc: .shortdesc}
{:codeblock: .codeblock}
{:screen: .screen}
{:pre: .pre}
# Utilizzo e creazione di pacchetti {{site.data.keyword.openwhisk_short}}
{: #openwhisk_packages}
In {{site.data.keyword.openwhisk_short}}, puoi utilizz... | nickgaski/docs | openwhisk/nl/it/openwhisk_packages.md | Markdown | apache-2.0 | 15,451 |
/**
* 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... | BUPTAnderson/apache-hive-2.1.1-src | ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java | Java | apache-2.0 | 56,329 |
package com.codeboyyong.akkasample.remote.parallel
import akka.actor.UntypedActor
import akka.actor.Actor
import com.codeboyyong.akkasample.util.AkkaUtil
import akka.actor.Address
case class SUM(start: Int, end: Int, taskId: String)
case class SUMResult(sum: Double, id: String)
class SumActor extends Actor {
def... | codeboyyong/akka-sample | akka-sample/src/main/scala/com/codeboyyong/akkasample/remote/parallel/SumActor.scala | Scala | apache-2.0 | 809 |
#!/bin/bash -eu
# 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... | meteorcloudy/bazel | src/main/native/windows/build_windows_jni.sh | Shell | apache-2.0 | 4,455 |
/**
* Copyright 2014 IBM Corp. 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... | tonybndt/BlueMix-Tutorials | config/express.js | JavaScript | apache-2.0 | 1,764 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>155.jpg</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<span class="textbg">Louise Bonfils -- 155.jpg </span><br> <span class="textsm"></span>
<p><span class="textre... | gpeyre/louispeyre | louise/target154.html | HTML | apache-2.0 | 782 |
sap.ui.define(['exports'], function (exports) { 'use strict';
var messagebundle_es = {
BARCODE_SCANNER_DIALOG_CANCEL_BUTTON_TXT: "Cancelar",
BARCODE_SCANNER_DIALOG_LOADING_TXT: "Cargando",
FCL_START_COLUMN_TXT: "Primera columna",
FCL_MIDDLE_COLUMN_TXT: "Columna media",
FCL_END_COLUMN_TXT: "Última columna",
... | SAP/openui5 | src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_es.js | JavaScript | apache-2.0 | 7,123 |
<?php
$config = array(
'service' => 'Kafka',
'brokers' => array('192.168.0.50:9092'),
'state_dir' => '/workdir/state',
'loglevel' => LOG_DEBUG,
'timeout' => 1000,
'topics' => array(
array('name' => 'test1', 'partitions' => array(0)),
),
'config_check_interval' => 6,
... | pozgo/docker-kafka | tests/config.php | PHP | apache-2.0 | 354 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link
rel="stylesheet"
href="../../styles/$Conf(style).css"
title="Mooshak en color"
type="text/css">
<script language="JavaScript" type="text/javascript"><!--
Submitting=false;
function submission(form) { Submitt... | Kallehz/Python | Próf2/templates/es/team/htools.html | HTML | apache-2.0 | 10,720 |
/*
By: facug91
From: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1335
Name: Twin Primes
Date: 23/10/2015
*/
#include <bits/stdc++.h>
#define endl "\n"
#define EPS 1e-9
#define MP make_pair
#define F first
#define S second
#define DB(x... | facug91/OJ-Solutions | uva.onlinejudge.org/TwinPrimes.cpp | C++ | apache-2.0 | 1,438 |
GO_EASY_ON_ME=1
export SDKVERSION=4.3
FW_DEVICE_IP=apple-tv.local
THEOS_DEVICE_IP=apple-tv.local
include theos/makefiles/common.mk
#include theos/makefiles/xpackage.mk
BUNDLE_NAME = HW
HW_FILES = Classes/HWAppliance.mm Classes/HWBasicMenu.m
HW_INSTALL_PATH = /Applications/Lowtide.app/Appliances
HW_BUNDLE_EXTENSION = f... | bboyle18/AppleTV-LiveTV | Makefile | Makefile | apache-2.0 | 690 |
package com.digitalpetri.enip.cip.services;
import com.digitalpetri.enip.cip.CipResponseException;
import com.digitalpetri.enip.cip.epath.EPath.PaddedEPath;
import com.digitalpetri.enip.cip.structs.MessageRouterRequest;
import com.digitalpetri.enip.cip.structs.MessageRouterResponse;
import io.netty.buffer.ByteBuf;
imp... | digitalpetri/ethernet-ip | cip-core/src/main/java/com/digitalpetri/enip/cip/services/GetAttributesAllService.java | Java | apache-2.0 | 1,389 |
/*
* (C) Copyright 2016 Hewlett Packard Enterprise Development LP
*
* 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 b... | HewlettPackard/oneview-sdk-java | oneview-sdk-java-lib/src/main/java/com/hp/ov/sdk/dto/networking/LagState.java | Java | apache-2.0 | 839 |
package com.jsh.erp.service.materialCategory;
import com.alibaba.fastjson.JSONObject;
import com.jsh.erp.service.ICommonQuery;
import com.jsh.erp.service.materialProperty.MaterialPropertyResource;
import com.jsh.erp.service.materialProperty.MaterialPropertyService;
import com.jsh.erp.utils.Constants;
import com.jsh.er... | jishenghua/JSH_ERP | jshERP-boot/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryComponent.java | Java | apache-2.0 | 2,746 |
#if 0 // A cute trick to making this .cc self-building from shell.
g++ $0 -O2 -Wall -Werror -o `basename $0 .cc`;
exit;
#endif
// Copyright 2011 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... | andrew-aladev/webgl-loader | src/testing/json_test.cc | C++ | apache-2.0 | 3,509 |
<?php
include 'app.php';
// render template
echo $twig->render('contact.twig', array());
| FSE301-Photerra/photerras | contact.php | PHP | apache-2.0 | 90 |
// Copyright 2021 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 writi... | googleads/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/admanager/jaxws/v202111/SlateAction.java | Java | apache-2.0 | 1,537 |
<!-- THIS FILE IS GENERATED VIA './update-remote.sh' -->
# Tags of `busybox`
- [`busybox:1`](#busybox1)
- [`busybox:1-glibc`](#busybox1-glibc)
- [`busybox:1-musl`](#busybox1-musl)
- [`busybox:1-uclibc`](#busybox1-uclibc)
- [`busybox:1.34`](#busybox134)
- [`busybox:1.34-glibc`](#busybox134-glibc)
- [`busybox:1.34-musl... | docker-library/repo-info | repos/busybox/tag-details.md | Markdown | apache-2.0 | 234,626 |
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2020 Authors of Cilium */
#ifndef __BPF_ACCESS_H_
#define __BPF_ACCESS_H_
#include "compiler.h"
#if !defined(__non_bpf_context) && defined(__bpf__)
static __always_inline __maybe_unused __u16
map_array_get_16(const __u16 *array, __u32 index, const __u32 limit)
... | cilium-team/cilium | bpf/include/bpf/access.h | C | apache-2.0 | 1,125 |
package br.pucminas.icei.audition.repository;
/**
* @author Claudinei Gomes Mendes
*/
import br.pucminas.icei.audition.dto.SearchResponse;
import info.atende.audition.model.AuditEvent;
import info.atende.audition.model.SecurityLevel;
import org.springframework.stereotype.Component;
import org.springframework.stereo... | atende/audit-view | src/main/java/br/pucminas/icei/audition/repository/AuditEventRepository.java | Java | apache-2.0 | 3,874 |
package resa.metrics;
import backtype.storm.metric.api.IMetric;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/**
* Created by ding on 14-8-12.
*/
public class StatMetric implements IMetric {
private double[] xAxis;
private Map<String, long[]> data;
public StatMetric(double... | ADSC-Cloud/resa | resa-core/src/main/java/resa/metrics/StatMetric.java | Java | apache-2.0 | 1,913 |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.internal.statistic.eventLog.validator.persistence;
import com.intellij.openapi.components.*;
import com.intellij.openapi.util.text.StringUtil;
import org.jdo... | leafclick/intellij-community | platform/statistics/src/com/intellij/internal/statistic/eventLog/validator/persistence/EventLogWhitelistSettingsPersistence.java | Java | apache-2.0 | 4,390 |
<!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 (1.8.0_60-ea) on Tue Sep 06 12:41:45 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wil... | wildfly-swarm/wildfly-swarm-javadocs | 2016.9/apidocs/org/wildfly/swarm/config/ejb3/class-use/CacheConsumer.html | HTML | apache-2.0 | 11,049 |
/**
* 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... | szegedim/hadoop | hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java | Java | apache-2.0 | 92,997 |
// Copyright 2017 Twitter. 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 ... | lucperkins/heron | heron/downloaders/src/java/com/twitter/heron/downloader/Downloader.java | Java | apache-2.0 | 793 |
package org.strategoxt.lang.gradual;
import java.io.Serializable;
public interface Type extends Serializable {
boolean equals(Object o);
int hashCode();
public String toString();
}
| metaborg/strategoxt | strategoxt/stratego-libraries/java-backend/java/runtime/org/strategoxt/lang/gradual/Type.java | Java | apache-2.0 | 195 |
/*
* Copyright 2015 Marek Kaput
*
* 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... | jajakobyly/rustidea | src/org/rustidea/psi/impl/RsStructImpl.java | Java | apache-2.0 | 1,812 |
<!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 Mon Apr 29 15:10:37 CEST 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
Uses of Package org.apache.solr.... | iluminati182006/ReutersSolr | docs/solr-core/org/apache/solr/update/package-use.html | HTML | apache-2.0 | 23,222 |
/*-
* Copyright 2012 Benedikt Meurer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | bmeurer/eui4j | src/test/java/de/benediktmeurer/eui4j/EUI48XmlAdapterTest.java | Java | apache-2.0 | 1,651 |
Ext.define('MCLM.view.cenarios.GerenciarGruposCenarioWindow', {
requires: [
'MCLM.store.Grupo',
'Ext.grid.plugin.DragDrop',
'MCLM.view.cenarios.GerenciarGruposCenarioController'
],
extend: 'Ext.window.Window',
id: 'gerenciarGruposCenarioWindow',
itemId: 'gerenciarGruposCenari... | icemagno/mclm | src/main/webapp/app/view/cenarios/GerenciarGruposCenarioWindow.js | JavaScript | apache-2.0 | 10,122 |