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 |
|---|---|---|---|---|---|
namespace SoukeyNetget
{
partial class frmAddPlanTask
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 t... | zhouweiaccp/code | SoukeyNetget/frmAddPlanTask.Designer.cs | C# | apache-2.0 | 20,352 |
import os
from ..libs import xlrd_tools
HERE = os.path.dirname(os.path.abspath(__file__))
def test_xlsx_xlrd():
with open(os.path.join(HERE, 'fixtures', 'test.xlsx')) as fp:
headers, data = xlrd_tools.xlsx_xlrd(fp)
assert headers[0] == {'field': 'one', 'id': 'one', 'name': 'one'}
assert data[0] ... | chrisseto/modular-file-renderer | mfr/ext/tabular/tests/test_xlsx_tools.py | Python | apache-2.0 | 362 |
package com.ecas.base;
import com.ecas.domain.User;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
@MappedSuperclass
public abstract class BaseDomain extends AbstractDomain {
private User updateUser;
@Column(name = "update_time")
private... | mrhailua/ecas | domain/src/main/java/com/ecas/base/BaseDomain.java | Java | apache-2.0 | 682 |
package ru.nivanov;
import org.json.simple.JSONObject;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.io.PrintWriter;
/**
* Created by Nikolay Ivanov on 27.03.2018.
*... | Piterski72/Java-a-to-z | chapter_009/Task08/src/main/java/ru/nivanov/UserFilter.java | Java | apache-2.0 | 1,401 |
package org.apereo.cas.configuration.model.support.cookie;
import org.apereo.cas.configuration.support.RequiresModule;
import com.fasterxml.jackson.annotation.JsonFilter;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.StringUtils;
import java.io.Seri... | pdrados/cas | api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/cookie/CookieProperties.java | Java | apache-2.0 | 4,453 |
#include "OI.h"
#include "WPILib.h"
#include "RobotMap.h"
#include "Commands/Elevator/Lift.h"
#include "Commands/Elevator/Lower.h"
#include "Commands/Grabber/OpenArms.h"
#include "Commands/Grabber/CloseArms.h"
#include "Commands/Chassis/Drive.h"
#include "Commands/PutToSmartDashboard.h"
OI::OI() {
this->stick = new J... | NeatTeam1943/Slifer | src/OI.cpp | C++ | apache-2.0 | 1,198 |
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# Copyright 2011 Justin Santa Barbara
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in complia... | Hybrid-Cloud/conveyor | conveyor/clone/drivers/openstack/driver.py | Python | apache-2.0 | 31,506 |
/*
* Copyright 2015 Ayuget
*
* 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 wr... | nbonnec/Redface | app/src/main/java/com/ayuget/redface/ui/UIModule.java | Java | apache-2.0 | 5,666 |
using System;
namespace NuGet {
public interface IPackageManager {
IFileSystem FileSystem { get; set; }
IPackageRepository LocalRepository { get; }
ILogger Logger { get; set; }
IPackageRepository SourceRepository { get; }
event EventHandler<PackageOperationEventArgs>... | grendello/nuget | src/Core/IPackageManager.cs | C# | apache-2.0 | 1,128 |
package de.tomjanke.lost.game.action;
import de.tomjanke.lost.game.world.WorldObject;
/**
* Created by Tom on 28.05.2016.
*/
public class WorldObjectAction extends Action {
public WorldObject Object;
public WorldObjectAction(WorldObject o, float d, Runnable r) {
super(d, r);
Object = o;
... | Tom7353/Lost | core/src/de/tomjanke/lost/game/action/WorldObjectAction.java | Java | apache-2.0 | 427 |
package org.peace.savingtracker.ui.home;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import butterknife.OnClick;
import org.peace.savingtracker.MyApp;
import org.peace.savingtracker.R;
import org.peace.savingtracker.ui.AddExpenseActivit... | peacepassion/SavingTracker | app/src/main/java/org/peace/savingtracker/ui/home/HomeUserCenterFragment.java | Java | apache-2.0 | 2,275 |
/*
* Copyright 2015 Open Networking Laboratory
*
* 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 la... | ravikumaran2015/ravikumaran201504 | web/api/src/main/java/org/onosproject/rest/TopologyWebResource.java | Java | apache-2.0 | 8,214 |
/**
*
* No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.6.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
... | psh/OxfordDictionarySample | app/src/main/java/com/gatebuzz/oxfordapi/model/SentencesResults.java | Java | apache-2.0 | 3,199 |
/** @file
@brief Implementation
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, 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 L... | leemichaelRazer/OSVR-Core | src/osvr/JointClientKit/JointClientContext.cpp | C++ | apache-2.0 | 4,568 |
/*
* Implementation of scanner for rational number calculator
* CSE 374, 17wi, HP
*/
#include "token.h"
#include "scan.h"
#include <string>
#include <cctype>
#include <cstdlib>
using namespace std;
// Next unprocessed token on current input line.
// Undefined if set_input has not been called.
token next_tok;
// C... | zachcwillson/uw-cse | cse-374/project-7/scan.cpp | C++ | apache-2.0 | 2,365 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.SignalR.Internal
{
internal class HubContext<THub, T> : IHubContext<THub, T>
where THub : Hub<T>
where T : class
{
private... | aspnet/AspNetCore | src/SignalR/server/Core/src/Internal/HubContext`T.cs | C# | apache-2.0 | 802 |
<?php
/**
* bloodstone community V1.0.0
* @link https://www.facebook.com/Mazn.touati
* @author Mazen Touati
* @version 1.0.0
*/
class Application {
protected $controller = 'home',
$method = 'index',
$params = [];
static $prefix = URL;
/**
*
*/
public f... | MazenDesigns/bscommunity | application/core/application.php | PHP | apache-2.0 | 1,928 |
/*
* 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-compute | proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceLastAttempt.java | Java | apache-2.0 | 25,027 |
/*
* 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-compute | proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/VpnGatewayStatusTunnelOrBuilder.java | Java | apache-2.0 | 2,892 |
using System;
using System.Threading.Tasks;
using InsurgenceServerCore.ClientHandler;
namespace InsurgenceServerCore.Battles
{
public class Battle
{
public Guid Id;
public string Username1;
public string Username2;
public Client Client1;
public Client Client2;
... | Deukhoofd/InsurgenceServer | InsurgenceServerCore/Battles/Battle.cs | C# | apache-2.0 | 4,347 |
package com.github.randomcodeorg.ppplugin.data.gradle;
import java.io.File;
import org.gradle.api.tasks.SourceSetContainer;
public class JavaSourceSetProvider implements SourceSetProvider {
private final SourceSetContainer container;
public JavaSourceSetProvider(SourceSetContainer container) {
this.container ... | RandomCodeOrg/PPPluginGradle | plugin/src/main/java/com/github/randomcodeorg/ppplugin/data/gradle/JavaSourceSetProvider.java | Java | apache-2.0 | 751 |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | alefesouza/gdg-sp | Desktop/GDGSPCheckIn/Properties/AssemblyInfo.cs | C# | apache-2.0 | 2,406 |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class demonStateSwallow : StateMachineBehaviour {
private Image blackscreen;
private UnityStandardAssets.Characters.FirstPerson.MouseLook ml;
private Transform pcamera;
private Transform player;
// OnStateEnter is called when a ... | carlsc2/EGDHorrorGame | HeartbeatHorror/Assets/Scripts/Demon/demonStateSwallow.cs | C# | apache-2.0 | 2,038 |
package Manager;
import Tweet.Tweet;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.clients.consumer.KafkaConsum... | eltitopera/TFM | manager/src/src/main/java/Manager/ServiceManager.java | Java | apache-2.0 | 2,338 |
package pl.npe.lpp.preprocessor.line;
import java.util.Collections;
import java.util.List;
/**
* Created by IntelliJ IDEA.
* User: tomek
* Date: 08.06.14
* Time: 15:01
*/
public class DirectiveUsage {
private String directive;
private List<String> params;
public DirectiveUsage(String directive, Li... | traczykowski/lpp | src/main/java/pl/npe/lpp/preprocessor/line/DirectiveUsage.java | Java | apache-2.0 | 1,523 |
/* Copyright 2007-2015 QReal Research Group
*
* 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... | dvvrd/qreal | plugins/robots/common/trikKit/src/blocks/details/drawRectBlock.cpp | C++ | apache-2.0 | 1,307 |
using UnityEngine;
using System.Collections;
public class BasicSword : Weapon {
public BasicSword () {
damageMultiplier = 1.0;
speed = 1.0;
}
}
| jakebacker/UnityGame | Assets/Project/Scripts/BasicSword.cs | C# | apache-2.0 | 154 |
package oob
import (
"context"
"github.com/google/wire"
"github.com/skygeario/skygear-server/pkg/auth/dependency/urlprefix"
"github.com/skygeario/skygear-server/pkg/core/async"
"github.com/skygeario/skygear-server/pkg/core/config"
"github.com/skygeario/skygear-server/pkg/core/db"
"github.com/skygeario/skygear... | SkygearIO/skygear-server | pkg/auth/dependency/authenticator/oob/deps.go | GO | apache-2.0 | 1,217 |
package com.softwarelma.epe.p3.print;
import java.util.ArrayList;
import java.util.List;
import com.softwarelma.epe.p1.app.EpeAppException;
import com.softwarelma.epe.p1.app.EpeAppUtils;
import com.softwarelma.epe.p2.exec.EpeExecContent;
import com.softwarelma.epe.p2.exec.EpeExecContentInternal;
import com.softwarelm... | softwarelma/utils | src/main/java/com/softwarelma/epe/p3/print/EpePrintFinalPrint_separator_smart.java | Java | apache-2.0 | 3,797 |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | googleads/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201809/cm/BiddingStrategyOperation.java | Java | apache-2.0 | 2,228 |
package ikube.action;
import ikube.AbstractTest;
import ikube.IConstants;
import ikube.action.index.IndexManager;
import ikube.model.IndexContext;
import ikube.toolkit.FILE;
import ikube.toolkit.THREAD;
import org.apache.lucene.index.IndexWriter;
import org.junit.After;
import org.junit.Before;
import org.j... | michaelcouck/ikube | code/core/src/test/java/ikube/action/ReopenTest.java | Java | apache-2.0 | 4,627 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | sabi0/intellij-community | platform/platform-impl/src/com/intellij/application/options/schemes/AbstractSchemesPanel.java | Java | apache-2.0 | 11,570 |
# Copyright 2021 DeepMind Technologies Limited.
#
# 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... | deepmind/deepmind-research | ogb_lsc/mag/data_utils.py | Python | apache-2.0 | 18,032 |
<?php
namespace Topxia\Common;
use Imagine\Image\Box;
use Imagine\Gd\Imagine;
use Imagine\Image\Point;
use Topxia\Service\Common\ServiceKernel;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpFoundation\File\File;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\Http... | 18826252059/im | src/Topxia/Common/FileToolkit.php | PHP | apache-2.0 | 56,525 |
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.graphics.RectF;
import android.util.DisplayMetrics;
import android.view.Display;
import android.view.View;
import android.view.WindowManager;
public final class lsr
{
static final lsp<Bitmap> a = n... | ChiangC/FMTech | GooglePlus/app/src/main/java/lsr.java | Java | apache-2.0 | 15,760 |
package middleware
import (
"encoding/base64"
"strconv"
"strings"
"github.com/raintank/raintank-apps/pkg/auth"
"gopkg.in/macaron.v1"
)
type Context struct {
*macaron.Context
*auth.SignedInUser
ApiKey string
}
func GetContextHandler() macaron.Handler {
return func(c *macaron.Context) {
ctx := &Context{
... | raintank/raintank-apps | vendor/github.com/raintank/worldping-api/pkg/middleware/middleware.go | GO | apache-2.0 | 2,035 |
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { HttpModule } from '@angular/http';
import { RecipeServiceProvider } from '../../providers/recipe/recipe.service';
import { Recipe } from '../../providers/recipe/recipe.model';
import { RecipeDetailPage } from '../recipe-d... | gokhankuyucak/AeropressApp | src/pages/home/home.ts | TypeScript | apache-2.0 | 1,064 |
package com.google.api.ads.dfp.jaxws.v201511;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Action that can be performed on {@link FirstPartyAudienceSegment} objects to deactivate them.
* ... | gawkermedia/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201511/DeactivateAudienceSegments.java | Java | apache-2.0 | 984 |
/*
*
* Copyright 2017-2018 Nitrite author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | dizitart/nitrite-database | nitrite/src/test/java/org/dizitart/no2/objects/data/PersonEntity.java | Java | apache-2.0 | 1,463 |
package org.devel.reportfx;
import de.saxsys.mvvmfx.FluentViewLoader;
import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import de.saxsys.mvvmfx.ViewTuple;
public class Starter extends Application {
public static void main(String... args) {
... | stefanil/ReportFX | client/src/main/java/org/devel/reportfx/Starter.java | Java | apache-2.0 | 695 |
// Copyright 2011, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | cmmanish/OldUITempTest | examples/v201109/GetAllVideos.java | Java | apache-2.0 | 2,746 |
package com.nitorcreations.willow.auth;
import static java.nio.charset.StandardCharsets.UTF_8;
import static java.util.Collections.singletonMap;
import static java.util.Collections.unmodifiableSet;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStrea... | NitorCreations/willow | willow-servers/src/main/java/com/nitorcreations/willow/auth/GitHubOAuthAuthenticatingFilter.java | Java | apache-2.0 | 6,779 |
/* First created by JCasGen Sat Apr 11 19:49:33 EDT 2015 */
package edu.cmu.lti.oaqa.type.answer;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.cas.impl.CASImpl;
import org.apache.uima.cas.impl.FSGenerator;
import org.apache.uima.cas.FeatureStructure;
import org.ap... | oaqa/baseqa | src/main/java/edu/cmu/lti/oaqa/type/answer/AnswerType_Type.java | Java | apache-2.0 | 4,196 |
"""
Simple demo of a scatter plot.
"""
import numpy as np
import matplotlib.pyplot as plt
N = 50
x = np.random.rand(N)
y = np.random.rand(N)
colors = np.random.rand(N)
area = np.pi * (15 * np.random.rand(N))**2 # 0 to 15 point radii
plt.scatter(x, y, s=area, c=colors, alpha=0.5)
plt.show()
| ArmstrongYang/StudyShare | Python-matplotlib/scatter_demo.py | Python | apache-2.0 | 295 |
package com.planet_ink.coffee_mud.Abilities.Traps;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import ... | oriontribunal/CoffeeMud | com/planet_ink/coffee_mud/Abilities/Traps/Trap_CaveIn.java | Java | apache-2.0 | 4,993 |
/*
* Copyright 2018 Mirko Sertic
*
* 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 ... | mirkosertic/Bytecoder | core/src/main/java/de/mirkosertic/bytecoder/backend/wasm/ast/I32Or.java | Java | apache-2.0 | 902 |
package com.coolweather.android.gson;
/**
* Created by LanQ on 2017/8/21 0021.
*/
public class AQI {
public AQICity city;
public class AQICity{
public String aqi;
public String pm25;
}
}
| lq2677/myweather | app/src/main/java/com/coolweather/android/gson/AQI.java | Java | apache-2.0 | 223 |
/**
* Copyright (C) 2016 - 2030 youtongluan.
*
* 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... | youtongluan/sumk | src/main/java/org/yx/validate/FieldParameterHolder.java | Java | apache-2.0 | 2,939 |
package eu.ensure.ppe;
import org.gautelis.vopn.lang.Number;
import org.gautelis.vopn.statistics.MovingAverage;
import eu.ensure.ppe.model.Consequence;
import java.util.Collection;
import java.util.LinkedList;
public class AggregationLevelScore {
public static final double FAILURE_SCORE = 0.0;
final String ... | FrodeRanders/ensure | ppe/src/main/java/eu/ensure/ppe/AggregationLevelScore.java | Java | apache-2.0 | 1,778 |
/*
* 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-iot1clickprojects/src/main/java/com/amazonaws/services/iot1clickprojects/model/DescribePlacementRequest.java | Java | apache-2.0 | 5,307 |
using System;
using System.Collections.Generic;
namespace PMS.Data.Models
{
public partial class Status
{
public Status()
{
Issue = new HashSet<Issue>();
}
public int Id { get; set; }
public string Name { get; set; }
public short Priority { get; set... | ntgnst/ProjectManagementSystem | PMS.Data/Models/Status.cs | C# | apache-2.0 | 389 |
/*
* Copyright 2009-2015 University of Hildesheim, Software Systems Engineering
*
* 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
*
* ... | SSEHUB/EASyProducer | Plugins/VarModel/Utils/src/net/ssehub/easy/basics/modelManagement/VersionedModelInfos.java | Java | apache-2.0 | 21,315 |
/*
* 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 ... | shaoxuan-wang/flink | flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/match/BaseRowEventComparator.java | Java | apache-2.0 | 1,790 |
<?php
/**
* Created by JetBrains PhpStorm.
* User: occul_000
* Date: 03/03/13
* Time: 19:45
* To change this template use File | Settings | File Templates.
*/
?>
<!DOCTYPE html>
<html>
<head>
<title>AnfShift</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js... | GuillaumeOcculy/anfshift_paris | view/register.php | PHP | apache-2.0 | 2,939 |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nest
{
[JsonObject]
public class ClusterIndicesStats
{
[JsonProperty("completion")]
public CompletionStats Completion { get; internal set; }
[JsonProperty("count")]
public long Count { g... | jonyadamit/elasticsearch-net | src/Nest/Cluster/ClusterStats/ClusterIndicesStats.cs | C# | apache-2.0 | 1,939 |
// 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 | api/src/org/apache/cloudstack/api/command/admin/host/AddHostCmd.java | Java | apache-2.0 | 5,997 |
// Copyright 2015 PLUMgrid
//
// 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... | drzaeus77/docker-plugin | iovplug/config.go | GO | apache-2.0 | 694 |
sap.ui.define([
"sap/ui/core/UIComponent",
"sap/ui/core/mvc/Controller",
"sap/ui/core/routing/History",
"sap/ui/model/json/JSONModel"
], function (UIComponent, Controller, History, JSONModel) {
"use strict";
return Controller.extend("sap.ui.core.sample.odata.v4.MusicArtists.PublicationObjectPage", {
_onObjectM... | SAP/openui5 | src/sap.ui.core/test/sap/ui/core/demokit/sample/odata/v4/MusicArtists/PublicationObjectPage.controller.js | JavaScript | apache-2.0 | 1,423 |
var autils = require('../../AUtils');
var osTool = require('../../osTools');
var shelljs = require('shelljs');
var GenericDiffReporterBase = require('../GenericDiffReporterBase');
class Reporter extends GenericDiffReporterBase {
constructor() {
super("BeyondCompare");
var app = null;
if (osTool.platfo... | approvals/Approvals.NodeJS | lib/Reporting/Reporters/beyondcompareReporter.js | JavaScript | apache-2.0 | 860 |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.black;
import static com.opengamma.engine.value.ValueRequirementNames.POSITION_GAMMA;
import java.util.Collections;
import java.util... | McLeodMoores/starling | projects/financial/src/main/java/com/opengamma/financial/analytics/model/black/BlackDiscountingPositionGammaIRFutureOptionFunction.java | Java | apache-2.0 | 3,204 |
// Copyright 2016 The Oklog 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 w... | oklog/ulid | ulid.go | GO | apache-2.0 | 20,673 |
/*
Copyright 2014-2016 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... | multi-os-engine/moe-core | moe.apple/moe.platform.ios/src/main/java/apple/uikit/NSParagraphStyle.java | Java | apache-2.0 | 11,103 |
/*
* Copyright 2004-2011 the Seasar Foundation and the 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/LICENSE-2.0
*
* Unless ... | seasarorg/s2dao | s2-dao/src/main/java/org/seasar/dao/node/IfNode.java | Java | apache-2.0 | 2,029 |
/**
* Copyright (c) 2013-2019 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... | spohnan/geowave | core/mapreduce/src/main/java/org/locationtech/geowave/mapreduce/HadoopDataAdapter.java | Java | apache-2.0 | 1,132 |
/*
* Copyright (C) 2014 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... | summerpulse/amlexo | src/com/google/android/exoplayer/MediaFormat.java | Java | apache-2.0 | 8,647 |
/**
* Copyright 2010 Wealthfront 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 writing... | wealthfront/kawala | kawala-testing/src/main/java/com/kaching/platform/testing/AllowDNSResolution.java | Java | apache-2.0 | 1,246 |
package com.google.api.ads.dfp.jaxws.v201511;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for SwiffyConversionError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleTy... | gawkermedia/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201511/SwiffyConversionErrorReason.java | Java | apache-2.0 | 1,709 |
"""REST API for DP.LA Service Hub BIBCAT Aggregator Feed"""
__author__ = "Jeremy Nelson, Mike Stabile"
import click
import datetime
import json
import math
import os
import pkg_resources
import xml.etree.ElementTree as etree
import requests
import rdflib
import urllib.parse
import reports
import bibcat.rml.processor ... | KnowledgeLinks/dpla-service-hub | api.py | Python | apache-2.0 | 14,727 |
package ru.job4j.convertation;
import java.util.ArrayList;
import java.util.List;
public class ConvertList {
public ArrayList<Integer> toList(int[][] array) {
ArrayList<Integer> list = new ArrayList<>();
for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array.length; j++) {
... | Clydeside/ALipatov | chapter_003/src/main/java/ru/job4j/convertation/ConvertList.java | Java | apache-2.0 | 1,197 |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.cn.jee.modules.qrtz.web;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import or... | copy4dev/jee-base | src/main/java/com/cn/jee/modules/qrtz/web/QrtzJobDetailsController.java | Java | apache-2.0 | 3,376 |
package gaia3d.domain;
public enum YOrN {
Y,
N;
} | Gaia3D/mago3d | mago3d-user/src/main/java/gaia3d/domain/YOrN.java | Java | apache-2.0 | 52 |
module ZAWS
class External
class AWSCLI
class Commands
class ELB
class RegisterInstancesWithLoadBalancer
def initialize(shellout=nil, awscli=nil)
@shellout=shellout
@awscli=awscli
clear_settings
self
... | zynxhealth/zaws | lib/zaws/external/awscli/commands/elb/register_instances_with_load_balancer.rb | Ruby | apache-2.0 | 1,154 |
/*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | chromeos/chromeos.dev | lib/filters/component-has-docs.js | JavaScript | apache-2.0 | 1,060 |
package com.github.obourgain.elasticsearch.http.handler.document.termvectors;
import static com.github.obourgain.elasticsearch.http.TestFilesUtils.readFromClasspath;
import static org.assertj.core.api.Assertions.assertThat;
import org.elasticsearch.common.bytes.BytesArray;
import org.junit.Test;
import com.github.obou... | obourgain/elasticsearch-http | src/test/java/com/github/obourgain/elasticsearch/http/handler/document/termvectors/TermVectorResponseTest.java | Java | apache-2.0 | 1,278 |
/*
* Copyright (C) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | google/brailleback | braille/brailleback/src/com/googlecode/eyesfree/brailleback/DisplayManager.java | Java | apache-2.0 | 48,343 |
/*
* 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 ... | heriram/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-tests/hyracks-storage-am-lsm-invertedindex-test/src/test/java/org/apache/hyracks/storage/am/lsm/invertedindex/util/LSMInvertedIndexTestUtils.java | Java | apache-2.0 | 31,192 |
/**
* Copyright Acropolis Software SPRL (https://www.acrosoft.be)
*
* 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... | acrosoft-be/shared | Dispatch/src/main/java/be/acrosoft/gaia/shared/dispatch/WeakListener.java | Java | apache-2.0 | 1,283 |
/*******************************************************************************
* Copyright 2013-2014 Gengyu (Univer) Shi
*
* 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:... | shigengyu/Hyperion | src/main/java/com/shigengyu/hyperion/core/TransitionCompensator.java | Java | apache-2.0 | 1,103 |
# Copyright (c) 2011 X.commerce, a business unit of eBay Inc.
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file... | tanglei528/nova | nova/db/api.py | Python | apache-2.0 | 65,070 |
#!/usr/bin/python3
import MySQLdb
import os
import re
db = MySQLdb.connect("etos39.cn.ao.ericsson.se","automation","automation","gerrit_data_new")
# db = MySQLdb.connect("localhost","root","root","work" )
cursor = db.cursor()
cursor.execute('SELECT reviewer_username FROM comments GROUP BY reviewer_username')
users... | KiviMao/kivi | Script/Show-Comments-story/Get-All-User.py | Python | apache-2.0 | 1,268 |
<?php
switch (@$_GET['action']) {
default:
$query = "SELECT * FROM ix_matchs ORDER BY id DESC";
$sql = mysql_query($query);
$texte='<br><table class="liste_table" cellpadding=0 cellspacing=2 align="center">
<tr>
<td class="liste_titre" width=20%>Date</td>
<td class="liste_titre" width... | studiodev/archives | 2005 - PortiX-Team (CMS)/pages/matchs.php | PHP | apache-2.0 | 5,562 |
/*
Copyright 2014 Rustici Software
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... | nagyistoce/TinCan.NET | TinCan/RemoteLRS.cs | C# | apache-2.0 | 24,709 |
var stage, board, tiles, fleets, scale, sWid, is_dragging;
var lastMouse = { x:0, y:0 };
var is_dragging = false;
$(document).ready(function() {
init_stage();
document.addEventListener('keyup', handleKeyUp, false);
document.addEventListener('keydown', handleKeyDown, false);
loadLobby();
});
/**
* Called from ... | Zebbeni/alien-empire | client/game_board.js | JavaScript | apache-2.0 | 3,574 |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/errors/conversion_action_error.proto
package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v1/errors"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.... | ptinsley/fling | vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/errors/conversion_action_error.pb.go | GO | apache-2.0 | 8,831 |
/*
* Copyright 2017 Mirko Sertic
*
* 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 ... | mirkosertic/Bytecoder | integrationtest/src/main/java/de/mirkosertic/bytecoder/integrationtest/JBox2DSimulation.java | Java | apache-2.0 | 10,500 |
// +build linux
package node
import (
"fmt"
"net"
"sync"
"syscall"
"github.com/golang/glog"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
"github.com/openshift/origin/pkg/network/common"
networkinformers "github.com/openshift/origin/pkg/network/generated/informers/internalversion"
"github.com/vishvan... | legionus/origin | pkg/network/node/egressip.go | GO | apache-2.0 | 6,103 |
/*
* 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 ... | googleinterns/calcite | core/src/main/java/org/apache/calcite/sql/SqlSelectOperator.java | Java | apache-2.0 | 8,563 |
package org.docksidestage.hangar.dbflute.dtomapper;
import java.util.Map;
import org.dbflute.Entity;
import org.docksidestage.hangar.dbflute.dtomapper.bs.BsMemberServiceDtoMapper;
/**
* The DTO mapper of MEMBER_SERVICE.
* <p>
* You can implement your original methods here.
* This class remains when re... | dbflute-test/dbflute-test-active-hangar | src/main/java/org/docksidestage/hangar/dbflute/dtomapper/MemberServiceDtoMapper.java | Java | apache-2.0 | 776 |
/*
* @Author: aaronpmishkin
* @Date: 2016-06-17 09:05:15
* @Last Modified by: aaronpmishkin
* @Last Modified time: 2017-06-02 17:48:12
*/
// Import Angular Classes:
import { Injectable } from '@angular/core';
import { NgZone } from '@angular/core';
// Import Libraries:
import * as d3 ... | aaronpmishkin/CUCSC-ValueCharts | client/modules/ValueChart/interactions/ReorderObjectives.interaction.ts | TypeScript | apache-2.0 | 17,688 |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: https://plantuml.com
*
* If you like this project or if ... | talsma-ict/umldoclet | src/plantuml-asl/src/net/sourceforge/plantuml/creole/command/CommandCreoleSprite.java | Java | apache-2.0 | 2,672 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Diagnostics;
using TrashyWindowControl;
namespace SetCoordinatesExample
{
class Program
{
static void Main(string[] args)
{
... | sh1n1xs/TrashyWindowControl | TrashyWindowControlExamples/SetCoordinatesExample/Program.cs | C# | apache-2.0 | 2,416 |
/**
*/
package CIM15.IEC61968.Metering;
import CIM15.IEC61968.Customers.CustomerAgreement;
import CIM15.IEC61968.Customers.CustomersPackage;
import CIM15.IEC61970.Core.IdentifiedObject;
import CIM15.IEC61970.Domain.DateTimeInterval;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ec... | SES-fortiss/SmartGridCoSimulation | core/cim15/src/CIM15/IEC61968/Metering/EndDeviceControl.java | Java | apache-2.0 | 33,206 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copysecond (c) 2017 Atif Aziz. All seconds 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
//
// htt... | morelinq/MoreLINQ | MoreLinq/FullJoin.cs | C# | apache-2.0 | 12,941 |
package pet
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"net/http"
"github.com/go-swagger/go-swagger/httpkit"
)
/*DeletePetBadRequest Invalid pet value
swagger:response deletePetBadRequest
*/
type DeletePetBadReques... | Dataman-Cloud/drone | vendor/github.com/go-swagger/go-swagger/examples/generated/restapi/operations/pet/delete_pet_responses.go | GO | apache-2.0 | 655 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | brettfo/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedEmbeddedNativeIntegerAttributeSymbol.cs | C# | apache-2.0 | 4,340 |
import React, { FC, useState } from 'react';
import styled from 'styled-components';
import { Modal } from 'antd';
import { Z_INDEX_GREATER_THAN_HEADER } from 'components/Header';
import { useHistory } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import { useToggle } from 'react-use';
import... | bytedance/fedlearner | web_console_v2/client/src/views/Datasets/CreateDataset/index.tsx | TypeScript | apache-2.0 | 2,390 |
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.hierarchy;
import com.intellij.history.LocalHistory;
import com.intellij.history.LocalHistoryAction;
import com.intellij.ide.DeletePro... | GunoH/intellij-community | platform/lang-impl/src/com/intellij/ide/hierarchy/TypeHierarchyBrowserBase.java | Java | apache-2.0 | 6,301 |
package exceptions;
public class IDaoSaveException extends Exception{
private static final long serialVersionUID = 8041577551538125989L;
public IDaoSaveException() {
super();
}
public IDaoSaveException(String msg) {
super(msg);
}
public IDaoSaveException(String msg,Throwable cause) {
super(msg,cause);
}... | patrickfav/tuwien | master/SB_task2/src/exceptions/IDaoSaveException.java | Java | apache-2.0 | 325 |
//
//
// Copyright 2012 Kii Corporation
// http://kii.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... | kii-dev-jenkins/KiiFileStorageSampleApp | src/com/kii/cloud/engine/TaskType.java | Java | apache-2.0 | 1,522 |
package com.xlg.forkids.chat.holder;
import android.app.Activity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.xlg.forkids.R;
import com.xlg.forkids.baseitems.BaseHolder;
import com.xlg.forkids.baseitems.BaseVAccount;
import com.xlg.forkids.baseitems.... | RyanTech/Forkids | ForKids/src/com/xlg/forkids/chat/holder/BaseUserInfoHolder.java | Java | apache-2.0 | 2,094 |