repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
prateekbansal/apache-gora-0.4
gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
17283
/** * 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
DavidHerzogTU-Berlin/cassandraToRun
src/java/org/apache/cassandra/io/sstable/SSTableScanner.java
8241
/* * 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
dagnir/aws-sdk-java
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/model/transform/PartListElementJsonUnmarshaller.java
2994
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
seborama/demo1-kafka
src/main/java/seborama/demo2/kafka/model/Order.java
1265
package seborama.demo2.kafka.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public class Order { private String id; private boolean fulfilled; ...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Malpighiales/Salicaceae/Salix/Salix goepperti/README.md
175
# Salix goepperti Andersson SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
apache-2.0
mdoering/backbone
life/Fungi/Basidiomycota/Agaricomycetes/Agaricales/Cortinariaceae/Cortinarius/Cortinarius olidissimus/README.md
189
# Cortinarius olidissimus Ripart SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Cortinarius olidissimus Ripart ### Remarks null
apache-2.0
mdoering/backbone
life/Fungi/Basidiomycota/Agaricomycetes/Polyporales/Polyporaceae/Perenniporia/Perenniporia fraxinea/ Syn. Polystictoides leucomelas/README.md
298
# Polystictoides leucomelas Lázaro Ibiza, 1916 SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Revta R. Acad. Cienc. exact. fis. nat. Madr. 14: 833 (1916) #### Original name Polystictoides leucomelas Lázaro Ibiza, 1916 ### Remarks null
apache-2.0
Iamasoldier6/DesignPattern
BuilderPatternDemo/src/ChickenBurger.java
168
public class ChickenBurger extends Burger { @Override public float price() { return 50.5f; } @Override public String name() { return "Chicken Burger"; } }
apache-2.0
JNOSQL/artemis
artemis-column/src/test/java/org/jnosql/artemis/column/query/DefaultColumnQueryMapperBuilderTest.java
1793
/* * Copyright (c) 2017 Otávio Santana and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * The Eclipse Public License is available at http://ww...
apache-2.0
serlo-org/serlo-abc
packages/entities-interactor/__tests__/CourseInteractor.ts
3604
/* tslint:disable:max-classes-per-file */ import { forEach } from 'ramda'; import Interactor from '../CourseInteractor'; import InteractorLoader from '../CourseInteractorLoader'; import { ICourseStorage } from '../ICourseStorage'; import { IProgressStorage } from '../IProgressStorage'; import { ISerializedCourse } from...
apache-2.0
Talend/ui
packages/components/src/ActionBar/ActionBar.stories.js
6576
import React from 'react'; import { action } from '@storybook/addon-actions'; import { Action } from '../Actions'; import ActionBar from './ActionBar.component'; const primary = { label: 'Primary', icon: 'talend-cog', bsStyle: 'primary', 'data-feature': 'actionbar.primary', onClick: action('You clicked me'), }; ...
apache-2.0
yeti-platform/yeti
plugins/analytics/public/hash_file.py
1405
import hashlib from core.analytics import InlineAnalytics from core.observables import Hash HASH_TYPES_DICT = { "md5": hashlib.md5, "sha1": hashlib.sha1, "sha256": hashlib.sha256, "sha512": hashlib.sha512, } class HashFile(InlineAnalytics): default_values = { "name": "HashFile", ...
apache-2.0
asakusafw/asakusafw
directio-project/asakusa-directio-dmdl/src/main/java/com/asakusafw/dmdl/directio/text/AbstractTextStreamFormatGenerator.java
26894
/** * Copyright 2011-2021 Asakusa Framework Team. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
apache-2.0
consulo/consulo-relaxng
src/org/intellij/plugins/relaxNG/references/PrefixReferenceProvider.java
4459
/* * Copyright 2007 Sascha Weinreuter * * 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
hmcl/Streams
streams/service/src/main/java/com/hortonworks/streamline/streams/service/TopologyTestRunResource.java
26797
/** * Copyright 2017 Hortonworks. * * 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
google-code/android-scripting
jruby/src/src/org/jruby/ext/ffi/jna/Invocation.java
796
package org.jruby.ext.ffi.jna; import java.util.ArrayList; import org.jruby.runtime.ThreadContext; /** * An invocation session. * This provides post-invoke cleanup. */ final class Invocation { private final ThreadContext context; private ArrayList<Runnable> postInvokeList; Invocation(ThreadContext cont...
apache-2.0
ZhangXFeng/hadoop
share/doc/api/org/apache/hadoop/registry/client/impl/zk/package-frame.html
1371
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Tue May 19 17:12:39 PDT 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>org.apache.hadoop.r...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Apiales/Apiaceae/Zigara/Zigara tenuis/README.md
186
# Zigara tenuis (Salisb.) Raf. SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
apache-2.0
mhotchen/programming-in-scala
src/lists/Test.scala
1763
package lists class OrderedTest(val value: String) extends Ordered[OrderedTest] { override def compare(that: OrderedTest): Int = { value.compareToIgnoreCase(that.value) } override def toString = value } object Test extends App { val test1 = List(0, 1, 2, 3, 4, 5, 6, 7) val test1concat = List(8, 9, 10) ...
apache-2.0
wayshall/onetwo
core/modules/security/src/main/java/org/onetwo/ext/security/utils/LoginUserDetails.java
1289
package org.onetwo.ext.security.utils; import java.util.Collection; import org.onetwo.common.web.userdetails.UserDetail; import org.onetwo.common.web.userdetails.UserRoot; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.User; @SuppressWarnings("serial")...
apache-2.0
eviathan/Salt
Pepper/Code Examples/Apple/AudioUnitV3ExampleABasicAudioUnitExtensionandHostImplementation/Filter/Shared/FilterDSPKernel.hpp
7597
/* <samplecode> <abstract> A DSPKernel subclass implementing the realtime signal processing portion of the FilterDemo audio unit. </abstract> </samplecode> */ #ifndef FilterDSPKernel_hpp #define FilterDSPKernel_hpp #import "DSPKernel.hpp" #import "ParameterRamper.hpp" #import <vector> static inline float co...
apache-2.0
agentframework/agentframework
src/domain/Domain/Helpers/FindDomain.ts
641
// import { Domain } from '../Domain'; // import { GetDomain } from './GetDomain'; // // /** // * Find domain from object or type // */ // export function FindDomain(target: Function | object): Domain | undefined { // let prototype; // if (typeof target === 'function') { // prototype = target.prototype; // ...
apache-2.0
shiftconnects/android-auth-manager
sample/src/main/java/com/shiftconnects/android/auth/example/util/GsonConverter.java
3430
/* * Copyright (C) 2015 P100 OG, 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
treasure-data/digdag
digdag-tests/src/test/java/acceptance/ValidateProjectIT.java
2609
package acceptance; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import utils.CommandStatus; import utils.TemporaryDigdagServer; import java.nio.file.Path; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.contai...
apache-2.0
scholzj/barnabas
api/src/main/java/io/strimzi/api/kafka/model/connect/build/Output.java
2326
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.api.kafka.model.connect.build; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.ja...
apache-2.0
TranscendComputing/TopStackRDS
src/com/transcend/rds/worker/ModifyDBParameterGroupActionWorker.java
11169
/** * */ package com.transcend.rds.worker; import java.util.Arrays; import java.util.Collection; import java.util.LinkedList; import java.util.List; import org.hibernate.Session; import org.slf4j.Logger; import org.springframework.transaction.annotation.Transactional; import com.msi.tough.cf.json.DatabagParameter...
apache-2.0
Evil-Co-Legacy/CyborgEmulator
extension/chip8/src/main/java/org/evilco/emulator/extension/chip8/Chip8Extension.java
1398
/* * Copyright (C) 2014 Johannes Donath <johannesd@evil-co.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...
apache-2.0
felixparra/Gestzam
gestzam/app/controllers/pagos_controller.rb
1867
class PagosController < ApplicationController before_action :set_pago, only: [:show, :edit, :update, :destroy] # GET /pagos # GET /pagos.json def index @pagos = Pago.all end # GET /pagos/1 # GET /pagos/1.json def show end # GET /pagos/new def new @pago = Pago.new end # GET /pagos/1...
apache-2.0
firefoxmmx2/Android_ServiceTest
gen/com/example/android_servicetest/BuildConfig.java
173
/** Automatically generated file. DO NOT MODIFY */ package com.example.android_servicetest; public final class BuildConfig { public final static boolean DEBUG = true; }
apache-2.0
edom/web
planner/README.md
179
To set your browser's language preferences, follow the instructions in [Setting language preferences in a browser](https://www.w3.org/International/questions/qa-lang-priorities).
apache-2.0
sysbot/contrail-controller
src/vnsw/agent/uve/inter_vn_stats.cc
4028
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "inter_vn_stats.h" #include <oper/interface.h> #include <oper/mirror_table.h> using namespace std; InterVnStatsCollector::VnStatsSet *InterVnStatsCollector::Find(string vn) { VnStatsMap::iterator it = inter_vn_stats_.find(vn); ...
apache-2.0
daergoth/MatrixC
src/main/java/com/fordprog/matrix/interpreter/type/Type.java
115
package com.fordprog.matrix.interpreter.type; public enum Type { RATIONAL, MATRIX, FUNCTION, VOID }
apache-2.0
peter-mount/filesystem
filesystem-core/src/main/java/onl/area51/filesystem/io/Flat.java
1156
/* * Copyright 2016 peter. * * 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
fkzrh/signal-collect-sna
src/main/java/com/signalcollect/sna/constants/SNAClassNames.java
1155
/* * @author Flavio Keller * * Copyright 2014 University of Zurich * * 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
HaStr/kieker
kieker-common/test/kieker/test/common/junit/record/flow/trace/concurrency/monitor/TestMonitorNotifyEvent.java
3493
/*************************************************************************** * Copyright 2015 Kieker Project (http://kieker-monitoring.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 a...
apache-2.0
benctamas/zerorpc-logging
logstream_test.py
3399
import zerorpc import gevent.queue import logging import sys logging.basicConfig() # root logger logger = logging.getLogger() # set the mimimum level for root logger so it will be possible for a client # to subscribe and receive logs for any log level logger.setLevel(0) class QueueingLogHandler(logging.Handler): ...
apache-2.0
finagle/finagle-postgres
src/main/scala/com/twitter/finagle/postgres/values/Types.scala
1017
package com.twitter.finagle.postgres.values /* * Enumeration of value types that can be included in query results. */ object Types { val BOOL = 16 val BYTE_A = 17 val CHAR = 18 val NAME = 19 val INT_8 = 20 val INT_2 = 21 val INT_4 = 23 val REG_PROC = 24 val TEXT = 25 val OID = 26 val TID = 27 ...
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Pezizomycetes/Pezizales/Helvellaceae/Helvella/Helvella ephippium/Leptopodia murina alpestris/README.md
213
# Leptopodia murina var. alpestris (Boud.) R. Heim & L. Remy VARIETY #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Leptopodia alpestris Boud. ### Remarks null
apache-2.0
enioka/jqm
jqm-all/jqm-client/jqm-api-client-jdbc/src/test/java/com/enioka/jqm/api/test/BasicTest.java
7479
/** * Copyright © 2013 enioka. 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 la...
apache-2.0
DaPigGuy/PiggyCustomEnchants
src/DaPigGuy/PiggyCustomEnchants/enchants/armor/chestplate/ProwlEnchant.php
2425
<?php declare(strict_types=1); namespace DaPigGuy\PiggyCustomEnchants\enchants\armor\chestplate; use DaPigGuy\PiggyCustomEnchants\enchants\CustomEnchant; use DaPigGuy\PiggyCustomEnchants\enchants\ToggleableEnchantment; use DaPigGuy\PiggyCustomEnchants\enchants\traits\TickingTrait; use pocketmine\entity\effect\Effect...
apache-2.0
googleapis/python-game-servers
google/cloud/gaming_v1/types/common.py
13962
# -*- coding: utf-8 -*- # Copyright 2022 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...
apache-2.0
resin-io-library/base-images
balena-base-images/python/edge/ubuntu/xenial/3.6.15/build/Dockerfile
4831
# AUTOGENERATED FILE FROM balenalib/edge-ubuntu:xenial-build # remove several traces of debian python RUN apt-get purge -y python.* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # key 63C7CC90: public key...
apache-2.0
mrniko/redisson
redisson/src/main/java/org/redisson/iterator/RedissonBaseMapIterator.java
1297
/** * Copyright (c) 2013-2020 Nikita Koksharov * * 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
alancnet/artifactory
web/rest-ui/src/main/java/org/artifactory/ui/rest/resource/home/HomeResource.java
1122
package org.artifactory.ui.rest.resource.home; import org.artifactory.api.security.AuthorizationService; import org.artifactory.ui.rest.resource.BaseResource; import org.artifactory.ui.rest.service.general.GeneralServiceFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework....
apache-2.0
lukanpeixe/projetocastleroid
Castleroid - tmodloader - 1.0.7/NPCs/ai8.cs
1113
using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace Castleroid.NPCs { public class ai8 : ModNPC { public override void SetDefaults() { npc.name = "ai8"; npc.displayName = "ai8"; npc.width = 28; npc.height = 20; npc.damage = 2; npc.defense = 0; npc.lifeMax = 2; npc.sound...
apache-2.0
cloudkick/cloudkick-android
src/com/cloudkick/LoginActivity.java
9030
/* * 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
deternan/Weather-line-bot
libai/src/test/java/ai/api/test/ProtocolProdTest.java
1887
package ai.api.test; /*********************************************************************************************************************** * * API.AI Java SDK - client-side libraries for API.AI * ================================================= * * Copyright (C) 2014 by Speaktoit, Inc. (https://www.speaktoit....
apache-2.0
psu-stewardship/scholarsphere
db/migrate/20210126195635_add_resource_to_versions.rb
237
class AddResourceToVersions < ActiveRecord::Migration[6.0] def change add_column :versions, :resource_id, :integer add_column :versions, :resource_type, :string add_index :versions, [:resource_type, :resource_id] end end
apache-2.0
bobmcwhirter/drools
drools-core/src/main/java/org/drools/persistence/PersistenceManager.java
232
package org.drools.persistence; import javax.transaction.xa.XAResource; public interface PersistenceManager { XAResource getXAResource(); Transaction getTransaction(); void save(); void load(); }
apache-2.0
CliffYuan/netty
src/test/java/org/jboss/netty/handler/codec/serialization/OioOioSocketCompatibleObjectStreamEchoTest.java
1368
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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 ...
apache-2.0
MarkManYUN/coolweather
app/src/main/java/com/coolweather/android/WeatherActivity.java
9815
package com.coolweather.android; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Build; import android.preference.PreferenceManager; import android.support.v4.view.GravityCompat; import android.support.v4.view.ScrollingView; import android.suppo...
apache-2.0
googleads/google-ads-perl
lib/Google/Ads/GoogleAds/V9/Enums/BudgetDeliveryMethodEnum.pm
831
# Copyright 2020, Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
apache-2.0
skycdm/HuntFun
app/src/main/java/com/example/cdm/huntfun/activity/ImagePagerActivity.java
2872
package com.example.cdm.huntfun.activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.view.ViewPager.OnPageChangeListe...
apache-2.0
linzhaoming/origin
vendor/k8s.io/kubernetes/pkg/probe/http/http_test.go
6745
/* 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
m-m-m/util
version/src/main/java/net/sf/mmm/util/version/impl/VersionIdentifierFormatterPhaseValue.java
1372
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.util.version.impl; import net.sf.mmm.util.version.api.DevelopmentPhase; import net.sf.mmm.util.version.api.VersionIdentifier; /** * This is the implementation of {@link ...
apache-2.0
metorama/metorama.github.io
_posts/2015-08-03-como-ser-freelance.markdown
11817
--- title: "Guía para ser un buen freelance por Paul Jarvis" date: 2015-08-5 10:00:00 description: Renuncié a mi trabajo en una agencia y busqué trabajar en otra agencia. Mi plan después de renunciar, era ir a la librería (no te rías, esto fue en los 90´s) para aprender como debía escribir mi CV. Como fui contratado...
apache-2.0
Zakemi/Escape
src/main/java/Escape/Escape.java
5644
package Escape; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Insets; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTa...
apache-2.0
kevinearls/camel
components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java
4672
/** * 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
Liyueyang/NewXmPluginSDK
common_ui/src/main/java/com/xiaomi/smarthome/common/ui/dialog/MLAlertController.java
39780
/* * Copyright (C) 2008 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
reddcoin-project/reddcoinj-pow
core/src/test/java/com/google/reddcoin/net/discovery/SeedPeersTest.java
1795
/** * Copyright 2011 Micheal Swiggs * * 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 ...
apache-2.0
cloudfoundry-community/asp.net5-buildpack
fixtures/node_apps/angular_dotnet/ClientApp/node_modules/@angular-devkit/schematics/tasks/tslint-fix/task.js
913
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const options_1 = require("./options"); class TslintFixTask { constructor(configOrPath, options) { if (options) { this._configOrPath = configOrPath; this._options = options; } else { ...
apache-2.0
jeltz/rust-debian-package
src/compiletest/runtest.rs
23259
// Copyright 2012-2013 The Rust Project Developers. See the // COPYRIGHT file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MI...
apache-2.0
bxf12315/drools
drools-core/src/main/java/org/drools/core/reteoo/EntryPointNode.java
20815
/* * Copyright 2007 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
aldas/modbus-tcp-client
tests/unit/Composer/Read/Register/ByteReadRegisterAddressTest.php
1598
<?php namespace Tests\unit\Composer\Read\Register; use ModbusTcpClient\Packet\ModbusFunction\ReadHoldingRegistersResponse; use ModbusTcpClient\Composer\Read\Register\ByteReadRegisterAddress; use PHPUnit\Framework\TestCase; class ByteReadRegisterAddressTest extends TestCase { public function testGetSize() {...
apache-2.0
dagnir/aws-sdk-java
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/ListVPCAssociationAuthorizationsRequest.java
11109
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
apache-2.0
lemire/incubator-kylin
invertedindex/src/main/java/org/apache/kylin/invertedindex/index/ColumnValueContainer.java
1361
/* * 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")...
apache-2.0
PRVALUE/D3-Auto-Shanghai-2015
report/25.html
372
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <title></title> <link rel="stylesheet" href="css/my-css.css" media="screen" type="text/css" /> </head> <body> <img src="http://autoshanghai2015-cdn.prvalue.cn/img/p25.p...
apache-2.0
play2-maven-plugin/play2-maven-plugin.github.io
play2-maven-plugin/1.0.0-beta8/play2-source-position-mappers/apidocs/com/google/code/play2/spm/routes/class-use/Play2RoutesSourcePositionMapper.html
4945
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="pl"> <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class com.google.code.play2.spm.routes.Play2RoutesSourcePositio...
apache-2.0
xiangxik/castle-platform
castle-themes/castle-theme-adminlte/src/main/resources/META-INF/adminlte/vendor/kindeditor/plugins/template/html/2.html
507
<!doctype html> <html> <head> <meta charset="utf-8" /> </head> <body> <h3> 标题 </h3><!-- cellpadding="2" cellspacing="0" --> <table style="width:100%;" border="1"> <tbody> <tr> <td> <h3>标题1</h3> </td> <td> <h3>标题1</h3> </td> </tr> <tr> <td> 内容1 </td> <td> ...
apache-2.0
couchbase/libcouchbase
src/lcbio/ioutils.cc
8898
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2014-2020 Couchbase, 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 * * ...
apache-2.0
altran/Valuereporter
src/main/java/org/valuereporter/observation/ObservedMethodsResouce.java
4690
package org.valuereporter.observation; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component...
apache-2.0
noobyang/AndroidStudy
game/src/main/java/com/lee/game/MainActivity.java
7946
package com.lee.game; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.TextUtils; import android.view.View; i...
apache-2.0
bnewcomer/code-samples
PHP_Projects/api-php/Obj/Encoder.php
2134
<?php namespace Obj; class Encoder { private $key; private $cipher; private $mode; /** * * args - array( * 'hash' => hash method * 'key' => path to private key * 'encrypt' => encryption method * ) */ public function __construct($key, $cipher = MCRYPT_RIJNDAEL_128, $mode = MCRYPT_MODE_CBC) { $k...
apache-2.0
apigee/apigee-client-php
src/Api/Monetization/Controller/PrepaidBalanceControllerInterface.php
2834
<?php /* * 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 ag...
apache-2.0
ehazlett/sshconsole
TerminalControl/StringResource.cs
1022
using System; using System.Globalization; using System.Resources; using System.Diagnostics; using System.Reflection; namespace Routrek.SSHC { /// <summary> /// StringResource ‚ÌŠT—v‚Ìà–¾‚Å‚·B /// </summary> internal class StringResources { private string _resourceName; private ResourceManager _...
apache-2.0
bither/bither-android
bither-android/src/net/bither/util/FileUtil.java
16209
/* * Copyright 2014 http://Bither.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 * * Unless required by applicable law or agree...
apache-2.0
respawner/peering-manager
docs/models/peering/internetexchange.md
2268
# Internet Exchange An Internet exchange point, also known as IX or IXP, is an infrastructure through which autonomous systems exchange traffic. An IX can be a single local LAN or it can be spread across multiple locations. ## In Peering Manager Inside Peering Manager, you create an Internet exchange to then create ...
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Piperales/Piperaceae/Peperomia/Peperomia crinigera/README.md
175
# Peperomia crinigera Trel. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
apache-2.0
knifecaojia/CoinsPro
Src/pool/Program.cs
494
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace pool { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Applicat...
apache-2.0
React2/scalata
src/main/scala/io/react2/scalata/exporters/MongoExporter.scala
1637
package io.react2.scalata.exporters import com.mongodb.{WriteConcern, BulkWriteOperation, BasicDBObject, MongoClient} import io.react2.scalata.Context import io.react2.scalata.plugins.Plugin import scala.util.control.NonFatal /** * @author dbalduini */ class MongoExporter(val args: Plugin.Args) extends Exporter { ...
apache-2.0
cobbzilla/cobbzilla-utils
src/main/java/org/cobbzilla/util/jdbc/DbUrlUtil.java
495
package org.cobbzilla.util.jdbc; import java.util.regex.Matcher; import java.util.regex.Pattern; public class DbUrlUtil { public static final Pattern JDBC_URL_REGEX = Pattern.compile("^jdbc:postgresql://[\\.\\w]+:\\d+/(.+)$"); public static String setDbName(String url, String dbName) { final Matcher...
apache-2.0
mickelfeng/qt_learning
BroadCast_QT/widget/form/groupchatform.h
2098
/* Copyright (C) 2014 by Project Tox <https://tox.im> This file is part of qTox, a Qt-based graphical interface for Tox. This program is libre software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either v...
apache-2.0
bhav0904/netDelSolution
node_modules/tabtab/src/debug.js
1398
'use strict'; var fs = require('fs'); var path = require('path'); var util = require('util'); var dbg = require('debug'); // process.env.TABTAB_DEBUG = process.env.TABTAB_DEBUG || '/tmp/tabtab.log'; var out = process.env.TABTAB_DEBUG ? fs.createWriteStream(process.env.TABTAB_DEBUG, { flags: 'a' }) : null; module.ex...
apache-2.0
inputx/code-ref-doc
bonfire/_variables/_never_allowed_regex.html
5015
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>PHPXRef 0.7.1 : Unnamed Project : Variable Reference: $_never_allowed_regex</title> <link rel="stylesheet" href="../sample.css" type="text/css"> <link rel="stylesheet" href="../sam...
apache-2.0
CdGitHub/live
protected/models/ProductType.php
1879
<?php /** * This is the model class for table "product_type". * * The followings are the available columns in table 'product_type': * @property string $product_type_id * @property string $parent_product_type_id * @property string $name * @property string $created * * The followings are the available model rel...
apache-2.0
inbloom/secure-data-service
tools/odin/spec/data_utility_spec.rb
4529
=begin Copyright 2012-2013 inBloom, Inc. and its affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
apache-2.0
dropbox/changes
changes/api/serializer/models/cluster.py
336
from changes.api.serializer import Crumbler, register from changes.models.node import Cluster @register(Cluster) class ClusterCrumbler(Crumbler): def crumble(self, instance, attrs): return { 'id': instance.id.hex, 'name': instance.label, 'dateCreated': instance.date_cre...
apache-2.0
fatbigbright/HTMLExercises
public/201309/20130925.html
2409
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>20130925</title> <style type="text/css"> .visiNone { display: none; } .hide { visibility: hidden; } .block { display: block; } ....
apache-2.0
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Geraniales/Geraniaceae/Erodium/Erodium choulettianum/README.md
186
# Erodium choulettianum Coss. ex Batt. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
apache-2.0
xiao-chen/hadoop
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java
43840
/** * 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
nicoschuele/pad_utils
test/units/zip_extract_zip_test.rb
514
require 'pad_utils' require_relative '../template/test' # Test name test_name = "ZipExtractZip" class ZipExtractZipTest < Test def prepare # Add test preparation here end def run_test PadUtils.extract_zip("fixtures/archive.zip", "results/extracted") if !PadUtils.file_exist?("results/extracted/pen...
apache-2.0
couchbase/php-ext-couchbase
flush.c
5684
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright 2012 Couchbase, Inc. | +--------------...
apache-2.0
adaptris/interlok
interlok-core/src/test/java/com/adaptris/core/services/jdbc/JdbcMapInsertCase.java
4375
/* * Copyright 2015 Adaptris 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 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
apache-2.0
icza/scelight
src-app/hu/scelight/gui/page/replist/column/impl/DateColumn.java
896
/* * Project Scelight * * Copyright (c) 2013 Andras Belicza <iczaaa@gmail.com> * * This software is the property of Andras Belicza. * Copying, modifying, distributing, refactoring without the author's permission * is prohibited and protected by Law. */ package hu.scelight.gui.page.replist.column.impl...
apache-2.0
yrom/shrinker
README.md
2606
# Shrinker `Shrinker` will remove all R.class and R\$\*\*.class and all constant integer fields will be inlined by [`asm`](http://asm.ow2.org/) and [`transform-api`](http://tools.android.com/tech-docs/new-build-system/transform-api). *I have post more details on my own blog (in Chinese), [click here](http://yrom.ne...
apache-2.0
samking/code-the-change-projects
ctc/helpers/csrf_test.py
5296
"""Tests for the CSRF helper.""" import unittest import mock import webapp2 import webtest from ctc.helpers import csrf from ctc.testing import testutil MOCKED_TIME = 123 # Tests don't need docstrings, so pylint: disable=C0111 # Tests can test protected members, so pylint: disable=W0212 class CsrfTests(testutil....
apache-2.0
perka/flatpack-java
core/src/test/java/com/getperka/flatpack/codex/CollectionCodexTest.java
4155
/* * #%L * FlatPack serialization code * %% * Copyright (C) 2012 Perka 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 ...
apache-2.0
bmiklautz/debian-freerdp2
libfreerdp/core/settings.c
41463
/** * FreeRDP: A Remote Desktop Protocol Implementation * RDP Settings * * Copyright 2009-2011 Jay Sorg * * 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...
apache-2.0
ArcherCraftStore/ArcherVMPeridot
pgsql/doc/postgresql/html/contrib-dblink-cancel-query.html
3817
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >dblink_cancel_query</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REV="MADE" HREF="mailto:pgsql-docs@postgresql.org"><LINK REL="HOME" TITLE="PostgreS...
apache-2.0
yuya-oc/desktop
src/main/squirrelStartup.js
1409
// Copyright (c) 2015-2016 Yuya Ochiai // Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import AutoLaunch from 'auto-launch'; import {app} from 'electron'; function shouldQuitApp(cmd) { if (process.platform !== 'win32') { return false; } const sq...
apache-2.0