code
stringlengths
4
1.01M
language
stringclasses
2 values
package ai.api.test; /*********************************************************************************************************************** * * API.AI Java SDK - client-side libraries for API.AI * ================================================= * * Copyright (C) 2014 by Speaktoit, Inc. (https://www.speaktoit....
Java
class AddResourceToVersions < ActiveRecord::Migration[6.0] def change add_column :versions, :resource_id, :integer add_column :versions, :resource_type, :string add_index :versions, [:resource_type, :resource_id] end end
Java
package org.drools.persistence; import javax.transaction.xa.XAResource; public interface PersistenceManager { XAResource getXAResource(); Transaction getTransaction(); void save(); void load(); }
Java
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Java
package com.coolweather.android; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Build; import android.preference.PreferenceManager; import android.support.v4.view.GravityCompat; import android.support.v4.view.ScrollingView; import android.suppo...
Java
# 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, ...
Java
package com.example.cdm.huntfun.activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.view.ViewPager.OnPageChangeListe...
Java
/* Copyright 2015 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
Java
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.util.version.impl; import net.sf.mmm.util.version.api.DevelopmentPhase; import net.sf.mmm.util.version.api.VersionIdentifier; /** * This is the implementation of {@link ...
Java
--- title: "Guía para ser un buen freelance por Paul Jarvis" date: 2015-08-5 10:00:00 description: Renuncié a mi trabajo en una agencia y busqué trabajar en otra agencia. Mi plan después de renunciar, era ir a la librería (no te rías, esto fue en los 90´s) para aprender como debía escribir mi CV. Como fui contratado...
Java
package Escape; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Insets; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTa...
Java
/** * 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...
Java
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Java
/** * Copyright 2011 Micheal Swiggs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Java
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const options_1 = require("./options"); class TslintFixTask { constructor(configOrPath, options) { if (options) { this._configOrPath = configOrPath; this._options = options; } else { ...
Java
// Copyright 2012-2013 The Rust Project Developers. See the // COPYRIGHT file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MI...
Java
/* * Copyright 2007 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Java
<?php namespace Tests\unit\Composer\Read\Register; use ModbusTcpClient\Packet\ModbusFunction\ReadHoldingRegistersResponse; use ModbusTcpClient\Composer\Read\Register\ByteReadRegisterAddress; use PHPUnit\Framework\TestCase; class ByteReadRegisterAddressTest extends TestCase { public function testGetSize() {...
Java
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
Java
/* * 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")...
Java
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <title></title> <link rel="stylesheet" href="css/my-css.css" media="screen" type="text/css" /> </head> <body> <img src="http://autoshanghai2015-cdn.prvalue.cn/img/p25.p...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="pl"> <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class com.google.code.play2.spm.routes.Play2RoutesSourcePositio...
Java
<!doctype html> <html> <head> <meta charset="utf-8" /> </head> <body> <h3> 标题 </h3><!-- cellpadding="2" cellspacing="0" --> <table style="width:100%;" border="1"> <tbody> <tr> <td> <h3>标题1</h3> </td> <td> <h3>标题1</h3> </td> </tr> <tr> <td> 内容1 </td> <td> ...
Java
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2014-2020 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
Java
package org.valuereporter.observation; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component...
Java
package com.lee.game; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.TextUtils; import android.view.View; i...
Java
<?php namespace Obj; class Encoder { private $key; private $cipher; private $mode; /** * * args - array( * 'hash' => hash method * 'key' => path to private key * 'encrypt' => encryption method * ) */ public function __construct($key, $cipher = MCRYPT_RIJNDAEL_128, $mode = MCRYPT_MODE_CBC) { $k...
Java
<?php /* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Java
using System; using System.Globalization; using System.Resources; using System.Diagnostics; using System.Reflection; namespace Routrek.SSHC { /// <summary> /// StringResource ‚ÌŠT—v‚Ìà–¾‚Å‚·B /// </summary> internal class StringResources { private string _resourceName; private ResourceManager _...
Java
/* * Copyright 2014 http://Bither.net * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
# Internet Exchange An Internet exchange point, also known as IX or IXP, is an infrastructure through which autonomous systems exchange traffic. An IX can be a single local LAN or it can be spread across multiple locations. ## In Peering Manager Inside Peering Manager, you create an Internet exchange to then create ...
Java
# Peperomia crinigera Trel. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace pool { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Applicat...
Java
package io.react2.scalata.exporters import com.mongodb.{WriteConcern, BulkWriteOperation, BasicDBObject, MongoClient} import io.react2.scalata.Context import io.react2.scalata.plugins.Plugin import scala.util.control.NonFatal /** * @author dbalduini */ class MongoExporter(val args: Plugin.Args) extends Exporter { ...
Java
package org.cobbzilla.util.jdbc; import java.util.regex.Matcher; import java.util.regex.Pattern; public class DbUrlUtil { public static final Pattern JDBC_URL_REGEX = Pattern.compile("^jdbc:postgresql://[\\.\\w]+:\\d+/(.+)$"); public static String setDbName(String url, String dbName) { final Matcher...
Java
/* Copyright (C) 2014 by Project Tox <https://tox.im> This file is part of qTox, a Qt-based graphical interface for Tox. This program is libre software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either v...
Java
'use strict'; var fs = require('fs'); var path = require('path'); var util = require('util'); var dbg = require('debug'); // process.env.TABTAB_DEBUG = process.env.TABTAB_DEBUG || '/tmp/tabtab.log'; var out = process.env.TABTAB_DEBUG ? fs.createWriteStream(process.env.TABTAB_DEBUG, { flags: 'a' }) : null; module.ex...
Java
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>PHPXRef 0.7.1 : Unnamed Project : Variable Reference: $_never_allowed_regex</title> <link rel="stylesheet" href="../sample.css" type="text/css"> <link rel="stylesheet" href="../sam...
Java
<?php /** * This is the model class for table "product_type". * * The followings are the available columns in table 'product_type': * @property string $product_type_id * @property string $parent_product_type_id * @property string $name * @property string $created * * The followings are the available model rel...
Java
=begin Copyright 2012-2013 inBloom, Inc. and its affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
Java
from changes.api.serializer import Crumbler, register from changes.models.node import Cluster @register(Cluster) class ClusterCrumbler(Crumbler): def crumble(self, instance, attrs): return { 'id': instance.id.hex, 'name': instance.label, 'dateCreated': instance.date_cre...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>20130925</title> <style type="text/css"> .visiNone { display: none; } .hide { visibility: hidden; } .block { display: block; } ....
Java
# Erodium choulettianum Coss. ex Batt. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
/** * 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...
Java
require 'pad_utils' require_relative '../template/test' # Test name test_name = "ZipExtractZip" class ZipExtractZipTest < Test def prepare # Add test preparation here end def run_test PadUtils.extract_zip("fixtures/archive.zip", "results/extracted") if !PadUtils.file_exist?("results/extracted/pen...
Java
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright 2012 Couchbase, Inc. | +--------------...
Java
/* * Copyright 2015 Adaptris Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Project Scelight * * Copyright (c) 2013 Andras Belicza <iczaaa@gmail.com> * * This software is the property of Andras Belicza. * Copying, modifying, distributing, refactoring without the author's permission * is prohibited and protected by Law. */ package hu.scelight.gui.page.replist.column.impl...
Java
# Shrinker `Shrinker` will remove all R.class and R\$\*\*.class and all constant integer fields will be inlined by [`asm`](http://asm.ow2.org/) and [`transform-api`](http://tools.android.com/tech-docs/new-build-system/transform-api). *I have post more details on my own blog (in Chinese), [click here](http://yrom.ne...
Java
"""Tests for the CSRF helper.""" import unittest import mock import webapp2 import webtest from ctc.helpers import csrf from ctc.testing import testutil MOCKED_TIME = 123 # Tests don't need docstrings, so pylint: disable=C0111 # Tests can test protected members, so pylint: disable=W0212 class CsrfTests(testutil....
Java
/* * #%L * FlatPack serialization code * %% * Copyright (C) 2012 Perka Inc. * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
Java
/** * FreeRDP: A Remote Desktop Protocol Implementation * RDP Settings * * Copyright 2009-2011 Jay Sorg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >dblink_cancel_query</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REV="MADE" HREF="mailto:pgsql-docs@postgresql.org"><LINK REL="HOME" TITLE="PostgreS...
Java
// Copyright (c) 2015-2016 Yuya Ochiai // Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import AutoLaunch from 'auto-launch'; import {app} from 'electron'; function shouldQuitApp(cmd) { if (process.platform !== 'win32') { return false; } const sq...
Java
// 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 ...
Java
/* * 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 modelo.formularios; import controlador.dbConnection; import java.sql.Connection; import java.sql.PreparedStatement; import jav...
Java
// *************************************************************************** // * Copyright 2014 Joseph Molnar // * // * 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 // * // * ...
Java
# Makefile for Tutorials # SHELL := /bin/bash # You can set these variables from the command line. TUTORIAL_OUTPUT_DIR = build ALLENNLP_WEBSITE_DIR = ../allennlp-website .PHONY: help help: @echo "Please use \`make <target>' where <target> is one of" @echo " build to clean and build all the tutorials" ...
Java
#! /bin/bash # Runs the linters against dendrite # The linters can take a lot of resources and are slow, so they can be # configured using two environment variables: # # - `DENDRITE_LINT_CONCURRENCY` - number of concurrent linters to run, # gometalinter defaults this to 8 # - `DENDRITE_LINT_DISABLE_GC` - if set the...
Java
package com.ihtsdo.snomed.model.xml; import java.sql.Date; import javax.xml.bind.annotation.XmlRootElement; import com.google.common.base.Objects; import com.google.common.primitives.Longs; import com.ihtsdo.snomed.dto.refset.RefsetDto; import com.ihtsdo.snomed.model.refset.Refset; @XmlRootElement(name="refset") pu...
Java
/* * %CopyrightBegin% * * Copyright Ericsson AB 1998-2016. 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 * ...
Java
package com.fuyoul.sanwenseller.bean.pickerview; import java.util.List; public class ProvinceModel implements IPickerViewData { private String name; private List<CityModel> cityList; @Override public String getPickerViewText() { return name; } public ProvinceModel() { super(...
Java
var nodes = new vis.DataSet([ /* {id: a, label: b, ...}, */ {id: '192', label: 'VALUE\n13.0', color: '#31b0d5', title: 'Name: VALUE<br>Alias: null<br>Value: 13.0<br>Type: CONSTANT_VALUE<br>Id: 192<br>Formula Expression: Formula String: VALUE; Formula Values: 13.0; Formula Ptg: 13.0; Ptgs:...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_03) on Mon Nov 19 21:41:27 CET 2007 --> <TITLE> Uses of Class org.springframework.core.type.filter.AnnotationTypeFilter (Spring Framework API 2.5) </...
Java
/* * Copyright 2014-2015 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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://w...
Java
/* * 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")...
Java
/** * Copyright 2015-2016 Maven Source Dependencies * Plugin contributors as indicated by the @author tags. * * 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...
Java
/* * Powered By agile * Web Site: http://www.agile.com * Since 2008 - 2016 */ package persistent.prestige.modules.edu.service; import java.util.Map; /** * Organization service类 * @author 雅居乐 2016-9-10 22:28:24 * @version 1.0 */ public interface OrganizationService{ /** * 保存信息 * @param datas * @return ...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Carrot Cake</title> <meta name="description" content="ZutatenFür den Kuchen:200 g brauner Zucker180 g Pflanzenöl (200 ml)3 ...
Java
/** --| ADAPTIVE RUNTIME PLATFORM |---------------------------------------------------------------------------------------- (C) Copyright 2013-2015 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi...
Java
package buchungstool.model.importer; import org.junit.Test; import static java.time.LocalDateTime.now; import static org.assertj.core.api.Assertions.assertThat; public class KonfigurationEventTest { @Test public void test() { KonfigurationEvent konfigurationEvent = new KonfigurationEvent(now(), now()...
Java
/* * * * Copyright (c) 2011-2015 EPFL DATA Laboratory * * Copyright (c) 2014-2015 The Squall Collaboration (see NOTICE) * * * * 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 o...
Java
[ { "title": "Ventes véhicules", "url": "", "imageUrl": "http://lim.local.inetpsa.com/application/images/service/car2.jpg", "language": "fr-FR", "order": "1", "workplace": "All", "department": "All", "categoryPro": "All", "status": "published", "children": [ {...
Java
/* * Copyright 2009-2013 Aarhus University * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Java
mod project; mod build; pub use self::project::{Project, Folder};
Java
#include "firestore/src/swig/equality_compare.h" namespace { template <typename T> bool EqualityCompareHelper(const T* lhs, const T* rhs) { return lhs == rhs || (lhs != nullptr && rhs != nullptr && *lhs == *rhs); } } // namespace namespace firebase { namespace firestore { namespace csharp { bool QueryEquals(con...
Java
package at.ac.tuwien.dsg.pm.resources; import at.ac.tuwien.dsg.pm.PeerManager; import at.ac.tuwien.dsg.pm.model.Collective; import at.ac.tuwien.dsg.smartcom.model.CollectiveInfo; import at.ac.tuwien.dsg.smartcom.model.Identifier; import javax.inject.Inject; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; imp...
Java
package tutor.utils import org.scalatest.{FunSpec, Matchers} class FileUtilSpec extends FunSpec with Matchers { describe("FileUtil"){ it("can extract file extension name"){ val path = "src/test/build.sbt" FileUtil.extractExtFileName(path) shouldBe "sbt" } it("if file has no extension name, s...
Java
sap.ui.define(["sap/ui/integration/Designtime"], function ( Designtime ) { "use strict"; return function () { return new Designtime({ "form": { "items": { "validationGroup": { "type": "group", "label": "Validation" }, "OrderID": { "manifestpath": "/sap.card/configuration/par...
Java
#include "list.h" void __list_add__(list_node_t *prev, list_node_t *next, list_node_t *node) { next->prev = node; node->next = next; node->prev = prev; prev->next = node; } void __list_del__(list_node_t *prev, list_node_t *next) { next->prev = prev; prev->next = next; } ...
Java
package com.earlysleep.model; import org.litepal.crud.DataSupport; import java.util.ArrayList; import java.util.List; /** * Created by zml on 2016/6/23. * 介绍: */ public class AllData extends DataSupport { private String music; private int musictime; private boolean musicchosse; List<TimeSeting>...
Java
package org.spoofax.jsglr2.integrationtest.features; import java.util.Arrays; import java.util.stream.Stream; import org.junit.jupiter.api.DynamicTest; import org.junit.jupiter.api.TestFactory; import org.spoofax.jsglr2.integrationtest.BaseTestWithSdf3ParseTables; import org.spoofax.jsglr2.integrationtest.OriginDescr...
Java
# frozen_string_literal: true # 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 applicabl...
Java
/* * Copyright (c) 2005-2014, 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.apach...
Java
using System; using System.Net.Http.Formatting; using System.Web; using System.Web.Hosting; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using NLog; using NLog.Config; using NLog.Targets; using RceDo...
Java
/* * Copyright (c) 2015, 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.org/...
Java
# AUTOGENERATED FILE FROM balenalib/generic-armv7ahf-ubuntu:focal-build ENV NODE_VERSION 12.21.0 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \ gpg --keyser...
Java
/* * Copyright 2013 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 to in writ...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_26) on Sun Dec 30 01:26:12 PST 2012 --> <TITLE> Uses of Class org.apache.hadoop.fs.s3.S3FileSystem (Hadoop 1.0.4-SNAPSHOT API) </TITLE> <META NAME="...
Java
/* Generic definitions */ #define Custom #define PACKAGE it.unimi.dsi.fastutil.shorts #define VALUE_PACKAGE it.unimi.dsi.fastutil.floats /* Assertions (useful to generate conditional code) */ #unassert keyclass #assert keyclass(Short) #unassert keys #assert keys(primitive) #unassert valueclass #assert valueclass(Floa...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> Class: Selenium::Rake::ServerTask ...
Java
package pl.mobilization.conference2015.sponsor; import android.content.Context; import android.content.Intent; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import java.util.ArrayList; import java.util.List; import de.greenrob...
Java
package org.liveontologies.protege.justification.proof.preferences; /*- * #%L * Protege Proof Justification * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2016 - 2017 Live Ontologies Project * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with...
Java
# encoding: utf-8 u'''MCL — Publication Folder''' from ._base import IIngestableFolder, Ingestor, IngestableFolderView from .interfaces import IPublication from five import grok class IPublicationFolder(IIngestableFolder): u'''Folder containing publications.''' class PublicationIngestor(Ingestor): u'''RDF...
Java
export interface SimpleAPIConfig { } export interface SimpleAPI { count: number; add(n?: number): void; sub(n?: number): void; }
Java
import os import tempfile import unittest import logging from pyidf import ValidationLevel import pyidf from pyidf.idf import IDF from pyidf.exterior_equipment import ExteriorFuelEquipment log = logging.getLogger(__name__) class TestExteriorFuelEquipment(unittest.TestCase): def setUp(self): self.fd, self...
Java
<ul> <li ng-repeat="item in $ctrl.items"> {{item.quantity}} of {{item.name}} </li> </ul>
Java
/* * 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...
Java
# Leucopaxillus spinulosus (Kühner & Romagn.) Konrad & Maubl., 1949 SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Encyclop. Mycol. 14: 409 (1949) #### Original name Tricholoma spinulosum Kühner & Romagn., 1947 ### Remarks null
Java
# Didissandra C.B. Clarke GENUS #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java