code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
/* * Copyright (C) 2013-2015 RoboVM AB * * 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 ...
samskivert/robovm-samples
robopods/parse/anypic/ios/src/main/java/org/robovm/samples/robopods/parse/anypic/ios/ui/views/PAPImageView.java
Java
apache-2.0
1,875
// 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...
mufaddalq/cloudstack-datera-driver
server/src/com/cloud/vm/NicDetailVO.java
Java
apache-2.0
2,148
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Factory.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licensed under the Apache Li...
picklesdoc/pickles
src/Pickles.Test/ObjectModel/Factory.cs
C#
apache-2.0
6,503
package com.zestedesavoir.sdk.internal.query; /** * Created by Gerard on 26/02/15. */ public interface Parameter { }
GerardPaligot/zds-android-sdk
sdk/src/main/java/com/zestedesavoir/sdk/internal/query/Parameter.java
Java
apache-2.0
120
<?php namespace App\Controllers; use jaspion\Controllers\Controller; /** * @secured=true * * */ class InicioController extends Controller { public function inicioAction() { $this->render('index'); } public function erro404() { $this->render("erro404"); } public function err...
gilmario-kpslow/cardgame
App/Controllers/InicioController.php
PHP
apache-2.0
415
package com.github.fhuss.storm.elasticsearch.state; import com.github.fhuss.storm.elasticsearch.handler.BulkResponseHandler; import com.github.fhuss.storm.elasticsearch.Document; import com.github.fhuss.storm.elasticsearch.handler.BulkResponseHandler.LoggerResponseHandler; import com.github.fhuss.storm.elasticsearch.m...
lambdacloud/storm-trident-elasticsearch
src/main/java/com/github/fhuss/storm/elasticsearch/state/ESIndexUpdater.java
Java
apache-2.0
1,390
# Some magic for Python3 try: import SocketServer as socketserver except ImportError: import socketserver import logging import sys import threading class EchoUDPHandler(socketserver.BaseRequestHandler): def handle(self): data = self.request[0].strip() socket = self.request[1] logging.info("%s wrot...
rc500/ardrone_archive_aarons_laptop
ardrone/udpechoserver.py
Python
apache-2.0
746
""" 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 distri...
bcgov/gwells
app/backend/submissions/urls.py
Python
apache-2.0
2,402
package javaBean; import java.sql.Timestamp; import property.enums.widget.enumWidgetPosition; public class DevelopedWidget extends Widget{ private float totalReview; private int reviewCount; private final String subImagePath; private final String mainImagePath; private final String widgetRoot; private fina...
PuppyRush/WidgetStore
src/javaBean/DevelopedWidget.java
Java
apache-2.0
4,522
/** * @license Copyright 2018 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...
umaar/lighthouse
lighthouse-core/audits/network-requests.js
JavaScript
apache-2.0
3,962
/* * Copyright (C) 2010 The MobileSecurePay Project * All right reserved. * author: shiqun.shi@alipay.com */ package cn.com.bluemoon.jeesite.modules.pay.service.alipay; public final class Base64 { static private final int BASELENGTH = 128; static private final int LOOKUPLENGTH = 64; static private final int T...
zhangleidaniejian/bluemmSite
src/main/java/cn/com/bluemoon/jeesite/modules/pay/service/alipay/Base64.java
Java
apache-2.0
8,005
/*============================================================ Problem: Simplify Path ============================================================== Given an absolute path for a file (Unix-style), simplify it. For example, path = "/home/", => "/home" path = "/a/./b/../../c/", => "/c" Corner Cases: Did you consider th...
LiFantastic/LeetCode
#071.cpp
C++
apache-2.0
1,370
package com.material.am.dialogplus; /* * Copyright 2014 Orhan Obut 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...
13120241790/MaterialDesginAM
ammaterialdesign/src/main/java/com/material/am/dialogplus/OnCancelListener.java
Java
apache-2.0
708
<?php include("header.php"); ?> <!-- Page Content --> <div id="page-content-wrapper"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h1>Server Statistics</h1> <?php include('read_stats.php'); ...
henfredemars/php-wall-project
stats.php
PHP
apache-2.0
562
/** * IGroupHandler.java * com.oppo.base.cache.group * * Function: TODO * * ver date author * ────────────────────────────────── * 1.0 2011-10-25 80036381 * * Copyright (c) 2011 NearMe, All Rights Reserved. */ package com.oppo.base.cache.group; import java.util.List; imp...
jabelai/Neverland
J2EE/BaseTools/src/main/java/com/oppo/base/cache/group/IGroupHandler.java
Java
apache-2.0
1,006
/* Copyright (c) 2018 PaddlePaddle 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 applicable law or...
reyoung/Paddle
paddle/fluid/framework/details/build_strategy.cc
C++
apache-2.0
5,422
module.exports.handler = (event, context) => { if (!context.iopipe || !context.iopipe.mark) { return context.succeed(new Error('No plugins')); } return context.succeed(200); };
iopipe/serverless-plugin-iopipe
testProjects/cosmi/handlers/simple.js
JavaScript
apache-2.0
187
package org.aktin.broker.rest; import java.io.IOException; import java.io.Reader; import java.net.URISyntaxException; import java.sql.SQLException; import java.time.Instant; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.inject.Inject; import javax.ws.rs.BadReques...
aktin/broker
broker-server/src/main/java/org/aktin/broker/rest/RequestAdminEndpoint.java
Java
apache-2.0
14,961
/* * Copyright 2006-2012 The Scriptella Project Team. * * 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...
scriptella/scriptella-etl
drivers/src/java/scriptella/driver/text/TextConnectionParameters.java
Java
apache-2.0
3,782
package de.endrullis.idea.postfixtemplates.templates; /** * Special types representing groups of Java types/classes. * * @author Stefan Endrullis &lt;stefan@endrullis.de&gt; */ public enum SpecialType { ANY, VOID, NON_VOID, ARRAY, BOOLEAN, ITERABLE_OR_ARRAY, NOT_PRIMITIVE, NUMBER, CLASS, //FIELD, LOCAL_VARIABL...
xylo/intellij-postfix-templates
src/de/endrullis/idea/postfixtemplates/templates/SpecialType.java
Java
apache-2.0
530
<?php require_once('Autoload.php'); class SQLAuthTest extends PHPUnit\Framework\TestCase { public function testSQLAuthenticator() { $GLOBALS['FLIPSIDE_SETTINGS_LOC'] = './tests/helpers'; if(!isset(FlipsideSettings::$dataset['auth'])) { $params = array('dsn'=>'mysql:host=local...
BurningFlipside/CommonCode
tests/travis/SQLAuthTest.php
PHP
apache-2.0
5,486
<?php App::uses('ChatAppModel', 'Chat.Model'); /** * QuizAnswersQuizQuestionsUser Model * * @property QuizAnswer $QuizAnswer * @property QuizQuestion $QuizQuestion * @property User $User */ class QuizAnswersQuizQuestionsUser extends ChatAppModel { //The Associations below have been created with all possible ke...
phlyper/cakesky
Plugin/Chat/Model/QuizAnswersQuizQuestionsUser.php
PHP
apache-2.0
921
import multiprocessing import threading import uuid import random import time import os import signal import traceback from memsql_loader.api import shared from memsql_loader.db import connection_wrapper, pool from memsql_loader.loader_db.tasks import Tasks from memsql_loader.loader_db.jobs import Jobs from memsql_loa...
memsql/memsql-loader
memsql_loader/execution/worker.py
Python
apache-2.0
14,261
# Copyright 2013-2015 DataStax, 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 in writi...
sontek/python-driver
tests/integration/__init__.py
Python
apache-2.0
8,900
/* * 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-securityhub/source/model/AwsEc2SecurityGroupDetails.cpp
C++
apache-2.0
4,284
// Copyright (c) 2017-2021 Tigera, 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 ...
Metaswitch/calico
fv/infrastructure/felix.go
GO
apache-2.0
7,199
/* Copyright 2016 The Kubernetes 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 applicable law or ag...
dlorenc/minikube
pkg/minikube/sshutil/sshutil_test.go
GO
apache-2.0
3,735
// Code generated by go-swagger; DO NOT EDIT. package admin // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "io" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" "github.com/ory/hydra/internal/htt...
ory-am/go-iam
internal/httpclient/client/admin/delete_o_auth2_client_responses.go
GO
apache-2.0
3,026
/* * Copyright 2010 netling project <http://netling.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.org/licenses/LICENSE-2.0 * * Unless required by app...
rwinston/netling
src/main/java/org/netling/ftp/FTPConnectionClosedException.java
Java
apache-2.0
2,615
/* * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
emil-wcislo/sbql4j8
sbql4j8/src/main/openjdk/sbql4j8/javax/lang/model/type/UnionType.java
Java
apache-2.0
1,752
/* * Copyright 2016-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...
justinmuller/buck
src/com/facebook/buck/graph/ParentTraversableGraph.java
Java
apache-2.0
918
''' Implements the targetcli target related UI. This file is part of targetcli. Copyright (c) 2011-2013 by Datera, 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/lic...
agrover/targetcli-fb
targetcli/ui_target.py
Python
apache-2.0
54,009
/* * Copyright 2017 Patrick Ahlbrecht * * 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 ...
onyxbits/raccoon4
src/main/java/de/onyxbits/raccoon/gplay/RealDevice.java
Java
apache-2.0
4,179
package com.appspot.pistatium.houkagoapp; import android.content.Intent; import android.os.Bundle; import com.appspot.pistatium.houkagoapp.base.ActivityBase; import com.appspot.pistatium.utilities.L; import com.appspot.pistatium.utilities.Pref; public class SplashActivity extends ActivityBase{ @Override ...
pistatium/houkago_app
android/src/com/appspot/pistatium/houkagoapp/SplashActivity.java
Java
apache-2.0
1,266
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. namespace ImageMagick { internal sealed class ExifSignedByteArray : ExifArrayValue<sbyte> { public ExifSignedByteArray(ExifTagValue tag) : base(tag) { } ...
dlemstra/Magick.NET
src/Magick.NET.Core/Profiles/Exif/Values/ExifSignedByteArray.cs
C#
apache-2.0
413
/* Copyright 2009 Semantic Discovery, Inc. (www.semanticdiscovery.com) This file is part of the Semantic Discovery Toolkit. The Semantic Discovery Toolkit is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free So...
KoehlerSB747/sd-tools
src/main/java/org/sd/xml/XmlPrettyPrint.java
Java
apache-2.0
2,616
package org.minazou67.sample.se8; import java.util.Optional; public class OptionalSample { public static class MyClass { // Optional 型を返却するメソッド public static Optional<String> getHoge(String value) { // null の場合は空の Optional を返却 return Optional.ofNullable(value); } } public static void main(String[] args...
minazou67/java-se-re-introduction-sample
src/main/java/org/minazou67/sample/se8/OptionalSample.java
Java
apache-2.0
565
# Copyright (c) 2013 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 agreed to in writi...
0xf2/stackalytics
stackalytics/processor/record_processor.py
Python
apache-2.0
30,623
package com.thesecretpie.shader.test; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputAdapter; import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Mesh; i...
Rsgm/gdx-shaders
gdx-shaders-test/src/com/thesecretpie/shader/test/SimpleTest.java
Java
apache-2.0
2,239
/* * Copyright 2002-2015 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-projects/spring-framework
spring-aspects/src/test/java/org/springframework/cache/config/AnnotatedJCacheableService.java
Java
apache-2.0
6,679
/** * KnowledgeWorkbenchModel * A workbench for wiring relations among topics */ var types = require('tqtopicmap/lib/types'), icons = require('tqtopicmap/lib/icons'), properties = require('tqtopicmap/lib/properties'), constants = require('../../core/constants'), tagmodel = require('../tag/tagmodel'),...
KnowledgeGarden/TQPortal
apps/kwb/kwbmodel.js
JavaScript
apache-2.0
7,937
package edu.gatech.gtri.orafile; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.*; import java.util.regex.Pattern; public class OrafileRenderer { final boolean sortByKey; public OrafileRenderer() { sortByKey = false; } OrafileRenderer(boolea...
gtri/orafile
src/main/java/edu/gatech/gtri/orafile/OrafileRenderer.java
Java
apache-2.0
4,138
package org.hl7.fhir.instance.model.valuesets; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain th...
Nodstuff/hapi-fhir
hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/V3ActRelationshipTypeEnumFactory.java
Java
apache-2.0
22,569
/* * 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...
mhajas/keycloak
services/src/main/java/org/keycloak/authorization/admin/representation/PolicyEvaluationResponseBuilder.java
Java
apache-2.0
11,531
/* ** Copyright 2016 Centreon ** ** 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 ...
centreon/centreon-broker
bam/inc/com/centreon/broker/bam/bool_not_equal.hh
C++
apache-2.0
1,459
package com.zl.pattern.command; import java.util.ArrayList; public class Buttons { private LeftCommand leftCommand; //Ïò×óÒÆ¶¯µÄÃüÁî¶ÔÏóÒýÓà private RightCommand rightCommand; //ÏòÓÒÒÆ¶¯µÄÃüÁî¶ÔÏóÒýÓà private UpCommand upCommand; //ÏòÉÏÒÆ¶¯µÄÃüÁî¶ÔÏóÒýÓà private DownCommand downCommand; //ÏòÏÂÒÆ¶¯µÄÃüÁî¶ÔÏóÒýÓà ...
Pluckypan/bigAndroid
Pattern/src/com/zl/pattern/command/Buttons.java
Java
apache-2.0
2,068
package xyz.yhsj.mvprodemo.model.empty; import java.util.List; /** * Created by LOVE on 2016/1/27. */ public class AdditionInfoEntity { /** * locale : zh_CN * source : ["xiaomi"] * status : 0 * timestamp : 1449046526332 */ private String locale; private String status; pri...
yhsj0919/MVPro
app/src/main/java/xyz/yhsj/mvprodemo/model/empty/AdditionInfoEntity.java
Java
apache-2.0
970
/* * Copyright 2017-2022 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...
aws/aws-sdk-java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DisassociateSubnetCidrBlockResult.java
Java
apache-2.0
5,561
namespace CustomTextBox { partial class RegexTextBox { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 ...
haowenbiao/His6C-
控件/TextBoxWithButton/TextBoxWithButton/RegexTextBox.Designer.cs
C#
apache-2.0
1,023
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package View; import Control.M01pegaCtrl; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFor...
hidayanto56/KKP
KKP/src/View/M01pegaView.java
Java
apache-2.0
37,376
package net.bytebuddy.dynamic; import lombok.EqualsAndHashCode; import net.bytebuddy.description.annotation.AnnotationList; import net.bytebuddy.description.annotation.AnnotationValue; import net.bytebuddy.description.field.FieldDescription; import net.bytebuddy.description.method.MethodDescription; import net.bytebud...
mches/byte-buddy
byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/Transformer.java
Java
apache-2.0
21,436
import { defaultReactions, details, mergeInEmptyDraft, } from "../detail-definitions.js"; import vocab from "../../app/service/vocab.js"; export const persona = { identifier: "persona", label: "Persona", icon: undefined, //No Icon For Persona UseCase (uses identicon) draft: { ...mergeInEmptyDraft({ ...
researchstudio-sat/webofneeds
webofneeds/won-owner-webapp/src/main/webapp/config/usecases/uc-persona.js
JavaScript
apache-2.0
4,969
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. using System; using System.Linq; using System.Net.Http; using LeapDayTinkering.RaspberryPi; using Microsoft.Rest; namespace LeapDayTinkering.RaspberryPi { public...
bradygaster/LeapDayTinkering
LeapDayTinkering.RaspberryPi/LeapDayTinkeringAppService/LeapDayTinkeringAppService.cs
C#
apache-2.0
5,952
/** * \file dcs/math/stats/function/prediction_interval.hpp * * \brief Computes a two-sided prediction interval at the specified level. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright 2009 Marco Guazzone (marco.guazzone@gmail.com) * * Licensed under the Apache License, Version 2...
sguazt/dcsxx-commons
inc/dcs/math/stats/function/prediction_interval.hpp
C++
apache-2.0
1,737
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Template10.Mvvm; using Windows.UI.Xaml.Navigation; namespace Sample.ViewModels { public class MainPageViewModel : ViewModelBase { Services.MessageService.MessageService _MessageService; public Mai...
MizzleMo/Template10
Samples/MasterDetail/ViewModels/MainPageViewModel.cs
C#
apache-2.0
3,055
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v9/enums/frequency_cap_level.proto namespace Google\Ads\GoogleAds\V9\Enums\FrequencyCapLevelEnum; use UnexpectedValueException; /** * The level on which the cap is to be applied (e.g ad group ad, ad group). * Cap is app...
googleads/google-ads-php
src/Google/Ads/GoogleAds/V9/Enums/FrequencyCapLevelEnum/FrequencyCapLevel.php
PHP
apache-2.0
2,372
package net.webservicex; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import javax.xml.ws.WebServiceFeature; import javax.xml.ws.Service; /** * This class was generated by Apache CXF 3.1.6 * 2016-...
OlgaZueva/Java_PFT
soap-sample/src/main/java/net/webservicex/GeoIPService.java
Java
apache-2.0
5,440
package me.pjq.jacocoandroid.dummy; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Helper class for providing sample content for user interfaces created by * Android template wizards. * <p> * TODO: Replace all uses of this class before publishing your app....
pjq/androidjacoco
app/src/main/java/me/pjq/jacocoandroid/dummy/DummyContent.java
Java
apache-2.0
1,330
/* * Copyright 2008 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 i...
syntelos/gwtcc
src/com/google/gwt/user/client/ui/Composite.java
Java
apache-2.0
5,804
/* * Copyright 2017-2022 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...
aws/aws-sdk-java
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackSetRequest.java
Java
apache-2.0
15,108
<?php include_once($_SERVER['DOCUMENT_ROOT'].'/include/autoprepend.php'); include_once('include_class.php'); include_once('include_cms.php'); activateMenu('gestionsondage'); //permet de dérouler le menu contextuellement //Translation engine is needed for the survey module $translator =& TslManager::getInstance(); $...
CouleurCitron/cms-2014
survey/question_form.php
PHP
apache-2.0
4,802
// /* // * Copyright (c) 2016, Alachisoft. 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 // * // * Unle...
Alachisoft/NosDB
Src/Serialization/CompactFormatterServices.cs
C#
apache-2.0
15,893
// Copyright 2012 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...
google-code-export/google-api-dfp-java
examples/v201302/creativetemplateservice/GetAllCreativeTemplatesExample.java
Java
apache-2.0
2,767
from django.conf.urls import patterns, url from api.views import query from api.views import search from api.views import submit urlpatterns = patterns('', url(r'^food/$', query.food_handler, name='food'), url(r'^categories/all/$', query.category_all_handler, name='category'), url(r'^categories/all/detail...
czgu/opendataexperience
server/api/urls.py
Python
apache-2.0
625
package gui.panels; import gui.ButtonEditor; import gui.ButtonRenderer; import gui.PerfTestTableModel; import gui.interfaces.AbstractMonitoredTestListener; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Iterator; imp...
etrange02/PerfTestMaster
src/gui/panels/InstructionPanel.java
Java
apache-2.0
5,256
using System; using System.Collections.Generic; using System.Text; namespace Rawr.Cat { public class CatRotationCalculator { public StatsCat Stats { get; set; } public float Duration { get; set; } public float CPPerCPG { get; set; } public bool MaintainMangle { get; set; } public bool GlyphOfShred { get; ...
Alacant/Rawr-RG
Rawr.Cat/CatRotationCalculator.cs
C#
apache-2.0
15,673
/* * Copyright (C) 2013 ENTERTAILION 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 t...
entertailion/Slideshow-for-GTV
src/com/entertailion/android/slideshow/images/PhotoNetImageLoader.java
Java
apache-2.0
3,499
package io.dropwizard.jersey.jackson; import com.fasterxml.jackson.annotation.JsonIgnoreType; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Objects; import com.google.com...
ptomli/dropwizard
dropwizard-jersey/src/test/java/io/dropwizard/jersey/jackson/JacksonMessageBodyProviderTest.java
Java
apache-2.0
22,466
#include <string> #include <cstring> #include <cstdio> using namespace std; namespace femm { char* StripKey(char *c) { char *d; int i,k; k=strlen(c); for(i=0; i<k; i++) { if (c[i] == '=') { d=c+i+1; return d; } } return c+k; } char *Pars...
Bacchustaf/SyRe_MSc
xfemm-code-310/mfemm/pfemm/libfemm/fparse.cpp
C++
apache-2.0
2,321
/* * Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
emil-wcislo/sbql4j8
sbql4j8/src/test/openjdk/tools/javac/synthesize/Main.java
Java
apache-2.0
3,656
package com.java110.api.listener.task; import com.alibaba.fastjson.JSONObject; import com.java110.api.listener.AbstractServiceApiListener; import com.java110.core.annotation.Java110Listener; import com.java110.core.context.DataFlowContext; import com.java110.core.event.service.api.ServiceDataFlowEvent; import com.java...
java110/MicroCommunity
service-api/src/main/java/com/java110/api/listener/task/ListTasksListener.java
Java
apache-2.0
3,133
//===--- Lexer.cpp - Swift Language Lexer ---------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
MukeshKumarS/Swift
lib/Parse/Lexer.cpp
C++
apache-2.0
63,217
/* * Copyright 2014-2019 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...
jentfoo/aws-sdk-java
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/OperationNotSupportedException.java
Java
apache-2.0
1,230
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic Corporation. 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 i...
DenverM80/ds3_java_sdk
ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/spectrads3/ModifyDataPersistenceRuleSpectraS3Request.java
Java
apache-2.0
3,184
package org.andersonkmi.data; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.Calendar; public class UsuarioDAO extends BaseDAO { public UsuarioDAO() { super(); } public Usuario findByLogin(Strin...
andersonkmi/bluemix
src/main/java/org/andersonkmi/data/UsuarioDAO.java
Java
apache-2.0
4,522
package eu.europeana.controller; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import java.util.Map; import eu.europeana.api.client.model.EuropeanaApi2Results; import eu.europeana.api.client.model.search.Eur...
a1300/EuropeanaMusic
src/main/java/eu/europeana/controller/SearchController.java
Java
apache-2.0
4,662
<?php class numbers_data_accounting_cs_controller_settings extends object_controller { public function action_edit() { $form = new numbers_data_accounting_cs_model_form_settings([ 'input' => request::input() ]); echo $form->render(); } }
volodymyr-volynets/data
accounting/cs/controller/settings.php
PHP
apache-2.0
249
package com.touchableheroes.drafts.db.cupboard.xt.defaults; import com.touchableheroes.drafts.db.cupboard.xt.commands.QueryCommand; import com.touchableheroes.drafts.db.cupboard.xt.commands.cupboard.CupboardBasedQueryQueryCommand; import java.lang.annotation.Annotation; /** * Created by asiebert on 09.05.2017. */ ...
drdrej/drafts-db-cupboard
lib/src/main/java/com/touchableheroes/drafts/db/cupboard/xt/defaults/QueryContract.java
Java
apache-2.0
1,924
const {now} = require('./time'); const thriftTypes = require('./gen-nodejs/zipkinCore_types'); const { MutableSpan, Endpoint, ZipkinAnnotation, BinaryAnnotation } = require('./internalRepresentations'); class BatchRecorder { constructor({ logger, timeout = 60 * 1000000 // default timeout = 60 seconds...
redhat-developer-demos/openshift-next-demo
msa/bonjour/node_modules/zipkin/src/batch-recorder.js
JavaScript
apache-2.0
3,024
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.fileEditor.impl.text; import com.intellij.codeHighlighting.BackgroundEditorHighlighter; import com.intellij.ide.structureView.StructureViewBuilder; i...
paplorinc/intellij-community
platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/text/TextEditorImpl.java
Java
apache-2.0
7,765
/* * Copyright 2017-2022 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...
aws/aws-sdk-java
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/GetTraceSummariesResult.java
Java
apache-2.0
11,857
/* Copyright 2020 The TensorFlow 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 applicable law or a...
tensorflow/tensorboard
tensorboard/plugins/custom_scalar/tf_custom_scalar_dashboard/tf-custom-scalar-dashboard.ts
TypeScript
apache-2.0
14,026
package parser import ( "fmt" "github.com/davecgh/go-spew/spew" "github.com/pkg/errors" "github.com/stretchr/testify/assert" "io/ioutil" "log" "os" "path" "strings" "testing" ) func TestBBAsm(t *testing.T) { b, e := ioutil.ReadFile("testdata/exp.txt") if e != nil { panic(e) } code := string(b) p := &...
wenerme/bbvm
bbasm/parser/bbasm_test.go
GO
apache-2.0
2,293
def init_actions_(service, args): """ this needs to returns an array of actions representing the depencies between actions. Looks at ACTION_DEPS in this module for an example of what is expected """ # some default logic for simple actions return { 'autoscale': ['install'] } def ins...
Jumpscale/ays_jumpscale8
templates/fs/fs.btrfs/actions.py
Python
apache-2.0
4,712
/* * Copyright 2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
googleapis/java-containeranalysis
proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/build/Details.java
Java
apache-2.0
32,187
package edu.turtlekit2.warbot.waritems; import java.awt.Color; import java.util.ArrayList; import java.util.List; import edu.turtlekit2.kernel.agents.Turtle; import edu.turtlekit2.warbot.SingletonAffichage; import edu.turtlekit2.warbot.WarDynamicAgentsAbstract; /** * Classe definissant les comportements ...
slvrgauthier/archives
Fac/Master/IN207/Warbot/src/edu/turtlekit2/warbot/waritems/WarRocket.java
Java
apache-2.0
3,594
// // Copyright 2020 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 ...
GoogleCloudPlatform/cloud-spanner-emulator
backend/actions/action.cc
C++
apache-2.0
4,365
/* Copyright 2017 The Kubernetes 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, ...
kargakis/test-infra
prow/plugins/blunderbuss/blunderbuss.go
GO
apache-2.0
10,390
package com.tfr.microbrew.model; import com.tfr.microbrew.config.BrewStep; /** * * * Created by Erik on 4/22/2017. */ public class Batch { private int batchId; private Recipe recipe; private BrewStep currentStep; private int daysInStep; public Batch() { //for Jackson parsing } ...
ErikHage/MicroBreweryModel
src/main/java/com/tfr/microbrew/model/Batch.java
Java
apache-2.0
1,766
package com.viewpagerindicator.as.sample; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.viewpagerindicator.as.IconPagerAdapter; class TestFragmentAdapter extends FragmentPagerAdapter implements IconPagerAdapter { ...
buyi/ViewpagerIndicator
sample/src/main/java/com/viewpagerindicator/as/sample/TestFragmentAdapter.java
Java
apache-2.0
1,390
package org.daisy.pipeline.braille.common.calabash.impl; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import java.util.NoSuchElementException; import javax.xml.namespace.QName; import com.google.common.collect.ImmutableMap; import com.xmlcalabash.core.XProcException; import com.xmlc...
daisy/pipeline-issues
modules/braille/common-utils/src/main/java/org/daisy/pipeline/braille/common/calabash/impl/PxTransformStep.java
Java
apache-2.0
5,430
require 'net/ssh' require 'net/scp' module MMD module Actions module Remote attr_accessor :host, :username, :timestamp def exec( cmd, options = {}, &block ) exec = Exec.new( cmd, options ) if block exec.instance_eval( &block ) end @cmds << exec end ...
mguymon/mmd
deployer/lib/mmd/actions/remote.rb
Ruby
apache-2.0
6,459
/* * 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 ...
kulinski/myfaces
api/src/main/java/javax/faces/component/_ComponentUtils.java
Java
apache-2.0
15,060
/* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.product.cms; import java.io.Serializable; import java.time.LocalDate; import java.util.List; import java.util.Map; import java.util.NoSuchElementExceptio...
OpenGamma/Strata
modules/product/src/main/java/com/opengamma/strata/product/cms/ResolvedCmsLeg.java
Java
apache-2.0
15,747
package com.codesorcerer.generators.def.spells; import com.codesorcerer.targets.BBBMutable; import com.codesorcerer.abstracts.AbstractSpell; import com.codesorcerer.abstracts.Result; import com.codesorcerer.generators.def.BeanDefInfo; import com.squareup.javapoet.*; import javax.lang.model.element.Modifier; import ja...
michapringle/threeb
spells/src/main/java/com/codesorcerer/generators/def/spells/MutableSpell.java
Java
apache-2.0
3,778
import type { Rule } from 'eslint'; import type { CallExpression, Identifier, Literal } from 'estree'; import { get } from 'lodash'; import { getCallingIdentifier, getVariableInScope, isMemberExpression } from '../utils/utils'; /** * No slashes in string literals passed to API.one() / API.all() * * @version 0.1.0 ...
spinnaker/deck
packages/eslint-plugin/rules/api-no-slashes.ts
TypeScript
apache-2.0
4,925
import { LazyConstructor } from "../lazy_constructor"; import { parseMessage } from "../message_util"; import { DatastoreModelDescriptor, DatastoreQuery, } from "./datastore_model_descriptor"; import { Datastore, Key, Query, Transaction } from "@google-cloud/datastore"; // Should be defined by Datastore but not ex...
teststaybaka/node-cascading
be/datastore_client.ts
TypeScript
apache-2.0
3,913
# (c) Copyright 2013 Hewlett-Packard Development Company, L.P. # # 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 re...
citrix-openstack-build/os-brick
os_brick/initiator/linuxscsi.py
Python
apache-2.0
8,320
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.client.ui.impl.gwt.widget.panel; import net.sf.mmm.client.ui.api.UiContext; import net.sf.mmm.client.ui.api.widget.panel.UiWidgetGridRow; import net.sf.mmm.client.ui.base....
m-m-m/client
ui/widget/impl-web-gwt/src/main/java/net/sf/mmm/client/ui/impl/gwt/widget/panel/UiWidgetGridRowGwt.java
Java
apache-2.0
1,791
/** * Android photos application project. * * Copyright 2016 Arno Zhang <zyfgood12@163.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/LI...
arnozhang/android-jungle-framework
jungle-framework/android-jungle-framework-photos/src/main/java/com/jungle/apps/photos/module/homepage/widget/category/CategoryItemLayoutView.java
Java
apache-2.0
2,953