code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
import React from 'react';
import planList from './plans';
import {paymentCountries} from './config';
import Popover from 'material-ui/Popover';
class PlanDetails extends React.Component {
constructor(props) {
super(props);
this.state = {
selectedPlan: planList[0],
openPlanS... | CloudBoost/cloudboost | payment-ui/src/planDetails.js | JavaScript | apache-2.0 | 3,357 |
package com.saq.android.data;
public class AccompagnementReference extends Reference {
}
| cipicip/android | saq.forked/app/src/main/java/com/saq/android/data/AccompagnementReference.java | Java | apache-2.0 | 90 |
/*
* Mark Benjamin 6th March 2019
* Copyright (c) 2019 Mark Benjamin
*/
#ifndef FASTRL_DOMAIN_SINGLEAGENT_POMDP_TIGER_TIGER_DOMAIN_HPP
#define FASTRL_DOMAIN_SINGLEAGENT_POMDP_TIGER_TIGER_DOMAIN_HPP
class TigerDomain {
};
#endif //FASTRL_DOMAIN_SINGLEAGENT_POMDP_TIGER_TIGER_DOMAIN_HPP
| MarkieMark/fastrl | src/domain/singleagent/pomdp/tiger/tiger_domain.hpp | C++ | apache-2.0 | 293 |
package com.redhat.ceylon.compiler.java.runtime.tools.impl;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.HashMap;
import java.util.HashSet;
im... | jvasileff/ceylon.language | runtime/com/redhat/ceylon/compiler/java/runtime/tools/impl/JavaRunnerImpl.java | Java | apache-2.0 | 11,825 |
import {ApiFile} from '../api/api_interfaces';
import {Directory, File, PathSpecPathType} from '../models/vfs';
import {assertEnum, assertKeyNonNull, assertNonNull} from '../preconditions';
import {isStatEntry, translateHashToHex, translateStatEntry} from './flow';
import {createDate} from './primitive';
const VFS_PA... | google/grr | grr/server/grr_response_server/gui/ui/lib/api_translation/vfs.ts | TypeScript | apache-2.0 | 1,901 |
package fm.jiecao.jcvideoplayer_lib;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.media.AudioManager;
import android.media.M... | Wilshion/HeadlineNews | jcvideoplayer-lib/src/main/java/fm/jiecao/jcvideoplayer_lib/JCVideoPlayer.java | Java | apache-2.0 | 44,269 |
/*
* Copyright 2017 Basis Technology Corp.
*
* 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... | rosette-api/java | model/src/main/java/com/basistech/rosette/apimodel/batch/BatchResponse.java | Java | apache-2.0 | 1,143 |
/**
* @author Roman Lotnyk(romanlotnik@yandex.ru)
* @version 1
* @since 16.09.2017
*/
package ru.lotnyk.todo_list.repository; | RomanLotnyk/lotnyk | chapter_010/src/main/java/ru/lotnyk/todo_list/repository/package-info.java | Java | apache-2.0 | 129 |
# Copyright 2013, Big Switch Networks
#
# 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... | spandanb/horizon | openstack_dashboard/dashboards/project/routers/extensions/routerrules/forms.py | Python | apache-2.0 | 4,117 |
class CreateProfessions < ActiveRecord::Migration
def change
create_table :professions do |t|
t.string :name
t.timestamps null: false
end
end
end
| Eptikar-IT-Solutions/openngo | db/migrate/20151126124435_create_professions.rb | Ruby | apache-2.0 | 171 |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package org.jsimpledb.kv;
/**
* Thrown when an operation on a {@link KVTransaction} fails.
*/
@SuppressWarnings("serial")
public class KVTransactionException extends KVDatabaseException {
private final KVTransaction kvt;
public KVTransact... | tempbottle/jsimpledb | src/java/org/jsimpledb/kv/KVTransactionException.java | Java | apache-2.0 | 1,096 |
package org.ovirt.engine.ui.uicommonweb.models.vms;
import org.ovirt.engine.core.common.businessentities.VM;
import org.ovirt.engine.core.common.queries.GetAllAuditLogsByVMNameParameters;
import org.ovirt.engine.core.common.queries.VdcQueryType;
public class UserPortalVmEventListModel extends VmEventListModel {
... | derekhiggins/ovirt-engine | frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UserPortalVmEventListModel.java | Java | apache-2.0 | 721 |
namespace JSLintNet.Models
{
/// <summary>
/// Contains the details of a JSLint error.
/// </summary>
public interface IJSLintError
{
/// <summary>
/// Gets the line (relative to 0) at which the lint was found.
/// </summary>
int Line { get; }
/// <summary>
... | ajayanandgit/jslintnet | source/JSLintNet/Models/IJSLintError.cs | C# | apache-2.0 | 885 |
<?php
namespace ProjetoAngular\Entities;
use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\A... | ygc27/laravel-angular | app/Entities/User.php | PHP | apache-2.0 | 1,196 |
import calendar
c = calendar.TextCalendar(calendar.SUNDAY)
c.prmonth(2017, 7)
| jasonwee/asus-rt-n14uhp-mrtg | src/lesson_dates_and_times/calendar_textcalendar.py | Python | apache-2.0 | 79 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/ListRemoteAccessSessionsRequest.java | Java | apache-2.0 | 6,247 |
#include <halley/support/exception.h>
#include "halley/tools/cli_tool.h"
#include "halley/tools/codegen/codegen_tool.h"
#include "halley/tools/distance_field/distance_field_tool.h"
#include "halley/tools/make_font/make_font_tool.h"
#include "halley/tools/assets/import_tool.h"
#include "halley/tools/packer/asset_packer_... | amzeratul/halley | src/tools/tools/src/tool/cli_tool.cpp | C++ | apache-2.0 | 2,287 |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | RobAltena/deeplearning4j | deeplearning4j/deeplearning4j-nearestneighbors-parent/nearestneighbor-core/src/main/java/org/deeplearning4j/clustering/util/MathUtils.java | Java | apache-2.0 | 42,321 |
package com.dhian;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ComposeShader;
import android.graphics.LinearGradient;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.grap... | DhianRusdhiana/CustomTema | CustomTema/app/src/main/java/com/dhian/AmbilWarnaSquare.java | Java | apache-2.0 | 1,442 |
package com.kevin.mirs.vo;
public class LoginUser {
private String username;
private String password;
private String captcha;
// FIXME: 2016/11/20 奇怪,不加上默认构造器就出错
public LoginUser() {
}
public LoginUser(String username, String password, String captcha) {
this.username = username;... | firery/mirs | src/main/java/com/kevin/mirs/vo/LoginUser.java | Java | apache-2.0 | 1,131 |
/*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... | aslanbekirov/crate | sql/src/test/java/io/crate/operation/scalar/cast/ToShortFunctionTest.java | Java | apache-2.0 | 3,778 |
/*-
*
* * Copyright 2015 Skymind,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
* *
* * ... | huitseeker/nd4j | nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/FloatBuffer.java | Java | apache-2.0 | 4,583 |
class Loader(object):
"""
Base class of every Loaders
"""
def __init__(self, scheduler):
"""
:param host: the scheduler
"""
self._scheduler = scheduler
self._nodes = []
self._links = []
def get_nodes(self):
"""
:re... | IntegrCiTy/obnl | obnl/core/impl/loaders.py | Python | apache-2.0 | 2,342 |
using System;
using System.Collections.Generic;
namespace DapperDal.Test.Entities
{
public class PersonEntity
{
public long PersonId { get; set; }
public string PersonName { get; set; }
public int CarId { get; set; }
public DateTime CreateTime { get; set; }
public Da... | arbing/DapperDal | test/DapperDal.Test/Entities/PersonEntity.cs | C# | apache-2.0 | 405 |
package org.codingmatters.value.objects.values.vals.json;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import org.codingmatters.value.objects.values.vals.Val;
import java.io.IOException;
public class ValReader {
public Val read(JsonParser parser) throws IOException {... | nelt/codingmatters-value-objects | cdm-value-objects-values/src/main/java/org/codingmatters/value/objects/values/vals/json/ValReader.java | Java | apache-2.0 | 2,278 |
/*
Copyright (c) 2011 Serge Danzanvilliers
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... | sdanzan/SimpleConcurrency | src/Samples/SimpleActorsExamples/SimpleLoop.cs | C# | apache-2.0 | 1,123 |
package com.example.jmcruzya.intentapplication;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ListView;
import android.widget.TextView;
public class DetailsActivity extends AppCompatActivity implements View.OnC... | juanman12/CursoAppTelefonica | IntentApplication/app/src/main/java/com/example/jmcruzya/intentapplication/DetailsActivity.java | Java | apache-2.0 | 1,846 |
package fr.javatronic.blog.massive.annotation2;
import fr.javatronic.blog.processor.Annotation_002;
@Annotation_002
public class Class_588 {
}
| lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation2/Class_588.java | Java | apache-2.0 | 145 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-iot1clickdevices/src/main/java/com/amazonaws/services/iot1clickdevices/model/transform/DeviceEventJsonUnmarshaller.java | Java | apache-2.0 | 2,935 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/transform/DeleteFlowRequestProtocolMarshaller.java | Java | apache-2.0 | 2,596 |
package com.github.mozvip.subtitles.cli;
import picocli.CommandLine;
import java.nio.file.Path;
import java.nio.file.Paths;
public class PathConverter implements CommandLine.ITypeConverter<Path> {
@Override
public Path convert(String value) {
return Paths.get(value);
}
}
| mozvip/subtitles-finder | src/main/java/com/github/mozvip/subtitles/cli/PathConverter.java | Java | apache-2.0 | 295 |
package Graph;
// http://blog.csdn.net/hawksoft/article/details/7687730
public class KruskalTest {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
/* /// <summary>
/// ͼÀ࣬ÓɽڵãºÍ±ß¹¹³É.
/// </summary>
public class Graphic
{
p... | coodoing/AlgoTraining | src/Graph/KruskalTest.java | Java | apache-2.0 | 2,122 |
package com.example.cpv.domain.util;
import java.time.*;
import java.util.Date;
import org.springframework.core.convert.converter.Converter;
public final class JSR310DateConverters {
private JSR310DateConverters() {}
public static class LocalDateToDateConverter implements Converter<LocalDate, Date> {
... | borisbsu/continious-delivery-test | src/main/java/com/example/cpv/domain/util/JSR310DateConverters.java | Java | apache-2.0 | 2,855 |
// Copyright (C) LINBIT HA-Solutions GmbH
// All Rights Reserved.
// Author: Roland Kammerer <roland.kammerer@linbit.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.... | libopenstorage/stork | vendor/github.com/LINBIT/golinstor/client/node.go | GO | apache-2.0 | 14,405 |
/*
* Copyright 2013-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... | illicitonion/buck | src/com/facebook/buck/apple/AppleLibraryDescription.java | Java | apache-2.0 | 18,900 |
/*
* Copyright 2014-2015 See AUTHORS file.
*
* 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... | StQuote/VisEditor | UI/src/com/kotcrab/vis/ui/widget/VisValidatableTextField.java | Java | apache-2.0 | 5,025 |
import {Injectable} from "@angular/core";
import {Http} from "@angular/http";
import {Observable} from "rxjs/Observable";
import {BaseService} from "./base-service";
import {Note} from "../classes/note";
import {Status} from "../classes/status";
@Injectable()
export class NoteService extends BaseService {
constructor... | kdilts/aaaa-capstone | app/services/note-service.ts | TypeScript | apache-2.0 | 1,834 |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-route53domains/source/model/OperationStatus.cpp | C++ | apache-2.0 | 3,277 |
/*------------------------------------------------------------------------------
* COPYRIGHT Ericsson 2015
*
* The copyright to the computer program(s) herein is the property of
* Ericsson Inc. The programs may be used and/or copied only with written
* permission from Ericsson Inc. or in accordance with the terms ... | supercyc/jigsaw-redis | src/main/java/com/ericsson/jigsaw/redis/replication/impl/ReplicaUtiils.java | Java | apache-2.0 | 10,969 |
/* * Copyright (c) 2012-2013, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file channeltls.c
* \brief channel_t concrete subclass using or_connection_t
**/
/*
* Define this so channel.h gives us things only channel_t subclasses
* should touch.
*/
#define TOR_CHANNEL_INTERNAL_
#i... | shwetasshinde24/Panoply | case-studies/tor/src/TorEnclave/or/channeltls.cpp | C++ | apache-2.0 | 68,365 |
# begin: ragel
=begin
=end
# end: ragel
require_relative '../ast/node'
require_relative '../mixin/buffer'
require_relative '../nonblocking_io_wrapper'
require_relative '../tracer'
module BELParser
module Parsers
module Common
module MultiIdentifier
class << self
MAX_LENGTH = 1024 * ... | OpenBEL/bel_parser | lib/bel_parser/parsers/common/multi_identifier.rb | Ruby | apache-2.0 | 5,360 |
package io.dropwizard.hibernate;
import com.codahale.metrics.MetricRegistry;
import io.dropwizard.db.DataSourceFactory;
import io.dropwizard.db.ManagedPooledDataSource;
import io.dropwizard.lifecycle.setup.LifecycleEnvironment;
import io.dropwizard.logging.BootstrapLogging;
import io.dropwizard.setup.Environment;
impo... | dropwizard/dropwizard | dropwizard-hibernate/src/test/java/io/dropwizard/hibernate/SessionFactoryFactoryTest.java | Java | apache-2.0 | 6,690 |
<?php
namespace spec\BlockCypher\AppWallet\Infrastructure\Persistence\Flywheel\Document;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class EncryptedWalletDocumentSpec extends ObjectBehavior
{
} | blockcypher/php-wallet-sample | spec/BlockCypher/AppWallet/Infrastructure/Persistence/Flywheel/Document/EncryptedWalletDocumentSpec.php | PHP | apache-2.0 | 203 |
#!/usr/bin/env python
import os
from glob import glob
if os.environ.get('USE_SETUPTOOLS'):
from setuptools import setup
setup_kwargs = dict(zip_safe=0)
else:
from distutils.core import setup
setup_kwargs = dict()
storage_dirs = []
for subdir in ('whisper', 'ceres', 'rrd', 'log', 'log/webapp'):
storage_d... | SEJeff/graphite-web | setup.py | Python | apache-2.0 | 1,530 |
/*******************************************************************************
* Copyright 2008-2013 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... | emcvipr/dataservices-sdk-dotnet | AWSSDK/Amazon.S3/Model/GetBucketTaggingRequest.cs | C# | apache-2.0 | 2,429 |
package server
import (
log "github.com/mgutz/logxi/v1"
"github.com/hashicorp/serf/serf"
)
const (
// StatusReap is used to update the status of a node if we
// are handling a EventMemberReap
StatusReap = serf.MemberStatus(-1)
)
// SerfReconciler dispatches membership changes to Raft. If IsLeader is nil,
// th... | blacklabeldata/kappa | server/serf.go | GO | apache-2.0 | 4,829 |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.querytransform;
import com.yahoo.component.chain.Chain;
import com.yahoo.prelude.Index;
import com.yahoo.prelude.IndexFacts;
import com.yahoo.prelude.IndexModel;
import com.yahoo.prelude.Se... | vespa-engine/vespa | container-search/src/test/java/com/yahoo/search/querytransform/WandSearcherTestCase.java | Java | apache-2.0 | 9,211 |
// Copyright 2016 IBM 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 or... | kimikowang/istio_vms | pkg/adapters/rules/kubernetes/routingrule.go | GO | apache-2.0 | 3,784 |
/*
* Copyright 2018 Mikhail Shiryaev
*
* 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... | RapidScada/scada | ScadaComm/OpenKPs/KpModbus/Modbus/DeviceTemplateFactory.cs | C# | apache-2.0 | 1,331 |
/*
* Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | maheshika/carbon-appmgt | components/appmgt/org.wso2.carbon.appmgt.impl/src/main/java/org/wso2/carbon/appmgt/impl/workflow/UserSignUpWorkflowExecutor.java | Java | apache-2.0 | 2,414 |
package net.dev123.mblog.entity;
public enum UnreadType {
COMMENT(1),
METION(2),
DIRECT_MESSAGE(3),
FOLLOWER(4);
private int type;
private UnreadType(int type) {
this.type = type;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
}
| yibome/yibo-library | src/main/java/net/dev123/mblog/entity/UnreadType.java | Java | apache-2.0 | 296 |
// Copyright 2016 Yahoo Inc.
// Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms.
package com.yahoo.bard.webservice.web.apirequest;
/**
* Jobs API Request. Such an API Request binds, validates, and models the parts of a request to the Jobs endpoint.
*/
p... | yahoo/fili | fili-core/src/main/java/com/yahoo/bard/webservice/web/apirequest/JobsApiRequest.java | Java | apache-2.0 | 511 |
/*******************************************************************************
* Copyright 2012 Apigee 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.... | pgorla/usergrid | mongo-emulator/src/main/java/org/usergrid/mongo/commands/Getlasterror.java | Java | apache-2.0 | 1,962 |
/**
*
*/
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.bbg.loader;
import java.net.URI;
import java.util.Map;
import org.testng.annotations.Test;
import com.google.common.collect.Sets;
import com.open... | nssales/OG-Platform | projects/OG-Bloomberg/src/test/java/com/opengamma/bbg/loader/BondLoaderTest.java | Java | apache-2.0 | 1,082 |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "{{%language}}".
*
* @property integer $id
* @property string $language
* @property string $icon
*/
class Language extends \yii\db\ActiveRecord
{
public $filename;
public $file;
public $path_s;
public $img_id;
/**
* @... | n34n/nxshop | backend/models/Language.php | PHP | apache-2.0 | 1,341 |
import NetRegexes from '../../../../../resources/netregexes';
import ZoneId from '../../../../../resources/zone_id';
import { OopsyData } from '../../../../../types/data';
import { OopsyTriggerSet } from '../../../../../types/oopsy';
export type Data = OopsyData;
// O12N - Alphascape 4.0 Normal
const triggerSet: Oops... | quisquous/cactbot | ui/oopsyraidsy/data/04-sb/raid/o12n.ts | TypeScript | apache-2.0 | 1,673 |
/*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | datastax/java-driver | core/src/main/java/com/datastax/oss/driver/internal/core/type/codec/extras/OptionalCodec.java | Java | apache-2.0 | 2,304 |
/*
* Copyright 1999-2012 Alibaba Group.
*
* 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 ... | tupunco/Tup.Cobar4Net | Tup.Cobar4Net/Parser/Ast/Expression/Primary/Function/String/Bin.cs | C# | apache-2.0 | 1,113 |
package cn.lonecloud.util;
public class StringUtil {
}
| lonecloudStudy/QQMail | QQMail/src/main/java/cn/lonecloud/util/StringUtil.java | Java | apache-2.0 | 57 |
package com.borqs.server.market.utils.mybatis;
import org.apache.ibatis.session.SqlSession;
public interface SqlSessionHandler<T> {
T handleSession(SqlSession session) throws Exception;
}
| wutongservice/virtualgoogdsman | Server/src/main/java/com/borqs/server/market/utils/mybatis/SqlSessionHandler.java | Java | apache-2.0 | 195 |
package com.ilad.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
public class ElementOperations {
WebDriver driver;
WebDriverWait wait;
... | chelgo/Infinity-automization | topq/src/test/java/com/ilad/pages/ElementOperations.java | Java | apache-2.0 | 1,241 |
package com.medievallords.carbyne.duels.duel;
import com.medievallords.carbyne.Carbyne;
import com.medievallords.carbyne.duels.arena.Arena;
import com.medievallords.carbyne.duels.duel.request.DuelRequest;
import com.medievallords.carbyne.duels.duel.types.RegularDuel;
import com.medievallords.carbyne.duels.duel.types.S... | YoungOG/CarbyneCore | src/com/medievallords/carbyne/duels/duel/DuelManager.java | Java | apache-2.0 | 4,655 |
/**
* 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... | kevinearls/camel | camel-core/src/test/java/org/apache/camel/processor/ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest.java | Java | apache-2.0 | 4,945 |
/**********************************************************************************
* $URL: https://source.sakaiproject.org/svn/osp/tags/sakai-10.1/common/tool-lib/src/java/org/theospi/portfolio/style/tool/AddStyleController.java $
* $Id: AddStyleController.java 105079 2012-02-24 23:08:11Z ottenhoff@longsight.com $
***... | harfalm/Sakai-10.1 | osp/common/tool-lib/src/java/org/theospi/portfolio/style/tool/AddStyleController.java | Java | apache-2.0 | 7,587 |
package com.vxml.tag;
import org.w3c.dom.Node;
import com.vxml.core.browser.VxmlBrowser;
public class ElseTag extends AbstractTag {
public ElseTag(Node node) {
super(node);
}
@Override
public void startTag() {
}
@Override
public void execute() {
Boolean isIfCondition =... | catchme1412/vxml-player | com.vxml.browser/src/main/java/com/vxml/tag/ElseTag.java | Java | apache-2.0 | 583 |
/*
* 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 ... | gzsombor/ranger | security-admin/src/main/java/org/apache/ranger/rest/AssetREST.java | Java | apache-2.0 | 27,720 |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | consulo/consulo-android | android/android/src/com/android/tools/idea/avdmanager/CreateDeviceAction.java | Java | apache-2.0 | 1,454 |
package ru.stqa.pft.mantis.appmanager;
import org.openqa.selenium.By;
import ru.lanwen.verbalregex.VerbalExpression;
import ru.stqa.pft.mantis.model.MailMessage;
import ru.stqa.pft.mantis.model.UserData;
import javax.mail.MessagingException;
import java.io.IOException;
import java.sql.*;
import java.util.Li... | AlexVprofit/java_pft_39 | mantis-tests/src/test/java/ru/stqa/pft/mantis/appmanager/ChangePassHelper.java | Java | apache-2.0 | 4,398 |
using System;
using System.Collections.Generic;
namespace Rosie.ZWave
{
public class ZWaveNode
{
public byte Id { get; set; }
public uint HomeId { get; set; }
public string Name { get; set; }
public string Location { get; set; }
public string Label { get; set; }
public string Manufacturer { get; set; ... | Clancey/Rosie | src/ZWave/Rosie.ZWave/ZWaveNode.cs | C# | apache-2.0 | 431 |
import java.util.*;
public class Splitting{
public static String knights = "Then, when you have found the shrubbery," +
" you must cut down the mightiest tree in the forest... " +
"with... a herring!";
public static void splitting(String re... | Vayne-Lover/Java | thinking-in-java/chapter13/Splitting.java | Java | apache-2.0 | 530 |
package com.netflix.priam;
import java.util.Arrays;
import java.util.List;
import com.google.common.collect.Lists;
import com.google.inject.Singleton;
import com.netflix.priam.IConfiguration;
import com.netflix.priam.defaultimpl.PriamConfiguration;
@Singleton
public class FakeConfiguration implements IConfiguration
... | eg-eng/Priam | priam/src/test/java/com/netflix/priam/FakeConfiguration.java | Java | apache-2.0 | 10,037 |
/**
* Created by Pawan on 1/4/2016.
*/
/**
* Created by Pawan on 12/11/2015.
*/
(function () {
var commoncontroller = function ($http,$mdDialog,$mdMedia) {
var showConfirm = function(title, label, okbutton, cancelbutton, content, OkCallback, CancelCallBack, okObj) {
var confirm = $mdDialog.confirm(... | DuoSoftware/DVP-Apps | DVP-TrunkApp/scripts/services/CommonController.js | JavaScript | apache-2.0 | 1,940 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.redis;
import java.net.URISyntaxException;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.camel.spi.EndpointUriFactory;
/**... | nicolaferraro/camel | components/camel-spring-redis/src/generated/java/org/apache/camel/component/redis/RedisEndpointUriFactory.java | Java | apache-2.0 | 2,222 |
// stdafx.cpp : source file that includes just the standard includes
// StatCrunch.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file | SneakyTactician/Code_Base | StatCrunch/stdafx.cpp | C++ | apache-2.0 | 288 |
package com.test.coolweather.model;
/**
* 市实体类
*
* @author sungang
*
*/
public class City {
private int id;
private String cityName;
private String cityCode;
private int provinceId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCityName() {
retu... | sgiceleo/coolweather | src/com/test/coolweather/model/City.java | Java | apache-2.0 | 689 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package es.tid.emulator.node.transport.rsvp;
import java.util.Timer;
/**
*
* @author fmn
*/
public class RSVPSession extends Thread {
private RSVPListener listener;
private RSVPSender sender;
private ... | telefonicaid/netphony-gmpls-emulator | src/main/java/es/tid/emulator/node/transport/rsvp/RSVPSession.java | Java | apache-2.0 | 1,000 |
// Copyright 2020 PingCAP, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | c4pt0r/tidb | br/pkg/lightning/restore/check_info.go | GO | apache-2.0 | 35,743 |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
package vnmr.templates;
import java.awt.*;
import java.awt.event.*;
import ... | OpenVnmrJ/OpenVnmrJ | src/vnmrj/src/vnmr/templates/VElement.java | Java | apache-2.0 | 8,486 |
/*
* @license
* Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.
*
* Use of this source code is governed by an Apache-2.0 license that can be
* found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE
*/
import { CommonModule } from '@angular/common';
imp... | rtrompier/deja-test | src/component/monaco-editor/index.ts | TypeScript | apache-2.0 | 865 |
<?php
require_once('header.php');
?>
<body style="background: #34495e;">
<div class="container">
<header>
<h1>Contact Us<span>For Any Details Regarding the Event, Contact any one of us: <br> Mayank Gupta 9582645012 <br> Shubham Jindal 9899269537<br>Abhay Mitra 8130243421</span></h1></h1>
</header>
</div>
... | skjindal93/Ultimate-Tic-Tac-Toe | contact.php | PHP | apache-2.0 | 327 |
/*
* Copyright 2018 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 app... | jhrcek/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-backend/src/main/java/org/kie/workbench/common/stunner/bpmn/backend/converters/customproperties/CustomAttribute.java | Java | apache-2.0 | 6,012 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-mechanicalturkrequester/src/main/java/com/amazonaws/services/mturk/model/transform/NotificationSpecificationJsonUnmarshaller.java | Java | apache-2.0 | 3,636 |
/**
* Copyright (c) 2017, Stupid Bird and/or its affiliates. All rights reserved.
* STUPID BIRD PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
* @Project : demo
* @Package : net.lizhaoweb.demo.hadoop.hdfs2mysql
* @author <a href="http://www.lizhaoweb.net">李召(John.Lee)</a>
* @EMAIL 404644381@qq.com
... | JohnLee-Organization/demo | hadoop/hdfs/mysql/src/main/java/net/lizhaoweb/demo/hadoop/hdfs2mysql/HDFS2MysqlScheduler.java | Java | apache-2.0 | 3,806 |
package org.coderswithoutborders.deglancer.func_debug.stage2;
import org.coderswithoutborders.deglancer.model.Stage;
/**
* Created by Renier on 2016/05/06.
*/
public interface IDebugStage2View {
void finishActivity();
void moveToStage3View();
void moveToStage1View();
void setStage(Stage stage);
... | coderswithoutborders/deglancer | Deglancer/app/src/main/java/org/coderswithoutborders/deglancer/func_debug/stage2/IDebugStage2View.java | Java | apache-2.0 | 356 |
/*
* Copyright (C) 2020 AlexMofer
*
* 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 ... | AlexMofer/AMWidget | mvp-ui/src/main/java/am/util/mvp/ui/MVPActivity.java | Java | apache-2.0 | 2,375 |
/**
* Opensec OVAL - https://nakamura5akihito.github.io/
* Copyright (C) 2015 Akihito Nakamura
*
* 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/... | nakamura5akihito/opensec-oval | src/main/java/io/opensec/oval/model/windows/ActiveDirectoryState.java | Java | apache-2.0 | 5,755 |
// Copyright (c) 2014 Couchbase, Inc.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
// except in compliance with the License. You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writin... | jchris/indexing | secondary/indexer/kv_sender.go | GO | apache-2.0 | 36,703 |
/*
* Copyright 2015 TripleD framework.
*
* 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... | domenique/tripled-framework | eventstore-core/src/main/java/eu/tripledframework/eventstore/domain/annotation/EP.java | Java | apache-2.0 | 1,228 |
package com.algorithm.tree;
/**
* Date 07/04/2014
*
* @author tusroy
*
* Video link - https://youtu.be/rbg7Qf8GkQ4
*
* Write a program to insert into an AVL tree.
*
* AVL tree is self balancing binary tree. Difference of height of left
* or right subtree cannot be greater th... | toanqc/algorithm | src/com/algorithm/tree/AVLTree.java | Java | apache-2.0 | 3,454 |
package io.github.ibuildthecloud.dstack.api.pubsub.model;
import java.util.List;
import io.github.ibuildthecloud.gdapi.annotation.Field;
import io.github.ibuildthecloud.gdapi.annotation.Type;
@Type(pluralName = "subscribe")
public interface Subscribe {
@Field(create = true, minLength = 1, validChars = "*._0-9a... | ibuildthecloud/dstack | code/framework/api-pub-sub/src/main/java/io/github/ibuildthecloud/dstack/api/pubsub/model/Subscribe.java | Java | apache-2.0 | 391 |
package com.anteoy.decisiveBattle.created.factories.abstractFactory;
/**
* Created by zhoudazhuang on 17-12-9.
*/
public class RedColor implements Color {
@Override
public void fill() {
System.out.println("fill red color");
}
}
| Anteoy/jottings | src/main/java/com/anteoy/decisiveBattle/created/factories/abstractFactory/RedColor.java | Java | apache-2.0 | 251 |
/*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.sun.org.apache.bcel.internal.generic;
/* ====================================================================
* The Apache Software License, Version 1.1
*
... | haikuowuya/android_system_code | src/com/sun/org/apache/bcel/internal/generic/IFEQ.java | Java | apache-2.0 | 3,961 |
var fileio = require("../fileio")();
var wildcard = require("../wildcard");
var fs = require("fs");
var items = [];
var cells = [
["Medication","dropdown"],
["Dosage","text"],
["Per Use","text"],
["Frequency","dropdown"],
["Type of Med.","text"],
["Method","text"],
["To Dispense","text"],
["PRN","checkb... | Simas2006/Treat | client/prescript/script.js | JavaScript | apache-2.0 | 4,465 |
/*
* Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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
... | opensingular/singular-core | form/core/src/main/java/org/opensingular/form/converter/SInstanceConverter.java | Java | apache-2.0 | 965 |
var searchData=
[
['all',['all',['../unionMQTT__Connect__Header__Flags.html#aac6e7ff76de4ce79fb198a5c043614ce',1,'MQTT_Connect_Header_Flags::all()'],['../unionMQTT__Connack__Header__Flags.html#ac1d68764617031a6d7f0e48c21b11807',1,'MQTT_Connack_Header_Flags::all()']]]
];
| chainlinq/boatkeeper | linux_mqtt_mbedtls-2.1.1/docs/html/search/variables_0.js | JavaScript | apache-2.0 | 273 |
# -*- coding: utf-8 -*-
'''
The crypt module manages all of the cryptography functions for minions and
masters, encrypting and decrypting payloads, preparing messages, and
authenticating peers
'''
# Import python libs
import os
import sys
import time
import hmac
import shutil
import hashlib
import logging
# Import th... | MadeiraCloud/salt | sources/salt/crypt.py | Python | apache-2.0 | 18,535 |
/*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | google/mobile-data-download | java/com/google/android/libraries/mobiledatadownload/file/openers/LockFileOpener.java | Java | apache-2.0 | 7,265 |
package com.filebreaker.samples;
import java.math.BigDecimal;
import java.util.Date;
public class Sample {
private Integer id;
private Integer helixAngle;
private Integer distanceBetweenTurns;
private Integer curvatureAngle;
private Integer curvatureRadius;
private Integer uses;
private Integer st... | FileBreaker/Manager | src/main/java/com/filebreaker/samples/Sample.java | Java | apache-2.0 | 4,470 |
// Copyright 2015 go-swagger maintainers
//
// 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... | go-openapi/swag | json_test.go | GO | apache-2.0 | 8,055 |
/*
* 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... | jexp/idea2 | platform/lvcs-impl/src/com/intellij/history/core/tree/FileEntry.java | Java | apache-2.0 | 2,874 |