repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
tedwen/transmem
src/com/transmem/utils/Security.java
1277
package com.transmem.utils; import java.security.MessageDigest; public class Security { /** * Converts a byte to hex digit and writes to the supplied buffer */ public static void byte2hex(byte b, StringBuffer buf) { char[] hexChars = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}; int hi...
apache-2.0
ieewbbwe/studySpace
coreLib/src/main/java/com/android_mobile/core/ui/comp/pullListView/IListViewComp.java
252
package com.android_mobile.core.ui.comp.pullListView; import com.android_mobile.core.adapter.BasicRecycleAdapter; public interface IListViewComp { void getListView(); void setAdapter(BasicRecycleAdapter adapter); void setListener(); }
apache-2.0
YangYongZhi/cpims
src/com/gtm/cpims/business/workflow/variable/ProcessStatusMap.java
1427
package com.gtm.cpims.business.workflow.variable; import java.util.HashMap; import java.util.Map; public class ProcessStatusMap { private static Map<String, String> PROCESSSTATUS; static { PROCESSSTATUS = new HashMap<String, String>(); PROCESSSTATUS.put("WATING_REVIEW", "待复核"); PROCESSSTATUS.put...
apache-2.0
ajeddeloh/ignition
internal/exec/stages/files/passwd.go
2603
// Copyright 2018 CoreOS, 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...
apache-2.0
cloudkick/cast
tests/simple/test-required-params-middleware.js
2192
/* * Licensed to Cloudkick, Inc ('Cloudkick') under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Cloudkick licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not us...
apache-2.0
nortal/spring-mvc-component-web
modules/component-web-core/src/main/java/com/nortal/spring/cw/core/web/helper/FieldHelper.java
12671
package com.nortal.spring.cw.core.web.helper; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.math.BigDecimal; import java.sql.Time; import java.sql.Timestamp; import java.util.Collection; import java.util.Date; import org.apache.commons.lang3.No...
apache-2.0
directonlijn/app
public_html/agenda.php
2979
<?php exit(); global $page_tite; $page_tite = ' - agenda'; ?> <!doctype html> <html lang="en"> <?php include_once('components/head.php'); ?> <body class="home"> <div id="wrapper" class="container"> <?php include_once('components/header.php'); ?> <div class="content"> <h1 cla...
apache-2.0
fcrepo3/fcrepo
fcrepo-server/src/main/java/org/fcrepo/server/storage/tasks/StreamingExport.java
1242
package org.fcrepo.server.storage.tasks; import java.io.IOException; import java.io.OutputStream; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.StreamingOutput; import org.fcrepo.server.errors.ServerException; import org.fcrepo.server.storage.translation.DOTranslator; import org.fcrepo.server.s...
apache-2.0
Muyoo/gold_pred
train_lda/view_model.py
3950
#!/usr/bin/env python #encoding=utf8 ''' Author: xmuyoo@163.com Date: 2015/11/24 Content: 将生成的主体模型格式化输出 输入:主体模型文件,word的倒排文件 输出:格式化后的主题文件 ''' import pdb import sys MIN_SCORE = 10.0 TOPIC_LENGTH = 10 class Translator(object): '''''' def __init__(self, output_fname, word_idx_file, mod_file, output_sc...
apache-2.0
jiwanlimbu/aura
keystone/contrib/s3/core.py
4752
# Copyright 2012 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
apache-2.0
mc7246/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Scan/ScanJson/ScanTicketCheckJsonResult.cs
2508
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain ...
apache-2.0
cnbdragon/DungeonCreator
src/dungeoncreator/Matterial.java
368
/* * 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 dungeoncreator; /** * * @author jwulf */ public interface Matterial { public void getName(); public vo...
apache-2.0
AntonVasilyuk/Aduma
chapter_002/tracker/src/main/java/ru/job4j/tracker/package-info.java
156
/** * chapter_002. * Interface for tracker * * @author Anton Vasilyuk (wrajina99@gmail.com) * @version $Id$ * @since 0.1 */ package ru.job4j.tracker;
apache-2.0
GAIPS-INESC-ID/FAtiMA-Emotional-Appraisal
Assets/SocialImportance/Properties/AssemblyInfo.cs
1379
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SocialImportanceAsset")] [assembly: Assem...
apache-2.0
Pardus-Engerek/engerek
model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/AbstractSearchIterativeTaskHandler.java
25723
/* * Copyright (c) 2010-2017 Evolveum * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
NextCenturyCorporation/digapp-microcap-fraud
server/config/local.env.sample.js
442
'use strict'; // Use local.env.js for environment variables that grunt will set when the server starts locally. // Use for your api keys, secrets, etc. This file should not be tracked by git. // // You will need to set these on the server you deploy to. module.exports = { DOMAIN: 'http://localhost:9000', ...
apache-2.0
botelhojp/apache-jmeter-2.10
src/components/org/apache/jmeter/assertions/ResponseAssertion.java
19684
/* * 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
thalman/dds
src/responderDBBlocked.php
893
<?php // Copyright 2015 Tomas Halman // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
apache-2.0
stellar/js-stellar-base
test/unit/keypair_test.js
5145
describe('Keypair.contructor', function() { it('fails when passes secret key does not match public key', function() { let secret = 'SD7X7LEHBNMUIKQGKPARG5TDJNBHKC346OUARHGZL5ITC6IJPXHILY36'; let kp = StellarBase.Keypair.fromSecret(secret); let secretKey = kp.rawSecretKey(); let publicKey = StellarBas...
apache-2.0
zimmermatt/flink
flink-core/src/main/java/org/apache/flink/core/memory/DataOutputSerializer.java
9105
/* * 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
google-code/actorom
src/main/java/com/googlecode/actorom/local/support/SymbolicHostBinder.java
1462
/** * Copyright 2009 Sergio Bossa * * 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
binrui/smart-dream-shop
shop-base/src/main/java/com/smart/shop/base/utils/BigDecimalUtil.java
2237
package com.smart.shop.base.utils; import java.math.BigDecimal; public class BigDecimalUtil { // 默认除法运算精度,及即保留小数点多少位 private static final int DEF_DIV_SCALE = 6; // 这个类不能实例化 public BigDecimalUtil() { } /** * 提供精确的加法运算。 * * @param v1 * 被加数 * @param v2 * 加数 * @return 两个参数的和...
apache-2.0
steveb/heat
heat/tests/test_hacking.py
1777
# Copyright 2016 NTT DATA. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
apache-2.0
efeavsar/bbplayer
mobile/src/main/java/com/lonict/android/bbplayer/VoiceSearchParams.java
4809
/* * 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...
apache-2.0
weiwenqiang/GitHub
expert/jackson-core/src/main/java/com/fasterxml/jackson/core/base/ParserMinimalBase.java
25953
package com.fasterxml.jackson.core.base; import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.core.JsonParser.Feature; import com.fasterxml.jackson.core.io.JsonEOFException; import com.fasterxml.jackson.core.io.NumberIn...
apache-2.0
djarosz/embedded-elasticsearch
core/src/main/java/pl/allegro/tech/embeddedelasticsearch/EmbeddedElastic.java
9995
package pl.allegro.tech.embeddedelasticsearch; import pl.allegro.tech.embeddedelasticsearch.InstallationDescription.Plugin; import java.io.File; import java.io.IOException; import java.net.URL; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import ...
apache-2.0
wav/osgi-tooling
karaf-packaging/src/main/scala/wav/devtools/karaf/packaging/FeaturesXmlFormats.scala
6555
package wav.devtools.karaf.packaging import org.osgi.framework.{Version, VersionRange} import scala.xml.Elem trait XmlFormat[T] { def write(value: T): Option[Elem] def read(elem: Elem): Option[T] = this._read .andThen(Some(_: T)) .applyOrElse(elem, (_: Elem) => None) val _read: PartialFunctio...
apache-2.0
marklogic/java-client-api
marklogic-client-api/src/main/java/com/marklogic/client/io/marker/DocumentMetadataReadHandle.java
808
/* * Copyright (c) 2019 MarkLogic 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 ...
apache-2.0
izhbg/typz
typz-all/typz-sso/src/main/java/com/izhbg/typz/sso/auth/service/TXtJgService.java
2678
package com.izhbg.typz.sso.auth.service; import java.util.List; import java.util.concurrent.ExecutionException; import net.sf.json.JSONArray; import com.izhbg.typz.base.page.Page; import com.izhbg.typz.sso.auth.dto.TXtJg; import com.izhbg.typz.sso.auth.dto.TXtJgQuery; /** * 组织机构service * @author caixl...
apache-2.0
vimaier/conqat
org.conqat.engine.sourcecode/test-data/org.conqat.engine.sourcecode.analysis.findings/ComplexNesting02.java
513
package foo; public class ComplexNesting01 { static boolean a; public static void main(String[] args) { for (int i = 0; i < 10; ++i) { if (a) { if (i > 3) { if (args.length > i) { if (args[i] != null) { System.err.println("foo"); } } } } } for (int i = 0; i < 10;...
apache-2.0
ui-icts/spring-utils
src/main/java/edu/uiowa/icts/delegate/SwitchUser.java
1828
package edu.uiowa.icts.delegate; /* * #%L * spring-utils * %% * Copyright (C) 2010 - 2015 University of Iowa Institute for Clinical and Translational Science (ICTS) * %% * 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
rhuss/gofabric8
vendor/github.com/prometheus/common/route/route.go
2553
package route import ( "net/http" "sync" "github.com/julienschmidt/httprouter" "golang.org/x/net/context" ) var ( mtx = sync.RWMutex{} ctxts = map[*http.Request]context.Context{} ) // Context returns the context for the request. func Context(r *http.Request) context.Context { mtx.RLock() defer mtx.RUnlock...
apache-2.0
njpatel/skizze
src/sketches/hllpp_test.go
1614
package sketches import ( "strconv" "testing" "datamodel" pb "datamodel/protobuf" "utils" ) func TestAddHLLPP(t *testing.T) { utils.SetupTests() defer utils.TearDownTests() info := datamodel.NewEmptyInfo() info.Properties.MaxUniqueItems = utils.Int64p(1024) info.Name = utils.Stringp("marvel") sketch, err...
apache-2.0
Yufan-l/vertx-playground
vertx-java/src/main/java/vertx/playground/java/api/Whisky.java
902
package vertx.playground.java.api; import io.vertx.core.json.JsonObject; import java.util.concurrent.atomic.AtomicInteger; public class Whisky { private final int id; private String name; private String origin; public Whisky(String name, String origin) { this.name = name; this.origin = origin; this.id ...
apache-2.0
meta-magic/amexio.github.io
src/module/map/treemap/treemap.map.component.ts
8002
/* * Copyright [2019] [Metamagic] * * 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
imoblife/filemanager
FileManager/src/com/filemanager/compatibility/HomeIconHelper.java
812
package com.filemanager.compatibility; import com.filemanager.FileManagerActivity; import android.app.Activity; import android.content.Intent; public class HomeIconHelper { public static void activity_actionbar_setHomeButtonEnabled(Activity act){ act.getActionBar().setHomeButtonEnabled(true); } public static ...
apache-2.0
tolbertam/java-driver
driver-extras/src/test/java/com/datastax/driver/extras/codecs/jdk8/LocalDateCodecTest.java
2572
/* * Copyright (C) 2012-2017 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 agr...
apache-2.0
jdillon/gshell
gshell-testharness/src/main/java/com/planet57/gshell/testharness/BufferIO.java
2171
/* * Copyright (c) 2009-present 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 ...
apache-2.0
moley/leguan
leguan-plugins/leguan-plugin-unuseddeps/src/test/java/org/leguan/unuseddeps/testprojectWithout/TestProjectWithout.java
152
package org.leguan.unuseddeps.testprojectWithout; public class TestProjectWithout { public TestProjectWithout() { String hello = "hello"; } }
apache-2.0
cwpenhale/red5-mobileconsole
red5_server/src/main/java/org/red5/server/api/statistics/IStatisticsService.java
3904
/* * RED5 Open Source Flash Server - http://code.google.com/p/red5/ * * Copyright 2006-2012 by respective authors (see below). 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 co...
apache-2.0
CCI-MOC/GUI-Frontend
troposphere/static/js/components/projects/resources/instance/details/sections/metrics/CPUGraph.js
341
import Graph from "./Graph"; import { extend } from "underscore"; let CPUGraph = function(settings) { let defaults = { transform: "derivative" }; Graph.call(this, extend(defaults, settings)); }; CPUGraph.prototype = Object.create(Graph.prototype); CPUGraph.prototype.constructor = CPUGraph; expo...
apache-2.0
Leeo1124/test
src/main/java/com/leeo/web/entity/CopyOfUser.java
814
package com.leeo.web.entity; import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name="t_sys_user") public class CopyOfUser extends IdEntity<Long>{ private static final long serialVersionUID = -6416431995690017358L; private String username; private String password; private Str...
apache-2.0
matteocaberlotto/TeoCoreBundle
Resources/public/js/jquery.pte.js
4552
/* * jQuery getPathToElement plugin calculates one of the * jquery unique path to reach an element of the DOM. * It will use id, classname or tagname to identify * the element itself and all the parents up to the body or * the first element with an unique ID. * For human readability it is prefered a tagna...
apache-2.0
osswangxining/dockerfoundry
cn.dockerfoundry.ide.eclipse.server.core/src/cn/dockerfoundry/ide/eclipse/server/core/internal/client/AbstractWaitWithProgressJob.java
4198
/******************************************************************************* * Copyright (c) 2012, 2015 Pivotal Software, Inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, * Version 2.0 (the "License"); you may not use this ...
apache-2.0
mlaursen/mathtabolism
src_old/main/java/com/mathtabolism/dto/MealDto.java
312
/** * */ package com.mathtabolism.dto; /** * @author mlaursen * */ public interface MealDto extends GeneratedIdDto { /** * Gets the Meal's name * @return the meal's name */ String getName(); /** * Sets the meal's name * @param name the name */ void setName(String name); }
apache-2.0
jasontangcn/JDKAPI
src/com/fruits/jdkapi/security/ClassInternal.java
2492
package com.fruits.jdkapi.security; import java.lang.reflect.Method; import java.net.URL; import java.security.CodeSource; import java.security.ProtectionDomain; public class ClassInternal implements SecurityMisc.InterfaceA, SecurityMisc.InterfaceB { public static String getClassInfo(Class cls) { StringB...
apache-2.0
jk1/intellij-community
platform/smRunner/src/com/intellij/execution/testframework/sm/SMTestRunnerConnectionUtil.java
16480
// 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.execution.testframework.sm; import com.intellij.execution.ExecutionException; import com.intellij.execution.Location; import com.intellij.execution.process.P...
apache-2.0
google/gcnn-survey-paper
utils/train_utils.py
1447
#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 # # https://www.apache.org/licenses/LICENSE-2.0 # #Unless required by applicable law or agreed to in writing, softwa...
apache-2.0
robert-bor/CSVeed
src/test/java/org/csveed/common/ColumnTest.java
2295
package org.csveed.common; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import java.util.Map; import java.util.TreeMap; import org.csveed.api.Header; import org.csveed.report.Csv...
apache-2.0
matt-royal/cf-acceptance-tests
assets/syslog-drain-listener/syslog_drain.go
842
package main import ( "fmt" "io" "net" "os" "time" ) func main() { go logIP() listenAddress := fmt.Sprintf(":%s", os.Getenv("PORT")) listener, err := net.Listen("tcp", listenAddress) if err != nil { panic(err) } fmt.Println("Listening for new connections") for { conn, err := listener.Accept() if e...
apache-2.0
criteo/zipkin4net
Src/zipkin4net/Tests/Utils/T_NumberUtils.cs
1848
using zipkin4net.Utils; using NUnit.Framework; namespace zipkin4net.UTest.Utils { [TestFixture] internal class T_NumberUtils { [Test] public void TransformationIsReversible() { const long longId = 150L; var guid = NumberUtils.LongToGuid(longId); ...
apache-2.0
niks199/task1
Serialize and Deserialize Binary Tree Preorder.java
1876
/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ public class Codec { public void serializeImpl(TreeNode root, StringBuilder builder) { if (root == null) { b...
apache-2.0
Mirieri/HelloGithub
app/src/ee/ioc/phon/android/speak/VoiceImeView.java
15072
package ee.ioc.phon.android.speak; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.speech.RecognitionListener; import android.speech.SpeechRecognizer; import android.util.Attri...
apache-2.0
Vazkii/Emotes
MODSRC/vazkii/emotes/client/emote/base/EmoteState.java
840
package vazkii.emotes.client.emote.base; import net.minecraft.client.model.ModelBiped; public class EmoteState { float[] states = new float[0]; EmoteBase emote; public EmoteState(EmoteBase emote) { this.emote = emote; } public void save(ModelBiped model) { float[] values = new float[1]; for(int i = 0;...
apache-2.0
SharedHealth/openmrs-module-bdshrclient
fhirmapper/src/main/java/org/openmrs/module/fhir/mapper/bundler/ProcedureFulfillmentMapper.java
3128
package org.openmrs.module.fhir.mapper.bundler; import org.hl7.fhir.dstu3.model.Identifier; import org.hl7.fhir.dstu3.model.Procedure; import org.hl7.fhir.dstu3.model.Resource; import org.openmrs.Obs; import org.openmrs.Order; import org.openmrs.module.fhir.mapper.model.*; import org.openmrs.module.shrclient.dao.IdMap...
apache-2.0
torch2424/CrunchKey-Ionic
app/scripts/app.js
748
// Ionic Starter App // angular.module is a global place for creating, registering and retrieving Angular modules // 'starter' is the name of this angular module example (also set in a <body> attribute in index.html) // the 2nd parameter is an array of 'requires' 'use strict'; angular.module('starter', ['ionic', 'star...
apache-2.0
ernestp/consulo
platform/diff-impl/src/com/intellij/diff/tools/simple/SimpleDiffViewer.java
28887
/* * Copyright 2000-2015 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...
apache-2.0
sigitm/musichub
src/main/java/it/musichub/server/config/Required.java
300
package it.musichub.server.config; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; @Retention(RUNTIME) @Target(FIELD) @interface Required { }
apache-2.0
XiaoMi/linden
linden-core/src/main/java/com/xiaomi/linden/core/search/query/QueryStringQueryConstructor.java
2371
// Copyright 2016 Xiaomi, 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...
apache-2.0
binout/pokemon-go
src/main/java/io/github/binout/pokemongo/domain/formula/LevelData.java
1996
/* * Copyright 2016 Benoît Prioux * * 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
stack-this/hunter-price
app/cache/prod/doctrine/orm/Proxies/__CG__HunterBundleEntityStoreProduct.php
6798
<?php namespace Proxies\__CG__\HunterBundle\Entity; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class StoreProduct extends \HunterBundle\Entity\StoreProduct implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closure the callback responsible for loading properties in the pr...
apache-2.0
KaduAmaral/Base
base/core/request/globals.class.php
265
<?php namespace Core\Request; class Globals extends Vars { public function __construct() { foreach ($GLOBALS as $key => $val) { $this->__set($key, $val); } } public function onSet($key, $val) { $GLOBALS[$key] = $val; } }
apache-2.0
timofeysie/catechis
test/org/catechis/file/FileWordCategoriesManagerTest.java
30112
package org.catechis.file; /* Copyright 2006 Timothy Curchod 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
SudhersonV/DotNetRoot
SampleCode/AdventureWorksEF/DatabaseLog.cs
929
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
apache-2.0
haf/NodaTime
src/NodaTime.Benchmarks/Extensions/Extensions.cs
1186
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2011 Jon Skeet // // 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 // // ht...
apache-2.0
consulo/consulo-maven
plugin/src/main/java/org/jetbrains/idea/maven/services/artifactory/ArtifactoryRepositoryService.java
5655
/* * Copyright 2000-2010 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...
apache-2.0
crystalbyte/spectre
src/Crystalbyte.Spectre/CommandLineSwitchCollection.cs
225
using System; namespace Crystalbyte.Spectre { public sealed class CommandLineEntryCollection { public CommandLineEntryCollection (CommandLine commandLine) { } public object MyProperty { get; set; } } }
apache-2.0
altarit/cloudpolis-react
src/routes/AccessLog/index.js
219
export default (store) => ({ path: '/admin/access', name: 'accessLog', getComponent() { return Promise.all([ import('./containers/AccessLogContainer'), import('./modules/accessLog'), ]) } })
apache-2.0
che2/bde
groups/bsl/bsls/bsls_review_macroreset.cpp
986
// bsls_review_macroreset.cpp -*-C++-*- #include <bsls_review_macroreset.h> #include <bsls_ident.h> BSLS_IDENT("$Id$ $CSID$") namespace BloombergLP { } // close enterprise namespace // ---------------------------------------------------------------------------- // Copyright ...
apache-2.0
Nankaiming/MobileSafe
src/com/example/mobilesafe/activity/CallSafeActivity.java
5196
package com.example.mobilesafe.activity; import java.util.List; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.text.TextUtils; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import and...
apache-2.0
cloudfoundry/php-buildpack
src/php/integration/composer_with_unicode_env_test.go
534
package integration_test import ( "github.com/cloudfoundry/libbuildpack/cutlass" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) var _ = Describe("Composer with unicode env variables", func() { var app *cutlass.App AfterEach(func() { app = DestroyApp(app) }) It("", func() { app = cutlass.New(Fixture...
apache-2.0
orientechnologies/orientdb
graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientIndexManual.java
11401
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.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...
apache-2.0
vmandic/dreamlet
dreamlet.server/dreamlet.Composition/DryIoc/FastExpressionCompiler.cs
91838
/* The MIT License (MIT) Copyright (c) 2016 Maksim Volkau Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
apache-2.0
sassoftware/mint
mint/rest/db/filemgr.py
2565
# # Copyright (c) SAS Institute 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 w...
apache-2.0
ImLiar/finch
core/src/main/scala/io/finch/endpoint/body.scala
4655
package io.finch.endpoint import cats.effect.Sync import com.twitter.io.{Buf, Reader} import io.finch._ import io.finch.internal._ import io.finch.items._ import java.nio.charset.{Charset, StandardCharsets} import scala.reflect.ClassTag private[finch] abstract class FullBody[F[_], A] extends Endpoint[F, A] { prote...
apache-2.0
NationalSecurityAgency/ghidra
Ghidra/Debug/Debugger-agent-lldb/src/main/java/agent/lldb/model/iface2/LldbModelTargetBreakpointSpec.java
3126
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
apache-2.0
lilpaw/thwack
app/models/end.rb
73
class End < ActiveRecord::Base belongs_to :round has_many :arrows end
apache-2.0
dans123456/pnc
ui/app/import/product/ProductImportCtrl.js
14263
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual 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 Licen...
apache-2.0
azurenightwalker/MyFinances
MyFinances/src/main/java/com/androidproductions/myfinances/data/FinancesDB.java
1067
package com.androidproductions.myfinances.data; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class FinancesDB extends SQLiteOpenHelper { public static final String TABLE_ACCOUNTS = "accounts"; private static final String...
apache-2.0
God2016/poster_1472181226002
src/main/java/cn/dmesoft/haibao/modules/test/entity/Test.java
2951
/** * Copyright &copy; 2012-2016 <a href="http://dmesoft.cn">dmesoft</a> All rights reserved. */ package cn.dmesoft.haibao.modules.test.entity; import java.util.Date; import cn.dmesoft.haibao.common.persistence.DataEntity; import cn.dmesoft.haibao.common.supcan.annotation.treelist.SupTreeList; import cn.dmesoft.hai...
apache-2.0
tolbertam/java-driver
driver-core/src/test/java/com/datastax/driver/core/DseCCMClusterTest.java
2772
/* * Copyright (C) 2012-2017 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 agr...
apache-2.0
kolstae/openpipe
solr-producer/src/main/java/no/trank/openpipe/solr/producer/SolrDocumentProducer.java
2615
/* * Copyright 2007 T-Rank AS * * 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...
apache-2.0
GoogleCloudPlatform/ml-pipeline-generator-python
ml_pipeline_gen/templates/xgboost_model.py
779
# Copyright 2020 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 law or ...
apache-2.0
inkstand-io/halite
halite-core/src/main/java/io/inkstand/halite/HAL.java
2182
package io.inkstand.halite; import javax.xml.bind.annotation.XmlTransient; /** * The class contains factory methods to create simple Resources and Links and provides a set of standard link * relations. * * @author <a href="mailto:gerald.muecke@gmail.com">Gerald M&uuml;cke</a> */ @XmlTransient public final class...
apache-2.0
NLeSC/Platinum
ptk-vbrowser-vrs/src/main/java/nl/esciencecenter/vbrowser/vrs/localfs/LocalFileAttributes.java
2257
/* * Copyright 2012-2014 Netherlands eScience Center. * * 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 the following location: * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
apache-2.0
twilmes/sql-gremlin
src/main/java/org/twilmes/sql/gremlin/adapter/converter/ast/nodes/operator/GremlinSqlBasicCall.java
4845
/* * 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
TAnsz/HKWeb
Solution.DataAccess/SubSonic/employeedetTable.cs
2350
using System; namespace Solution.DataAccess.DataModel { /// <summary> /// Table: employeedet /// Primary Key: no /// </summary> public class employeedetTable { /// <summary> /// 表名 /// </summary> public static string TableName { get{ return "employee...
apache-2.0
huggingface/transformers
src/transformers/models/luke/configuration_luke.py
6161
# coding=utf-8 # Copyright Studio Ousia and The HuggingFace Inc. 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 b...
apache-2.0
1ukash/horizon
horizon/dashboards/project/volumes/tests.py
14507
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no...
apache-2.0
vengefuldrx/rekt-googlecore
rekt_googlecore/client.py
4758
import types import time from itertools import chain from functools import partial from pathlib import Path, PurePath from pkg_resources import resource_filename import rekt from rekt.service import RestClient from rekt.utils import load_config, api_method_names, _ASYNC_METHOD_PREFIX from .errors import Status, exc...
apache-2.0
utgenome/utgb
utgb-core/src/main/java/org/utgenome/format/egt/Gene.java
2015
/*-------------------------------------------------------------------------- * Copyright 2007 utgenome.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...
apache-2.0
okankurtulus/droidparts
droidparts/src/org/droidparts/activity/legacy/ListActivity.java
1288
/** * Copyright 2015 Alex Yanchenko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/ServiceLimit.java
2223
/* * 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
nblair/bw-util
bw-util-deployment/src/main/java/org/bedework/util/deployment/WebXml.java
4557
package org.bedework.util.deployment; import org.bedework.util.xml.XmlUtil; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import java.io.File; /** Represent a web.xml file. * * @author douglm */ public class WebXml extends XmlFile { private final PropertiesChain props; pu...
apache-2.0
yahyaharif/impexformatter
src/main/webapp/resources/js/custom.js
105
$(document).ready(function() { $('#result').DataTable(); $('[data-toggle="tooltip"]').tooltip(); });
apache-2.0
qmx/aerogear-unifiedpush-server
jaxrs/src/test/java/org/jboss/aerogear/unifiedpush/rest/util/HttpRequestHelperTest.java
4724
/** * JBoss, Home of Professional Open Source * Copyright Red Hat, Inc., and individual 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/lic...
apache-2.0
pengzhiming/AndroidApp
app/src/main/java/com/yl/merchat/component/net/YLRxSubscriberHelper.java
3867
package com.yl.merchat.component.net; import android.content.Context; import com.yl.merchat.base.data.BaseResponse; import com.yl.merchat.util.ThrowableUtil; import com.yl.core.component.log.DLog; import com.yl.core.component.net.JHttpLoggingInterceptor; import com.yl.core.component.net.RxSubscriberHelper; import co...
apache-2.0
postfix/csfw
utils/crypto/crytpo.go
1429
// Copyright 2015, Cyrill @ Schumacher.fm and the CoreStore 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 r...
apache-2.0
lightenna/structuredfun-core
web/app.php
840
<?php use Symfony\Component\ClassLoader\ApcClassLoader; use Symfony\Component\HttpFoundation\Request; $loader = require_once __DIR__.'/../app/bootstrap.php.cache'; // Use APC for autoloading to improve performance. // Change 'sf2' to a unique prefix in order to prevent cache key conflicts // with other applications ...
apache-2.0
xschildw/Synapse-Repository-Services
lib/jdomodels/src/main/java/org/sagebionetworks/repo/model/dbo/file/DBOMultipartUpload.java
12278
package org.sagebionetworks.repo.model.dbo.file; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_MULTIPART_BUCKET; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_MULTIPART_DDL; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_MULTIPART_FILE_HA...
apache-2.0