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 |
|---|---|---|---|---|---|
/*
* Copyright (c) Meta Platforms, Inc. and 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 appl... | facebook/folly | folly/stats/QuantileEstimator.h | C | apache-2.0 | 2,552 |
ace.define("ace/snippets/d",["require","exports","module"],function(r,e,m){"use strict";e.snippetText=undefined;e.scope="d";});
| thbonk/electron-openui5-boilerplate | libs/openui5-runtime/resources/sap/ui/codeeditor/js/ace/snippets/d.js | JavaScript | apache-2.0 | 128 |
/*
* Copyright 2019 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... | bdpiparva/gocd-ldap-authentication-plugin | src/integration/cd/go/authentication/ldap/LdapPluginIntegrationTest.java | Java | apache-2.0 | 3,775 |
/*
* Copyright 2011-2018 Chris de Vreeze
*
* 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 agree... | dvreeze/nta | src/main/scala/eu/cdevreeze/nta/ntarule/rules_2_02/Validator_2_02_00_09.scala | Scala | apache-2.0 | 3,776 |
/*
* 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... | manuel-palacio/keycloak | server-spi-private/src/main/java/org/keycloak/models/utils/RepresentationToModel.java | Java | apache-2.0 | 114,856 |
# -*- encoding: utf-8 -*-
# Copyright © 2012 New Dream Network, LLC (DreamHost)
# 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.... | SauloAislan/ironic | ironic/api/app.py | Python | apache-2.0 | 3,844 |
/**
* Copyright 2013 Andreas Stenius
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | kaos/QtErl | c_src/libqte/qte.cpp | C++ | apache-2.0 | 2,580 |
// Copyright 2017 Secure Decisions, a division of Applied Visions, Inc.
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in the
// Software without restriction, including without limitation the rights to ... | secdec/codepulse | dotnet-tracer/main/CodePulse.Client/Errors/IErrorHandler.cs | C# | apache-2.0 | 1,659 |
package fr.javatronic.blog.massive.annotation1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_120 {
}
| lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/Class_120.java | Java | apache-2.0 | 145 |
/**
* @license Copyright 2019 The Lighthouse Authors. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applica... | GoogleChrome/lighthouse | lighthouse-core/scripts/lantern/collect/golden.js | JavaScript | apache-2.0 | 4,553 |
/*
* Copyright 2013 The Kava Project Developers. See the COPYRIGHT file at the top-level directory of this distribution
* and at http://kavaproject.org/COPYRIGHT.
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the
* MIT license <LICENSE-MIT or h... | KavaProject/KavaTouch | src/main/java/org/kavaproject/kavatouch/uikit/UIImage.java | Java | apache-2.0 | 3,517 |
CREATE TABLE hasfk (
id int(10) unsigned NOT NULL,
customer_id int(10) unsigned DEFAULT NULL,
PRIMARY KEY (id),
KEY customer (customer_id),
CONSTRAINT customer_fk FOREIGN KEY (customer_id) REFERENCES customers (id) ON DELETE SET NULL /* annotations: has-fk */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE T... | skeema/skeema | internal/linter/testdata/validcfg/hasfk.sql | SQL | apache-2.0 | 719 |
package ru.asemenov.filter.servlets;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import ru.asemenov.filter.ConnectSql;
import ru.asemenov.filter.models.User;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;... | Apeksi1990/asemenov | chapter_009/filter_security/src/test/java/ru/asemenov/filter/servlets/DeleteUserTest.java | Java | apache-2.0 | 1,613 |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <assert.h>
#include <exception>
// System.Text.RegularExpressions.IntervalCollection/CostDelegate
struct CostDelegate_t3008899218;
// System.Object
struct Il2CppObject;
// Sy... | moixxsyc/Unity3dLearningDemos | 01Dongzuo/Temp/il2cppOutput/il2cppOutput/System_System_Text_RegularExpressions_IntervalColl3008899218MethodDeclarations.h | C | apache-2.0 | 2,147 |
# Login User with Limited Access
You can initiate user login with Limited Access.
### Initialize CitrusLoginApi
```groovy
String emailId = "email@gmail.com";
String mobileNo = "9999999999";
CitrusLoginApi citrusLoginApi = new CitrusLoginApi.Builder(getActivity())
.mobile(mobileNo)
... | citruspay/citrus-android-sdk | docs/login_with_limited_access.md | Markdown | apache-2.0 | 1,227 |
/*
* Copyright 2012-2016 JetBrains s.r.o
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | timzam/jetpad-mapper | model/src/main/java/jetbrains/jetpad/model/property/TextProperty.java | Java | apache-2.0 | 1,330 |
package hook
import (
"regexp"
rspec "github.com/opencontainers/runtime-spec/specs-go"
"github.com/pkg/errors"
)
// When holds hook-injection conditions.
type When struct {
Always *bool `json:"always,omitempty"`
Annotations map[string]string `json:"annotations,omitempty"`
Commands []s... | jwhonce/ocid | vendor/github.com/projectatomic/libpod/pkg/hooks/1.0.0/when.go | GO | apache-2.0 | 2,171 |
/*
* Copyright 2012 Shared Learning Collaborative, 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 applicabl... | inbloom/csv2xml | src/org/slc/sli/sample/entities/AdditionalCredits.java | Java | apache-2.0 | 3,691 |
/*
* Copyright 2017 Long Term Software 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... | miranda-messaging/miranda | src/main/java/com/ltsllc/miranda/event/EventManagerReadyState.java | Java | apache-2.0 | 2,252 |
/*
* Copyright 2018 prasenjit-net
*
* 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... | identityOrg/identity | src/main/java/net/prasenjit/identity/controller/CryptographyController.java | Java | apache-2.0 | 1,450 |
package hijackhelpers
import (
"strings"
"github.com/concourse/atc"
)
type ContainerSorter []atc.Container
func (sorter ContainerSorter) Len() int {
return len(sorter)
}
func (sorter ContainerSorter) Swap(i, j int) {
sorter[i], sorter[j] = sorter[j], sorter[i]
}
func (sorter ContainerSorter) Less(i, j int) bo... | zachgersh/fly | commands/internal/hijackhelpers/container_sorter.go | GO | apache-2.0 | 907 |
namespace CorePhoto.Tiff
{
public struct TiffIfd
{
public TiffIfdEntry[] Entries;
public TiffIfdReference? NextIfdReference;
}
} | Andy-Wilkinson/CorePhoto | src/CorePhoto/Tiff/TiffIfd.cs | C# | apache-2.0 | 156 |
digitaljedi.ca
==============
Public Website
Nothing to see here really...
nothing at all
| digitaljedi2/digitaljedi.ca | README.md | Markdown | apache-2.0 | 92 |
// Copyright 2020 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... | GoogleChrome/android-browser-helper | playbilling/src/main/java/com/google/androidbrowserhelper/playbilling/digitalgoods/ConnectedBillingWrapper.java | Java | apache-2.0 | 4,590 |
<?php
/**
* Represents a Proximity Criterion.
*
* A proximity is an area within a certain radius of a point with the center point being described
* by a lat/long pair. The caller may also alternatively provide address fields which will be
* geocoded into a lat/long pair. Note: If a geoPoint value is provided, th... | SonicGD/google-adwords-api-light | Google/Api/Ads/AdWords/v201605/classes/Proximity.php | PHP | apache-2.0 | 2,035 |
package ru.stqa.pft.mantis.tests;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import ru.lanwen.verbalregex.VerbalExpression;
import ru.stqa.pft.mantis.model.MailMessage;
import ru.stqa.pft.mantis.model.User;
import javax.mail.MessagingExce... | GornyAlex/pdt_37 | mantis-tests/src/test/java/ru/stqa/pft/mantis/tests/PasswordChangeTests.java | Java | apache-2.0 | 1,959 |
package controllers.algorithm.req_and_course;
public class ReqListForCourse {
public ReqNode first; // head node
private int pos; // Node's position
public ReqListForCourse() {
this.first = null;
}
/**
* Initialize the course link list: course1->req1->re2
*
* @param courseID
* course id
... | xixixhalu/sss | app/controllers/algorithm/req_and_course/ReqListForCourse.java | Java | apache-2.0 | 4,004 |
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# 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 ... | bswartz/manila | manila/tests/conf_fixture.py | Python | apache-2.0 | 2,989 |
# Copyright 2014 Cloudbase Solutions Srl
#
# 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 ... | e0ne/cinder | cinder/tests/test_smbfs.py | Python | apache-2.0 | 22,226 |
# Copyright 2019 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 writing, ... | google/tink | python/tink/_keyset_reader_test.py | Python | apache-2.0 | 4,878 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Statistics of compound:prt in U... | UniversalDependencies/universaldependencies.github.io | treebanks/ga_twittirish/ga_twittirish-dep-compound-prt.html | HTML | apache-2.0 | 11,071 |
---
license: Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Versi... | maveriklko9719/Coffee-Spills | docs/en/3.0.0rc1/cordova/globalization/globalization.getLocaleName.md | Markdown | apache-2.0 | 2,663 |
package sghelm
import (
"context"
"encoding/json"
"sort"
"strings"
"github.com/imdario/mergo"
"github.com/pkg/errors"
"k8s.io/helm/pkg/proto/hapi/chart"
"k8s.io/helm/pkg/repo"
"github.com/supergiant/control/pkg/model"
"github.com/supergiant/control/pkg/sgerrors"
"github.com/supergiant/control/pkg/sghelm/r... | supergiant/supergiant | pkg/sghelm/service.go | GO | apache-2.0 | 9,092 |
/**
* Copyright 2011 Modeliosoft
*
* 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 ... | juniper-project/modelling-mongodb | src/main/java/org/modelio/juniper/ide/mongodbmodeler/command/diagram/util/SimpleBoxTool.java | Java | apache-2.0 | 5,253 |
#EQUIPE 2
#Nahan Trindade Passos - 1615310021
#Ana Beatriz Frota - 1615310027
#
#
#
#
#
#
import math
print("Digite os termos da equacao ax2+bx+c")
a = float(input("Digite o valor de A:\n"))
if(a==0):
print("Nao e uma equacao de segundo grau")
else:
b = float(input("Valor de B:\n"))
c = float(input("Valo... | any1m1c/ipc20161 | lista2/ipc_lista2.16.py | Python | apache-2.0 | 824 |
```jsx
const initialState = {
typing: null
};
function toggleTyping() {
if (state.typing) {
setState({ typing: null });
} else {
setState({
typing: {
typing: 'Someone is typing'
}
});
}
}
<div>
<Button theme="primary" onClick={toggleTyping} size="small">toggle</Button>
<br ... | dialogs/dialog-web-components | src/components/Typing/README.md | Markdown | apache-2.0 | 369 |
package com.alxgrk.ressign.error.exceptions;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.NOT_FOUND)
public class OrgNotFoundException extends RuntimeException {
public OrgNotFoundException(String orgId) {
super("cou... | alxgrk/ressign | src/main/java/com/alxgrk/ressign/error/exceptions/OrgNotFoundException.java | Java | apache-2.0 | 373 |
$(function(){
// 设置jQuery Ajax全局的参数
$.ajaxSetup({
type: "POST",
error: function(jqXHR, textStatus, errorThrown){
switch (jqXHR.status){
case(500):
alert("服务器系统内部错误");
break;
case(401):
alert("未登录");
... | jiangyuanlin/hello | src/main/webapp/static/custom/common.js | JavaScript | apache-2.0 | 5,440 |
/*
* Copyright 2015 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... | porcelli-forks/guvnor | guvnor-m2repo-editor/guvnor-m2repo-editor-client/src/main/java/org/guvnor/m2repo/client/upload/UploadFormPresenter.java | Java | apache-2.0 | 3,510 |
#!/usr/bin/env python
# coding: utf-8
"""
Copyright 2015 SYSTRAN Software, 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/licen... | SYSTRAN/geographic-api-python-client | systran_geographic_api/models/full_inspiration.py | Python | apache-2.0 | 2,585 |
package org.bndtools.rt.rest;
import java.util.HashMap;
import java.util.Map;
import org.osgi.framework.Constants;
import org.osgi.framework.Version;
import org.osgi.namespace.extender.ExtenderNamespace;
public final class BundleConstants {
public static final String EXTENDER_ID = "bndtools.rt.rest";
public stati... | bndtools/bndtools-rt | org.bndtools.rt.rest/src/org/bndtools/rt/rest/BundleConstants.java | Java | apache-2.0 | 617 |
/*--------------------------------------------------------------------------
* Copyright 2009 utgenome.org
*
* 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... | utgenome/utgb | utgb-core/src/main/java/org/utgenome/gwt/utgb/client/track/lib/TrackGenTrack.java | Java | apache-2.0 | 1,973 |
/*--------------------------------------------------------------------------
* Copyright 2008 utgenome.org
*
* 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... | utgenome/utgb | utgb-core/src/main/java/org/utgenome/gwt/widget/client/Icon.java | Java | apache-2.0 | 6,208 |
/*
* Copyright 2015-2016 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... | nano-projects/nano-framework | nano-core/src/main/java/org/nanoframework/core/component/exception/ComponentServiceRepeatException.java | Java | apache-2.0 | 1,156 |
# frozen_string_literal: true
# Copyright 2015 Australian National Botanic Gardens
#
# This file is part of the NSL Editor.
#
# 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
#
# ht... | bio-org-au/nsl-editor | test/models/search/on_instance/comments/simple_test.rb | Ruby | apache-2.0 | 1,289 |
<!DOCTYPE html>
<?php
require_once ('/var/www/html/app/library/function.php');
if(!isset($_SESSION['current_user_name']) && !isset($_COOKIE[$cookie_name])) {
header('Location: ../login.php');
exit();
}
?>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, i... | Juklab/emmaline | html/app/research/animal_character.php | PHP | apache-2.0 | 4,741 |
/*
* Copyright(C) 2014 tAsktoys. All rights reserved.
*/
package com.tasktoys.archelon.data.dao;
import com.tasktoys.archelon.data.entity.Category;
import java.util.List;
/**
* Interface of category data operations.
*
* @author mikan
* @since 0.1
*/
public interface CategoryDao {
/**
* Find categ... | tAsktoys/Archelon | src/main/java/com/tasktoys/archelon/data/dao/CategoryDao.java | Java | apache-2.0 | 1,004 |
/**
* Copyright 2016 Nikita Koksharov
*
* 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 agree... | zhoffice/redisson | redisson/src/main/java/org/redisson/api/RExecutorBatchFuture.java | Java | apache-2.0 | 811 |
/*
* File: IAS-DataModelLib/src/dm/json/exception/JSONHelperException.cpp
*
* Copyright (C) 2015, Albert Krzymowski
*
* 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.... | InvenireAude/IAS-Base-OSS | IAS-DataModelLib/src/dm/json/exception/JSONHelperException.cpp | C++ | apache-2.0 | 1,711 |
package com.example.shz.hainuo_ims.fragment;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
im... | shzLoveyjw/HAINUO_IMS | app/src/main/java/com/example/shz/hainuo_ims/fragment/LocationFragment.java | Java | apache-2.0 | 6,413 |
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
... | loucilvr/npf-leadership | css/bootstrap.css | CSS | apache-2.0 | 145,720 |
/***
DEVSIM
Copyright 2013 Devsim 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 writing, soft... | devsim/devsim | src/math/dsMathTypes.hh | C++ | apache-2.0 | 1,592 |
#===============================================================================
# Copyright 2019-2020 Intel 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... | Intel-EPID-SDK/epid-sdk | ext/ipp-crypto/sources/ippcp/crypto_mb/src/cmake/linux/Intel.cmake | CMake | apache-2.0 | 2,883 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `Mem` struct in crate `ocl_core`.">
<meta name="keywords" c... | liebharc/clFFT | docs/bindings/ocl_core/types/abs/struct.Mem.html | HTML | apache-2.0 | 15,138 |
# Schroeteria decaisneana (Boud.) De Toni, 1888 SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
in Berlese, De Toni & Fischer, Syll. fung. (Abellini) 7: 501 (1888)
#### Original name
Geminella decaisneana Boud.
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Schroeteria/Schroeteria decaisneana/README.md | Markdown | apache-2.0 | 289 |
package io.corbel.eventbus.ioc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import io.corbel.eventbus.EventHandler;
import io.corbel.eventbus... | corbel-platform/event-bus | src/main/java/io/corbel/eventbus/ioc/EventBusRegistrar.java | Java | apache-2.0 | 1,087 |
# -*- coding: utf-8 -*-
##############################################################################################
# This file is deprecated because Python 2.x is deprecated #
# A Python 3.x version of this file can be found at: #
# ... | Guymer/PyGuymer | load_GPS_EXIF.py | Python | apache-2.0 | 993 |
/**
* Copyright 2014
* SMEdit https://github.com/StarMade/SMEdit
* SMTools https://github.com/StarMade/SMTools
*
* 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.... | skunkiferous/SMEdit | jo_sm/src/main/java/jo/util/io/JavaCompiler.java | Java | apache-2.0 | 4,979 |
<?php
/**
* ECSHOP 标签云
* ============================================================================
* * 版权所有 2005-2012 上海商派网络科技有限公司,并保留所有权利。
* 网站地址: http://www.ecshop.com;
* ----------------------------------------------------------------------------
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
* 使用;不允许对程序代... | lvguocai/ec | tag_cloud.php | PHP | apache-2.0 | 1,745 |
#!/bin/bash
###############################################################################
#Variables
export PROJECT_LIST=$(find project | grep "GCC/Makefile")
export BOARD_LIST="project/*"
export OUT="$PWD/out"
export FLASHGENERATOR="tools/flashgen/flashgen.pl"
feature_mk=""
platform=$(uname)
if [[ "$platform" =~ "... | iamblue/ml-mt7687-config | templates/build_sdk.sh | Shell | apache-2.0 | 11,280 |
package org.jboss.aerogear.unifiedpush.service.spring;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyBoolean;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.mock;
import stat... | aerobase/unifiedpush-server | service/src/test/java/org/jboss/aerogear/unifiedpush/service/spring/KeycloakServiceTest.java | Java | apache-2.0 | 6,468 |
package com.camnter.easycountdowntextureview.demo.adapter;
import android.widget.TextView;
import com.camnter.easycountdowntextureview.demo.R;
import com.camnter.easyrecyclerview.adapter.EasyRecyclerViewAdapter;
import com.camnter.easyrecyclerview.holder.EasyRecyclerViewHolder;
/**
* Description:MainAdapter
* Creat... | CaMnter/EasyCountDownTextureView | samples/src/main/java/com/camnter/easycountdowntextureview/demo/adapter/MainAdapter.java | Java | apache-2.0 | 935 |
import merge from 'deepmerge';
import { grey4, lightBlack, blue1 } from '../../../../../styles/modules/variables';
import commonCss, { avatar } from '../../../common.styles';
export default merge(
commonCss,
{
row: {
paddingBottom: 20,
maxHeight: 177,
borderTop: `1px solid ${grey4}`,
},
... | veritone/veritone-sdk | packages/veritone-widgets/src/widgets/EngineSelection/EngineListView/EngineListContainer/EngineSelectionRow/styles.js | JavaScript | apache-2.0 | 1,293 |
/*
* Copyright 1999-2011 Alibaba Group Holding 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 applica... | xiaomozhang/druid | druid-1.0.9/src/test/java/com/alibaba/druid/bvt/sql/oracle/OracleInsertTest1.java | Java | apache-2.0 | 2,713 |
/* tables */
table.tablesorter {
font-family:arial;
background-color: #CDCDCD;
margin:10px 0pt 15px;
font-size: 8pt;
width: 100%;
text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
background-color: #e6EEEE;
border: 1px solid #FFF;
font-size: 8pt;
padding: 4px;
}
table.tablesor... | majkilde/LogFileReader | nsf/Resources/Files/tablesorter_2fstyle.css | CSS | apache-2.0 | 948 |
/*
* Copyright 2019-2021 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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... | b2ihealthcare/snow-owl | fhir/com.b2international.snowowl.fhir.rest.tests/src/com/b2international/snowowl/fhir/tests/TypedPropertySerializationTest.java | Java | apache-2.0 | 3,595 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `P762` type in crate `typenum`.">
<meta name="keywords" con... | nitro-devs/nitro-game-engine | docs/typenum/consts/type.P762.html | HTML | apache-2.0 | 4,364 |
package com.superSaller.controller;
import java.util.Set;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.superSaller.beans.outsideSupportSys.entities.Good;
/**
* @author 邱依强
*... | ArvinSiChuan/SupperSaller | SuperSaller/src/com/superSaller/controller/CashierController.java | Java | apache-2.0 | 869 |
docker-ptoceti
==============
Docker source script to build an image for the Ptoceti project
| lathil/docker-ptoceti | README.md | Markdown | apache-2.0 | 94 |
package ru.job4j.specialty;
/**
* Profession.
*
* @author Vitaly Zubov (mailto:Zubov.VP@yandex.ru).
* @version $Id$
* @since 0.1
*/
public class Profession {
/**
* Добавления переменнной age.
*/
public int age;
/**
* Добавления переменнной name.
*/
public String name;
/**
* Добавлен... | ZubovVP/ZubovVP | chapter_002/src/main/java/ru/job4j/specialty/Profession.java | Java | apache-2.0 | 1,453 |
<!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... | sintefneodroid/droid | docs/cvs/classdroid_1_1_runtime_1_1_prototyping_1_1_sensors_1_1_camera_1_1_uber_camera_sensor-members.html | HTML | apache-2.0 | 4,019 |
#include "nit.common.h"
#define COLOR_nit__location__SourceFile___filename 0
extern const char FILE_nit__location[];
#define COLOR_nit__location__SourceFile___string 1
#define COLOR_nit__location__SourceFile___stream 2
val* standard___standard__BufferedIStream___IStream__read_all(val* self);
#define COLOR_nit__location... | colinvidal/nit | c_src/nit__location.sep.0.h | C | apache-2.0 | 2,581 |
'''
Copyright 2013 George Caley
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 wri... | spake/pathways | binder.py | Python | apache-2.0 | 6,253 |
package com.cloud.agent;
import com.cloud.legacymodel.communication.answer.AgentControlAnswer;
import com.cloud.legacymodel.communication.answer.Answer;
import com.cloud.legacymodel.communication.command.Command;
import com.cloud.legacymodel.communication.command.agentcontrol.AgentControlCommand;
import com.cloud.lega... | MissionCriticalCloud/cosmic | cosmic-core/engine/components-api/src/main/java/com/cloud/agent/Listener.java | Java | apache-2.0 | 3,949 |
# Lecania disceptans (Nyl.) Lynge SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
null
### Remarks
null | mdoering/backbone | life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Ramalinaceae/Lecania/Lecania disceptans/README.md | Markdown | apache-2.0 | 164 |
/*
* Copyright 2012-present Facebook, 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... | denizt/buck | src/com/facebook/buck/android/UberRDotJavaUtil.java | Java | apache-2.0 | 11,628 |
package bader;
public abstract class Mammal extends Animal {/*är också animal ärver från Animalklassen*/
private int gestationTime;
public Mammal(String latinName, int gestationTime) {
super (latinName);
// TODO Auto-generated constructor stub
}
public int getGestationTime(){
return this.gestationTi... | Kaoscillator/KDA405_Marcus_B | KD405A_Bader_M_uppgift4B/src/bader/Mammal.java | Java | apache-2.0 | 331 |
# Sagittaria trifolia f. longiloba FORM
#### 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/Alismatales/Alismataceae/Sagittaria/Sagittaria trifolia/ Syn. Sagittaria trifolia longiloba/README.md | Markdown | apache-2.0 | 186 |
<?php
/*
* 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")... | houdunwang/hdphp | vendor/houdunwang/aliyun/aliyun-openapi-php-sdk-master/aliyun-php-sdk-vpc/Vpc/Request/V20160428/DeleteCustomerGatewayRequest.php | PHP | apache-2.0 | 2,692 |
// ============================================================================
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// https://github.com/Talend/data-prep/blob/master/LICENSE
//
// You should have received a copy of the agreement
// al... | Talend/data-prep | dataprep-api/src/main/java/org/talend/dataprep/api/service/VersionServiceAPI.java | Java | apache-2.0 | 2,942 |
/*
* Copyright (c) 2014-2020 by The Monix Project Developers.
* See the project homepage at: https://monix.io
*
* 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... | alexandru/monifu | monix-execution/shared/src/main/scala/monix/execution/AsyncSemaphore.scala | Scala | apache-2.0 | 8,921 |
//
// AppDelegate.h
// Droider
//
// Created by Adam Jensen on 9/25/13.
// Copyright (c) 2013 Adam Jensen. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject <NSApplicationDelegate, NSMenuDelegate> {
NSOperationQueue *queue;
NSStatusItem *statusItem;
}
- (void)deviceLis... | acj/droider | Droider/AppDelegate.h | C | apache-2.0 | 533 |
# integration-test-driver | hm1rafael/integration-test-driver | README.md | Markdown | apache-2.0 | 25 |
/*
* Copyright © 2015 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | mpouttuclarke/cdap | cdap-data-fabric/src/main/java/co/cask/cdap/data2/datafabric/dataset/service/DatasetInstanceHandler.java | Java | apache-2.0 | 10,272 |
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonParser;
import com.google.gson.reflect.TypeToken;
import org.apache.http.client.fluent.Executor;
import org.apache.http.client.fluent.Request;
import org.testng.SkipException;
import java.io.IOException;
import java.util.Set;
... | sergeiden/java_training | rest-sample/src/test/java/TestBase.java | Java | apache-2.0 | 1,355 |
/******************************************************************************
Redis dispatch client
*******************************************************************************/
'use strict';
var _ = require('underscore'),
Base = require('./base'),
logger = require('../../logger'),
redis = require(... | wgrmath/forum | server/backends/dispatch/redis.js | JavaScript | apache-2.0 | 1,353 |
// What is the optimal angle at which to shoot off a point mass to get it to
// go as far as possible? (45 degrees)
#include <iostream>
#include <PSim/osimPSim.h>
#include <OpenSim/OpenSim.h>
#include <OpenSim/Simulation/SimbodyEngine/PlanarJoint.h>
// Parameters.
// ===========
// Angle of the projectile's initial ... | stanfordnmbl/psim | examples/projectile/projectile.cpp | C++ | apache-2.0 | 6,867 |
<?php
namespace CursoLaravel\Http\Controllers;
use CursoLaravel\Exceptions\Enums\Error;
use CursoLaravel\Services\ProjectTaskService;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Http\Request;
use CursoLaravel\Http\Requests;
use Illuminate\Http\Response;
class ProjectTaskController extends ... | DiloWagner/laravel-rest-client | app/Http/Controllers/ProjectTaskController.php | PHP | apache-2.0 | 2,772 |
/******************************************************************************
* Copyright 2018 The Apollo 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
... | startcode/apollo | modules/planning/common/trajectory/publishable_trajectory_test.cc | C++ | apache-2.0 | 2,035 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | xfournet/intellij-community | platform/platform-tests/testSrc/com/intellij/psi/impl/PsiDocumentManagerImplTest.java | Java | apache-2.0 | 36,768 |
/*
* Copyright 2010-2020 Alfresco Software, 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 applicable ... | Activiti/Activiti | activiti-core/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/event/internal/MessageSubscriptionCancelledListenerDelegate.java | Java | apache-2.0 | 2,653 |
/*
* Copyright 2021 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... | GaneshSPatil/gocd | agent-common/src/test/java/com/thoughtworks/go/agent/common/util/HeaderUtilTest.java | Java | apache-2.0 | 2,802 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pt">
<head>
<!-- Generated by javadoc (version 1.7.0_79) on Mon Jun 22 15:50:35 BRT 2015 -->
<title>LLDPTest</title>
<meta name="date" content="2015-06-22">
<link rel="stylesheet" type="te... | paulorvj/sdnvoip | doc/net/floodlightcontroller/packet/LLDPTest.html | HTML | apache-2.0 | 9,024 |
/*
* Copyright 1999-2012 Luca Garulli (l.garulli--at--orientechnologies.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
... | vivosys/orientdb | core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/binary/impl/index/OCompositeKeySerializer.java | Java | apache-2.0 | 5,585 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `KeyCountWriter` struct in crate `aws_sdk_rust`.">
<meta na... | lambdastackio/aws-sdk-rust | docs/aws_sdk_rust/aws/common/common/struct.KeyCountWriter.html | HTML | apache-2.0 | 5,940 |
<!-- About Section -->
<section id="about" class="container content-section text-center">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h2>What We Do</h2>
<p>The Sophia Project is part of a nationwide action initiative designed to empower students ... | emutsp/emutsp.github.io | _includes/about.html | HTML | apache-2.0 | 1,325 |
package org.hl7.v3;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/... | KRMAssociatesInc/eHMP | lib/mvi/org/hl7/v3/PRPAMT201306UV02MatchAlgorithm.java | Java | apache-2.0 | 5,669 |
package org.nkumar.ssql.model;
public abstract class CreateEntityStatement implements DdlStatement
{
protected final String name;
protected Comment[] comments;
protected PlaceHolder openingPlaceHolder;
protected PlaceHolder closingPlaceHolder;
protected CreateEntityStatement(String name)
{
... | knishant/ssql | src/main/java/org/nkumar/ssql/model/CreateEntityStatement.java | Java | apache-2.0 | 1,045 |
# How to install Obdi from source
This is currently the recommended way to install Obdi.
## Install Obdi on CentOS 7
Follow these instructions to get Obdi installed on Centos 7. Broadly,
installation involves:
1. Install OS.
2. Download Obdi source using Git.
3. Run a script to create an RPM.
4. Install that RPM.
... | mclarkson/obdi | doc/Obdi_Core_Centos_7_Installation.md | Markdown | apache-2.0 | 3,050 |
import inspect
import json
import os
import random
import subprocess
import time
import requests
import ast
import paramiko
import rancher
from rancher import ApiError
from lib.aws import AmazonWebServices
DEFAULT_TIMEOUT = 120
DEFAULT_MULTI_CLUSTER_APP_TIMEOUT = 300
CATTLE_TEST_URL = os.environ.get('CATTLE_TEST_URL'... | sabiodelhielo/rancher-validation | tests/v3_api/common.py | Python | apache-2.0 | 41,077 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.