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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_80) on Thu Oct 15 19:26:57 UTC 2015 --> <title>RetryPolicy (AWS SDK for Java - 1.10.27)</title> <meta name="date" content="2015-10-15">...
TomNong/Project2-Intel-Edison
documentation/javadoc/com/amazonaws/retry/RetryPolicy.html
HTML
apache-2.0
22,870
package ca.sfu.client; import java.awt.Container; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.io.IOException; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.s...
yukezhu/LifeGameSim
GameOfLifeClient/src/ca/sfu/client/MainFrame.java
Java
apache-2.0
4,665
#!/bin/bash BASEDIR=`dirname $0` JAR="${BASEDIR}/../target/disassembler.jar" java -jar ${JAR} $1 $1.javr.asm java -jar ${JAR} --avr-as $1 $1.avr-as.asm
toby1984/javr
scripts/disassemble.sh
Shell
apache-2.0
154
package example import common._ object Lists { /** * This method computes the sum of all elements in the list xs. There are * multiple techniques that can be used for implementing this method, and * you will learn during the class. * * For this example assignment you can use the following methods in ...
spolnik/scala-workspace
scala-learning/example/src/main/scala/example/Lists.scala
Scala
apache-2.0
1,773
package actors.messages /** * Created by becker on 2/4/15. */ case object StartMessage case object StopMessage
dockarium-io/dockarium-io
server/app/actors/messages/Messages.scala
Scala
apache-2.0
113
# Gymnopilus carbonarius (Fr.) Murrill, 1912 SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Mycologia 4(5): 256 (1912) #### Original name Agaricus carbonarius Batsch, 1783 ### Remarks null
mdoering/backbone
life/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Strophariaceae/Pholiota/Pholiota highlandensis/ Syn. Gymnopilus carbonarius/README.md
Markdown
apache-2.0
250
<?php // @link http://schemas.wbeme.com/json-schema/eme/users/event/user-deleted/latest.json# namespace Eme\Schemas\Users\Event; use Gdbots\Pbj\Message; interface UserDeleted extends Message { }
wb-eme/schemas
build/php/src/Eme/Schemas/Users/Event/UserDeleted.php
PHP
apache-2.0
197
/** * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ /** * Entity objects describing simple payment financial instruments. */ package com.opengamma.strata.product.payment;
ChinaQuants/Strata
modules/product/src/main/java/com/opengamma/strata/product/payment/package-info.java
Java
apache-2.0
261
/** * Copyright 2011 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 ...
Cybnate/NuBitsj
core/src/main/java/com/matthewmitchell/nubitsj/core/InventoryMessage.java
Java
apache-2.0
3,212
package io.github.giovibal.mqtt; import io.vertx.core.Vertx; import io.vertx.core.shareddata.LocalMap; import java.util.LinkedHashSet; import java.util.Set; import java.util.regex.Pattern; /** * Created by giovanni on 10/05/2014. * Manages subscritpions and MQTT topic rules */ public class MQTTTopicsManager imple...
GruppoFilippetti/vertx-mqtt-broker
src/main/java/io/github/giovibal/mqtt/MQTTTopicsManager.java
Java
apache-2.0
1,872
package net.kernal.spiderman.worker.result; import net.kernal.spiderman.worker.Task; import net.kernal.spiderman.worker.extract.ExtractResult; import net.kernal.spiderman.worker.extract.ExtractTask; /** * 结果任务 * <Short overview of features> * <Features detail> * * @author qwop * @date May 21, 2017 * @ver...
qwop/spiderman2
src/main/java/net/kernal/spiderman/worker/result/ResultTask.java
Java
apache-2.0
1,062
#region Copyright & License // Copyright © 2012 - 2017 François Chabot, Yves Dierick // // 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/LICEN...
icraftsoftware/BizTalk.Factory
src/BizTalk.Dsl/Dsl/Binding/Adapter/WcfNetTcpAdapter.Inbound.cs
C#
apache-2.0
6,212
#pragma once #include <exception> #include <string> #if defined DLL_EXPORT #define SILENCE_EXPORT __declspec(dllexport) #else #define SILENCE_EXPORT __declspec(dllimport) #endif #pragma warning(disable: 4290) #pragma warning(disable: 4275) #pragma warning(disable: 4251) enum class Component { Label, Textu...
william-taylor/silence-enter-the-forest
Silence.Core/Exception.h
C
apache-2.0
730
package com.pi4j.io.gpio.event; /* * #%L * ********************************************************************** * ORGANIZATION : Pi4J * PROJECT : Pi4J :: Java Library (Core) * FILENAME : PinAnalogValueChangeEvent.java * * This file is part of the Pi4J project. More information about * this...
starksm64/pi4j
pi4j-core/src/main/java/com/pi4j/io/gpio/event/PinAnalogValueChangeEvent.java
Java
apache-2.0
1,991
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'), 'Library\\' => array($baseDir . '/lib'), 'JmesPath\\' => array($vendorDir . '/mtdowling/jmespath....
xfsnow/serverless
face/functions/list/vendor/composer/autoload_psr4.php
PHP
apache-2.0
659
/** * ContactServiceSoap.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.evolveum.polygon.connector.liferay.contact; public interface ContactServiceSoap extends java.rmi.Remote { public com.evolveum.polygon.conne...
Evolveum/connector-liferay
src/main/java/com/evolveum/polygon/connector/liferay/contact/ContactServiceSoap.java
Java
apache-2.0
769
package com.google.sampling.experiential.cloudsql.columns; import com.pacoapp.paco.shared.model2.EventBaseColumns; public class EventServerColumns extends EventBaseColumns { public static final String WHO = "who"; //since when is a keyword, we have to always use a back tick when we use it in any sql query. publ...
google/paco
Paco-Server/src/com/google/sampling/experiential/cloudsql/columns/EventServerColumns.java
Java
apache-2.0
1,078
//Bind pages to tabs var pages = document.getElementById('pages'); var tabs = document.getElementById('tabs'); var aboutpages = document.getElementById('aboutpages'); var gamepages = document.getElementById('gamepages'); var gamehome = document.getElementById('gamehome'); if (tabs.addEventListener){ tabs.addEventListe...
kevxiao/cow-egg-game
scripts/binding.js
JavaScript
apache-2.0
1,693
package org.gradle.test.performance.mediummonolithicjavaproject.p260; public class Production5218 { private Production5215 property0; public Production5215 getProperty0() { return property0; } public void setProperty0(Production5215 value) { property0 = value; } priv...
oehme/analysing-gradle-performance
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p260/Production5218.java
Java
apache-2.0
1,963
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology Co.,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 ...
mc7246/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Poi/StoreJson/StoreBaseInfo.cs
C#
apache-2.0
4,835
--- layout: post title: "一个小型的Web多线程服务器开发笔记" subtitle: "" description: "web server Linux http tcp" date: 2017-05-24 01:00:00 author: "Scalpel" header-img: "img/home-bg-o.jpg" tags: - Linux - 网络编程 ---   首先说一下服务器支持的功能:支持POST和GET方法,目录浏览,可以提供静态与动态两种服务,采用了预线程化的并发技术,[项目主页](https://github.com/scalpelx/Web...
scalpelx/scalpelx.github.io
_posts/2017-05-24-webserver.markdown
Markdown
apache-2.0
15,066
# TraffiKill //NOTE TO SELF: FusedLocationProviderClient API doesn't work on Nexus based Emulators as of 14th April 2015. Works on Physical devices.
karanaggarwal1/TraffiKill
README.md
Markdown
apache-2.0
153
package org.sur.ds.selection; import org.junit.Assert; import org.junit.Test; public class DutchFlagProblemTest { @Test public void testSolve1() { Integer[] numbers = new Integer[]{2,1,0,2,0,1}; DutchFlagProblem dfp = new DutchFlagProblem(); dfp.solve(numbers); Integer[] expected = new Integer[]{0,0,1,1,2,...
bluewolf8/examples
BasicAlgorithms/src/test/java/org/sur/ds/selection/DutchFlagProblemTest.java
Java
apache-2.0
636
// ------------------------------------------------------------------------------------------------- // <copyright file="EnumValue.cs" company="RHEA System S.A."> // // Copyright 2017 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in com...
RHEAGROUP/reqifsharp
ReqIFSharp/Datatype/EnumValue.cs
C#
apache-2.0
6,181
/** * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.xml} class, which represents a * loaded XML document. */ ( function() { /* global ActiveXObjec...
tambora-org/dockerCRE
volumes/www/survey/third_party/ckeditor/plugins/xml/plugin.js
JavaScript
apache-2.0
5,473
/* * Copyright 2014 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 applicab...
GoogleCloudDataproc/hadoop-connectors
gcsio/src/main/java/com/google/cloud/hadoop/gcsio/CreateFileOptions.java
Java
apache-2.0
3,632
/* * Copyright 2006-2008 Web Cohesion * * 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...
garyhodgson/enunciate
core/src/main/java/org/codehaus/enunciate/main/EnunciateTask.java
Java
apache-2.0
12,942
/* Copyright (c) 2014-2015 F-Secure See LICENSE for details */  using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using FSecure.Utils.ExtensionMethods; using System.Windows; using System.Windows.Media; using Sys...
F-Secure/lokki-wp8
Utils/LokkiUtils.cs
C#
apache-2.0
1,626
/* * * Copyright (c) 2021 Project CHIP 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...
project-chip/connectedhomeip
src/app/clusters/ota-provider/ota-provider-delegate.h
C
apache-2.0
2,086
/** * FreeRDP: A Remote Desktop Protocol Implementation * Terminal Server Gateway (TSG) * * Copyright 2012 Fujitsu Technology Solutions GmbH * Copyright 2012 Dmitrij Jasnov <dmitrij.jasnov@ts.fujitsu.com> * Copyright 2015 Thincast Technologies GmbH * Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@th...
bmiklautz/debian-freerdp2
libfreerdp/core/gateway/tsg.c
C
apache-2.0
61,564
import os import csv def get_value_or_default(value, default=None): result = value.strip() if len(result) == 0: result = default return result def read_csv_file(csv_file_name, delimiter, quote_char='"', skip_header=True, e...
CALlanoR/virtual_environments
medical_etls/part1/etls/utils.py
Python
apache-2.0
607
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Copyright (C) 1988-2017 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later...
ATM-HSW/mbed_target
buildtools/gcc-arm-none-eabi-6-2017-q2/share/doc/gcc-arm-none-eabi/html/gdb/Conditional-Init-Constructs.html
HTML
apache-2.0
6,918
package com.faviotorres.pariaguas.utils; import com.faviotorres.pariaguas.Constants; import com.faviotorres.pariaguas.R; import com.faviotorres.pariaguas.model.TempColor; public class TemperatureUtils { private static final float KELVIN = 273.15F; private int getCelsiusFromKelvin(double kelvin){ dou...
faviotorres/Pariaguas
app/src/main/java/com/faviotorres/pariaguas/utils/TemperatureUtils.java
Java
apache-2.0
1,356
/* * FCKeditor - The text editor for internet * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Op...
CouleurCitron/cms-2014
lib/FCKeditor/editor/filemanager/browser/default/js/fckxml.js
JavaScript
apache-2.0
2,822
<!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_35) on Tue Oct 09 17:08:24 PDT 2012 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class com.fasterxml.jacks...
FasterXML/jackson-databind
docs/javadoc/2.1/com/fasterxml/jackson/databind/introspect/class-use/VisibilityChecker.Std.html
HTML
apache-2.0
17,490
# Copyright 2015 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 ...
eayunstack/fuel-astute
lib/fuel_deployment/error.rb
Ruby
apache-2.0
1,776
# -*- coding: utf-8 -*- # Copyright (c) 2015-2022, Exa Analytics Development Team # Distributed under the terms of the Apache License 2.0 from unittest import TestCase import numpy as np import pandas as pd import h5py from exatomic import Universe from exatomic.base import resource from exatomic.molcas.output import O...
exa-analytics/exatomic
exatomic/molcas/tests/test_output.py
Python
apache-2.0
8,381
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example29-production</title> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js"></script> <script src="script.js"></script> </head> <body ng-app="FilterInControllerModule"> ...
LADOSSIFPB/nutrif
nutrif-web/lib/angular/docs/examples/example-example29/index-production.html
HTML
apache-2.0
624
// ---------------------------------------------------------------------------- // Copyright 2007-2013, GeoTelematic Solutions, Inc. // All rights reserved // ---------------------------------------------------------------------------- // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
vimukthi-git/OpenGTS_2.4.9
war/track/js/DeviceInfo.js
JavaScript
apache-2.0
2,300
package com.pearson.statsagg.network.tcp; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelInitializer; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioServerSocketChannel...
PearsonEducation/StatsAgg
src/main/java/com/pearson/statsagg/network/tcp/TcpServer.java
Java
apache-2.0
7,937
# Copyright 2010 The Skunkworx. # # 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...
TheSkunkworx/solr_mapper
spec/query_spec.rb
Ruby
apache-2.0
2,728
<?php if (isset($error)) { ?> <div class="alert alert-danger"><?= $error ?></div> <?php } if (isset($message)) { ?> <div class="alert alert-success"><?= $message ?></div> <?php } $user = new User; if ($user->isLoggedIn()) { ?> <div class="form-group"> <span> <?= t('Atta...
baardev/lbtb
concrete/authentication/community/form.php
PHP
apache-2.0
3,598
package com.lchtime.safetyexpress.bean; /** * @author Admin * @time 2017/4/7 9:44 * @des ${TODO} */ public class LoginResult { public BasicResult result;//基础结果 public String vc_code;//验证码 public String ub_id;//用户的ID }
simonOrganization/safe
app/src/main/java/com/lchtime/safetyexpress/bean/LoginResult.java
Java
apache-2.0
256
# Gomphandra glabra Merr. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Icacinales/Icacinaceae/Gomphandra/Gomphandra glabra/README.md
Markdown
apache-2.0
173
<!DOCTYPE html> <!--[if IE 8]><html class="ie8"><![endif]--> <!--[if IE 9]><html class="ie9"><![endif]--> <!--[if gt IE 9]><!--> <html> <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> ...
xiaoping378/openshift-docs
index-community.html
HTML
apache-2.0
4,235
# Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' # Add additional assets to the asset load path #Rails.application.config.assets.paths << Emoji.images_path # Precompile additional ...
echoisecho/myapp
config/initializers/assets.rb
Ruby
apache-2.0
546
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
cedral/aws-sdk-cpp
aws-cpp-sdk-apigatewaymanagementapi/source/ApiGatewayManagementApiClient.cpp
C++
apache-2.0
10,060
/* * Copyright (c) Facebook, Inc. and 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 applic...
JoelMarcey/buck
src/com/facebook/buck/rules/modern/builders/ModernBuildRuleRemoteExecutionHelper.java
Java
apache-2.0
36,277
# Dahlstedtia Malme GENUS #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Dahlstedtia/README.md
Markdown
apache-2.0
173
package uk.co.mmckenzie.visual; import java.util.ArrayList; import javafx.fxml.FXML; import javafx.scene.control.TabPane; public class MainController implements Controller { private static ArrayList<Controller> allControllers = new ArrayList<>(); @FXML private TabPane tabPane; @FXML private v...
mmckenzie70/visual
src/main/java/uk/co/mmckenzie/visual/MainController.java
Java
apache-2.0
687
/* Document : metamorphosis Created on : 13-Mar-2011, 1:34:28 PM Author : agdarby Description: One of the backgrounds for SubjectdPlus */ body { background: url(../../images/admin/bug_bg.jpg) repeat; }
lalvarezcu/subjectsplus
assets/css/theme/metamorphosis.css
CSS
apache-2.0
232
<nav> <div class="nav-left text-light"><a href='/'>YRM<span class='faded'>2015</span></a></div> <div class="nav-right"> <ul> <li><a href="schedule">Schedule</a></li> <li><a href="location">Location</a></li> <li><a href="speakers">Speakers</a></li> <li id='nav-more'><a href="#more">More&nbsp;&nbsp;<i cla...
robcalcroft/YRM2015
src/nav.transparent.html
HTML
apache-2.0
459
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2019] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
muffato/ensembl
modules/Bio/EnsEMBL/Utils/Collector.pm
Perl
apache-2.0
54,184
package com.royalrangers.enums.achivement; public enum TestType { /*0*/ DEFAULT, /*1*/ BLUE, /*2*/ GREEN, /*3*/ YELLOW, /*4*/ LIGHTBLUE, /*5*/ RED, /*6*/ ORANGE, /*7*/ BROWN, /*8*/ PLATINUM }
royalrangers-ck/rr-api
src/main/java/com/royalrangers/enums/achivement/TestType.java
Java
apache-2.0
229
// <copyright file="ExtendedImageRenderer.cs" company="Anura Code"> // All rights reserved. // </copyright> // <author>Alberto Puyana</author> using System; using System.IO; using Xamarin.Forms; namespace Anuracode.Forms.Controls.Renderers { /// <summary> /// Image source binding. /// </summary> publi...
anuracode/forms_controls
Anuracode.Forms.Controls.Droid/ExtendedImage/ImageSourceBinding.cs
C#
apache-2.0
3,002
# Copyright 2011 James McCauley # # This file is part of POX. # # POX 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 version. # # POX is distri...
PrincetonUniversity/AdvNet-OF_Scripts
evaluation/switch/flowmod_test/pox/pox/samples/l2_bell_burst_mod.py
Python
apache-2.0
7,313
// ======================================================================== // Copyright (c) 2010 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the terms of the Ecl...
thomasbecker/jetty-spdy
jetty-webapp/src/test/java/org/eclipse/jetty/webapp/WebAppContextTest.java
Java
apache-2.0
6,755
// Package apihelper contains some methods which make working with the http // package a bit nicer package apihelper import ( "encoding/json" "fmt" "io" "net/http" "github.com/mediocregopher/mediocre-api/common" "github.com/mediocregopher/mediocre-api/pickyjson" ) // ErrUnlessMethod checks that the given reque...
mediocregopher/mediocre-api
common/apihelper/apihelper.go
GO
apache-2.0
1,921
// Copyright 2019 Istio 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 i...
geeknoid/istio
galley/pkg/testing/mock/deployments.go
GO
apache-2.0
3,418
/******************************************************************************* * 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/Vloxlands
core/src/de/dakror/vloxlands/game/Game.java
Java
apache-2.0
28,522
# -*- coding: utf-8 -*- # # 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 #...
owlabs/incubator-airflow
tests/contrib/hooks/test_gcp_video_intelligence_hook.py
Python
apache-2.0
3,290
package org.dorkmaster.yasd.where; import org.dorkmaster.yasd.Column; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** * Author: mjackson * Date: 5/13/15 11:06 PM */ public class Between extends AbstractCondition{ private Column column; private List<Object> params = new ...
minininja/yasd
src/main/java/org/dorkmaster/yasd/where/Between.java
Java
apache-2.0
910
package controller.implementation; import java.math.BigInteger; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import controller.FuncionarioController; import domain.Funcionario; public class FuncionarioControllerImpl implement...
a1705164/Restaurante
Restaurante/Web/src/controller/implementation/FuncionarioControllerImpl.java
Java
apache-2.0
2,337
// Copyright 2014 Esri // 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 w...
aOrtego/arcgis-pro-sdk-community-samples
Framework/Localization/DockpaneLocalizedViewModel.cs
C#
apache-2.0
2,343
using Shared.Core.Dtos; using Shared.Core.Dtos.References; using Shared.I18n.Utils; using System; using System.Linq.Expressions; using System.Web.Mvc; using System.Web.Mvc.Html; using System.Web.Routing; namespace Client.Core.HtmlHelpers { public static class LocalizedActionLinkExtensions { public sta...
MurielSoftware/MyArt
Client.Core/HtmlHelpers/LocalizedActionLinkExtensions.cs
C#
apache-2.0
3,704
/** * 文件名 : package-info.java * 包 名 : tk.ainiyue.danyuan.application.dbm.tabs * 描 述 : TODO(用一句话描述该文件做什么) * 机能名称: * 技能ID : * 作 者 : wang * 时 间 : 2017年7月12日 下午10:22:30 * 版 本 : V1.0 */ package org.danyuan.application.dbms.tabs;
514840279/danyuan-application
src/main/java/org/danyuan/application/dbms/tabs/package-info.java
Java
apache-2.0
360
// Copyright 2016 DeepFabric, 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...
deepfabric/elasticell
pkg/redis/resp.go
GO
apache-2.0
2,061
<?php require_once '../../../../core/init.php'; chdir(dirname(__FILE__)); ?> <!DOCTYPE html> <html class="no-js" lang="en"> <head> <title>Patient Health</title> <?php include '../../../../includes/php/head.php'; ?> <link rel="stylesheet" type="text/css" href="css/blue-buttons-list.css"> <script type="text...
ehosp/eHOSP-Services-CE
src/resources/views/services/patient-med-profile/measurement_includes/Results/inhaler.php
PHP
apache-2.0
2,312
/** GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not all...
alfiethomas/datafilters
build/JSCover-0.1.1/src/test-integration/java/jscover/report/lcov/LCovGeneratorIntegrationTest.java
Java
apache-2.0
20,988
/* LzFind.h -- Match finder for LZ algorithms 2009-04-22 : Igor Pavlov : Public domain */ /* Modified by Felix Hanau*/ #ifdef __cplusplus extern "C" { #endif typedef unsigned char Byte; typedef unsigned UInt32; typedef struct _CMatchFinder { const Byte *buffer; const Byte *bufend; UInt32 pos; ...
fhanau/Efficient-Compression-Tool
src/LzFind.h
C
apache-2.0
4,182
/* * Copyright (c) 2015 mgm technology partners GmbH * * 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...
mgm-tp/jfunk
jfunk-core/src/main/java/com/mgmtp/jfunk/core/ui/JFunkFrame.java
Java
apache-2.0
18,651
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/LICE...
Sargul/dbeaver
plugins/org.jkiss.dbeaver.ext.oracle/src/org/jkiss/dbeaver/ext/oracle/model/OracleInsertReplaceMethodIgnore.java
Java
apache-2.0
2,574
/* * Copyright 2013 * * 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...
rPraml/org.openntf.domino
domino/core/src/main/java/org/openntf/domino/ViewEntry.java
Java
apache-2.0
4,134
/* * Licensed Materials - Property of IBM * (C) Copyright IBM Corp. 2010, 2017 * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ define({ // NLS_CHARSET=UTF-8 // configuration configuration_pane_aspera_url: "Adresa URL servera ...
ibm-ecm/ibm-navigator-aspera-sample
src/main/resources/com/ibm/ecm/extension/aspera/WebContent/aspera/nls/sk/messages.js
JavaScript
apache-2.0
4,353
<?php // Code for Session Cookie workaround if (isset($_POST["PHPSESSID"])) { session_id($_POST["PHPSESSID"]); } else if (isset($_GET["PHPSESSID"])) { session_id($_GET["PHPSESSID"]); } session_start(); $POST_MAX_SIZE = ini_get('post_max_size'); $unit = strtoupper(substr($POST_MAX_SIZE, -1)); ...
SailingLRH/sailing
sailing/src/main/webapp/resources/SWFUpload v2.2.0/upload.php
PHP
apache-2.0
3,306
<!-- BEGIN MUNGE: UNVERSIONED_WARNING --> <!-- BEGIN STRIP_FOR_RELEASE --> <img src="http://kubernetes.io/img/warning.png" alt="WARNING" width="25" height="25"> <img src="http://kubernetes.io/img/warning.png" alt="WARNING" width="25" height="25"> <img src="http://kubernetes.io/img/warning.png" alt="WARNING"...
evandbrown/kubernetes
docs/user-guide/logging.md
Markdown
apache-2.0
4,760
#include "base/geo_object_id.hpp" #include "base/assert.hpp" #include <iostream> #include <sstream> namespace { // todo(@m) Uncomment when the transition from osm::Id to base::GeoObjectId is complete // and add assertions about the highest bit. // The old scheme used the highest bit and the new one...
ygorshenin/omim
base/geo_object_id.cpp
C++
apache-2.0
3,159
/** * */ package org.minnal.security.auth; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.St...
minnal/minnal
minnal-security/src/main/java/org/minnal/security/auth/JaxrsWebContext.java
Java
apache-2.0
3,914
package opts // import "github.com/tiborvass/docker/opts" // QuotedString is a string that may have extra quotes around the value. The // quotes are stripped from the value. type QuotedString struct { value *string } // Set sets a new value func (s *QuotedString) Set(val string) error { *s.value = trimQuotes(val) ...
tiborvass/docker
opts/quotedstring.go
GO
apache-2.0
851
function New-VSNetworkManagerDevice { <# .SYNOPSIS Adds an AWS::NetworkManager::Device resource to the template. Specifies a device. .DESCRIPTION Adds an AWS::NetworkManager::Device resource to the template. Specifies a device. .LINK http://docs.aws.amazon.com/AWSCloudFormation...
scrthq/Vaporshell
VaporShell/Public/Resource Types/New-VSNetworkManagerDevice.ps1
PowerShell
apache-2.0
17,490
/* Copyright 2020 The cert-manager 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...
jetstack-experimental/cert-manager
pkg/controller/certificates/internal/secretsmanager/keystore.go
GO
apache-2.0
4,691
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2010 The ZAP Development team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
zapbot/zaproxy
src/org/zaproxy/zap/extension/anticsrf/ExtensionAntiCSRF.java
Java
apache-2.0
15,949
/* ### * IP: GHIDRA * * 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...
NationalSecurityAgency/ghidra
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/sparseimage/SparseImageFileSystem.java
Java
apache-2.0
4,153
package com.darrensun.timus; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; /** * Timus 1881 - Long problem statement * Created by Darren on 14-7-9. */ public class Q1881 { public static void main(String[] args) { Buffered...
darrensun/OJ-Solutions
src/com/darrensun/timus/Q1881.java
Java
apache-2.0
1,228
# Getting started with Liberty on Bluemix By following this guide, you'll set up a development environment, deploy an app locally and on Bluemix, and integrate a Bluemix database service in your app. ## Prerequisites You'll need [Git](https://git-scm.com/downloads), [Cloud Foundry CLI](https://github.com/cloudfoundry...
markroberts0830/SimpleJavaApp-MR01
README.md
Markdown
apache-2.0
6,202
package com.turn.ttorrent.client.network; import com.turn.ttorrent.client.Context; import com.turn.ttorrent.client.Handshake; import com.turn.ttorrent.client.LoadedTorrent; import com.turn.ttorrent.client.SharedTorrent; import com.turn.ttorrent.client.peer.SharingPeer; import com.turn.ttorrent.common.LoggerUtils; impo...
JetBrains/ttorrent-lib
ttorrent-client/src/main/java/com/turn/ttorrent/client/network/HandshakeReceiver.java
Java
apache-2.0
6,252
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; using HiddenSound.API.Identity; using Newtonsoft.Json; namespace HiddenSound.API.Areas.Shared.Models { public class Devi...
hidden-sound-team/Hidden-Sound-API
HiddenSound.API/Areas/Shared/Models/Device.cs
C#
apache-2.0
678
package am.foodi.popularmovies; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class ReviewAdapter extends ArrayAdapter<Review> { Context mContext; public R...
dougchestnut/udacity-movies-app
app/src/main/java/am/foodi/popularmovies/ReviewAdapter.java
Java
apache-2.0
1,001
/* * 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 ...
milleruntime/accumulo
core/src/test/java/org/apache/accumulo/core/file/BloomFilterLayerLookupTest.java
Java
apache-2.0
5,732
# Pseudellipsoidion Neustupa & Nemcova, 2001 GENUS #### Status ACCEPTED #### According to Interim Register of Marine and Nonmarine Genera #### Published in Beih Nova Hedwigia 123: 375. #### Original name null ### Remarks null
mdoering/backbone
life/Chromista/Ochrophyta/Eustigmatophyceae/Eustigmataceae/Pseudellipsoidion/README.md
Markdown
apache-2.0
230
# Peperomia gorgonillana var. hirsutula Trel. & Yunck. VARIETY #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Piperales/Piperaceae/Peperomia/Peperomia gorgonillana/Peperomia gorgonillana hirsutula/README.md
Markdown
apache-2.0
202
/** * */ package org.crazyit.auction.client.util; import org.crazyit.auction.client.AuctionClientActivity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.DialogInterface.OnClickListener; import android.vie...
00wendi00/MyProject
W_eclipse1_2/AuctionClient/src/org/crazyit/auction/client/util/DialogUtil.java
Java
apache-2.0
1,524
/* * Copyright (c) 2016, https://github.com/nebula-im/nebula * 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 ...
nebula-im/imengine
proto/mtproto/schema2.tl.h
C
apache-2.0
24,384
class ActionNotifier def initialize(action) @action = action end def notify Notification.transaction do users.each do |user| Notification.create(action: action, user: user) end end end private attr_reader :action def users @users ||= User.joins(:profile).where(profi...
foliea/deckie-api
app/jobs/action_notifier_job.rb
Ruby
apache-2.0
504
using System; using System.IO; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Collections; using System.Threading; using System.Linq.Expressions; using System.Reflection; using System.Web.SessionState; namespace ManagerShop.Infrastructure.Core { /// <summ...
dawutao/ManagerShop
ManagerShop.UI/ManagerShop.Core/Web/WebHelper.cs
C#
apache-2.0
14,626
/* * Copyright 2016-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
osinstom/onos
core/store/primitives/src/main/java/org/onosproject/store/primitives/resources/impl/AtomixWorkQueue.java
Java
apache-2.0
8,304
/* * Copyright (C) 2014 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...
goinstant/dagger
compiler/src/main/java/dagger2/internal/codegen/MapKeyValidator.java
Java
apache-2.0
1,307
# AUTOGENERATED FILE FROM balenalib/imx8m-var-dart-ubuntu:cosmic-run # remove several traces of debian python RUN apt-get purge -y python.* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # install python d...
nghiant2710/base-images
balena-base-images/python/imx8m-var-dart/ubuntu/cosmic/3.6.12/run/Dockerfile
Dockerfile
apache-2.0
4,075
/* * 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 ...
tophua/spark1.52
examples/src/main/scala/org/apache/spark/examples/mllib/AbstractParams.scala
Scala
apache-2.0
2,086
--- title: Wire Serializer summary: How to use the Wire serializer in an endpoint. related: - nservicebus/serialization --- ## NServiceBus.Wire This samples uses the community run serializer [NServiceBus.Wire](https://github.com/hmemcpy/NServiceBus.Wire) to serialize messages with the [Wire](https://github.com/rogera...
eclaus/docs.particular.net
samples/serializers/wire/sample.md
Markdown
apache-2.0
570