repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
quanla/quan-util-core
src/main/java/qj/tool/scheduler/Scheduler.java
2034
package qj.tool.scheduler; import java.io.File; import java.text.DecimalFormat; import java.util.Calendar; import java.util.TimeZone; import java.util.regex.Matcher; import qj.util.PropertiesUtil; import qj.util.RegexUtil; import qj.util.StringUtil; import qj.util.bean.AValue; import qj.util.funct.P0; public class S...
apache-2.0
reben/AncestraRemake
revision55/src/game/objects/Sort.java
8286
package objects; import game.GameServer; import java.util.ArrayList; import java.util.Map; import java.util.TreeMap; import common.Constants; import common.Formulas; import common.Pathfinding; import common.World; import objects.Carte.Case; import objects.Fight.Fighter; public class Sort { private int spellID; pr...
apache-2.0
AdityaMili95/Wallte
vendor/github.com/knq/chromedp/cdp/network/network.go
29727
// Package network provides the Chrome Debugging Protocol // commands, types, and events for the Network domain. // // Network domain allows tracking network activities of the page. It exposes // information about http, file, data and other requests and responses, their // headers, bodies, timing, etc. // // Generated ...
apache-2.0
tensorflow/quantum
tensorflow_quantum/core/ops/noise/tfq_noisy_samples.cc
13316
/* Copyright 2020 The TensorFlow Quantum 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 ...
apache-2.0
svn2github/hwmail-mirror
hedwig-adm/src/main/java/com/hs/mail/adm/command/ExpungeCommand.java
712
package com.hs.mail.adm.command; import java.util.List; import org.apache.commons.collections.CollectionUtils; import com.hs.mail.imap.mailbox.MailboxManager; public class ExpungeCommand extends AbstractMailboxCommand { @Override protected void runTask(List<String> tokens) throws Exception { super....
apache-2.0
wuziliang18/source-code-learn-dubbo
dubbo-remoting/dubbo-remoting-http/src/main/java/com/alibaba/dubbo/remoting/http/servlet/DispatcherServlet.java
2212
/* * Copyright 1999-2011 Alibaba 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 appl...
apache-2.0
googleads/google-ads-ruby
lib/google/ads/google_ads/v8/services/paid_organic_search_term_view_service_services_pb.rb
2133
# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/ads/googleads/v8/services/paid_organic_search_term_view_service.proto for package 'Google.Ads.GoogleAds.V8.Services' # Original file comments: # Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you...
apache-2.0
TheTicks/Speak2Copyright
app/src/main/java/theticks/s2t/SpeakCopy.java
5308
package theticks.s2t; import android.annotation.SuppressLint; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.speech.RecognizerIntent; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.view.Menu; im...
apache-2.0
partouf/Chatty-Twitch-Client
src/chatty/gui/components/settings/TableEditor.java
23967
package chatty.gui.components.settings; import java.awt.Component; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.Point; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import jav...
apache-2.0
evanchooly/morphia
morphia/src/main/java/org/mongodb/morphia/utils/package-info.java
695
/* * Copyright (c) 2008-2015 MongoDB, 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 a...
apache-2.0
ssvlab/esbmc-gpu
regression/esbmc-cpp/try_catch/try-catch_value_02/main.cpp
152
#include <cassert> class X { public: X() { throw 5; } }; int main() { try { X x; } catch(int e) { assert(e==5); } return 0; }
apache-2.0
igitras-blog/auth-server
src/main/java/com/igitras/auth/common/audit/SpringSecurityAuditAware.java
539
package com.igitras.auth.common.audit; import com.igitras.auth.utils.Constrains; import com.igitras.auth.utils.SecurityUtils; import org.springframework.data.domain.AuditorAware; /** * Implementation of AuditorAware based on Spring Security. * * @author mason */ public class SpringSecurityAuditAware implements Au...
apache-2.0
cloudfoundry/buildpacks-ci
vendor/github.com/cloudfoundry/libcfbuildpack/helper/write_symlink.go
1132
/* * Copyright 2018-2019 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...
apache-2.0
friendranjith/vizzly
src/ch/ethz/vizzly/cache/sqldb/package-info.java
146
/** * This package contains the implementation of a cache that stores aggregated data in a SQL database. */ package ch.ethz.vizzly.cache.sqldb;
apache-2.0
inbloom/ldap-in-memory
src/main/java/org/slc/sli/ldap/inmemory/domain/Ldif.java
772
package org.slc.sli.ldap.inmemory.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * Created by tfritz on...
apache-2.0
Leonti/slickpm
src/main/webapp/resources/js/views/stagelist.js
1283
define([ 'jquery', 'underscore', 'backbone', 'views/stagelistitem', 'text!templates/stageList.html', 'jqueryui/sortable' ], function( $, _, Backbone, StageListItemView, stageListTemplate, sortable) { var StageListView = Backbone.View.extend({ template: _.template(stageListTemplate), className: 'l...
apache-2.0
hamazy/sri
test/src/main/scala/sri/test/router/HomeScreen.scala
903
package sri.test.router import sri.test.components.Text import sri.universal.components._ import sri.web.all._ import sri.web.router.{WebRouterComponent, WebRouterCtrl} import sri.web.styles.WebStyleSheet import scala.scalajs.js import scala.scalajs.js.annotation.ScalaJSDefined object HomeScreen { /** * this ...
apache-2.0
jfoy/heapster
manager/manager.go
6892
// Copyright 2015 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...
apache-2.0
yandex-disk/yandex-disk-restapi-java
disk-restapi-sdk/src/main/java/com/yandex/disk/rest/exceptions/http/UnsupportedMediaTypeException.java
487
/* * (C) 2015 Yandex LLC (https://yandex.com/) * * The source code of Java SDK for Yandex.Disk REST API * is available to use under terms of Apache License, * Version 2.0. See the file LICENSE for the details. */ package com.yandex.disk.rest.exceptions.http; import com.yandex.disk.rest.json.ApiError; public class Un...
apache-2.0
AfricaRegex/SjcProduct
SjcProject/WebRoot/js/basicInfo/actUnit.js
2138
var actUnit={ query:function(){ $("#unitName").val($("#unitName").val().replace("计费单位","")); $("#query").submit(); } , modify:function(){ var cbs = $('input[name="items"]:checked'); if(cbs.length==0||cbs.length>1){ Dialog.alert("请选择一条修改记录 "); return ; }else{ var id=$(cbs[0]).val(); pf...
apache-2.0
GavinHohenheim/ccw-idle-dev-angular
src/app/project/project.ts
190
export class Project { id: number; duration: number; // in ticks reward: number; loc: number; } export class ActiveProject extends Project { startDate: Date; // set at accept() }
apache-2.0
wrouesnel/vaultfs
vendor/github.com/sirupsen/logrus/text_formatter.go
4120
package logrus import ( "bytes" "fmt" "sort" "strings" "sync" "time" ) const ( nocolor = 0 red = 31 green = 32 yellow = 33 blue = 36 gray = 37 ) var ( baseTimestamp time.Time ) func init() { baseTimestamp = time.Now() } // TextFormatter formats logs into text type TextFormatter struct { ...
apache-2.0
mnottheone/deeplearnjs
demos/model-builder/layer_builder.ts
10931
/** * @license * Copyright 2017 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 a...
apache-2.0
PayStax/paystax-java-client
src/main/java/com/paystax/client/LinkedResourceAdapter.java
848
/** * Copyright 2013-2016 PayStax, 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 app...
apache-2.0
oeg-upm/epnoi
harvester/src/test/java/org/epnoi/harvester/routes/file/FileTest.java
2662
package org.epnoi.harvester.routes.file; import es.cbadenes.lab.test.IntegrationTest; import org.apache.camel.EndpointInject; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Test; import org.junit....
apache-2.0
structurizr/java
structurizr-client/src/com/structurizr/io/json/AbstractJsonReader.java
584
package com.structurizr.io.json; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; class AbstractJsonReader { ObjectMapper createObjectMapper() { ObjectMapper objectMapper = new ObjectMapper(); objectMapper.enable(DeserializationFeat...
apache-2.0
zstackio/zstack-woodpecker
integrationtest/vm/multihosts/backup/paths/path170.py
2303
import zstackwoodpecker.test_state as ts_header TestAction = ts_header.TestAction def path(): return dict(initial_formation="template2", \ path_list=[[TestAction.create_volume, "volume1","=scsi"], \ [TestAction.attach_volume, "vm1", "volume1"], \ [TestAction.create_volume, "volume2","=scsi"], \ [Test...
apache-2.0
simp/puppetlabs-puppetdb
spec/unit/classes/server/db_read_uri_spec.rb
2154
require 'spec_helper' describe 'puppetdb::server::read_database', type: :class do context 'on a supported platform' do let(:facts) do { osfamily: 'RedHat', operatingsystem: 'RedHat', operatingsystemrelease: '7.0', fqdn: 'test.domain.local', } end describe 'whe...
apache-2.0
coding-sig/Swift
src/app/services/auth.service.ts
919
// This service make the app doesn't actually log in, it just tring to mimic the login process. It has // an "isLoggedIn" flag to tell you whether the user is authenticated. Its login method simulates an // API call to an external service by returning an Observable that resolves successfully after a short // pause. ...
apache-2.0
cbadenes/oeg-stemming
lib/src/main/java/es/upm/oeg/stemming/lib/domain/Analysis.java
250
package es.upm.oeg.stemming.lib.domain; import lombok.Data; import java.util.List; /** * Created by cbadenes on 09/07/15. */ @Data public class Analysis { private String id; private String stemmer; private List<Keyword> stems; }
apache-2.0
HubSpot/Singularity
SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityDeployAcceptanceManager.java
3266
package com.hubspot.singularity.scheduler; import com.google.inject.Inject; import com.google.inject.Singleton; import com.hubspot.singularity.DeployAcceptanceResult; import com.hubspot.singularity.DeployAcceptanceState; import com.hubspot.singularity.DeployState; import com.hubspot.singularity.SingularityDeploy; impo...
apache-2.0
aparod/jonix
jonix-common/src/main/java/com/tectonica/jonix/struct/JonixExtent.java
1203
/* * Copyright (C) 2012 Zach Melamed * * Latest version available online at https://github.com/zach-m/jonix * Contact me at zach@tectonica.co.il * * 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 ...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/transform/ShardMarshaller.java
2528
/* * 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...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/DynamoDBTyped.java
6589
/* * Copyright 2016-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. * You may obtain a copy of the License at: * * http://aws.amazon.com/apache2.0 * * This fil...
apache-2.0
fuinorg/commons-vfs2-filters
src/main/java/org/fuin/vfs2/filter/CanReadFileFilter.java
3748
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
apache-2.0
leva24/leva24.github.io
standard.php
444
<html> <head> <title>standard</title> </head> <body> <center><font color=purple size=6><a href=standard1.php>standard</a></font></center> <img src="images/accom_roomdetail_poolview.jpg" width="858" height=360 width750> <font color=purple size=3> <pre> luxuriously furnished room having a sofa cum bed for...
apache-2.0
quarkusio/quarkus
extensions/spring-data-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/generate/AbstractMethodsAdder.java
17863
package io.quarkus.spring.data.deployment.generate; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Optional; import java.util.function.Function; import java.util.stream.Collector; import java.util.stream.Collectors; import java.util.strea...
apache-2.0
quarkusio/quarkus
independent-projects/tools/devtools-common/src/main/java/io/quarkus/devtools/codestarts/quarkus/QuarkusCodestartData.java
5248
package io.quarkus.devtools.codestarts.quarkus; import io.quarkus.devtools.codestarts.DataKey; import io.quarkus.devtools.codestarts.utils.NestedMaps; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.function.Function; import java.util.stream.Collectors; import java.util.stre...
apache-2.0
enisoc/kubernetes
test/e2e/network/service_latency.go
11048
/* Copyright 2015 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, ...
apache-2.0
vespa-engine/vespa
application-model/src/main/java/com/yahoo/vespa/applicationmodel/ServiceType.java
2060
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.applicationmodel; import com.fasterxml.jackson.annotation.JsonValue; import java.util.Objects; /** * @author bjorncs */ public class ServiceType { // Common service types. publi...
apache-2.0
hypercube1024/firefly
firefly-common/src/main/java/com/fireflysource/common/bytecode/ClassProxy.java
180
package com.fireflysource.common.bytecode; @FunctionalInterface public interface ClassProxy { Object intercept(MethodProxy handler, Object originalInstance, Object[] args); }
apache-2.0
tmatsuo/google-cloud-php
src/BigQuery/QueryResults.php
8859
<?php /** * Copyright 2016 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...
apache-2.0
motorina0/flowable-engine
modules/flowable-engine/src/main/java/org/flowable/engine/impl/calendar/MapBusinessCalendarManager.java
1936
/* 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 * distribut...
apache-2.0
lsimons/phloc-schematron-standalone
phloc-commons/src/test/java/com/phloc/commons/jaxb/JAXBMarshallerUtilsTest.java
2786
/** * Copyright (C) 2006-2013 phloc systems * http://www.phloc.com * office[at]phloc[dot]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/license...
apache-2.0
BriData/DBus
dbus-keeper/keeper-web/app/components/ProjectManage/ProjectTable/AddProjectTable/ProjectTableTabs/SinkForm.js
8211
/** * @author 戎晓伟 * @description 基本信息设置 */ import React, { PropTypes, Component } from 'react' import { Form, Input, Checkbox, Radio, Select, Row, Col } from 'antd' import { FormattedMessage } from 'react-intl' import { intlMessage } from '@/app/i18n' const FormItem = Form.Item const RadioGroup = Radio.Group con...
apache-2.0
hmrc/fset-faststream
app/model/persisted/ApplicationForNotification.scala
1437
/* * Copyright 2022 HM Revenue & Customs * * 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...
apache-2.0
stevenhva/InfoLearn_OpenOLAT
src/main/java/org/olat/course/nodes/projectbroker/ProjectBrokerDropboxController.java
4378
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
apache-2.0
sciactive/tilmeld
src/Entities/Mail/CancelEmailChange.php
1211
<?php namespace Tilmeld\Entities\Mail; // phpcs:disable Generic.Files.LineLength.TooLong /** * Cancel Email Change * * @license https://www.apache.org/licenses/LICENSE-2.0 * @author Hunter Perrin <hperrin@gmail.com> * @copyright SciActive.com * @link http://tilmeld.org/ */ class CancelEmailChange extends \uMai...
apache-2.0
wyukawa/presto
presto-main/src/main/java/io/prestosql/execution/QueryStateTimer.java
8606
/* * 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 * distribut...
apache-2.0
raghuvenmarathoor/ng-commons
modules/error/cs-error.module.js
92
(function() { 'use strict'; angular .module('cs-error', [ ]); })();
apache-2.0
finsterthecat/dailysales
src/test/java/bean/MyBeanTest.java
1480
/* * 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 bean; import javax.ejb.embeddable.EJBContainer; import org.junit.After; import org.junit.AfterClass; import org.junit.Before;...
apache-2.0
tavis-software/Tavis.Link
src/Link/MediaTypes/ILinkExtractor.cs
602
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tavis { /// <summary> /// This interface can be implemented by media type parsers to provide a generic way to access links in a representation /// </summary> public interface ILinkExtractor { ...
apache-2.0
lmcgupe/theiagreenkeeperTest
src/filesystem/node/node-filesystem.spec.ts
45676
/* * Copyright (C) 2017 TypeFox 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/LICENSE-2.0 */ import { FileChangesEvent, FileChange, FileChange...
apache-2.0
cbeams-archive/spring-framework-2.5.x
src/org/springframework/jca/cci/core/support/CciDaoSupport.java
5006
/* * Copyright 2002-2008 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
kktts/AppCompare
app/src/main/java/com/konstantinost/appcompare/MenuActivity.java
1681
package com.konstantinost.appcompare; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; public class MenuActivity extends AppCompatActivity { @Override protecte...
apache-2.0
yacloud-io/design-pattern
cmd/composite.go
1224
// Copyright © 2017 Yacloud Co.,Ltd. <yacloud.inc@gmail.com> // package cmd import ( "github.com/spf13/cobra" lbs "github.com/yacloud-io/design-pattern/library" ) // compositeCmd represents the composite command var compositeCmd = &cobra.Command{ Use: "composite", Short: "Composite design pattern", Long: `Ha...
apache-2.0
hortonworks/cloudbreak
cluster-cm/src/main/java/com/sequenceiq/cloudbreak/cm/commands/CommandResourceListTypeReference.java
274
package com.sequenceiq.cloudbreak.cm.commands; import java.util.List; import com.fasterxml.jackson.core.type.TypeReference; import com.sequenceiq.cloudbreak.cm.model.CommandResource; class CommandResourceListTypeReference extends TypeReference<List<CommandResource>> { }
apache-2.0
spepping/fop-cs
src/java/org/apache/fop/complexscripts/fonts/GlyphSubstitutionTable.java
67477
/* * 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 ...
apache-2.0
runnerfish/ssh2_code_learn
SSH2 Code Kit/08/8.4/XML-config/src/crazyit/app/service/impl/Chinese.java
686
package org.crazyit.app.service.impl; import org.crazyit.app.service.*; /** * Description: * <br/>ÍøÕ¾: <a href="http://www.crazyit.org">·è¿ñJavaÁªÃË</a> * <br/>Copyright (C), 2001-2012, Yeeku.H.Lee * <br/>This program is protected by copyright laws. * <br/>Program Name: * <br/>Date: * @author Yeeku.H.Lee kon...
apache-2.0
stephentyrone/swift
lib/Sema/TypeCheckGeneric.cpp
37646
//===--- TypeCheckGeneric.cpp - Generics ----------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
apache-2.0
alancnet/artifactory
backend/core/src/main/java/org/artifactory/schedule/ArtifactorySchedulerFactoryBean.java
971
/* * Artifactory is a binaries repository manager. * Copyright (C) 2012 JFrog Ltd. * * Artifactory 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 Software Foundation, either version 3 of the License, or * (at your o...
apache-2.0
RobAltena/deeplearning4j
libnd4j/include/helpers/cpu/ConstantTadHelper.cpp
4700
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
apache-2.0
shzisg/wechat-java-sdk
wechat-java-mp/src/main/java/me/chanjar/weixin/mp/builder/outxml/NewsBuilder.java
799
package me.chanjar.weixin.mp.builder.outxml; import me.chanjar.weixin.mp.bean.message.WxMpXmlOutNewsMessage; import java.util.ArrayList; import java.util.List; /** * 图文消息builder * * @author chanjarster */ public final class NewsBuilder extends BaseBuilder<NewsBuilder, WxMpXmlOutNewsMessage> { protected fina...
apache-2.0
hughperkins/pub-prototyping
py/checkkey2.py
686
import time def _find_getch(): try: import termios except ImportError: # Non-POSIX. Return msvcrt's (Windows') getch. import msvcrt return msvcrt.getch # POSIX system. Create and return a getch that manipulates the tty. import sys, tty def _getch(): fd = sys...
apache-2.0
OpenNTF/org.openntf.domino
domino/formula/src/main/java/org/openntf/formula/ast/ASTValueDateOrKW.java
2517
/* Generated By:JJTree: Do not edit this line. ASTValueDateOrKW.java Version 4.3 */ /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=true,VISITOR=false,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ /* * © Copyright FOCONIS AG, 2014 * * Licensed under the Apache L...
apache-2.0
globalbus/blueprint-gradle-plugin
src/test/java/info/globalbus/blueprint/plugin/test/ServiceReferencesParent.java
1404
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
simeonf/sfpython
sfpython/events/migrations/0002_auto_20151028_1531.py
400
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('events', '0001_initial'), ] operations = [ migrations.AlterField( model_name='event', name='link', ...
apache-2.0
mikebski/jquery-cascade-list
src/cascade.js
4658
/* Copyright 2014 Mike Baranski (mike.baranski@gmail.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
apache-2.0
trasa/aws-sdk-java
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/GetProjectRequest.java
3035
/* * Copyright 2010-2016 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 "lice...
apache-2.0
markflyhigh/incubator-beam
sdks/python/apache_beam/runners/worker/bundle_processor.py
50215
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
apache-2.0
unclesky4/CompanyEmployeesManage
php/position_update.php
1283
<?php header('Content-type: text/html;charset=UTF-8'); session_start(); if(!isset($_SESSION['R'])) { echo '0'; //未登陆 return; } if($_SESSION['R'] !== "administrator") { echo '1'; return; } $id = test_input($_POST['id']); $name = test_input($_POST['name']); $bool_name=false; $con = mysql_connect("lo...
apache-2.0
romanzenka/swift
lib/config/src/test/java/edu/mayo/mprc/config/TestResource.java
1564
package edu.mayo.mprc.config; import org.testng.Assert; import java.util.Arrays; import java.util.List; /** * @author Roman Zenka */ class TestResource implements ResourceConfig { private TestResource2 ref1; private TestResource2 ref2; TestResource() { ref1 = new TestResource2(); ref2 = new TestResource2()...
apache-2.0
torrances/swtk-commons
commons-dict-wordnet-indexbyid/src/main/java/org/swtk/commons/dict/wordnet/indexbyid/instance/p0/p7/WordnetNounIndexIdInstance0747.java
11410
package org.swtk.commons.dict.wordnet.indexbyid.instance.p0.p7; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexIdInstance0...
apache-2.0
mharrison13/petfoster
src/app/components/sign-out.component.ts
443
import {Component, OnInit} from "@angular/core"; import {Status} from "../classes/status"; import {SignOutService} from "../services/sign-out.service"; @Component({ templateUrl: "./templates/sign-out.php" }) export class SignOutComponent implements OnInit{ status: Status = null; constructor(private signOutService...
apache-2.0
nkolosnjaji/generator-jhipster
generators/client/templates/angular/src/test/javascript/spec/app/admin/user-management/_user-management-dialog.component.spec.ts
5392
<%# Copyright 2013-2018 the original author or authors from the JHipster project. This file is part of the JHipster project, see http://www.jhipster.tech/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ma...
apache-2.0
TFarla/pong
public/js/game.js
11649
var gameProperties = { screenWidth: 640, screenHeight: 480, dashSize: 5, paddleLeft_x: 50, paddleRight_x: 590, paddleVelocity: 600, paddleSegmentsMax: 4, paddleSegmentHeight: 4, paddleSegmentAngle: 15, paddleTopGap: 22, ballVelocity: 500, ballRandomStartingAngleLeft: [-120, 120], ballRandom...
apache-2.0
apioo/psx-framework
tests/Console/RouteCommandTest.php
1773
<?php /* * PSX is an open source PHP framework to develop RESTful APIs. * For the current version and information visit <https://phpsx.org> * * Copyright 2010-2022 Christoph Kappestein <christoph.kappestein@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file...
apache-2.0
nsivabalan/ambry
ambry-clustermap/src/main/java/com.github.ambry.clustermap/PartitionLayout.java
9417
/** * Copyright 2016 LinkedIn Corp. 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...
apache-2.0
FrankHossfeld/Training
GWT-OLD/Module0812DomainServer/src/de/gishmo/module0812/domain/server/filter/LoggingResponseFilter.java
1219
package de.gishmo.module0812.domain.server.filter; import java.io.IOException; import javax.ws.rs.container.ContainerRequestContext; import javax.ws.rs.container.ContainerResponseContext; import javax.ws.rs.container.ContainerResponseFilter; import org.codehaus.jackson.map.ObjectMapper; public class LoggingResponse...
apache-2.0
StateStrategyPOC/Client
src/main/java/client_store_actions/ClientSetPlayerAction.java
1045
package client_store_actions; import common.PlayerToken; import common.StoreAction; /** * An action for signalling the availability of an in game identifier for the Player */ public class ClientSetPlayerAction extends StoreAction { private final String playerName; private final PlayerToken playerToken; ...
apache-2.0
zuowang/Paddle
paddle/cuda/src/hl_cuda_cublas.cc
9936
/* Copyright (c) 2016 Baidu, Inc. All Rights Reserve. 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 ...
apache-2.0
modaclouds/modaclouds-sla-core
sla-repository/src/main/java/eu/atos/sla/dao/IPolicyDAO.java
1954
/** * Copyright 2015 Atos * Contact: Atos <roman.sosa@atos.net> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
apache-2.0
googleads/google-ads-ruby
lib/google/ads/google_ads/v8/services/managed_placement_view_service_pb.rb
991
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v8/services/managed_placement_view_service.proto require 'google/protobuf' require 'google/ads/google_ads/v8/resources/managed_placement_view_pb' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google...
apache-2.0
googleapis/google-api-java-client-services
clients/google-api-services-firebasestorage/v1beta/1.31.0/com/google/api/services/firebasestorage/v1beta/model/GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata.java
3688
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
apache-2.0
kenfinnigan/DeltaSpike
deltaspike/modules/security/impl/src/main/java/org/apache/deltaspike/security/impl/credential/DefaultLoginCredential.java
2704
/* * 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 ma...
apache-2.0
FreeUKGen/MyopicVicar
app/helpers/freecen_pieces_helper.rb
1763
module FreecenPiecesHelper #return hyperlink to map lat,long (unless 0,0 or 60,0; then just return text) def map_link_helper(text, lat, long, zoom=10, title='Show on Map') return text if (0.0==lat.to_f || 60.0==lat.to_f) && 0.0==long.to_f if(true)#google maps return raw '<a href="https://google.com/ma...
apache-2.0
aspnet/AspNetCore
src/Shared/Components/ServerComponent.cs
1623
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; namespace Microsoft.AspNetCore.Components { // The DTO that we data-protect and include into any // generated component marke...
apache-2.0
octaware/super-volley
sample/src/main/java/com/android/supervolley/sample/samples/json_query_params/api/Service.java
514
package com.android.supervolley.sample.samples.json_query_params.api; import com.android.supervolley.Call; import com.android.supervolley.annotation.GET; import com.android.supervolley.annotation.Query; import com.android.supervolley.sample.samples.json_query_params.annotations.Json; import com.android.supervolley.sa...
apache-2.0
sara-izaap/Fitness-app
src/pages/workout/history/history.ts
1052
import { Component } from '@angular/core'; import {NavController,NavParams,ViewController} from 'ionic-angular'; import { WorkoutService } from '../../../providers/workoutService'; @Component({ selector:'workout-history',templateUrl:'history.html'}) export class HistoryPage { segment='workout'; workout:any=[];...
apache-2.0
pennmanor/LaptopsandTickets-1-1
auth/Auth/OpenID/SQLStore.php
18043
<?php /** * SQL-backed OpenID stores. * * PHP versions 4 and 5 * * LICENSE: See the COPYING file included in this distribution. * * @package OpenID * @author JanRain, Inc. <openid@janrain.com> * @copyright 2005-2008 Janrain, Inc. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache */ ...
apache-2.0
aestesis/elektronika
src/BaseClasses.to_delete/vtrans.cpp
17945
//------------------------------------------------------------------------------ // File: Vtrans.cpp // // Desc: DirectShow base classes. // // Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ #include <strea...
apache-2.0
18098924759/WuWen
WuWen.Infrastructure/Data/InBuilder.cs
1086
using System; using System.Collections.Generic; using System.Data; using System.Linq; namespace WuWen.Infrastructure.Data { public class InBuilder<T> : WhereBuilderBase { private readonly IEnumerable<T> source; public InBuilder(string fieldName, IEnumerable<T> col) : base(fieldName) { ...
apache-2.0
syphr42/liblametrictime-java
src/test/java/org/syphr/lametrictime/api/test/TestUtil.java
1324
/** * Copyright 2017-2018 Gregory Moyer and contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
mineral-ui/mineral-ui
src/website/app/demos/Menu/Menu/examples/menu.js
1654
/* @flow */ import { mineralTheme } from '../../../../../../library/themes'; import IconCloud from 'mineral-ui-icons/IconCloud'; import Menu, { MenuDivider, MenuGroup, MenuItem } from '../../../../../../library/Menu'; import DemoLayout from '../../common/DemoLayout'; export default { id: 'basic', title: 'Bas...
apache-2.0
felixbb/forseti-security
google/cloud/security/iam/explain/service.py
9450
# Copyright 2017 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 in writing, s...
apache-2.0
vroosky/Intell-wei
edit_home.php
5285
<html lang="en"> <?php /** * Created by PhpStorm. * User: shenya * Date: 16-4-7 * Time: 下午5:59 */ include "head.php"; ?> <?php session_start(); //启用session if($_SESSION['duser']){ // 检查用户是否登录 } else{ header("location: index.php"); // redirects if user is not logged in } $duser = $_SESSION['duser']; //assigns u...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/transform/GetAccountLimitResultStaxUnmarshaller.java
2692
/* * 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...
apache-2.0
mike-melo/bluewire
bluewire/src/obj_file.hpp
280
#pragma once #include <GL/glew.h> #include <string> #include <vector> using namespace std; class obj_file { public: void load(const string& file_name); vector<GLfloat> vertices(); vector<GLushort> faces(); private: vector<GLfloat> mVertices; vector<GLushort> mFaces; };
apache-2.0
quarkusio/quarkus
extensions/mailer/runtime/src/test/java/io/quarkus/mailer/runtime/FakeSmtpTestBase.java
2902
package io.quarkus.mailer.runtime; import java.time.Duration; import java.util.Optional; import java.util.OptionalInt; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import io.quarkus.mailer.Mail; import io.quarkus.runtime.TlsConfig; import io.vertx.mutiny.core.Vertx; import io.vert...
apache-2.0
leleuj/cas
support/cas-server-support-jpa-eclipselink/src/main/java/org/apereo/cas/eclipselink/CasEclipseLinkJpaBeanFactory.java
2095
package org.apereo.cas.eclipselink; import org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties; import org.apereo.cas.configuration.model.support.jpa.DatabaseProperties; import org.apereo.cas.configuration.model.support.jpa.JpaConfigurationContext; import org.apereo.cas.configuration.support.JpaBeans;...
apache-2.0