repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
srotya/sidewinder
core/src/main/java/com/srotya/sidewinder/core/storage/DataPoint.java
1941
/** * Copyright Ambud Sharma * * 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
Otsimo/distribution
db/mongodb/tarball.go
1366
package mongodb import ( "github.com/otsimo/distribution/models" mgo "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" ) type tarballRepo struct { driver *MongoDBDriver } func (m *tarballRepo) Put(d models.TarballUrl) error { c := m.driver.Session.DB("").C(TarballCollection) ls, _ := m.All(d.GameID, d.Version) if len...
apache-2.0
marius-bardan/encryptedprefs
library/src/main/java/ro/omen/encryptedprefs/utils/FixedSecureRandom.java
492
package ro.omen.encryptedprefs.utils; import java.security.SecureRandom; /** * Child implementation of SecureRandom that runs the needed fix before generating byte arrays. * Client code should only use nextBytes (as it's the only method using the fix). * {@see SecureRandomFix} */ public class FixedSecureRandom ex...
apache-2.0
somi92/eKlub
src/main/java/rs/fon/eklub/controllers/CategoryController.java
2262
/* * 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 rs.fon.eklub.controllers; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.spr...
apache-2.0
openprocurement/openprocurement.edge
openprocurement/edge/couch_views/auctions/views/real_by_dateModified/map.js
391
function(doc) { if(doc.doc_type == 'Auction' && doc.status != 'draft' && !doc.mode) { var fields=['auctionPeriod', 'status', 'auctionID', 'lots', 'procurementMethodType', 'next_check'], data={}; for (var i in fields) { if (doc[fields[i]]) { data[fields[i]] = doc[fields[i]...
apache-2.0
toddfast/mutagen-cassandra
src/main/java/com/toddfast/mutagen/cassandra/CassandraMutagen.java
381
package com.toddfast.mutagen.cassandra; import com.netflix.astyanax.Keyspace; import com.toddfast.mutagen.Plan; import java.io.IOException; /** * * * @author Todd Fast */ public interface CassandraMutagen { /** * * */ public void initialize(String rootResourcePath) throws IOException; /** * * ...
apache-2.0
TanayParikh/foam2
src/foam/dao/LastModifiedAwareDAO.java
406
/** * @license * Copyright 2017 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ package foam.dao; import foam.dao.*; import foam.core.*; import java.util.Date; public class LastModifiedAwareDAO extends ProxyDAO { public FObject put_(X x, FObject value) { ((LastModif...
apache-2.0
woosungpil/epcis
epcis-client/src/main/java/org/oliot/epcis_client/VocabularyType.java
1522
package org.oliot.epcis_client; /** * Copyright (C) 2014-16 Jaewook Byun * * This project is part of Oliot (oliot.org), pursuing the implementation of * Electronic Product Code Information Service(EPCIS) v1.1 specification in * EPCglobal. * [http://www.gs1.org/gsmp/kc/epcglobal/epcis/epcis_1_1-standard-20140520....
apache-2.0
Nickname0806/Test_Q4
test/org/apache/catalina/webresources/TestJarInputStreamWrapper.java
4662
/* * 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
multi-os-engine/moe-core
moe.apple/moe.platform.ios/src/main/java/apple/uikit/protocol/UIAccessibilityContainerDataTableCell.java
1031
package apple.uikit.protocol; import apple.foundation.struct.NSRange; import org.moe.natj.general.ann.ByValue; import org.moe.natj.general.ann.Generated; import org.moe.natj.general.ann.Library; import org.moe.natj.general.ann.Runtime; import org.moe.natj.objc.ObjCRuntime; import org.moe.natj.objc.ann.ObjCProtocolName...
apache-2.0
bit-zyl/Alluxio-Nvdimm
core/common/src/main/java/alluxio/RuntimeConstants.java
1648
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
apache-2.0
googleinterns/knative-source-mongodb
pkg/client/injection/client/fake/fake.go
1705
/* 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, software dist...
apache-2.0
multi-os-engine/moe-core
moe.apple/moe.platform.ios/src/main/java/apple/sensorkit/enums/SRNotificationEvent.java
1597
package apple.sensorkit.enums; import org.moe.natj.general.ann.Generated; import org.moe.natj.general.ann.NInt; @Generated public final class SRNotificationEvent { @Generated private SRNotificationEvent() { } @Generated @NInt public static final long Unknown = 0x0000000000000000L; @Generated @NIn...
apache-2.0
Coreoz/Plume-file
plume-file-core/src/main/java/com/coreoz/plume/file/db/FileDao.java
669
package com.coreoz.plume.file.db; import com.querydsl.core.types.EntityPath; import com.querydsl.core.types.dsl.NumberPath; public interface FileDao { FileEntry upload(String fileType, byte[] fileData, String fileName); long delete(Long fileId); /** * Fetch the file name corresponding to the file identifier. ...
apache-2.0
stdlib-js/stdlib
lib/node_modules/@stdlib/stats/base/dists/hypergeometric/stdev/benchmark/benchmark.js
1433
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib 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 a...
apache-2.0
dylan-foundry/DeftIDEA
gen/org/dylanfoundry/deft/filetypes/dylan/psi/DylanSubstitution.java
530
// This is a generated file. Not intended for manual editing. package org.dylanfoundry.deft.filetypes.dylan.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface DylanSubstitution extends DylanCompositeElement { @Nullable DylanNamePrefix getNamePrefi...
apache-2.0
utcompling/fieldspring
src/main/java/opennlp/fieldspring/tr/app/BaseApp.java
19845
/* * Base app for running resolvers and/or other functionality such as evaluation and visualization generation. */ package opennlp.fieldspring.tr.app; import org.apache.commons.cli.*; import opennlp.fieldspring.tr.topo.*; import java.io.*; public class BaseApp { private Options options = new Options(); p...
apache-2.0
toddlipcon/helenus
src/java/com/facebook/infrastructure/loader/Importer.java
3077
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2...
apache-2.0
equella/Equella
Source/Plugins/Core/com.equella.base/src/com/tle/common/filesystem/handle/ExportFile.java
1232
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
apache-2.0
RUB-NDS/EccPlayground
src/main/java/de/rub/nds/eccjava/view/curve/CurveGraphPanel.java
2684
package de.rub.nds.eccjava.view.curve; import de.rub.nds.eccjava.controller.AppController; import de.rub.nds.eccjava.curve.Curve; import de.rub.nds.eccjava.curve.DivisionException; import de.rub.nds.eccjava.curve.Oracle; import de.rub.nds.eccjava.curve.Point; import java.awt.Color; import java.math.BigInteger; import ...
apache-2.0
eskatos/qipki
crypto/src/main/java/org/qipki/crypto/algorithms/BlockCipherModeOfOperation.java
3686
/* * Copyright (c) 2010, Paul Merlin. 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...
apache-2.0
DaanHoogland/cloudstack
test/integration/smoke/test_diagnostics.py
22974
# 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 u...
apache-2.0
dcarbone/php-fhir-generated
src/DCarbone/PHPFHIRGenerated/R4/PHPFHIRTests/FHIRElement/FHIRBackboneElement/FHIRSubstanceSpecification/FHIRSubstanceSpecificationMoietyTest.php
3683
<?php namespace DCarbone\PHPFHIRGenerated\R4\PHPFHIRTests\FHIRElement\FHIRBackboneElement\FHIRSubstanceSpecification; /*! * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using * class definitions from HL7 FHIR (https://www.hl7.org/fhir/) * * Class creation date: December...
apache-2.0
backerman/evego
pkg/routing/sql_test.go
4399
/* Copyright © 2014–5 Brad Ackerman. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
apache-2.0
googleapis/google-api-php-client-services
src/CloudTrace/Link.php
1885
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
apache-2.0
reynoldsm88/drools
drools-workbench-models/drools-workbench-models-test-scenarios/src/main/java/org/drools/workbench/models/testscenarios/backend/ScenarioRunner.java
8857
/* * Copyright 2010 Red Hat, Inc. and/or 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 ap...
apache-2.0
LQJJ/demo
126-go-common-master/app/admin/main/block/model/model.go
5392
package model import ( "time" ) // BlockStatus 封禁状态 0. 未封禁 1. 永久封禁 2. 限时封禁 type BlockStatus uint8 const ( // BlockStatusFalse 未封禁 BlockStatusFalse BlockStatus = iota // BlockStatusForever 永久封禁 BlockStatusForever // BlockStatusLimit 限时封禁 BlockStatusLimit // BlockStatusCredit 小黑屋封禁 BlockStatusCredit ) // Blo...
apache-2.0
mjn19172/Savu
savu/plugins/fastxrf_fitting.py
10769
# Copyright 2014 Diamond Light Source 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 t...
apache-2.0
jthurne/kanban-salad
scanner-client-core/src/test/java/org/kanbansalad/scanner/client/ListModelTest.java
8715
/** * Copyright 2013 Jim Hurne and Joseph Kramer * * 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
QNJR-GROUP/EasyTransaction
easytrans-core/src/main/java/com/yiqiniu/easytrans/idgen/impl/ConstantBusinessCodeGenerator.java
258
package com.yiqiniu.easytrans.idgen.impl; import com.yiqiniu.easytrans.idgen.BusinessCodeGenerator; public class ConstantBusinessCodeGenerator implements BusinessCodeGenerator { @Override public String getCurrentBusinessCode() { return "default"; } }
apache-2.0
brain461/ar_too
ar_too/__init__.py
197
# -*- coding: utf-8 -*- from .api import get_artifactory_config_from_url, update_ldapSettings_from_dict, update_artifactory_config, cr_repository, update_password, get_repo_configs, get_repo_list
apache-2.0
gubaijin/single
ui/src/main/java/com.gplucky.ui/controller/TaskController.java
1371
package com.gplucky.ui.controller; import com.gplucky.ui.service.TaskService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; /**...
apache-2.0
frincon/openeos
modules/org.openeos.services.ui/src/main/java/org/openeos/services/ui/ConstraintViolationExceptionResolver.java
1224
/** * Copyright 2014 Fernando Rincon Martin <frm.rincon@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
apache-2.0
mosuka/indigo
server/rest/handler/bulk.go
3079
// Copyright (c) 2017 Minoru Osuka // // 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
NextGenIntelligence/gerrit
gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/ChangeTable.java
17961
// 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 applicable ...
apache-2.0
rhaschke/catkin_tools
catkin_tools/context.py
34962
# Copyright 2014 Open Source Robotics Foundation, 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...
apache-2.0
Vilsol/NMSWrapper
src/main/java/me/vilsol/nmswrapper/wraps/unparsed/NMSFileIOThread.java
902
package me.vilsol.nmswrapper.wraps.unparsed; import me.vilsol.nmswrapper.*; import me.vilsol.nmswrapper.reflections.*; import me.vilsol.nmswrapper.wraps.*; @ReflectiveClass(name = "FileIOThread") public class NMSFileIOThread extends NMSWrap implements Runnable { public NMSFileIOThread(Object nmsObject){ ...
apache-2.0
lklong/fuckproject
src/com/zhigu/service/data/impl/CategoryRefServiceImpl.java
1560
/** * @ClassName: CategoryRefServiceImpl.java * @Author: liukailong * @Description: * @Date: 2015年4月14日 * */ package com.zhigu.service.data.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.zhigu.mapper.Catego...
apache-2.0
castagna/dataset-movies
src/main/java/com/kasabi/data/movies/imdb/IMDBMovieScraper.java
8178
/* * 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
classano/googleads
src/Google/Api/Ads/Dfp/v201311/ContentService.php
78423
<?php /** * Contains all client objects for the ContentService * service. * * PHP version 5 * * Copyright 2014, 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...
apache-2.0
LADOSSIFPB/nutrif
nutrif-web/lib/angular/i18n/angular-locale_en-sh.js
2595
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n...
apache-2.0
jmccrae/lemon.patterns
src/main/java/net/lemonmodel/patterns/parser/Absyn/EThirdPerson.java
534
package net.lemonmodel.patterns.parser.Absyn; // Java Package generated by the BNF Converter. public class EThirdPerson extends Category { public EThirdPerson() { } public <R,A> R accept(net.lemonmodel.patterns.parser.Absyn.Category.Visitor<R,A> v, A arg) { return v.visit(this, arg); } public boolean equals(O...
apache-2.0
JamesEarle/PersonalWebsite
js/hideme.js
642
$(document).ready(function() { /* Every time the window is scrolled ... */ $(window).scroll( function(){ /* Check the location of each desired element */ $('.hideme').each( function(i){ var bottom_of_object = $(this).position().top + $(this).outerHeight(); ...
apache-2.0
digitick/Collection
Test/Digitick/Tests/Foundation/Collection/BaseScalarSetTest.php
3080
<?php namespace Digitick\Tests\Foundation\Collection; use Digitick\Foundation\Collection\BaseScalarSet; /* * */ class BaseScalarSetTest extends \PHPUnit_Framework_TestCase { /** @var BaseScalarSet */ protected $emptySet; /** @var BaseScalarSet */ protected $set; const SET_SIZE = 5; publ...
apache-2.0
Simbacode/csrosa
csrosa/core/src/org/javarosa/xform/util/XFormAnswerDataParser.cs
6436
/* * Copyright (C) 2009 JavaRosa ,Copyright (C) 2014 Simbacode * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
jrivets/log4g
console_appender_test.go
1273
package log4g import ( "time" . "gopkg.in/check.v1" ) type cAppenderSuite struct { msg string signal chan bool } var _ = Suite(&cAppenderSuite{}) func (cas *cAppenderSuite) Write(p []byte) (n int, err error) { cas.msg = string(p) cas.signal <- true return len(p), nil } func (s *cAppenderSuite) TestNewAp...
apache-2.0
m4rkmckenna/brooklyn-ui-update
src/app/applications/entity-details/entity-activities/entity-activities.component.ts
313
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-entity-activities', templateUrl: './entity-activities.component.html', styleUrls: ['./entity-activities.component.scss'] }) export class EntityActivitiesComponent implements OnInit { constructor() { } ngOnInit() { } }
apache-2.0
illicitonion/buck
src/com/facebook/buck/d/DLibrary.java
3141
/* * Copyright 2015-present Facebook, 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...
apache-2.0
ArseniyJ4J/akulikov
chapter_005/src/main/java/ru/job4j/collectionspro/list/SimpleLinkedList.java
5984
package ru.job4j.collectionspro.list; import java.util.Iterator; import java.util.NoSuchElementException; /** Класс SimpleLinkedList. * @author Arseniy Kulkiov * @since 28.08.2017 * @version 1 * @param <E> - параметризованный тип. */ public class SimpleLinkedList<E> implements Iterable { /** * Поле кл...
apache-2.0
vdemeester/containerd
runtime/v2/shim.go
12965
/* Copyright The containerd 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...
apache-2.0
ScripterRon/BitcoinWallet
src/main/java/org/ScripterRon/BitcoinWallet/ReceiveTransaction.java
5800
/** * Copyright 2013-2016 Ronald W Hoffman * * 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
consulo/consulo-dotnet
msil-psi-impl/src/main/java/consulo/msil/lang/psi/impl/MsilArrayDimensionImpl.java
1639
package consulo.msil.lang.psi.impl; import javax.annotation.Nonnull; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; import com.intellij.psi.stubs.IStubElementType; import com.intellij.util.ArrayFactory; import consulo.annotation.access.RequiredReadAction; import consulo.msil.lang.psi.MsilArrayD...
apache-2.0
keyvank/pooljs
django_project/static/js/processor.js
5922
(function (context) { var WEBSOCKET_HOST = "pooljs.ir"; var WEBSOCKET_PORT = 12121; var WEBSOCKET_ADDRESS = "wss://" + WEBSOCKET_HOST + ":" + WEBSOCKET_PORT; var TURBOJS_URL = "https://turbo.github.io/js/turbo.js"; if(window && "WebSocket" in window && typeof(Worker) !== "undefined") { function loadScript(url...
apache-2.0
gleb619/webcam
src/main/java/org/test/webcam/model/dao/secure/UserDao.java
4854
/* * */ package org.test.webcam.model.dao.secure; import java.util.ArrayList; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.springframework.dao.DataAccessException; import org.springframework.stereotype.Repository; import org.test.webcam.mod...
apache-2.0
noundla/Sunny_android_samples
src/com/vl/samples/animation/DrawableAnimationActivity.java
1439
package com.vl.samples.animation; import android.app.Activity; import android.graphics.drawable.AnimationDrawable; import android.os.Bundle; import android.widget.ImageView; import com.vl.samples.R; public class DrawableAnimationActivity extends Activity { AnimationDrawable rocketAnimation; @Override ...
apache-2.0
cstamas/httpclient
httpmime/src/main/java/org/apache/http/entity/mime/MultipartEntity.java
5895
/* * ==================================================================== * 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 ...
apache-2.0
thinking-github/nbone
nbone/nbone-core/src/main/java/org/nbone/component/logger/LogVoFactory.java
595
package org.nbone.component.logger; import java.util.Date; import org.nbone.component.logger.vo.LogVo; import org.nbone.constants.NboneConstants; /** * * @author Thinking 2014-8-8 * */ public class LogVoFactory { /** * 返回默认的LogVo 操作成功的 * @return */ public static LogVo getDefaultNewLogVO() { Lo...
apache-2.0
AKSW/SlideWiki
slidewiki/libraries/frontend/MathJax/fonts/HTML-CSS/TeX/png/AMS/Regular/unpacked/SpacingModLetters.js
1724
/************************************************************* * * MathJax/fonts/HTML-CSS/TeX/png/AMS/Regular/SpacingModLetters.js * * Defines the image size data needed for the HTML-CSS OutputJax * to display mathematics using fallback images when the fonts * are not availble to the client browser. ...
apache-2.0
Driox/sorus
app/helpers/SorusPlay.scala
4809
package helpers.sorus import helpers.sorus.SorusDSL._ import play.api.Logging import play.api.mvc._ import play.api.mvc.Results._ import play.api.data.Form import scala.concurrent.Future import play.api.data.validation.ValidationError import play.api.libs.json._ import scalaz._ import java.security.SecureRandom impo...
apache-2.0
amahule/aws-sdk-for-android
src/com/amazonaws/services/s3/model/S3Object.java
4162
/* * Copyright 2010 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 "license...
apache-2.0
consulo/consulo-xml
xml-dom-api/src/main/java/com/intellij/util/xml/ui/CompositeCommittable.java
1556
/* * Copyright 2000-2009 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
martin-g/wicket-osgi
wicket-core/src/test/java/org/apache/wicket/protocol/http/WicketURLTest.java
1981
/* * 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
Brocade-OpenSource/OpenStack-DNRM
dnrm/openstack/common/exception.py
3312
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 OpenStack Foundation. # 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.apac...
apache-2.0
UBOdin/jitd-synthesis
src/main/scala/jitd/example/CppStdLib.scala
601
package jitd.example import jitd.spec._ import jitd.typecheck.FunctionSignature object CppStdLib { val functions = Seq( FunctionSignature("std::begin", Seq(TArray(TRecord())), TIterator()), FunctionSignature("std::end", Seq(TArray(TRecord())), TIterator()), FunctionSignature("std::find", Seq(TIterator()...
apache-2.0
smartsheet-platform/smartsheet-java-sdk
src/main/java/com/smartsheet/api/AccessTokenExpiredException.java
1364
package com.smartsheet.api; /* * #[license] * Smartsheet SDK for Java * %% * Copyright (C) 2014 Smartsheet * %% * 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.a...
apache-2.0
hep-gc/cloudscheduler
cli/bin/csv2_my.py
2791
from csv2_common import check_keys, requests, show_active_user_groups, show_table, verify_yaml_file, yaml_full_load from subprocess import Popen, PIPE import filecmp import os import csv2_defaults KEY_MAP = { '-gn': 'default_group', '-upw': 'password', '-sfv': 'flag_show_foreign_global_vms', '-sg...
apache-2.0
phhusson/Apktool
brut.apktool/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java
31692
/** * Copyright 2014 Ryszard Wiśniewski <brut.alll@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
apache-2.0
tautschnig/fshell
fshell2/fql/concepts/trace_automaton.hpp
3040
/* -*- Mode: C++; tab-width: 4 -*- */ /* vi: set ts=4 sw=4 noexpandtab: */ /******************************************************************************* * FShell 2 * Copyright 2009 Michael Tautschnig, tautschnig@forsyte.de * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
apache-2.0
mcvendrell/alloy
Alloy/alloy.js
4798
/** * Alloy * Copyright (c) 2012 by Appcelerator, Inc. All Rights Reserved. * See LICENSE for more information on licensing. */ var program = require('commander'), logger = require("./logger"), os = require('os'), U = require('./utils'), colors = require("colors"), _ = require("./lib/alloy/underscore")._, pk...
apache-2.0
uddhavgautam/dynamic-resourceUpdateCheck
app/src/main/java/edu/ualr/cpsc7398/updatechecker/controller/recyclerviewadapter/ConclusionAdapter.java
4388
package edu.ualr.cpsc7398.updatechecker.controller.recyclerviewadapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.text.InputType; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widg...
apache-2.0
google-code-export/google-api-dfp-java
src/com/google/api/ads/dfp/v201306/BaseRate.java
9708
/** * BaseRate.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.google.api.ads.dfp.v201306; /** * A base rate that applies to a product template or product belonging * to rate * card. */ public abstract class B...
apache-2.0
skunkiferous/Hacktors
src/com/blockwithme/hacktors/Level.java
7994
/* * Copyright (C) 2013 Sebastien Diot. * * 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
optivo-org/commons-dbcp
src/java/org/apache/commons/dbcp/DriverManagerConnectionFactory.java
3269
/* * 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
mpushpav/chorus
spec/javascripts/models/dataset_filter_maps_spec.js
13627
describe("chorus.models.DatasetFilterMaps", function() { function itReturnsTheRightClauseFor(key, columnName, inputValue, expected, ignoreEmptyCase) { it("returns the right clause for " + key, function() { expect(this.datasetFilterMap.comparators[key].generate(columnName, inputValue)).toBe(expec...
apache-2.0
EMBL-EBI-SUBS/subs
subs-repository/src/main/java/uk/ac/ebi/subs/repository/repos/status/ProcessingStatusBulkOperations.java
2260
package uk.ac.ebi.subs.repository.repos.status; import com.mongodb.BulkWriteResult; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.data.mongodb.core.BulkOperations; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.data.mongodb.core.query.Update...
apache-2.0
wfuedu/Inotado
inotado-api/api/src/java/edu/wfu/inotado/api/WinProfileRequest.java
1992
/*Licensed to The Apereo Foundation under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The Apereo Foundation licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file...
apache-2.0
srinivasiyerb/Scholst
target/Scholastic/static/js/ext/src/widgets/grid/PivotGrid.js
13425
/*! * Ext JS Library 3.3.1 * Copyright(c) 2006-2010 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.grid.PivotGrid * @extends Ext.grid.GridPanel * <p>The PivotGrid component enables rapid summarization of large data sets. It provides a way to reduce a large set of...
apache-2.0
faint32/snowflake-1
Snowflake.Shell.Windows/electron/download.js
4432
var $ = require("jQuery") var exports = module.exports = {}; exports.queue = []; exports.lock = false; exports.counter = 0; exports.downloadFile = function(url, description){ var queuedDownload = function() { $('.download-progress-status').each(function(index){ $(this).html("Updating " + description);...
apache-2.0
aleo72/ww-ceem-radar
src/main/java/gov/nasa/worldwind/cache/MemoryCacheSet.java
686
/* * Copyright (C) 2012 United States Government as represented by the Administrator of the * National Aeronautics and Space Administration. * All Rights Reserved. */ package gov.nasa.worldwind.cache; import gov.nasa.worldwind.util.PerformanceStatistic; import java.util.*; /** * @author tag * @version $Id: Mem...
apache-2.0
marcusportmann/mmp-java
src/mmp-application-sms/src/main/java/com/mymobileapi/api5/SentDSSTR.java
4832
package com.mymobileapi.api5; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElemen...
apache-2.0
BoomBoobs/chrome-extension
src/components/Basic/LoadingSpinner/LoadingSpinner.js
67
export default from 'buildo-react-components/src/loading-spinner';
apache-2.0
ty1er/incubator-asterixdb
asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/entitytupletranslators/LibraryTupleTranslator.java
5481
/* * 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
pdxrunner/geode
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/DiskStoreAttributesCreation.java
11926
/* * 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 ...
apache-2.0
fnklabs/splac
splac-http-server/src/main/java/com/fnklabs/splac/Path.java
209
package com.fnklabs.splac; import java.lang.annotation.*; /** * Servlet url path */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Path { String value(); }
apache-2.0
SE-Group1/HookedUp
HookedUp/api/tools.php
5864
<?php $_PUT; $_DELETE; /** * Returns a mysqli object with a valid connection to the server's database */ function mysqlConnect() { $servername = "127.0.0.1"; $username = "root"; $password = "hookedup"; $dbname = "hookedup"; $conn = new mysqli($servername, $username, $password, $dbname); ...
apache-2.0
googleapis/kiosk
server/kiosk.go
6613
// Copyright 2018 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
vaclav/voicemenu
languages/jetbrains.mps.samples.VoiceMenu/source_gen/jetbrains/mps/samples/VoiceMenu/editor/RefreshFileTextRecognition_Timeout.java
4990
package jetbrains.mps.samples.VoiceMenu.editor; /*Generated by MPS */ import org.apache.log4j.Logger; import org.apache.log4j.LogManager; import jetbrains.mps.editor.runtime.cells.AbstractCellAction; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.openapi.editor.EditorContext; import java.nio.file....
apache-2.0
sagivo/Unity2d-Game
Assets/Resources/Scripts/Canons/CrosshairsController.cs
595
using UnityEngine; using System.Collections; public class CrosshairsController : MonoBehaviour { //public public GameObject cursor; //private private bool isShowns = true; private GameObject mouseCursor; void Awake () { Cursor.visible = false; if (!mouseCursor) mouseCursor = (GameObject)Instantiate (cursor...
apache-2.0
slavnovdv/Testing
sandbox/src/main/java/com/testing/sandbox/HelloWorld.java
140
package com.testing.sandbox; public class HelloWorld { public static void main(String[] args){ System.out.println("Hello world!"); } }
apache-2.0
bencaldwell/automatalib
core/src/main/java/net/automatalib/automata/transout/impl/FastMooreState.java
1522
/* Copyright (C) 2013 TU Dortmund * This file is part of AutomataLib, http://www.automatalib.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/licen...
apache-2.0
ninthridge/deeviar
src/main/java/com/ninthridge/deeviar/api/SystemResource.java
916
package com.ninthridge.deeviar.api; import java.util.Date; import java.util.HashMap; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereot...
apache-2.0
yuya-oc/desktop
src/main/permissionRequestHandler.js
1979
// Copyright (c) 2015-2016 Yuya Ochiai // Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import {URL} from 'url'; import {ipcMain} from 'electron'; function dequeueRequests(requestQueue, permissionManager, origin, permission, status) { switch (status) { ...
apache-2.0
dbflute-test/dbflute-test-dbms-mysql
src/main/java/org/docksidestage/mysql/dbflute/bsbhv/loader/LoaderOfWhiteAllInOneClsCategory.java
6406
/* * Copyright 2004-2013 the Seasar Foundation and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
apache-2.0
twitter-forks/presto
presto-verifier/src/test/java/com/facebook/presto/verifier/checksum/TestChecksumValidator.java
27572
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
apache-2.0
tensorflow/federated
tensorflow_federated/python/core/test/static_assert_test.py
4045
# Copyright 2020, The TensorFlow Federated 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
mperdeck/cgtcalculator
cgtcalculator/cgtcalculator/Calculator.cs
4204
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace cgtcalculator { public class Calculator { public static List<ResultCsv> Calculate(List<Transaction> transactions) { return CalculateGainsPerShare(transactio...
apache-2.0
spring-cloud/spring-cloud-stream
spring-cloud-stream/src/test/java/org/springframework/cloud/stream/binder/InputOutputBindingOrderTest.java
3677
/* * Copyright 2015-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
ionutbarau/petstore
petstore-app/src/main/resources/static/node_modules/bower/lib/node_modules/osenv/test/windows.js
2540
// only run this test on windows // pretending to be another platform is too hacky, since it breaks // how the underlying system looks up module paths and runs // child processes, and all that stuff is cached. if (process.platform !== 'win32') { console.log('TAP version 13\n' + '1..0 # Skip windows tests, t...
apache-2.0
LivotovLabs/SORM
sorm-sample/src/main/java/com/example/sorm/sormexample/DbUtils.java
2162
package com.example.sorm.sormexample; import android.content.Context; import java.util.List; import eu.livotov.labs.android.sorm.EntityManager; import eu.livotov.labs.android.sorm.EntityManagerFactory; import eu.livotov.labs.android.sorm.core.config.EntityManagerConfiguration; public class DbUtils { // If you us...
apache-2.0
hmrc/amls-frontend
test/views/businessdetails/registered_office_ukSpec.scala
2766
/* * Copyright 2021 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0