repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
statefulj/statefulj | statefulj-persistence/statefulj-persistence-jpa/src/test/java/org/statefulj/persistence/jpa/embedded/EmbeddedJPAPersisterTest.java | 4425 | /***
*
* Copyright 2014 Andrew Hall
*
* 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... | apache-2.0 |
hotpads/datarouter | datarouter-mysql/src/main/java/io/datarouter/client/mysql/ddl/domain/SqlIndex.java | 1493 | /*
* Copyright © 2009 HotPads (admin@hotpads.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
*
* Unless required by applicable... | apache-2.0 |
pohly/security-manager | src/include/security-manager.h | 30383 | /*
* Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd All Rights Reserved
*
* Contact: Rafal Krypa <r.krypa@samsung.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
*
... | apache-2.0 |
SES-fortiss/SmartGridCoSimulation | core/cim15/src/CIM15/IEC61970/Wires/PerLengthPhaseImpedance.java | 10430 | /**
*/
package CIM15.IEC61970.Wires;
import CIM15.IEC61970.Core.IdentifiedObject;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.em... | apache-2.0 |
OurFriendIrony/MediaNotifier | app/src/main/java/uk/co/ourfriendirony/medianotifier/clients/tmdb/movie/get/MovieGet.java | 11616 | package uk.co.ourfriendirony.medianotifier.clients.tmdb.movie.get;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotatio... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Lathyrus/Lathyrus atropatanus/ Syn. Orobus atropatanus/README.md | 183 | # Orobus atropatanus Grossh. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
michaelsharman/POSTMan-Chrome-Extension | chrome/html/requester/modals/modal-tcp-proxy.html | 4522 | <div id="modal-tcp-manager" class="modal fade">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3 id="modal-tcp-manager-header">Postman Proxy: <span class="status status-disconnected">Disconnected</span></h3>
</div>
<div class="modal-body">
<ul id="filter-set... | apache-2.0 |
googlemaps/openapi-specification | dist/snippets/maps_http_geocode_place_id/maps_http_geocode_place_id.py | 320 | # [START maps_http_geocode_place_id]
import requests
url = "https://maps.googleapis.com/maps/api/geocode/json?place_id=ChIJd8BlQ2BZwokRAFUEcm_qrcA&key=YOUR_API_KEY"
payload={}
headers = {}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
# [END maps_http_geocode_place_id] | apache-2.0 |
bjorndm/prebake | code/third_party/bdb/examples/je/gettingStarted/ExampleInventoryRead.java | 7325 | // file ExampleInventoryRead
// $Id: ExampleInventoryRead.java,v 1.10 2009/01/09 22:10:13 mark Exp $
package je.gettingStarted;
import java.io.File;
import java.io.IOException;
import com.sleepycat.bind.EntryBinding;
import com.sleepycat.bind.serial.SerialBinding;
import com.sleepycat.bind.tuple.TupleBinding;
import... | apache-2.0 |
markhobson/contacts | client/src/main/java/org/hobsoft/contacts/client/contact/ContactDeleteDriver.java | 2326 | /*
* 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, software
* distrib... | apache-2.0 |
webadvancedservicescom/magento | app/code/Magento/Catalog/Model/Product/Attribute/Backend/Weight.php | 941 | <?php
/**
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
*/
/**
* Catalog product weight backend attribute model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Catalog\Model\Product\Attribute\Backend;
class Weight extends \Magento\Eav\Model\E... | apache-2.0 |
twosigma/beaker-notebook | js/notebook/src/plot/PlotCursor.ts | 4974 | /*
* Copyright 2018 TWO SIGMA OPEN SOURCE, 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 appl... | apache-2.0 |
etirelli/droolsjbpm-integration | kie-server-parent/kie-server-tests/kie-server-integ-tests-optaplanner/src/test/java/org/kie/server/integrationtests/optaplanner/OptaplannerIntegrationTest.java | 30201 | /*
* 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... | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2.7.0.Final/apidocs/org/wildfly/swarm/config/elytron/class-use/X500SubjectEvidenceDecoder.html | 16172 | <!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:53:02 MST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | apache-2.0 |
nestesitio/mvc-catrineta | catrineta/form/Form.php | 2183 | <?php
/*
* Copyright (C) 2017 Luis Pinto <luis.nestesitio@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ver... | apache-2.0 |
wim-agency/wim-agency.github.io | mrDoors/2016/mrDoors_20161221_v2/mrDoors_20161221_v2.html | 43430 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if !mso]><!-->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--<![endif]... | apache-2.0 |
josalmi/lapio-stats | app/assets/javascripts/submissions.js | 318 |
$(function() {
var search = $("#search");
var submissions = $("#submissions tbody tr");
search.on('keyup', function(event) {
var filter = search.val();
submissions.each(function(index, elem) {
var $elem = $(elem);
$elem.toggle($elem.data("student").indexOf(filter) !== -1);
});
})
});
| apache-2.0 |
Akagi201/openwrt-tor | etc/diag.sh | 3593 | #!/bin/sh
# Copyright (C) 2010-2013 OpenWrt.org
. /lib/functions/leds.sh
. /lib/ramips.sh
get_status_led() {
case $(ramips_board_name) in
3g-6200n)
status_led="edimax:green:power"
;;
3g300m | w150m)
status_led="tenda:blue:ap"
;;
ar725w)
status_led="ar725w:green:power"
;;
awapn2403)
status_led="asia... | apache-2.0 |
satcy/ofxDraco | libs/draco/include/compression/mesh/mesh_encoder.h | 2634 | // Copyright 2016 The Draco Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | apache-2.0 |
dcarda/aba.route.validator | target13/site/clover/com/cardatechnologies/utils/validators/abaroutevalidator/Test_AbaRouteValidator_03_testAbaNumberCheck_2679_good_m0s.html | 9176 | <!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... | apache-2.0 |
qweek/rsocket-java | rsocket-transport-local/src/main/java/io/rsocket/transport/local/LocalUriHandler.java | 1377 | /*
* Copyright 2016 Netflix, 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 ... | apache-2.0 |
Hack23/cia | citizen-intelligence-agency/src/test/java/com/hack23/cia/systemintegrationtest/ChartTest.java | 3413 | /*
* Copyright 2010-2021 James Pether Sörling
*
* 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 o... | apache-2.0 |
roboknight/chibios-lpc43xx | demos/STM32/RT-STM32F373-STM32373C_EVAL/Makefile | 5658 | ##############################################################################
# Build global options
# NOTE: Can be overridden externally.
#
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).
ifeq ... | apache-2.0 |
mdoering/backbone | life/Fungi/Basidiomycota/Agaricomycetes/Auriculariales/Aporpiaceae/Elmerina/Elmerina caryae/ Syn. Poria canescens/README.md | 247 | # Poria canescens P. Karst., 1887 SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Revue mycol. , Toulouse 9: 10 (1887)
#### Original name
Poria canescens P. Karst., 1887
### Remarks
null | apache-2.0 |
jalmela/BasicMathCalculator | BasicMathCalculator/src/es/josealmela/BasicMathCalculator/client/ConverNumberServiceAsync.java | 335 | package es.josealmela.BasicMathCalculator.client;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
* The async counterpart of <code>convertNumberService</code>.
*/
public interface ConverNumberServiceAsync {
void convertNumbertServer(String input, AsyncCallback<String> callback)
throws IllegalArgume... | apache-2.0 |
ppyzza/EggRating | docs/com/eggdigital/android/eggrating/package-tree.html | 5337 | <!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_25) on Thu Feb 02 09:05:26 ICT 2017 -->
<title>com.eggdigital.android.eggrating Class Hierarchy</title>
<meta name="date" content="2017-02-02">... | apache-2.0 |
Victory/TreasureHuntPWA | backspark/src/main/java/org/dfhu/thpwa/routing/RouteAdder.java | 730 | package org.dfhu.thpwa.routing;
abstract class RouteAdder<T extends Route> {
/**
* Get the url pattern for this route
*/
protected abstract String getPath();
/**
* get the HTTP request method
*/
protected abstract Route.METHOD getMethod();
public void doGet(RouteAdder<T> routeAdder) {
Halti... | apache-2.0 |
takezoe/xlsbeans | src/test/java/com/github/takezoe/xlsbeans/LanguageIDE.java | 665 | package com.github.takezoe.xlsbeans;
import com.github.takezoe.xlsbeans.annotation.Column;
import com.github.takezoe.xlsbeans.annotation.MapColumns;
import java.util.Map;
public class LanguageIDE {
private String name;
private Map<String, String> attributes;
public Map<String, String> getAttribut... | apache-2.0 |
bitpusher/Salient.JsonClient | src/Salient.JsonClient.35.Tests/CacheFixture.cs | 1491 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using NUnit.Framework;
namespace Salient.JsonClient.Tests
{
[TestFixture]
public class CacheFixture : LoggingFixtureBase
{
[Test]
public void ItemCanBeCached()
{
... | apache-2.0 |
iamironz/binaryprefs | library/src/main/java/com/ironz/binaryprefs/BinaryPreferencesEditor.java | 10537 | package com.ironz.binaryprefs;
import com.ironz.binaryprefs.cache.candidates.CacheCandidateProvider;
import com.ironz.binaryprefs.cache.provider.CacheProvider;
import com.ironz.binaryprefs.event.EventBridge;
import com.ironz.binaryprefs.exception.TransactionInvalidatedException;
import com.ironz.binaryprefs.file.trans... | apache-2.0 |
jreps/patientCluster | README.md | 2901 | patientCluster
======================
Introduction
============
An R package for clustering cohort patients by medical history or creating data-driven medical topics (clusters of concept_ids corresponding to the same medical topic).
There is also a javascript D3 interactive visulisation available for viewing the resu... | apache-2.0 |
terraform-google-modules/terraform-google-github-actions-runners | modules/gh-runner-mig-container-vm/README.md | 3583 | ## Self Hosted Runners on Managed Instance Group
This module handles the opinionated creation of infrastructure necessary to deploy Github Self Hosted Runners on MIG Container VMs.
This includes:
- Enabling necessary APIs
- VPC
- NAT & Cloud Router
- MIG Container Instance Template
- MIG Instance Manager
- FW Rules
... | apache-2.0 |
jrenner/gdx-proto | core/src/org/jrenner/fps/utils/Compression.java | 1974 | package org.jrenner.fps.utils;
import com.badlogic.gdx.utils.Array;
import org.jrenner.fps.Log;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
pub... | apache-2.0 |
kubernetes/autoscaler | cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_groups_request_response.go | 7147 | // Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose ei... | apache-2.0 |
haghard/docker-compose-akka-cluster | src/main/scala/demo/hashing/CassandraHash.java | 4268 | package demo.hashing;
import java.nio.ByteBuffer;
public class CassandraHash {
private static long getblock(ByteBuffer key, int offset, int index) {
int i_8 = index << 3;
return ((long) key.get(offset + i_8 + 0) & 0xff) + (((long) key.get(offset + i_8 + 1) & 0xff) << 8) +
(((long) key.get(offset + i_... | apache-2.0 |
OpenGamma/Strata | modules/pricer/src/main/java/com/opengamma/strata/pricer/swaption/NormalSwaptionExpiryStrikeVolatilities.java | 19774 | /*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.pricer.swaption;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.ZonedDateTime;
import java.util.Map;
import java.util.NoSuchEl... | apache-2.0 |
GoogleChrome/puppeteer | new-docs/puppeteer.protocol.webaudio.audioparamwillbedestroyedevent.contextid.md | 567 | <!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [WebAudio](./puppeteer.protocol.webaudio.md) > [AudioParamWillBeDestroyedEvent](./puppeteer.protocol.webaudio.audioparamwillbedestroyed... | apache-2.0 |
dylanseago/CommunityFund | server/static/css/community-fund.css | 630 | .margin-sm { margin: 0.5em; }
.margin-md { margin: 1em; }
.margin-lg { margin: 2em; }
.margin-top-sm { margin-top: 0.5em; }
.margin-top-md { margin-top: 1em; }
.margin-top-lg { margin-top: 2em; }
.margin-right-sm { margin-right: 0.5em; }
.margin-right-md { margin-right: 1em; }
.margin-right-lg { margin-right: 2em; }
.m... | apache-2.0 |
EricssonResearch/scott-eu | lyo-services/domain-pddl/src/main/java/eu/scott/warehouse/domains/pddl/IStep.java | 5144 | // Start of user code Copyright
/*******************************************************************************
* Copyright (c) 2012 IBM Corporation and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclips... | apache-2.0 |
caleuanhopkins/pinteresting | config/initializers/devise.rb | 13009 | # Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render invalid all existing
# confirmat... | apache-2.0 |
Otaka/mydifferentprojects | nes-java/test/com/nes/processor/SbcTest.java | 1413 | package com.nes.processor;
import com.nes.NesAbstractTst;
import org.junit.Test;
/**
*
* @author Dmitry
*/
public class SbcTest extends NesAbstractTst {
@Test
public void testSbc() {
String[] lines;
lines = new String[]{
"clc",
"lda #$50",
... | apache-2.0 |
LableOrg/java-bitsandbytes | src/main/java/org/lable/oss/bitsandbytes/BitMask.java | 3928 | /*
* Copyright © 2015 Lable (info@lable.nl)
*
* 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 o... | apache-2.0 |
inputx/code-ref-doc | rebbit/bonfire/codeigniter/core/Loader.php.html | 25606 | <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Detail view of Loader.php</title>
<link rel="stylesheet" href="../../../sample.css" type="text/css">
<link rel="stylesheet" href="../../../sample-... | apache-2.0 |
quirinobrizi/buckle | src/interfaces/api/api-helper.js | 1728 | /*******************************************************************************
* Copyright [2017] [Quirino Brizi (quirino.brizi@gmail.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... | apache-2.0 |
lesfurets/dOOv | core/src/main/java/io/doov/core/dsl/DslField.java | 1096 | /*
* Copyright 2017 Courtanet
*
* 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... | apache-2.0 |
LFelipeEB/WebCarona | Serve1.0/Teste/CaronaTest.php | 481 | <?php
require_once '../Carona/Carona.class.php';
$opc = $_GET['opc'];
switch ($opc){
case 1:
//Estou inserido porem dentro do Insert eu faço a busca de 1 carona
$c = Carona::insertCarona(1, '2', '10:01:00', '2016-04-29', '1', 'Carona Teste', 'Largo Dom João', 'Campus JK', 'Passo pelo Amendoim');
echo $c.'<br... | apache-2.0 |
scana/ok-gradle | plugin/src/main/java/me/scana/okgradle/internal/dsl/parser/elements/GradleDslLiteral.java | 5565 | /*
* Copyright (C) 2015 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... | apache-2.0 |
arinrb/bsort | src/quick_sort_recursive_real.f90 | 856 | !> @ingroup quick_sort_recursive
!>
!> @brief
!> Run a recursive three way quick sort on a vector of real values.
!>
!> @details
!> Run a recursive three way quick sort on a vector of real values to sort them in a specified order.
!>
!> @param vec
!> The vector to be sorted.
!>
!> @param ascending
!> Indicates if ... | apache-2.0 |
cs-education/sysassets | man_pages/html/man3/gnu_dev_makedev.3.html | 239 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Invalid Man Page</TITLE></HEAD>
<BODY>
<H1>Invalid Man Page</H1>
The requested file gnu_dev_makedev.3 is not a valid (unformatted) man page.</BODY></HTML>
| apache-2.0 |
lucastheisen/mina-sshd | sshd-fs/src/main/java/org/apache/sftp/protocol/packetdata/ExtendedImplementation.java | 338 | package org.apache.sftp.protocol.packetdata;
import org.apache.sftp.protocol.Response;
public interface ExtendedImplementation<T extends Extended<T, S>, S extends Response<S>>
extends Implementation<T> {
public String getExtendedRequest();
public Implementation<S> getExtendedReplyImpl... | apache-2.0 |
myntra/CoachMarks | coachmarks/src/main/java/com/myntra/coachmarks/builder/CoachMarkPixelInfo.java | 3163 | package com.myntra.coachmarks.builder;
import android.graphics.Rect;
import android.os.Parcelable;
import com.google.auto.value.AutoValue;
@AutoValue
public abstract class CoachMarkPixelInfo implements Parcelable {
public static CoachMarkPixelInfo.Builder create() {
return new AutoValue_CoachMarkPixelIn... | apache-2.0 |
SmallShrimp/node-tpl | webpack/dev/webpack.node.config.js | 1756 | /* eslint-disable */
var webpack = require('webpack');
var path = require('path');
var nodeExternals = require('webpack-node-externals');
module.exports = {
entry: './index.js',
output: {
path: path.join(__dirname, '..', '..', 'build'),
filename: 'app.js'
},
resolve: {
modulesDirectories: ['shared'... | apache-2.0 |
QutBioacoustics/baw-server | config/initializers/simple_form.rb | 6796 | # # Use this setup block to configure all options available in SimpleForm.
# SimpleForm.setup do |config|
# # Wrappers are used by the form builder to generate a
# # complete input. You can remove any component from the
# # wrapper, change the order or even add your own to the
# # stack. The options given below... | apache-2.0 |
komoot/graphhopper | reader-gtfs/src/main/java/com/graphhopper/reader/gtfs/PtFlagEncoder.java | 3249 | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | apache-2.0 |
angelovstanton/AutomateThePlanet | dotnet/Design-Architecture-Series/AdvancedPageObjectPattern/Pages/BingMainPage/BingMainPageElementMap.cs | 1443 | // <copyright file="BingMainPageElementMap.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet 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.apac... | apache-2.0 |
underclocker/Blob-Game | BlobGame/src/org/siggd/actor/Cannon.java | 10975 | package org.siggd.actor;
import org.siggd.ContactHandler;
import org.siggd.Convert;
import org.siggd.Game;
import org.siggd.Level;
import org.siggd.StableContact;
import org.siggd.Timer;
import org.siggd.view.BodySprite;
import org.siggd.view.CompositeDrawable;
import org.siggd.view.Drawable;
import com.b... | apache-2.0 |
knative/operator | hack/generate-yamls.sh | 3309 | #!/usr/bin/env bash
# Copyright 2019 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | apache-2.0 |
smanvi-pivotal/geode | geode-core/src/test/java/org/apache/geode/internal/logging/LogServiceIntegrationJUnitTest.java | 8584 | /*
* 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 not ... | apache-2.0 |
tseen/Federated-HDFS | tseenliu/FedHDFS-hadoop-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/ncku/hpds/hadoop/fedhdfs/shell/DeleteDir.java | 2262 | package ncku.hpds.hadoop.fedhdfs.shell;
import java.io.BufferedOutputStream;
import java.io.ObjectInputStream;
import java.net.InetSocketAddress;
import java.net.Socket;
import ncku.hpds.hadoop.fedhdfs.GlobalNamespaceObject;
public class DeleteDir {
private String SNaddress = "127.0.0.1";
private int SNport = ... | apache-2.0 |
Drvanon/Game | run.py | 232 | from tornado.wsgi import WSGIContainer
from tornado.httpserver import HTTPServer
from tornado.ioloop import IOLoop
from game import app
http_server = HTTPServer(WSGIContainer(app))
http_server.listen(5000)
IOLoop.instance().start() | apache-2.0 |
quarkusio/quarkus | extensions/arc/deployment/src/main/java/io/quarkus/arc/deployment/ReflectiveBeanClassesProcessor.java | 1559 | package io.quarkus.arc.deployment;
import org.jboss.jandex.AnnotationInstance;
import org.jboss.jandex.ClassInfo;
import org.jboss.jandex.DotName;
import org.jboss.jandex.Type;
import io.quarkus.arc.processor.BeanInfo;
import io.quarkus.deployment.annotations.BuildProducer;
import io.quarkus.deployment.annotations.Bu... | apache-2.0 |
hazelcast-incubator/hazelcast-nodejs-client | src/codec/MapEvictAllCodec.ts | 1557 | /*
* Copyright (c) 2008-2021, 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 ... | apache-2.0 |
brettharrisonzya/couchbase-lite-net | src/Couchbase.Lite.Shared/Documents/DocumentContentOptions.cs | 3544 | //
// TDContentOptions.cs
//
// Author:
// Zachary Gramana <zack@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc
// Copyright (c) 2014 .NET Foundation
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to ... | apache-2.0 |
tavultesoft/keymanweb | windows/src/ext/docbook/fop/fop-0.95/javadocs/org/apache/fop/fo/pagination/package-summary.html | 14278 | <!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.4.2_18) on Thu Jul 31 15:03:46 GMT+01:00 2008 -->
<TITLE>
org.apache.fop.fo.pagination (Apache FOP 0.95 API)
</TITLE>
<META NAME="keywords" CONTENT="org... | apache-2.0 |
rethore/FUSED-meteor | FUSED-meteor/client/index.css | 67 | /* CSS declarations go here */
.selected {
font-weight: bold;
}
| apache-2.0 |
gomatcha/matcha | bridge/go-foreign.go | 6886 | // +build matcha
package bridge
// Go support functions for Objective-C. Note that this
// file is copied into and compiled with the generated
// bindings.
/*
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include "go-foreign.h"
*/
import "C"
import (
"bytes"
"encoding/binary"
"fmt"
"math"
"refl... | apache-2.0 |
anknet/anknet.github.io | privacy.html | 39 | <h3>Privacy policy for Phrasing.me</h3> | apache-2.0 |
AubinMahe/AubinMahe.github.io | doxygen/html/search/files_2.js | 255 | var searchData=
[
['checksyscall_2eh',['CheckSysCall.h',['../db/d19/_check_sys_call_8h.html',1,'']]],
['classid_2eh',['ClassID.h',['../dc/d14/_class_i_d_8h.html',1,'']]],
['comparator_2eh',['Comparator.h',['../d7/d0c/_comparator_8h.html',1,'']]]
];
| apache-2.0 |
MediaMath/t1-java | README.md | 21815 | # t1-java
[](https://travis-ci.org/MediaMath/t1-java) [](https://sonarqube.com/dashboard/index/com.mediamath%3At1-java)
Java SDK for MediaMath Platform APIs
# M... | apache-2.0 |
diyanfilipov/potlach-client | src/com/android/potlach/cloud/client/UnsafeHttpsClient.java | 4431 | package com.android.potlach.cloud.client;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.sec... | apache-2.0 |
knative/test-infra | pkg/junit/junit.go | 5190 | /*
Copyright 2019 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | apache-2.0 |
hujiaweibujidao/XSolutions | java/leetcode/BestTimetoBuyandSellStock_121.java | 654 | /**
* hujiawei - 15/3/21.
* <p/>
* 贪心
* <p/>
* https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
*/
public class BestTimetoBuyandSellStock_121 {
public static void main(String[] args) {
System.out.println(new BestTimetoBuyandSellStock_121().maxProfit(new int[]{2, 5, 3, 8, 1, 10}));
}... | apache-2.0 |
ging/python-keystoneclient | keystoneclient/v3/users.py | 6977 | # Copyright 2011 OpenStack Foundation
# Copyright 2011 Nebula, 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/... | apache-2.0 |
viant/toolbox | encoder_test.go | 726 | package toolbox_test
import (
"bytes"
"testing"
"github.com/stretchr/testify/assert"
"github.com/viant/toolbox"
)
func TestEncoderFactory(t *testing.T) {
buffer := new(bytes.Buffer)
assert.NotNil(t, toolbox.NewJSONEncoderFactory().Create(buffer))
}
func TestMarshalEncoderFactory(t *testing.T) {
buffer := new... | apache-2.0 |
mdoering/backbone | life/Plantae/Magnoliophyta/Magnoliopsida/Piperales/Piperaceae/Artanthe/Artanthe annonaefolia/README.md | 174 | # Artanthe annonaefolia SPECIES
#### Status
ACCEPTED
#### According to
NUB Generator [implicit canonical]
#### Published in
null
#### Original name
null
### Remarks
null | apache-2.0 |
life1347/fission | examples/go/module-example/main.go | 284 | package main
import (
"net/http"
"github.com/golang/example/stringutil"
)
// Handler is the entry point for this fission function
func Handler(w http.ResponseWriter, r *http.Request) {
msg := stringutil.Reverse(stringutil.Reverse("Vendor Example Test"))
w.Write([]byte(msg))
}
| apache-2.0 |
Corporatique-dev/Corporatique | doc/core/command/class-use/DeleteCommand.html | 4184 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_20) on Tue Jan 20 23:37:43 CET 2015 -->
<title>Uses of Class core.command.DeleteCommand</title>
<meta name="date" content="2015-01-20">
<link r... | apache-2.0 |
songzhw/AndroidTestDemo | IntoJFace/src/cn/six/tutor/table2/Table2Util.java | 1025 | package cn.six.tutor.table2;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import java.net.MalformedURLException;
import java.net.URL;
/**
* Created by songzhw on 2016/3/5.
*/
public class Table2Util {
private static ImageRegistry imgReg;
public stati... | apache-2.0 |
lixwcqs/funny | src/main/java/com.cqs/socket/example/SocketServerEncrypt.java | 2461 | package com.cqs.socket.example;
import javax.net.ServerSocketFactory;
import javax.net.ssl.SSLServerSocketFactory;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util... | apache-2.0 |
delphix/dxtoolkit | lib/Source_obj.pm | 7467 | #
# 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, software
# distributed under ... | apache-2.0 |
lgoldstein/communitychest | chest/gui/swing/src/test/java/net/community/chest/test/gui/ResourcesTester.java | 3969 | package net.community.chest.test.gui;
import java.io.BufferedReader;
import java.io.PrintStream;
import net.community.chest.Triplet;
import net.community.chest.awt.dom.converter.InsetsValueInstantiator;
import net.community.chest.awt.layout.gridbag.ExtendedGridBagConstraints;
import net.community.chest.awt.layout.grid... | apache-2.0 |
antoniocarlon/jummyshapefile | src/main/java/com/jummyshapefile/dbf/model/DBFFieldDescriptor.java | 2717 | /*
* Copyright 2015 ANTONIO CARLON
*
* 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... | apache-2.0 |
carols10cents/zopfli | Makefile | 992 | CC = gcc
CXX = g++
CFLAGS = -W -Wall -Wextra -ansi -pedantic -lm -O2 -Wno-unused-function
CXXFLAGS = -W -Wall -Wextra -ansi -pedantic -O2
ZOPFLI_RUST_DEBUG := target/debug/libzopfli.a
ZOPFLI_RUST_RELEASE := target/release/libzopfli.a
ZOPFLILIB_OBJ := $(patsubst src/zopfli/%.c,%.o,$(ZOPFLILIB_SRC))
.PHONY: zopfli
.P... | apache-2.0 |
HubSpot/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTableScanException.java | 6339 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
dagnir/aws-sdk-java | aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/transform/WriteSegmentRequestMarshaller.java | 2302 | /*
* Copyright 2012-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 "licen... | apache-2.0 |
kangli914/JmeterAutomation | apache-jmeter-3.2/docs/api/org/apache/jmeter/reporters/package-summary.html | 8001 | <!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 -->
<title>org.apache.jmeter.reporters (Apache JMeter API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" titl... | apache-2.0 |
Invoca/google-api-ads-ruby | dfp_api/lib/dfp_api/v201711/team_service.rb | 1648 | # Encoding: utf-8
#
# This is auto-generated code, changes will be overwritten.
#
# Copyright:: Copyright 2017, Google Inc. All Rights Reserved.
# License:: Licensed under the Apache License, Version 2.0.
#
# Code generated by AdsCommon library 1.0.0 on 2017-10-13 16:16:32.
require 'ads_common/savon_service'
require '... | apache-2.0 |
SAP/openui5 | src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/AssetRegistry.js | 548 | sap.ui.define(['exports', './asset-registries/i18n', './asset-registries/LocaleData', './asset-registries/Themes', './asset-registries/Icons'], function (exports, i18n, LocaleData, Themes, Icons) { 'use strict';
exports.registerI18nLoader = i18n.registerI18nLoader;
exports.registerLocaleDataLoader = LocaleData.reg... | apache-2.0 |
antontsv/.files | .misc/tmux/theme.sh | 739 |
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
# default to a dark color scheme
source-file $HOME/.misc/tmux/theme-dark.conf
if-shell '[ -x "$HOME/bin/color-mode-for-term" ] && [ "$($HOME/bin/color-mode-for-term)" = "light" ]' \
'source-file $HOME/.misc/tmux/theme-light.conf... | apache-2.0 |
hzn1995/views | about.html | 7874 | <!DOCTYPE HTML>
<html>
<head>
<title>About</title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<!-- Custo... | apache-2.0 |
wildfly-swarm/wildfly-swarm-javadocs | 2017.12.1/apidocs/org/wildfly/swarm/config/messaging/activemq/server/ha_policy/shared_store_colocated/class-use/SlaveConfigurationSupplier.html | 9343 | <!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 Dec 13 10:32:44 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | apache-2.0 |
diandianxiyu/Yii2-CMS-Template | config/db_app.php | 217 | <?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2_app',
'username' => 'root',
'password' => 'lixiaoyu',
'charset' => 'utf8mb4',
'tablePrefix' => '',
];
| apache-2.0 |
yicold/axure-case | dingschool/files/a5-5-4____/styles.css | 112790 | body {
margin:0px;
background-image:none;
position:static;
left:auto;
width:2605px;
margin-left:0;
margin-right:0;
text-align:left;
}
#base {
position:absolute;
z-index:0;
}
#u7620_div {
position:absolute;
left:0px;
top:0px;
width:377px;
height:2221px;
background:inherit;
background-c... | apache-2.0 |
pimterry/chutzpah | Chutzpah/Utility/ICompilerCache.cs | 212 | using System;
namespace Chutzpah.Utility
{
public interface ICompilerCache
{
string Get(string source);
void Set(string source, string compiled);
void Save();
}
} | apache-2.0 |
tanliu/fruit | fruit-core/src/main/java/com/fruit/service/management/QualityService.java | 2193 | package com.fruit.service.management;
import com.fruit.base.BaseService;
import com.fruit.entity.management.Quality;
import java.util.Map;
/**
* 产品质量检测 Service
* @author CSH
*
*/
public interface QualityService extends BaseService<Quality> {
/**返回当前质检人员的质检记录
* @param page
* @param pageSize
* @param ... | apache-2.0 |
phil-opp/rustos-experiment | lib/libstd/src/sync/mod.rs | 1543 | // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.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 ... | apache-2.0 |
googleapis/python-retail | google/cloud/retail_v2/services/search_service/__init__.py | 765 | # -*- coding: utf-8 -*-
# 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... | apache-2.0 |
schmittjoh/php-stubs | res/php/wincache/functions/wincache-scache-meminfo.php | 198 | <?php
/**
* Retrieves information about session cache memory usage
*
* @phpstub
*
* @return array Array of meta data about session cache memory usage
*/
function wincache_scache_meminfo()
{
} | apache-2.0 |
d0k1/jitloganalyzer | analyzer/src/main/java/com/focusit/jitloganalyzer/tty/model/WriterEvent.java | 637 | package com.focusit.jitloganalyzer.tty.model;
/**
* Created by doki on 08.11.16.
* <writer thread='139821162608384'/>
*/
public class WriterEvent extends AbstractTTYEvent implements TTYEvent, HasThreadId
{
private final static String START_TOKEN = "<writer";
private long threadId;
@Override
public... | apache-2.0 |
suhe/bdoportal | resources/views/files/form Copy.blade.php | 6981 | @extends('portalz::layout')
@section('content')
@section('breadcrumbs', Breadcrumbs::render('file-management-form',$data))
<div class="row">
<div class="col-md-12">
{!! Form::open(['url' => 'management/file/store','files' => true,'id'=>'storeForm','class'=>'form-horizontal']) !!}
{!! Form::hidden('id', isset($data... | apache-2.0 |