code
stringlengths
4
1.01M
language
stringclasses
2 values
div[class="panel-body"] > div[class="input-group"] { margin-bottom: 3px; } div[class="list-group-item"] > a[class="flowRight"] { padding-top: 13px; padding-right: 6px; color: #ff416d; } h3[class="panel-title"] > span { padding-right: 6px; } .versionLink, .versionLink:active, .versionLink:hover { ...
Java
@charset "utf-8"; /* ---------- Reset ---------- */ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, textarea, select, button, th, td, p, hr, blockquote, pre, code { padding: 0px; margin: 0px; } html { _width: 100%; _height: 100%; color: #666666; -webkit-text...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_112) on Fri Jun 16 09:55:07 MST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>InMemoryAuthenticationConsu...
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"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <t...
Java
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
Java
# Andrew Plesniak This is my personal website ## Credits Credit to **David Miller** for providing the original website theme that I started with. * https://twitter.com/davidmillerskt * https://github.com/davidtmiller
Java
{template "content","header"} {php $video_cache = getcache('video', 'video');} <link href="{CSS_PATH}vms/vms.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="{JS_PATH}cookie.js"></script> <div class="clr ct show_pg"> <div class="crumbs"><a href="{APP_PATH}">首页</a> <span id="play_titl...
Java
package info.bati11.wearprofile; import android.app.ActionBar; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.MenuItem; public class AboutActivity extends Activity { public static Intent createIntent(Context context) { ...
Java
/* * Copyright 2010-2014 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 "l...
Java
/** * Copyright 2020 The AMP HTML 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 require...
Java
# -*- coding:utf-8 -*- """ Verion: 1.0 Author: zhangjian Site: http://iliangqunru.com File: __init__.py.py Time: 2017/7/22 2:19 """
Java
import codecs import mock import os import tempfile import unittest from time import strftime import six from kinto import config from kinto import __version__ class ConfigTest(unittest.TestCase): def test_transpose_parameters_into_template(self): self.maxDiff = None template = "kinto.tpl" ...
Java
# frozen_string_literal: true module Hyrax # Module that will contain Renderer classes # @since 0.14.0 # Renderers are used to display Ruby objects to users and take arguments from the Hyrax::Presenter # supplied by the controller. # They are typically used to respond to read requests from the controller, and...
Java
package com.coekie.gentyref.factory; @SuppressWarnings("rawtypes") public class RawOuter extends GenericOuter {}
Java
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using RandomSchool.Extenders; using RandomSchool.Repositories; namespace RandomSchool.Maintain.vPupil { public partial class Details : System.Web.UI.Page { private Pupil...
Java
/* The MIT License Copyright (c) 2009 - 2014 Liam Devine Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
Java
HB.RadioButtonComponent = Ember.Component.extend({ tagName: 'input', type: 'radio', attributeBindings: ['type', 'htmlChecked:checked', 'value', 'name'], htmlChecked: function(){ return this.get('value') === this.get('checked'); }.property('value', 'checked'), change: function(){ this.set('checked'...
Java
/* * Copyright 2002-2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
Java
# Prosartema stellaris Gagnep. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
# Ophrys argentea Vell. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
# Schizogyne obtusifolia Cass. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
# Taxus pendula Hort. ex Carrière SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
# Rosa scandens Moench SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
# Croton paulinianus Müll.Arg. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
# Dalbergia macrothyrsa sensu Cufod. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Java
# Calostephane marlothiana O.Hoffm. SPECIES #### Status ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
Java
/* * Copyright Anatoly Starostin (c) 2017. */ package treeton.prosody.corpus; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import treeton.core.config.BasicConfiguration; import treeton.core.util.xml.XMLParser; import javax.xml.parsers.ParserConfigurationException; import java.i...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Wed Jun 10 23:20:35 IST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class...
Java
class Solution(object): def containsNearbyAlmostDuplicate(self, nums, k, t): """ :type nums: List[int] :type k: int :type t: int :rtype: bool """ if k < 1 or t < 0: return False dic = {} t += 1 for i in range(len(nums)): ...
Java
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
Java
<!DOCTYPE html> <html lang="en"> {% include head.html %} <body id="page-top"> {% include nav.html %} {% include header.html %} {% include features.html %} {% include contact.html %} {% include scripts.html %} </body> </html>
Java
package com.danielasfregola.twitter4s.http.clients.rest.lists.parameters import com.danielasfregola.twitter4s.http.marshalling.Parameters private[twitter4s] final case class RemoveMemberParameters(list_id: Option[Long] = None, slug: Option[String] = None, ...
Java
package com.github.ruediste.c3java.invocationRecording; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.lang.annotation.ElementType; import org.junit.Before; import org.junit.Test; import com.google.common.reflect.TypeTo...
Java
/* * 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...
Java
package org.jfl2.fx.controller.menu; import javafx.application.Platform; import javafx.event.Event; import javafx.scene.Node; import javafx.scene.control.RadioButton; import javafx.scene.input.KeyEvent; import javafx.scene.input.MouseEvent; import lombok.extern.slf4j.Slf4j; import org.jfl2.core.util.Jfl2NumberUtils; i...
Java
package sunning.democollection.learn._0331.component; import dagger.Component; import sunning.democollection.learn._0331.UserActivity; import sunning.democollection.learn._0331.module.ShoppingCartModule; /** * Created by sunning on 16/3/31. */ @Component(dependencies = ActivityComponent.class, modules = ShoppingCar...
Java
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Java
package gui.sub_controllers; import gui.GraphDrawer; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.collections.transformation.FilteredList; import javafx.collections.transformation.SortedList; import javafx.fxml.FXML; import javafx.scene.control.TableColumn; import ja...
Java
package liquibase.change.core; import liquibase.change.AbstractSQLChange; import liquibase.change.DatabaseChange; import liquibase.change.ChangeMetaData; /** * Allows execution of arbitrary SQL. This change can be used when existing changes are either don't exist, * are not flexible enough, or buggy. */ ...
Java
package com.deleidos.dp.export; import com.deleidos.dp.beans.Schema; import com.deleidos.dp.exceptions.H2DataAccessException; import com.deleidos.dp.exceptions.SchemaNotFoundException; public interface Exporter { public abstract String generateExport(Schema schema); public abstract String generateExport(Schema s...
Java
import boto3 import pytest import sure # noqa # pylint: disable=unused-import from botocore.exceptions import ClientError from moto import mock_dynamodb2 @mock_dynamodb2 def test_error_on_wrong_value_for_consumed_capacity(): resource = boto3.resource("dynamodb", region_name="ap-northeast-3") client = boto3....
Java
// 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, software // distributed...
Java
package org.jtrim2.swing.component; import java.util.Collections; import org.jtrim2.image.transform.ZoomToFitOption; import org.junit.Test; public class TransformationAdapterTest { /** * Not much to test but that the methods does not throw exceptions. */ @Test public void testMethods() { ...
Java
/* * Copyright (C) 2013 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
package com.lling.qiqu.commons; import java.io.Serializable; /** * @ClassName: ResponseInfo * @Description: http接口返回数据封装类 * @author lling * @date 2015-5-30 */ public class ResponseInfo implements Serializable{ private static final long serialVersionUID = 1L; private String code; private String desc; privat...
Java
/* * EVE Swagger Interface * An OpenAPI for EVE Online * * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package net.troja.eve.esi.model; import com.google.gson.TypeAdapter; import com.goog...
Java
/** * Copyright 2017 dialog LLC <info@dlg.im> */ :root { --text-overflow-ellipsis: { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }; --clearfix: { &::after { display: table; clear: both; content: ''; } }; --no-select: { cursor: default; use...
Java
/* * Copyright 2006-2010 Virtual Laboratory for e-Science (www.vl-e.nl) * Copyright 2012-2013 Netherlands eScience Center. * * 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 the following...
Java
using Esri.ArcGISRuntime.Geometry; using Esri.ArcGISRuntime.Layers; using Esri.ArcGISRuntime.Symbology; using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace ArcGISRuntimeSDKDotNet_DesktopSamples.Samples { /// <summary> /// T...
Java
/* Generated by Cython 0.25.1 */ /* BEGIN: Cython Metadata { "distutils": { "depends": [ "infimnist.h", "py_infimnist.h" ] }, "module_name": "_infimnist" } END: Cython Metadata */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_PYTHON_H #error Python h...
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_45) on Thu Mar 26 16:48:34 UTC 2015 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> com.hazelcast.cluster.client (Haz...
Java
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Bagcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "walletdb.h" #include ...
Java
define([ './user-settings' ], function (userSettings) { var context; var exposed = { init: function(thisContext){ context = thisContext; context.sandbox.on('settings.close', userSettings.close); context.sandbox.on('settings.open', userSettings.open); ...
Java
<!-- Footer --> <footer> <div class="container"> <div class="row"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <ul class="list-inline text-center"> {% if site.RSS %} <li> <a href="{{ "/feed.xml" ...
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
/* * 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
package command import ( "github.com/goodmustache/pt/actor" "github.com/goodmustache/pt/command/display" ) //counterfeiter:generate . ProjectListActor type ProjectListActor interface { Projects() ([]actor.Project, error) } type ProjectList struct { UserID uint64 `short:"u" long:"user-id" description:"User ID to...
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.5.0_06) on Fri May 05 14:52:10 PDT 2006 --> <TITLE> Uses of Class org.apache.hadoop.record.compiler.JFile (Hadoop 0.2.0 API) </TITLE> <LINK REL ="style...
Java
/* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.product.index; import static com.opengamma.strata.collect.TestHelper.assertSerialization; import static com.opengamma.strata.collect.TestHelper.coverBean...
Java
/* * Copyright (c) 2016. Sunghyouk Bae <sunghyouk.bae@gmail.com> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
Java
#!/usr/bin/env perl # Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute # Copyright [2016-2021] EMBL-European Bioinformatics Institute # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License...
Java
from django_filters.rest_framework import DjangoFilterBackend from rest_framework.decorators import action from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from rest_framework.viewsets import ModelViewSet from rdmo.core.exports import XMLResponse from rdmo.core.permis...
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 not ...
Java
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
package com.vladmihalcea.book.hpjp.hibernate.type.array; import org.hibernate.dialect.PostgreSQL95Dialect; import java.sql.Types; /** * @author Vlad Mihalcea */ public class PostgreSQL95ArrayDialect extends PostgreSQL95Dialect { public PostgreSQL95ArrayDialect() { super(); this.registerColumnT...
Java
require_dependency 'libraetd/lib/serviceclient/user_info_client' require_dependency 'libraetd/lib/helpers/user_info' require_dependency 'libraetd/lib/serviceclient/entity_id_client' module Helpers class EtdHelper def self.process_inbound_sis_authorization( deposit_authorization ) # lookup the user and c...
Java
#!/usr/bin/env python from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals 'fbcode_builder steps to build Facebook Thrift' import specs.fbthrift as fbthrift def fbcode_builder_spec(builder): return { 'depends_...
Java
package grammar.model.nouns; import grammar.model.Multiplicity; import grammar.model.PseudoEnum; import grammar.model.SubjectGender; import grammar.util.Utilities; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; public class Noun implements PseudoEnum<Noun> { private s...
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
/* * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2007 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Re...
Java
USE `modo-import`; CREATE OR REPLACE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `modo-import`.`Center` AS SELECT center.id AS id, center.name AS name, center.code AS code, "ef80ab638b" AS mailchimpListId, "accueil@modo-shopping.fr" AS contactEmail FROM `crm-import`.`Center` AS center...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ManagerShop.Domain.DomainEvents { public class MessageSentEventHandler : IEventHandler<MessageSentEvent> { public void Handle(MessageSentEvent evt) { Consol...
Java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
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
package org.opencommercesearch.client.impl; import java.util.Date; /** * Represents a sku's availability. * * @author rmerizalde */ public class Availability { public enum Status { InStock, OutOfStock, PermanentlyOutOfStock, Backorderable, Preorderable } private Status status; privat...
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_51) on Tue Aug 27 20:57:01 WEST 2013 --> <TITLE> OFActionTypeTest </TITLE> <META NAME="date" CONTENT="2013-08-27"> <LINK REL ="stylesheet" TYPE="te...
Java
/*! * angular-loading-bar v0.8.0 * https://chieffancypants.github.io/angular-loading-bar * Copyright (c) 2015 Wes Cruver * License: MIT */ /* * angular-loading-bar * * intercepts XHR requests and creates a loading bar. * Based on the excellent nprogress work by rstacruz (more info in readme) * * (c) 2013 We...
Java
package distribution // import "github.com/tiborvass/docker/distribution" import ( "bufio" "compress/gzip" "context" "fmt" "io" "github.com/docker/distribution/reference" "github.com/tiborvass/docker/distribution/metadata" "github.com/tiborvass/docker/pkg/progress" "github.com/tiborvass/docker/registry" "gi...
Java
#pragma once #ifndef GEODE_INTEGRATION_TEST_QUERYHELPER_H_ #define GEODE_INTEGRATION_TEST_QUERYHELPER_H_ /* * 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 ownersh...
Java
/* * testdatefmtrange_wo_SN.js - test the date range formatter object Wolof-Senegal * * Copyright © 2021, JEDLSoft * * 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...
Java
# AUTOGENERATED FILE FROM balenalib/kitra710-ubuntu:eoan-build ENV GO_VERSION 1.16 RUN mkdir -p /usr/local/go \ && curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \ && echo "3770f7eb22d05e25fbee8fb53c2a4e897da043eb83c69b9a14f8d98562cd8098 go$GO_VERSION.linux-arm64.tar.gz" | sha25...
Java
# AUTOGENERATED FILE FROM balenalib/genericx86-64-ext-debian:sid-run # remove several traces of debian python RUN apt-get purge -y python.* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # install python d...
Java
package org.usfirst.frc.team4453.robot.commands; import org.usfirst.frc.team4453.library.Vision; import org.usfirst.frc.team4453.robot.Robot; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; /** * */ public class DriveWithCamera extends Command { public...
Java
# Google Compute Engine PHP Sample Application ## Description This is a simple web-based example of calling the Google Compute Engine API in PHP. ## Prerequisites * Run `composer install` in this directory to install the `google/cloud-compute` library. * Follow [Getting started with authentication](https://cloud....
Java
/** * Copyright (C) 2012 52°North Initiative for Geospatial Open Source Software GmbH * * 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (1.8.0_91) on Thu Jul 13 16:16:26 CST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>程序包 com.webside.role.service...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_232) on Tue Sep 15 08:53:08 UTC 2020 --> <title>Uses of Class org.springframework.web.socket.config.annotation.DelegatingWebSocketConfiguration...
Java
/** * Copyright 2010 - 2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
Java
package org.commcare.tasks; import android.content.Context; import android.text.TextUtils; import android.text.format.DateUtils; import android.util.Pair; import org.commcare.CommCareApplication; import org.commcare.models.AndroidSessionWrapper; import org.commcare.models.database.AndroidSandbox; import org...
Java
/* Copyright 2019 Telstra Open Source * * 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 la...
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
using System; namespace NativeAppFabricConsoleUI { internal static class CreateRegionTests { internal static void CreateRegionWithNonEmptyString() { try { Logger.PrintTestStartInformation("Creating Region with non-empty string value"); st...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>create canvas</title> <link rel="stylesheet" href="../canvas/main.css"> <style> div { font-family: monospace; font-size: 20px; color: white; } ...
Java
package org.nbone.core.util; /** * * @author thinking * @version 1.0 * @since 2019-07-20 * org.elasticsearch.common.unit.ByteSizeUnit */ public enum ByteSizeUnit { BYTES { @Override public long toBytes(long size) { return size; } @Override public long toK...
Java
def emptyLayout(layout): for i in reversed(range(layout.count())): layout.itemAt(i).widget().setParent(None)
Java
package scalacookbook.chapter03 /** * Created by liguodong on 2016/6/28. */ object UseMatchInsteadIsInstanceOf { // use the isInstanceOf method to test the type of an object // if (x.isInstanceOf[Foo]) { do something ... def isPerson(x: Any): Boolean = x match { case p: Person => true case _ => false...
Java
// Copyright (c) 2009 Carl Barron // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <iostream> #include <sstream> #include <boost/detail/lightweight_test.hpp> #include <boost/spirit/include/lex.hpp>...
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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Java
<?php echo "This is success.php"; ?>
Java
/* * %CopyrightBegin% * * Copyright Ericsson AB 2006-2020. 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