repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
jprovaznik/tripleo-common
tripleo_common/exception.py
1750
# -*- coding: utf-8 -*- # 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, softw...
apache-2.0
password123456/lotto
get_recent_lotto.py
1787
#!/usr/local/bin/python2.7 # -*- coding: utf-8 -*- __author__ = 'https://github.com/password123456/' import sys reload(sys) sys.setdefaultencoding('utf-8') import requests import urllib import urllib2 import json import datetime class bcolors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' ...
apache-2.0
sakai-mirror/k2
agnostic/shared/src/main/java/org/sakaiproject/kernel/api/ClassLoaderService.java
1593
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
apache-2.0
wildfly-swarm/wildfly-swarm-javadocs
2012.12.0/apidocs/org/wildfly/swarm/config/datasources/XADataSourceSupplier.html
8976
<!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 (1.8.0_151) on Tue Dec 12 12:37:07 MST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>XADataSourceSupplier (BOM: ...
apache-2.0
mdoering/backbone
life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Lecanoraceae/Omphalodina/Omphalodina johnstonii/README.md
205
# Omphalodina johnstonii (C.W. Dodge) C.W. Dodge SPECIES #### Status ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Lecanora johnstonii C.W. Dodge ### Remarks null
apache-2.0
codyer/CleanFramework
handler/src/main/java/com/cody/handler/framework/viewmodel/ListWithSearchViewModel.java
589
/* * Copyright (c) Created by Cody.yi on 2016/9/5. */ package com.cody.handler.framework.viewmodel; /** * Created by cody.yi on 2016/8/24. * <p> * 不包含头部的list view * * @param <ItemViewModel> ListView中的item ViewModel */ public class ListWithSearchViewModel<ItemViewModel extends XItemViewModel> extends ListView...
apache-2.0
andy-goryachev/JsonPretty
src/goryachev/common/io/BitStreamCommon.java
828
// Copyright © 2013-2020 Andy Goryachev <andy@goryachev.com> package goryachev.common.io; public class BitStreamCommon { protected static final int BITS_PER_BYTE = 8; protected static final int MASK[] = { 0x00000000, 0x00000001, 0x00000003, 0x00000007, 0x0000000f, 0x0000001f, 0x0...
apache-2.0
JorgePereiraUFRN/Myeclone
Myeclone/src/br/ufrn/Myeclone/model/Acao.java
123
package br.ufrn.Myeclone.model; import javax.persistence.Entity; @Entity public class Acao extends Tarefa{ }
apache-2.0
aciccarello/typedoc
lib/converter/types/alias.js
2391
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || function (decora...
apache-2.0
jaikiran/ant-ivy
src/java/org/apache/ivy/plugins/conflict/AbstractConflictManager.java
1770
/* * 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
tonbut/polestar
module/urn.io.polestar/src/io/polestar/data/login/AuthenticationDataAccessor.java
2279
/* Copyright 2015 1060 Research 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 agreed to in ...
apache-2.0
numberer6/lightwave
vmdns/server/common/prototypes.h
3023
/* * File: prototypes.h * Author: huz * * Created on March 30, 2015, 3:47 PM */ #ifndef PROTOTYPES_H #define PROTOTYPES_H #ifdef __cplusplus extern "C" { #endif // Name Entry DWORD VmDnsCreateNameEntry( PCSTR pszZone, PCSTR pszName, PVMDNS_NAME_ENTRY* ppNameEntry ...
apache-2.0
dsiufl/www.dsiufl.org-2016
_members/vempali_sai.md
611
--- layout: member # The next fields should be filled out appropriately. Place strings in double # quotes. name: "Sai Vishnu Teja Vempali" major: "Computer Science" minor: "" # Images should be placed in img/members and at least 500x300 px but not too # big since they'll take a long time to download image: "vempali_s...
apache-2.0
HadwinJ/PerfectDemo
PerfectSolution/Angular_ASPNETCore_Seed/Models/PagingResult.cs
386
using System.Collections.Generic; namespace Angular_ASPNETCore_Seed.Models { public struct PagingResult<T> { public IEnumerable<T> Records { get; set; } public int TotalRecords { get; set; } public PagingResult(IEnumerable<T> items, int totalRecords) { TotalRecords...
apache-2.0
KeepSafe/dexcount-gradle-plugin
src/main/java/com/getkeepsafe/dexcount/plugin/TaskApplicators.java
1649
/* * Copyright (C) 2015-2021 KeepSafe Software * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
apache-2.0
BlakeWilliams/crates.io
src/db.rs
6552
use std::cell::Cell; use std::error::Error; use std::mem; use std::sync::Arc; use pg; use pg::types::ToSql; use r2d2::{self, LoggingErrorHandler}; use r2d2_postgres::PostgresConnectionManager; use conduit::{Request, Response}; use conduit_middleware::Middleware; use app::{App, RequestApp}; use util::{CargoResult, Laz...
apache-2.0
iankronquist/puppetcpp
lib/include/puppet/runtime/types/array.hpp
7145
/** * @file * Declares the array type. */ #pragma once #include "tuple.hpp" #include "data.hpp" #include "../values/array.hpp" #include "../../cast.hpp" #include <boost/functional/hash.hpp> #include <boost/variant.hpp> #include <limits> #include <ostream> #include <functional> namespace puppet { namespace runtime ...
apache-2.0
JAVA201708/Homework
201709/20170915/Team1/Malanlan/编程题/ex05/Test5.java
2394
public class Test5 { public static void main(String[] args) { Goods iphone = new Iphone(); iphone.setName("iphone"); iphone.setPrice(5000.0); Goods shoes =new Shoes(); shoes.setName("鞋"); shoes.setPrice(123.0); Item item =new Item(); item.setGoods(iphone); item.setAmount(2); Ite...
apache-2.0
segfault/apache_cassandra
src/java/org/apache/cassandra/db/HintedHandOffManager.java
15835
/** * 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
Tochemey/NetFreeSwitch.Framework
NetFreeSwitch.Framework/FreeSwitch/Commands/DivertEventsCommand.cs
1199
/* 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 use this f...
apache-2.0
genius1611/Keystone
keystone/logic/types/user.py
9678
# Copyright (c) 2010-2011 OpenStack, 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 ...
apache-2.0
timotei/gradle-nuget-plugin
README.md
3133
# Gradle NuGet Plugin [![Build status](https://ci.appveyor.com/api/projects/status/ua9pbginenbf1b1u/branch/master?svg=true)](https://ci.appveyor.com/project/gluck/gradle-nuget-plugin/branch/master) [![Build Status](https://travis-ci.org/Ullink/gradle-nuget-plugin.svg?branch=master)](https://travis-ci.org/Ullink/gradle-...
apache-2.0
apigee/registry
server/registry/internal/storage/get.go
5445
// Copyright 2022 Google LLC. 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
codyer/CleanFramework
app/src/main/java/com/cody/app/framework/hybrid/core/JsHandler.java
380
package com.cody.app.framework.hybrid.core; import com.cody.xf.common.NotProguard; /** * Created by cody.yi on 2017/4/13. * 所有Js处理类实现这个接口 * Js调用的方法必须按照一定的格式定义,否则不生效 * 格式: * public static void ***(WebView webView, JsonObject data, JsCallback callback){} */ @NotProguard public interface JsHandler { }
apache-2.0
anha1/mcp-adc
mcp-adc.js
2219
var SPI = require('spi'); var extend = require('util')._extend; var openSpi = function() { var device = '/dev/spidev0.0'; return new SPI.Spi(device, [], function(s) { s.open(); }); }; var Adc = function(options) { var self = this; var settings = extend( { voltage: 3.3, //3.3V by ...
apache-2.0
estatio/estatio
estatioapp/app/src/main/java/org/estatio/module/turnover/dom/entry/TurnoverEntryRequest.java
2742
package org.estatio.module.turnover.dom.entry; import java.math.BigDecimal; import java.math.BigInteger; import java.util.List; import javax.inject.Inject; import org.joda.time.LocalDate; import org.apache.isis.applib.annotation.Action; import org.apache.isis.applib.annotation.ActionLayout; import org.apache.isis.a...
apache-2.0
tompelka/pyTeXshell
README.md
37
pyTeXshell ========== (La)Tex shell
apache-2.0
gluons/Cooking-Community
changepassword.php
1922
<?php @session_start(); @require_once("db.php"); @header("Content-Type: application/json; charset=utf8"); if(!empty($_SESSION['username'])) { $username = $_SESSION['username']; $cn = connect(); $valid = true; $isPasswordCorrect = false; $message = ""; // Checking form data. if(!empty($_POST['changePasswordNewPa...
apache-2.0
agdsn/pycroft
pycroft/model/traffic.py
8996
# Copyright (c) 2015 The Pycroft Authors. See the AUTHORS file. # This file is part of the Pycroft project and licensed under the terms of # the Apache License, Version 2.0. See the LICENSE file for details. from sqlalchemy import Column, ForeignKey, CheckConstraint, \ PrimaryKeyConstraint, func, or_, and_, true, ...
apache-2.0
charlescearl/VirtualMesos
third_party/zookeeper-3.3.1/src/c/Makefile
102925
# Makefile.in generated by automake 1.11 from Makefile.am. # Makefile. Generated from Makefile.in by configure. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foun...
apache-2.0
warptrosse/sctp_server
README.md
24
SCTP Server ===========
apache-2.0
maestrodev/maestro-maven-plugin
src/maven_worker.rb
8897
# Copyright (c) 2013 MaestroDev. All rights reserved. require 'maestro_plugin' require 'maestro_shell' require 'open-uri' require 'xmlsimple' module MaestroDev module Plugin class MavenWorker < Maestro::MaestroWorker def execute validate_execute_parameters Maestro.log.info "Inputs: goal...
apache-2.0
hemingwang0902/doc.javake.cn
mybatis-generator-doc-zh/cobertura/org.mybatis.generator.codegen.ibatis2.dao.elements.SelectByExampleWithoutBLOBsMethodGenerator.html
29243
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Coverage Report</title> <link title="Style" type="text/css" rel="stylesheet" href="css/main.css"/...
apache-2.0
LeoBrilliant/OpenTS
TradingRecord.h
2463
/* * TradingRecord.h * * Created on: 2016Äê5ÔÂ2ÈÕ * Author: LeoBrilliant */ #ifndef TRADINGRECORD_H_ #define TRADINGRECORD_H_ #include "RightTimePoint.h" #include "Constants.h" #include "Types.h" #include <string> using namespace std; using namespace constants; class TradingRecord { ...
apache-2.0
adrienManikon/docmanager
src/SW/DocManagerBundle/Resources/public/js/upload.js
4586
var nbinput = 1; var $collectionHolder; $(function() { var $alreadyUsed = $("#alreadyExistVar").html(); if ($alreadyUsed) { showDialog("#some-exists-dialog"); } // Get the ul that holds the collection of tags $collectionHolder = $('#inputBlock'); // count the current form inp...
apache-2.0
Tei1988/google-api-ads-ruby
dfp_api/lib/dfp_api/v201511/custom_field_service.rb
2562
# Encoding: utf-8 # # This is auto-generated code, changes will be overwritten. # # Copyright:: Copyright 2015, Google Inc. All Rights Reserved. # License:: Licensed under the Apache License, Version 2.0. # # Code generated by AdsCommon library 0.11.2 on 2016-02-19 16:36:57. require 'ads_common/savon_service' require ...
apache-2.0
AlexeiVainshtein/jenkins-artifactory-plugin
src/main/java/org/jfrog/hudson/pipeline/scripted/steps/conan/InitConanClientStep.java
4174
package org.jfrog.hudson.pipeline.scripted.steps.conan; import com.google.inject.Inject; import hudson.EnvVars; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.model.Run; import hudson.model.TaskListener; import hudson.util.ArgumentListBuilder; import org.apache.commons.lang.Stri...
apache-2.0
srapisarda/ontop
obdalib-core/src/main/java/it/unibz/inf/ontop/ontology/impl/DataSomeValuesFromImpl.java
2538
package it.unibz.inf.ontop.ontology.impl; /* * #%L * ontop-obdalib-core * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * 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
bashimao/ltudl
blaze/src/main/scala/edu/latrobe/blaze/optimizerexitcodes/NoMoreData.scala
1375
/* * La Trobe University - Distributed Deep Learning System * Copyright 2016 Matthias Langer (t3l@threelights.de) * * 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.apa...
apache-2.0
AnthonySteele/MvcRouteTester
src/MvcRouteTester.AttributeRouting.Test/NunitAssertEngine.cs
762
using MvcRouteTester.Assertions; using NUnit.Framework; namespace MvcRouteTester.AttributeRouting.Test { public class NunitAssertEngine : IAssertEngine { [System.Diagnostics.DebuggerNonUserCode] public void Fail(string message) { Assert.Fail(message); } /// <summary> /// This could be a wrapper ove...
apache-2.0
deepjava/runtime-library
src/org/deepjava/runtime/mpc555/Impc555.java
17248
package org.deepjava.runtime.mpc555; import org.deepjava.runtime.ppc32.Ippc32; // Auto generated file (2021-02-17 13:57:50) public interface Impc555 extends Ippc32 { // System constants of CPU mpc555 public static final int SRR1init = 0x3802; public static final int stackSize = 0x2000; public static final int s...
apache-2.0
ericfe-ms/roslyn
src/Compilers/CSharp/Portable/CSharpParseOptions.cs
8998
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using Roslyn.Utilities; namespace Microsoft.Co...
apache-2.0
Yiiinsh/x-pipe
redis/redis-integration-test/src/test/java/com/ctrip/xpipe/redis/integratedtest/keeper/AllKeeperTest.java
833
package com.ctrip.xpipe.redis.integratedtest.keeper; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; /** * @author wenchao.meng * * May 17, 2016 2:09:41 PM */ @RunWith(Suite.class) @SuiteClasses({ KeeperPsync2.class, KeeperPsync2Continue.cla...
apache-2.0
maruel/fortuna
generator_test.go
7636
// Copyright 2013 Marc-Antoine Ruel. All rights reserved. // Use of this source code is governed under the Apache License, Version 2.0 // that can be found in the LICENSE file. package fortuna import ( "bytes" "compress/flate" "crypto/aes" "crypto/cipher" "crypto/md5" "crypto/sha256" "encoding/hex" "encoding/...
apache-2.0
penneryu/penneryu-ios
ios/Classes/UI/Main/NetWork/NetWorkViewController.h
272
// // NetWorkViewController.h // ios // // Created by sh587 on 15/10/28. // Copyright © 2015年 penneryu. All rights reserved. // #import <UIKit/UIKit.h> @interface NetWorkViewController : UIViewController @property (nonatomic, strong) UILabel *resultLabel; @end
apache-2.0
ryanobjc/hadoop-cloudera
docs/api/org/apache/hadoop/fs/class-use/FSOutputSummer.html
5974
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_16) on Mon Jun 28 12:44:33 PDT 2010 --> <TITLE> Uses of Class org.apache.hadoop.fs.FSOutputSummer (Hadoop 0.20.2+320 API) </TITLE> <META NAME="date"...
apache-2.0
tzerb/Learning
WebApplication3/src/WebApplication3/jspm_packages/npm/angular2@2.0.0-beta.17/es6/prod/src/core/linker/debug_context.js
4102
/* */ "format esm"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r...
apache-2.0
erichoglander/qf
core/form_item/radios_form_item.php
193
<?php class Radios_FormItem_Core extends FormItem { protected function options() { return $this->options; } protected function inputType() { return "radio"; } };
apache-2.0
sacloud/libsacloud
v2/helper/service/sim/update_test.go
2609
// Copyright 2016-2022 The Libsacloud 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...
apache-2.0
hatchard/Assignment1-CMPUT301
app/src/main/java/com/mycompany/assignment1/SortStats.java
4882
/* Copyright 2015 Jenna Hatchard 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
hyarthi/project-red
src/java/org.openntf.red.main/src/org/openntf/red/security/authorization/package-info.java
100
/** * */ /** * @author Vladimir Kornienko * */ package org.openntf.red.security.authorization;
apache-2.0
fabric8io/kubernetes-client
kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ServiceAccountTokenProjection.java
2936
package io.fabric8.kubernetes.api.model; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fas...
apache-2.0
tzerb/Learning
WebApplication3/src/WebApplication3/jspm_packages/npm/dist/js/cjs/src/mock/view_resolver_mock.js
6175
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || fu...
apache-2.0
nicolasnoble/grpc
tools/run_tests/run_xds_tests.py
148710
#!/usr/bin/env python # Copyright 2020 gRPC 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 o...
apache-2.0
sashinde/VulkanTools
vktrace/src/vktrace_common/vktrace_platform.c
12627
/************************************************************************** * * Copyright 2014-2016 Valve Corporation * Copyright (C) 2014-2016 LunarG, 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...
apache-2.0
RowellKataan/Unity-List-Box
Assets/Unity UI Controls/Scripts/ListBox Scripts/ListBoxControl.cs
40922
// =========================================================================================================== // // Class/Library: ListBox Control - Main Script // Author: Michael Marzilli ( http://www.linkedin.com/in/michaelmarzilli , http://www.develteam.com/Developer/Rowell/Portfolio ) // Created: J...
apache-2.0
dbflute-test/dbflute-test-active-dockside
src/test/java/org/docksidestage/dockside/dbflute/whitebox/cbean/bigartist/innerjoin/WxCBInnerJoinStructuralPossibleTest.java
10990
package org.docksidestage.dockside.dbflute.whitebox.cbean.bigartist.innerjoin; import org.dbflute.cbean.result.ListResultBean; import org.docksidestage.dockside.dbflute.bsentity.dbmeta.MemberAddressDbm; import org.docksidestage.dockside.dbflute.bsentity.dbmeta.MemberDbm; import org.docksidestage.dockside.dbflute.bsent...
apache-2.0
minxinjituan/micro
dicServiceBean/src/main/java/com/mx/dic/holder/DataSourceHolder.java
314
package com.mx.dic.holder; import javax.sql.DataSource; public class DataSourceHolder { public static DataSource dataSource=null; public static DataSource getDataSource() { return dataSource; } public void setDataSource(DataSource dataSource) { DataSourceHolder.dataSource = dataSource; } }
apache-2.0
LBCoderLee/iOS_XianYu
XianYu/Classes/Post/Controller/LBpostViewController.h
218
// // LBpostViewController.h // XianYu // // Created by li bo on 16/5/28. // Copyright © 2016年 li bo. All rights reserved. // #import <UIKit/UIKit.h> @interface LBpostViewController : UIViewController @end
apache-2.0
EAGrahamJr/jinks
src/main/java/org/thevortex/lighting/jinks/devices/hubs/HubLastReading.java
2817
/* * Copyright (c) 2017 by E. A. Graham, Jr. * * 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
vjanmey/EpicMudfia
com/planet_ink/coffee_mud/Items/Basic/Chair.java
1893
package com.planet_ink.coffee_mud.Items.Basic; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet...
apache-2.0
Ripolin/potato411
README.md
1664
# potato411 [![Build Status](https://travis-ci.org/Ripolin/potato411.svg?branch=ci)](https://travis-ci.org/Ripolin/potato411) [![Coverage Status](https://coveralls.io/repos/github/Ripolin/potato411/badge.svg?branch=master)](https://coveralls.io/github/Ripolin/potato411?branch=master) T411 torrent provider implementat...
apache-2.0
YoungDigitalPlanet/empiria.player
src/test/java/eu/ydp/empiria/player/client/module/sourcelist/view/SourceListViewImplTest.java
8356
/* * Copyright 2017 Young Digital Planet S.A. * * 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
martincostello/alexa-london-travel
test/LondonTravel.Skill.Tests/AlexaFunctionTests.cs
3076
// Copyright (c) Martin Costello, 2017. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using Alexa.NET.Request; using Alexa.NET.Request.Type; using Alexa.NET.Response; using Amazon.Lambda.Core; namespace MartinCostello.LondonTravel...
apache-2.0
tmalaska/hadcom.utils
src/main/java/com/cloudera/sa/hcu/io/utils/LocalFileUtils.java
1160
package com.cloudera.sa.hcu.io.utils; import java.io.File; import java.util.ArrayList; public class LocalFileUtils { public static File[] createFileArray(String[] filePathArray) { ArrayList<File> fileList = new ArrayList<File>(); File[] tempFileArray; for (String filePath: filePathArray) { File orig...
apache-2.0
dcastro/DequeNET
tests/DequeNet.Tests/Properties/AssemblyInfo.cs
1364
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("DequeNet.Tests")] [assembly: AssemblyDesc...
apache-2.0
bayvictor/distributed-polling-system
bin/install_3d_editor.sh
887
sudo apt-get install -y --force-yes libirrlicht-dev #- High performance realtime 3D engine development library sudo apt-get install -y --force-yes libirrlicht-doc #- High performance realtime 3D engine (API documentation) sudo apt-get install -y --force-yes libirrlicht1.7a #- High performance realtime 3D engine s...
apache-2.0
Asmod4n/ruby-ffi-libsodium
lib/crypto/secret_box.rb
5944
require 'ffi' require_relative '../sodium/utils' require_relative '../random_bytes' require_relative '../sodium/secret_buffer' require_relative '../sodium' module Crypto module SecretBox extend FFI::Library extend Sodium::Utils ffi_lib :libsodium attach_function :primitive, :crypto_secretbox_pri...
apache-2.0
domeo/DomeoClient
src/org/mindinformatics/gwt/domeo/plugins/persistence/annotopia/serializers/SAnnotationSetSerializer.java
5833
/* * Copyright 2014 Massachusetts General Hospital * * 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-2.0
ndlib/scholarsphere
app/models/batch_update_job.rb
2932
# Copyright © 2012 The Pennsylvania State University # # 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
endian675/ignite
modules/platforms/dotnet/Apache.Ignite.Core/Impl/Transactions/TransactionImpl.cs
13246
/* * 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
tahmid29/blogpostapi
src/main/java/com/nwea/dao/BlogpostDAO.java
502
package com.nwea.dao; import com.nwea.bean.Blogpost; import java.sql.SQLException; /** * This interface will be used to invoke the database related operations. * * * Created by tahmidchowdhury on 2/9/17. */ public interface BlogpostDAO { //This method returns all the Blogposts from the database public ...
apache-2.0
googleapis/common-protos-ruby
googleapis-common-protos-types/lib/google/api/quota_pb.rb
1330
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/quota.proto require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/api/quota.proto", :syntax => :proto3) do add_message "google.api.Quota" do repeated :limits, :message, 3, "google....
apache-2.0
palantir/atlasdb
atlasdb-commons/src/test/java/com/palantir/util/CachedComposedSupplierTest.java
5427
/* * (c) Copyright 2018 Palantir Technologies 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 ...
apache-2.0
yroffin/wordpress
themes/yrosimple/inc/bootstrap.php
12965
<?php /** * Copyright 2015 yannick. * 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
osmdroid/OsmdroidXamarin
OsmdroidThirdPartyBinding/JavaDocs/osmdroid-third-party-5.0.1-javadoc/org/osmdroid/google/wrapper/class-use/MyLocationOverlay.html
4439
<!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_05) on Thu Nov 12 23:46:28 CET 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class org.o...
apache-2.0
nikhilapatil/solr-monitor
lib/basic.php
1380
<?php /** Copyright 2013 Nikhil Patil 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, so...
apache-2.0
nafae/developer
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201308/QuotaError.java
4190
/** * QuotaError.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201308; /** * Describes a client-side error on which a user is attempting * to perform an action to which they have no qu...
apache-2.0
tramchamploo/buffer-slayer
benchmark/src/main/java/io/github/tramchamploo/bufferslayer/ConcurrentSizeBoundedQueueBenchmark.java
1452
package io.github.tramchamploo.bufferslayer; import io.github.tramchamploo.bufferslayer.Message.MessageKey; import io.github.tramchamploo.bufferslayer.OverflowStrategy.Strategy; import java.util.concurrent.TimeUnit; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.o...
apache-2.0
edu1910/C_Unipe
questao9.c
273
#include <stdio.h> void printstr(const char* string) { int idx = 0; while (*(string+idx) != '\0') { printf("%c\n", *(string+idx)); idx++; } } int main(int argc, char *argv[]) { char str[] = "Teste!"; printstr(str); return 0; }
apache-2.0
WopsS/sampgdk
lib/sampgdk/sampgdk.c
374
#define IN_SAMPGDK #ifndef SAMPGDK_AMALGAMATION #define SAMPGDK_AMALGAMATION #endif #include "sampgdk.h" #if SAMPGDK_WINDOWS #ifdef _MSC_VER #pragma warning(disable: 4996) #endif #undef CreateMenu #undef DestroyMenu #undef GetTickCount #undef KillTimer #undef SelectObject #undef SetTimer #def...
apache-2.0
tsegismont/simone
src/main/java/org/rhq/simone/system/SystemServiceFactory.java
1715
/* * Copyright 2014 Red Hat, 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...
apache-2.0
ryanobjc/hadoop-cloudera
docs/api/org/apache/hadoop/io/retry/package-use.html
7012
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_16) on Mon Jun 28 12:45:12 PDT 2010 --> <TITLE> Uses of Package org.apache.hadoop.io.retry (Hadoop 0.20.2+320 API) </TITLE> <META NAME="date" CONTEN...
apache-2.0
ubuntuvim/my_emberjs_code
chapter3_routes/app/routes/form.js
532
// app/routes/form.js import Ember from 'ember'; export default Ember.Route.extend({ actions: { willTransition: function(transition) { // 如果是使用this.get('key')获取不了页面输入值,因为不是通过action提交表单的 var v = this.controller.get('firstName'); // 任意获取一个作为判断表单输入值 if (v && !confirm("你确定要离开这个页面吗??"))...
apache-2.0
leafclick/intellij-community
platform/core-api/src/com/intellij/psi/PsiPolyVariantReference.java
1460
// Copyright 2000-2019 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.psi; import com.intellij.model.SymbolResolveResult; import com.intellij.util.containers.ContainerUtil; import org.jetbrains.annotations.NotNull; import java...
apache-2.0
cs-au-dk/TAJS
test-resources/src/micro-different-loop-kinds/AGHeap.js
813
/* General Loops - Abstract Case - Free variable */ function f1() { return 1; } function f2() { return 2; } function f3() { return 3; } var b = !Date.now(); // non-deterministic boolean value. var o1 = {x: f1, y: f2, z: f3}; var o2 = {}; var arr = []; if (b) { arr.push("x"); arr.push("y"); } else { arr.pu...
apache-2.0
GoatOfRafin/MSolve
ISAAR.MSolve.FEM/Entities/Cluster.cs
385
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ISAAR.MSolve.FEM.Entities { public class Cluster { private readonly IList<Subdomain> subdomains = new List<Subdomain>(); public IList<Subdomain> Subdomains { get { return subdom...
apache-2.0
kfrapin/mission-recensement
src/Atos/MissionRecensementBundle/Entity/Mission.php
9462
<?php namespace Atos\MissionRecensementBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Mission * * @ORM\Table() * @ORM\Entity(repositoryClass="Atos\MissionRecensementBundle\Entity\MissionRepository") */ class Mission { /** * @var integer * * @ORM\Column(name="id", type="integer") *...
apache-2.0
cs-au-dk/TAJS
test-resources/src/micro/test109.js
514
function f() { return 42} TAJS_assert(f.call.call.call(f) === 42) TAJS_assert(f.apply.apply.apply(f) === 42) TAJS_assert(Function.prototype.apply.apply(f) == 42) TAJS_dumpValue(f.apply.apply.apply(f)) function g(x) { return x + 1} TAJS_assert(Function.prototype.call(g,45) === undefined) TAJS_assert(isNaN(g.cal...
apache-2.0
SnailJin/house
apps/agent/admin.py
461
#-*- coding: utf-8 -*- ''' Created on Jul 4, 2013 @author: jin ''' from django.contrib import admin from apps.agent.models import Client, RecommendRecord class ClientAdmin(admin.ModelAdmin): search_fields = ('username','user_username','IDCard') class RecommendRecordAdmin(admin.ModelAdmin): search_fields = ...
apache-2.0
iBuildApp/android_module_CustomForm
src/main/java/com/ibuildapp/romanblack/CustomFormPlugin/xmlparser/FormButton.java
464
package com.ibuildapp.romanblack.CustomFormPlugin.xmlparser; /** * Entity class that form submit button. */ public class FormButton { private String label = ""; /** * Returns the button label. * @return the label */ public String getLabel() { return label; } /** * S...
apache-2.0
codyer/CleanFramework
app/src/main/java/com/cody/app/framework/fragment/WithHeaderFragment.java
1317
/* * Copyright (c) Created by Cody.yi on 2016/8/26. */ package com.cody.app.framework.fragment; import android.databinding.ViewDataBinding; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; im...
apache-2.0
josetonyp/elements
spec/test_app/config/application.rb
1226
require File.expand_path('../boot', __FILE__) # Pick the frameworks you want: require "active_record/railtie" require "action_controller/railtie" require "action_mailer/railtie" require "action_view/railtie" require "sprockets/railtie" # require "rails/test_unit/railtie" Bundler.require(*Rails.groups) require "elemen...
artistic-2.0
GlowstoneMC/glowstonemc.github.io
content/jd/glowstone/1.16/net/glowstone/block/blocktype/class-use/BlockDoublePlant.html
3019
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (16) on Sat Dec 18 21:56:37 UTC 2021 --> <title>Uses of Class net.glowstone.block.blocktype.BlockDoublePlant (Glowstone 2021.7.1-SNAPSHOT API)</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv=...
artistic-2.0
met3or/djangoproject
README.md
36
# djangoproject 48 hour django site
artistic-2.0
acidsalad/theFamily
enemy.h
180
#pragma once class Enemy{ public: Enemy(){ hp = 0; pp = 0; name = "default"; } int attack(); protected: int hp; int pp; string name; int attackPrivate(int); };
artistic-2.0
miyorineko/pixmicat-materialize
module/mod_siokara.php
10573
<?php /* mod_siokara : Pixmicat! siokara management subset (Alpha) by: scribe */ class mod_siokara extends ModuleHelper { private $mypage; private $LANGUAGE=array( 'zh_TW' => array( 'siokara_admin_fsage' => '強制sage', 'siokara_admin_ufsage' => '解除強制sage', 'siokara_admin_htmb' => '替換縮圖', ...
artistic-2.0
GlowstoneMC/glowstonemc.github.io
content/jd/glowstone/1.12/net/glowstone/entity/projectile/class-use/GlowWitherSkull.html
4724
<!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 (1.8.0_302) on Sun Aug 29 01:47:02 UTC 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class net.glowstone...
artistic-2.0
emojicode/emojicode
docs/html/class_emojicode_compiler_1_1_a_s_t_error_type.html
15721
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
artistic-2.0
eos-13/YaCMS
main/admin/view/conf.php
6240
<?php class view_conf extends admin_common { public $message = false; private function set_tinymce_vars($section=array()) { $tmp = 'var all_tinymce=" '; //$tmpA = array('tinymce'); $tmp .='";'; $tmp .= 'var content_css_set="'.make_path("css","admin","css",false,true).'";'; ...
artistic-2.0