repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
bq/jskeleton
lib/htmlbars/dom-helper.amd.js
46032
define('dom-helper', ['exports', './htmlbars-runtime/morph', './morph-attr', './dom-helper/build-html-dom', './dom-helper/classes', './dom-helper/prop'], function (exports, Morph, AttrMorph, build_html_dom, classes, prop) { 'use strict'; var doc = typeof document === "undefined" ? false : document; var deletes...
apache-2.0
nextreports/nextreports-server
src/ro/nextreports/server/search/SqlSearchEntry.java
1811
/* * 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
aulizko/soy-to-java-src-compiler-o-matic
src/test/java/com/ulizko/template/soy/javaSrc/SoyFileStockTest.java
1208
package com.ulizko.template.soy.javaSrc; import com.ulizko.template.soy.utils.FileUtils; import com.google.common.base.Joiner; import com.google.common.base.Splitter; import com.google.common.collect.ImmutableList; import org.junit.Test; import java.io.File; import java.util.List; import static org.junit.Assert.asse...
apache-2.0
LQJJ/demo
126-go-common-master/app/admin/main/cache/model/tree.go
916
package model import "time" // Res res. type Res struct { Count int `json:"count"` Data []*TreeNode `json:"data"` Page int `json:"page"` Results int `json:"results"` } // TreeNode TreeNode. type TreeNode struct { Alias string `json:"alias"` CreatedAt string `json:"...
apache-2.0
dockerian/pyapi
demo/codebase/swift.py
5234
""" # swift """ import logging import mimetypes import sys from swiftclient import client as swift_client LOGGER = logging.getLogger(__name__) class Swift(): def __init__(self, auth_token, swift_url, container_name): """ Initialize a Swift instance """ self.auth_token = auth_to...
apache-2.0
Hersir88/Babylon.js
src/Materials/babylon.material.ts
43291
module BABYLON { /** * Manages the defines for the Material. */ export class MaterialDefines { private _keys: string[]; private _isDirty = true; public _renderId: number; public _areLightsDirty = true; public _areAttributesDirty = true; publ...
apache-2.0
iago-suarez/ancoweb-TFG
src/accounts/views.py
3037
# from django.shortcuts import render from django.contrib.auth.forms import AuthenticationForm from django.http import HttpResponseRedirect from django.utils.decorators import method_decorator from django.views import generic from django.shortcuts import redirect from django.core.urlresolvers import reverse_lazy, rever...
apache-2.0
RotatingFans/govmomi
object/storage_pod.go
902
/* Copyright (c) 2015 VMware, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
apache-2.0
emanuelmachado/mvcphp
layouts/_menu.php
1519
<section class="menu"> <div class="navbar navbar_ clearfix"> <div class="navbar-inner"> <div class="container"> <div class="clearfix"> <div class="navbar-header...
apache-2.0
eikek/publet
web/src/main/scala/org/eknet/publet/web/asset/Group.scala
2971
/* * Copyright 2012 Eike Kettner * * 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
mbrinkmeier/abbozza
lib/js/abbozza/gui/field_lengthinput.js
2618
/** * @license * abbozza! * * Copyright 2015 Michael Brinkmeier ( michael.brinkmeier@uni-osnabrueck.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.apache.org/...
apache-2.0
mrinsss/Full-Repo
AMS+WSDL/ams/application/views/web_master/index_tmp.tpl.php
127691
<!DOCTYPE html> <!-- saved from url=(0054)https://almsaeedstudio.com/themes/AdminLTE/index2.html --> <html> <head> <?php require_once(APPPATH.'views/'.ADMIN_DIR.'/header.tpl.php')?> </head> <body class="skin-blue sidebar-mini"> <div class="wrapper"> <!-- Header --> ...
apache-2.0
lunisolar/magma
magma-asserts/src/test/java/eu/lunisolar/magma/asserts/func/function/to/LToFltFunctionAssertTest.java
4436
/* * This file is part of "lunisolar-magma". * * (C) Copyright 2014-2019 Lunisolar (http://lunisolar.eu/). * * 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.o...
apache-2.0
wmm387/wmm
app/src/main/java/com/wangyuanwmm/wmm/entity/TopData.java
608
package com.wangyuanwmm.wmm.entity; public class TopData { //标题 private String title; //出处 private String source; //图片的url private String imgUrl; public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public ...
apache-2.0
ngageoint/scale
scale/scheduler/test/database/test_updater.py
689
from __future__ import unicode_literals import copy from datetime import timedelta import django from django.test import TestCase from django.utils.timezone import now from batch.definition.definition import BatchDefinition from batch.test import utils as batch_test_utils from batch.models import Batch from job.mode...
apache-2.0
saandrews/pulsar
pulsar-connect/rabbitmq/src/main/java/org/apache/pulsar/connect/rabbitmq/RabbitMQSource.java
3980
/** * 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
cloudera/crunch
crunch/src/main/java/org/apache/crunch/impl/mem/collect/MemCollection.java
5576
/** * 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
clld/autotyp
autotyp/datatables.py
4809
from sqlalchemy import and_ from sqlalchemy.orm import joinedload_all, joinedload, aliased from clld.web import datatables from clld.db.meta import DBSession from clld.db.models.common import ( Value, ValueSet, Parameter, DomainElement, Language, Contribution, ValueSetReference, Value_data, ) from clld.db.util...
apache-2.0
fernandoPalaciosGit/banca-personal-DAW
access/js/accessAccount/permisos.tpl.php
497
<div id="permissionsHouseAccountViews"> <p>{{mensaje}}</p> <p><small>tu cuenta esta registrada con el correo: <i class="idea">{{permisosUsuario['userMail']}}</i></small></p> <p><h2>Estos son las cuentas a los que tienes acceso</h2></p> <ul> <li ng-repeat-start="permiso in permisosUsuario['userPerms']"> ...
apache-2.0
mrsimpson/vtiger-client
dist/vtiger_consumer_swagger/src/ApiClient.js
18300
'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; (function (root, factory) { if (typeof define === 'function'...
apache-2.0
megastef/logsene-aws-lambda-cloudwatch
node_modules/alasql/dist/alasql-worker.js
6199
//! AlaSQL v0.3.4 | © 2014-2016 Andrey Gershun & Mathias Rangel Wulff | License: MIT /* @module alasql @version 0.3.4 AlaSQL - JavaScript SQL database © 2014-2016 Andrey Gershun & Mathias Rangel Wulff @license The MIT License (MIT) Copyright 2014-2016 Andrey Gershun (agershun@gmail.com) & Mathias Rangel Wulff (m@ra...
apache-2.0
tensorflow/java
tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FixedUnigramCandidateSampler.java
19053
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
apache-2.0
googleapis/java-aiplatform
proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportModelRequest.java
88526
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
apache-2.0
synapplix/jquants
src/main/java/jquants/motion/VolumeFlowRate.java
4545
package jquants.motion; import static com.googlecode.totallylazy.Sequences.sequence; import static jquants.space.Volume.CubicFeet; import static jquants.space.Volume.CubicMeters; import static jquants.space.Volume.UsGallons; import static jquants.time.Time.Seconds; import static jquants.time.Time.SecondsPerDay; import...
apache-2.0
DariusX/camel
core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsMqComponentBuilderFactory.java
9578
/* * 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
toliaqat/xenon
xenon-ui/src/main/ui/src/client/app/modules/app/interfaces/ui/modal-context.ts
280
import { Notification } from './notification'; /** * Context for rendering/controlling modals in the view. */ export interface ModalContext { // isOpened: boolean; name: string; data: {[key: string]: any}; notifications?: Notification[]; condition?: any; }
apache-2.0
mswiderski/droolsjbpm-integration
drools-grid/drools-grid-impl/src/main/java/org/drools/grid/remote/GetQueryParametersRemoteCommand.java
1729
/* * Copyright 2012 JBoss by Red Hat. * * 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
deib-polimi/modaclouds-cpim-library
src/test/java/it/polimi/modaclouds/cpimlibrary/entitymng/tests/BuildersTest.java
26763
/** * Copyright 2013 deib-polimi * Contact: deib-polimi <marco.miglierina@polimi.it> * * 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...
apache-2.0
tensorflow/benchmarks
perfzero/lib/cloud_manager.py
16087
#!/usr/bin/python # # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
apache-2.0
lmjacksoniii/hazelcast
hazelcast/src/main/java/com/hazelcast/nio/tcp/TcpIpConnection.java
9931
/* * Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
apache-2.0
android-art-intel/Nougat
art-extension/tools/StressRunner/src/ArchiveStressor.java
4879
/* * Copyright (C) 2015 Intel Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
apache-2.0
jxttian/Yuna
console/src/main/java/net/myscloud/open/yuna/bean/search/PermissionSearch.java
314
package net.myscloud.open.yuna.bean.search; import lombok.Data; import net.myscloud.open.yuna.common.framework.PaginationParam; /** * Created by genesis on 2016/12/29. */ @Data public class PermissionSearch extends PaginationParam { private Integer sid; private String code; private String name; }
apache-2.0
MOON-TYPE/MTodo
MTodo Project/Assets/Moon Antonio/MTodo/Extensiones/MTodoExtensiones.cs
5922
// ┌∩┐(◣_◢)┌∩┐ // \\ // MTodoExtensiones.cs (08/02/2017) \\ // Autor: Antonio Mateo (Moon Antonio) \\ // Descripcion: Extensiones para el editor de MTodo \\ // Fecha Mod: 21/03/2017 \\ // Ultima Mod: Cambio en el names...
apache-2.0
xiaomak/XRepair
BackEnd/app/service/model/RepairOrderModel.php
5870
<?php /** * Created by PhpStorm. * User: Mak * Email:xiaomak@qq.com * Date: 2017/8/15 * Time: 23:00 */ namespace app\service\model; use think\Db; use think\Model; class RepairOrderModel extends Model { protected $autoWriteTimestamp = true; /** * 添加通用报修单 * * @param $data array 报修信息 ...
apache-2.0
trasa/aws-sdk-java
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/WafAction.java
11379
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
apache-2.0
SergeyZhernovoy/Java-education
PartXI/lesson3/src/main/java/ru/szhernovoy/jpa/carstore/service/impl/OrderServiceImpl.java
1154
package ru.szhernovoy.jpa.carstore.service.impl;/** * Created by Admin on 05.02.2017. */ import com.google.common.collect.Lists; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import ru.szhernovoy.jpa.carstore.repositories.OrderCrud; import ru.szhernov...
apache-2.0
sghill/gocd
server/webapp/WEB-INF/rails.new/spec/controllers/admin/materials/hg_controller_spec.rb
1907
##########################GO-LICENSE-START################################ # Copyright 2014 ThoughtWorks, 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/li...
apache-2.0
google/site-kit-wp
assets/js/modules/adsense/index.js
5042
/** * AdSense module initialization. * * Site Kit by Google, Copyright 2021 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...
apache-2.0
lvjk/excrawler
src/main/java/six/com/crawler/work/store/impl/HttpStore.java
693
package six.com.crawler.work.store.impl; import java.util.List; import java.util.Map; import six.com.crawler.work.AbstractWorker; import six.com.crawler.work.store.AbstarctStore; import six.com.crawler.work.store.exception.StoreException; /** * @author 作者 * @E-mail: 359852326@qq.com * @date 创建时间:2017...
apache-2.0
sundrio/sundrio
model/utils/src/main/java/io/sundr/model/utils/Optionals.java
4872
/* * Copyright 2016 The original 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 ...
apache-2.0
vam-google/google-cloud-java
google-cloud-clients/google-cloud-iot/synth.py
1599
# 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
apache-2.0
scheuchzer/outbound-connector
examples/urlbased/echo/echo-connector/src/main/java/com/ja/rsc/echo/InMemoryEchoConnection.java
1748
/* Copyright 2013 Thomas Scheuchzer, java-adventures.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
apache-2.0
regestaexe/bygle-ldp
src/main/java/org/bygle/xml/XMLReader.java
8210
package org.bygle.xml; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import org...
apache-2.0
istio/bots
policybot/pkg/config/duration.go
1288
// Copyright 2019 Istio 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 i...
apache-2.0
freedot/tstolua
tests/cases/conformance/expressions/typeGuards/typeGuardsInRightOperandOfAndAndOperator.ts
2393
// In the right operand of a && operation, // the type of a variable or parameter is narrowed by any type guard in the left operand when true, // provided the right operand contains no assignments to the variable or parameter. function foo(x: number | string) { return typeof x === "string" && x.length === 10; // ...
apache-2.0
Coderec/market
src/com/online/market/model/PwdMsg.java
1194
package com.online.market.model; // Generated 2014-3-30 13:25:23 by Hibernate Tools 3.3.0.GA import java.util.Date; /** * PwdMsg generated by hbm2java */ public class PwdMsg implements java.io.Serializable { private static final long serialVersionUID = -2048330260846404770L; private String pid; private Admin a...
apache-2.0
cictourgune/MDP-Crawler
src/org/tourgune/mdp/amazon/bean/Review.java
2389
package org.tourgune.mdp.amazon.bean; import java.util.Date; public class Review { private int idAccommodation; private Date scrapingDate; private int idSegment; private String typeTrip; private String segment; private String typeRoom; private int stayNights; private String withPet; // private String subSeg...
apache-2.0
AntonGavr92/agavrikov
chapter_007/src/main/java/ru/job4j/task/Hero.java
990
package ru.job4j.task; /** * Класс описывающий героя игры bomberman. * @author agavrikov * @since 27.07.2017 * @version 1 */ public class Hero { /** * Текущая позиция героя в строке. */ final int row; /** * Текущая позиция героя в колонке. */ final int col; /** * Ин...
apache-2.0
ettoremaiorana/ReconcilerServer
src/main/java/com/fourcasters/forec/reconciler/server/EventHandler.java
142
package com.fourcasters.forec.reconciler.server; /** * Created by ivan on 08/09/17. */ public interface EventHandler { int handle(); }
apache-2.0
iRobotCorporation/djinni
test-suite/generated-src/jni/NativeInterfaceEncapsulator.cpp
4916
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from interface_inheritance.djinni #include "NativeInterfaceEncapsulator.hpp" // my header #include "NativeBaseCppInterfaceInheritance.hpp" #include "NativeBaseObjcJavaInterfaceInheritance.hpp" #include "NativeSubObjcJavaInterfaceInheritance.hpp" ...
apache-2.0
Aloomaio/googleads-python-lib
examples/ad_manager/v201811/proposal_service/submit_proposals_for_approval.py
2333
#!/usr/bin/env python # # Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
apache-2.0
DavidS/pdk
spec/acceptance/support/contain_valid_junit_xml.rb
570
require 'rspec/xsd' class RSpec::XSD::Matcher attr_reader :errors end RSpec::Matchers.define :contain_valid_junit_xml do match do |text| xsd = File.join(RSpec.configuration.fixtures_path, 'JUnit.xsd') @matcher = RSpec::XSD::Matcher.new(xsd, nil) @matcher.matches?(text) end description do 'con...
apache-2.0
tangxin983/easy-mybatis
src/test/java/com/github/tx/mybatis/test/AbstractMybatisTest.java
1303
package com.github.tx.mybatis.test; import java.io.Reader; import java.sql.Connection; import org.apache.ibatis.io.Resources; import org.apache.ibatis.jdbc.ScriptRunner; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryB...
apache-2.0
Ariah-Group/Finance
af_webapp/src/main/java/org/kuali/kfs/module/purap/document/service/impl/B2BPurchaseOrderSciquestServiceImpl.java
34989
/* * Copyright 2006-2008 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by...
apache-2.0
bremond/siconos
mechanics/src/joints/JointFrictionR.cpp
3286
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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
googleapis/google-api-java-client-services
clients/google-api-services-dialogflow/v3/1.31.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard.java
3654
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
apache-2.0
MobileManAG/KURAVIS
src/main/java/com/mobileman/kuravis/core/util/JsonUtil.java
974
/******************************************************************************* * Copyright 2015 MobileMan GmbH * www.mobileman.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 * ...
apache-2.0
googleads/google-ads-php
src/Google/Ads/GoogleAds/V8/Errors/UrlFieldErrorEnum.php
851
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v8/errors/url_field_error.proto namespace Google\Ads\GoogleAds\V8\Errors; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Container for enum d...
apache-2.0
TKnudsen/ComplexDataObject
src/main/java/com/github/TKnudsen/ComplexDataObject/model/scoring/functions/BooleanAttributeScoringFunction.java
4405
package com.github.TKnudsen.ComplexDataObject.model.scoring.functions; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.function.Function; import com.fasterxml.jackson.annotation.JsonIgnore; import com.github.TKn...
apache-2.0
hmcfletch/cache-money
lib/cache_money.rb
1216
$LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rubygems' require 'active_support' require 'active_record' require 'cash/lock' require 'cash/transactional' require 'cash/write_through' require 'cash/finders' require 'cash/buffered' require 'cash/index' require 'cash/config' require 'cash/accessor' require 'cash/...
apache-2.0
ArcherCraftStore/ArcherVMPeridot
apps/owncloud/htdocs/lib/private/user.php
16044
<?php /** * ownCloud * * @author Frank Karlitschek * @copyright 2012 Frank Karlitschek frank@owncloud.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE * License as published by the Free Software Foundation; either * versi...
apache-2.0
caiiiyua/UnifiedApp
src/org/caiiiyua/unifiedapp/utils/ContentProviderTask.java
4944
/* * Copyright (C) 2012 Google Inc. * Licensed to 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 ...
apache-2.0
ygorshenin/omim
routing/cross_mwm_connector.cpp
448
#include "routing/cross_mwm_connector.hpp" namespace routing { namespace connector { std::string DebugPrint(WeightsLoadState state) { switch (state) { case WeightsLoadState::Unknown: return "Unknown"; case WeightsLoadState::ReadyToLoad: return "ReadyToLoad"; case WeightsLoadState::NotExists: return "NotExist...
apache-2.0
RotatingFans/govmomi
govc/flags/virtual_machine.go
2625
/* Copyright (c) 2014-2015 VMware, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
apache-2.0
alien4cloud/alien4cloud
alien4cloud-rest-it/src/test/java/alien4cloud/it/topology/TopologyStepDefinitions.java
39592
package alien4cloud.it.topology; import static alien4cloud.it.utils.TestUtils.getFullId; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; im...
apache-2.0
java110/MicroCommunity
java110-bean/src/main/java/com/java110/dto/msg/SmsDto.java
997
package com.java110.dto.msg; import com.java110.dto.PageDto; import java.io.Serializable; import java.util.Date; /** * @ClassName FloorDto * @Description 消息数据层封装 * @Author wuxw * @Date 2019/4/24 8:52 * @Version 1.0 * add by wuxw 2019/4/24 **/ public class SmsDto extends PageDto implements Serializable { ...
apache-2.0
mogoweb/365browser
app/src/main/java/org/chromium/device/mojom/NfcRecordTypeFilter.java
3567
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file is autogenerated by: // mojo/public/tools/bindings/mojom_bindings_generator.py // For: // services/device/public/interfaces/nfc.mojo...
apache-2.0
shalinmangar/solr-jmh-tests
src/main/java/DataGen.java
2241
import org.noggit.CharArr; import org.noggit.JSONWriter; import java.io.*; import java.net.URL; import java.nio.charset.Charset; public class DataGen { public static void main(String[] args) throws IOException { if (args.length < 1) { System.err.println("Usage: java -cp ./target/benchmarks.jar...
apache-2.0
jboilesen/openbel-webtools
app/controllers/belfiles_controller.rb
9015
require 'open-uri' require 'json' require 'bel' class BelfilesController < ApplicationController respond_to :html, :json BELFILES_FOLDER = "public/belfiles/" def build_graph(graph, statement) if graph.is_a?(Graph) && statement.is_a?(Statement) ## 1. identify statement type ## 2. find nodes an...
apache-2.0
SalmanTKhan/MyAnimeViewer
app/src/main/java/com/taskdesignsinc/android/myanimeviewer/fragment/LibraryMaterialFragment.java
60204
package com.taskdesignsinc.android.myanimeviewer.fragment; import android.annotation.TargetApi; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import ...
apache-2.0
ryandcarter/hybris-connector
src/main/java/org/mule/modules/hybris/model/CompositeCronJobDTO.java
4212
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // 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: 2013.11.29 at 12:35...
apache-2.0
spohnan/geowave
test/src/main/java/org/locationtech/geowave/test/KuduLocal.java
9524
/** * Copyright (c) 2013-2019 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Version 2....
apache-2.0
GitHubAFeng/AFengAndroid
app/src/main/java/com/afeng/xf/ui/home/AboutMeActivity.java
637
package com.afeng.xf.ui.home; import android.os.Bundle; import com.afeng.xf.R; import com.afeng.xf.base.BaseActivity; import com.afeng.xf.utils.AFengUtils.StatusBarUtil; /** * Created by Administrator on 2017/6/26. */ public class AboutMeActivity extends BaseActivity { @Override protected int getLayoutI...
apache-2.0
wbsimms/TouchPiano
SimpleBuzzer/Resources.Designer.cs
1297
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------...
apache-2.0
vyouzhis/tea
src/com/lib/manager/admin_index.java
1006
package com.lib.manager; import org.ppl.BaseClass.Permission; import org.ppl.common.ShowMessage; public class admin_index extends Permission { public admin_index() { // TODO Auto-generated constructor stub String className = this.getClass().getCanonicalName(); // stdClass = className; super.GetSu...
apache-2.0
mozilla-metrics/akela
src/main/java/com/mozilla/pig/eval/regex/EncodeChromeUrl.java
1589
/** * Copyright 2010 Mozilla Foundation * * 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 Lice...
apache-2.0
ma459006574/pentaho-kettle
ui/src/org/pentaho/di/ui/core/dialog/Splash.java
9220
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
apache-2.0
akiss77/glutin
src/android/mod.rs
8925
extern crate android_glue; use libc; use std::ffi::{CString}; use std::sync::mpsc::{Receiver, channel}; use {CreationError, Event, WindowBuilder}; use CreationError::OsError; use events::ElementState::{Pressed, Released}; use events::Event::{MouseInput, MouseMoved}; use events::MouseButton::LeftMouseButton; use std::...
apache-2.0
alesj/hs-data-poc
config/src/test/java/me/snowdrop/data/hibernatesearch/config/jpa/standalone/ops/repository/jpa/StandaloneJpaOpsRepository.java
947
/* * Copyright 2017 Red Hat, Inc, and individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
shs96c/buck
src/com/facebook/buck/jvm/java/lang/model/MoreElements.java
7041
/* * Copyright 2017-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
lukiano/monadasync
scalaz/src/main/scala/monadasync/AsyncSemaphore.scala
4823
package monadasync import java.util.concurrent.RejectedExecutionException import scalaz.syntax.catchable._ import scalaz.syntax.monad._ import MonadAsync.syntax._ import scalaz.{ -\/, \/-, Catchable, Monad } // Based on the one from Twitter-Util, but applies to any MonadAsync class AsyncSemaphore[F[_]: MonadAsync: ...
apache-2.0
ranoble/Megapode
src/main/java/com/gravspace/calculation/form/CookieParser.java
1690
package com.gravspace.calculation.form; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.apache.http.Header; import scala.concurrent.Future; import akka.actor.ActorRef; import akka.actor.Unt...
apache-2.0
migzai/irc-api
src/test/java/com/ircclouds/irc/api/comms/MockConnectionImpl.java
1268
package com.ircclouds.irc.api.comms; import java.io.*; import java.net.*; import java.nio.*; import javax.net.ssl.*; import mockit.*; public class MockConnectionImpl implements IConnection { private BufferedReader reader; private String filename; private CharBuffer buffer = CharBuffer.allocate(2048...
apache-2.0
icza/sc2gears
src-sc2gearspluginapi/hu/belicza/andras/sc2gearspluginapi/impl/util/WordCloudTableInput.java
1844
/* * Project Sc2gears * * Copyright (c) 2010 Andras Belicza <iczaaa@gmail.com> * * This software is the property of Andras Belicza. * Copying, modifying, distributing, refactoring without the authors permission * is prohibited and protected by Law. */ package hu.belicza.andras.sc2gearspluginapi.impl....
apache-2.0
junkerm/specmate
bundles/specmate-nlp/src/com/specmate/nlp/util/NLPUtil.java
9974
package com.specmate.nlp.util; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Optional; import java.util.Set; import java.util.StringJoiner; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.uima.c...
apache-2.0
liquid-mind/warp
src/main/internal/java/ch/shaktipat/saraswati/internal/scheduler/ScheduleEventCommand.java
1209
package ch.shaktipat.saraswati.internal.scheduler; import ch.shaktipat.saraswati.common.Event; import ch.shaktipat.saraswati.common.TimeSpecification; import ch.shaktipat.saraswati.internal.pobject.PersistentScheduledEventImpl; import ch.shaktipat.saraswati.pobject.oid.PEventQueueOID; import ch.shaktipat.saraswati.pob...
apache-2.0
ruoyousi/wexin-poc
server/test/testReg.js
91
var tmpStr='1233214561' var regx=new RegExp("^[1-9]{10}$"); console.log(regx.test(tmpStr))
apache-2.0
jenellefeole/begood2
first.py
71
def main(): print "hello world" if __name__ == "__main__": main()
apache-2.0
omindra/schema_org_java_api
core/main/java/org/schema/api/model/thing/action/achieveAction/LoseAction.java
364
package org.schema.api.model.thing.action.achieveAction; import org.schema.api.model.thing.action.achieveAction.AchieveAction; import org.schema.api.model.thing.Person; public class LoseAction extends AchieveAction { private Person winner; public Person getWinner() { return winner; } public void setWinner(Pe...
apache-2.0
kward/venue
touchosc/request.go
3662
package touchosc import ( "fmt" "github.com/golang/glog" "github.com/kward/go-osc/osc" ) // request holds the raw OSC message, and its lexed equivalent. type request struct { msg *osc.Message // Lexed values. request string version string layout string page string control string command string bank ...
apache-2.0
crosbymichael/containerd
cmd/ctr/app/main.go
3643
/* 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
LenaShervarly/TreasureHunting
android/src/com/home/jsquad/knowhunt/android/location/LocationService.java
3328
package com.home.jsquad.knowhunt.android.location; import android.app.Service; import android.content.Intent; import android.location.Location; import android.os.Bundle; import android.os.IBinder; import android.support.annotation.Nullable; import com.google.android.gms.common.ConnectionResult; import com.google.andr...
apache-2.0
zmc969213509/eyts
app/src/main/java/com/guojianyiliao/eryitianshi/Utils/db/HomeDoctorDao.java
2590
package com.guojianyiliao.eryitianshi.Utils.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.guojianyiliao.eryitianshi.Data.entity.Inquiry; import java.util.ArrayList; import java.util.List; /** * Cre...
apache-2.0
google-code-export/google-api-dfp-java
src/com/google/api/ads/dfp/v201306/InvalidColorErrorReason.java
2869
/** * InvalidColorErrorReason.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; public class InvalidColorErrorReason implements java.io.Serializable { private java.lang.String _value_; private...
apache-2.0
jyx2020/emi
emiClient/emi/app/src/main/java/com/jyx/emi/Adapter/SearchHistoryAdapter.java
1222
package com.jyx.emi.Adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.jyx.emi.R; import org.w3c.dom.Text; import java.util.List; /** * Created by Admini...
apache-2.0
googleapis/java-datastore
google-cloud-datastore/src/test/java/com/google/cloud/datastore/testing/ITLocalDatastoreHelperTest.java
7602
/* * Copyright 2015 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...
apache-2.0
GoogleCloudPlatform/django-cloud-deploy
django_cloud_deploy/crash_handling/__init__.py
6296
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
apache-2.0
clafonta/canyon
test/web/org/tll/canyon/buildtools/EscapeHtmlEntities.java
2364
/** * */ package org.tll.canyon.buildtools; import java.io.IOException; import java.io.Reader; import org.apache.commons.lang.StringEscapeUtils; import org.apache.tools.ant.filters.BaseParamFilterReader; import org.apache.tools.ant.filters.ChainableReader; /** * @author Mika * */ public class ...
apache-2.0
skjolber/external-nfc-api
core/src/main/java/com/github/skjolber/nfc/command/remote/CommandWrapper.java
4466
package com.github.skjolber.nfc.command.remote; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import com.github.skjolber.nfc.acs.AcrReader; public class CommandWrapper { private static final String TAG = CommandWrapper.class.getName(); protected byte[] returnValue(Integer picc, Exc...
apache-2.0
mduerig/jackrabbit-oak
oak-run/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/NodeStateEntrySorter.java
6644
/* * 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