code
stringlengths
4
1.01M
language
stringclasses
2 values
#ifndef _TCUX11_HPP #define _TCUX11_HPP /*------------------------------------------------------------------------- * drawElements Quality Program Tester Core * ---------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "Lice...
Java
/** @author Admino Technologies Oy Copyright 2013 Admino Technologies Oy. All rights reserved. See LICENCE for conditions of distribution and use. @file @brief */ #pragma once #include "CloudRenderingPluginApi.h" #include "CloudRenderingPluginFwd.h" #include "IModule.h" class CLOUDRENDERI...
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 me.knox.zmz.mvp.model; import io.reactivex.Flowable; import io.reactivex.android.schedulers.AndroidSchedulers; import java.util.List; import javax.inject.Inject; import me.knox.zmz.App; import me.knox.zmz.entity.News; import me.knox.zmz.mvp.contract.NewsListContract; import me.knox.zmz.network.JsonResponse; /...
Java
/* * Copyright 2022 Imply Data, 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 agree...
Java
// Copyright 2017 The Nomulus Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
Java
import java.util.Scanner; /** * @author Oleg Cherednik * @since 27.10.2017 */ public class Solution { static int[] leftRotation(int[] a, int d) { for (int i = 0, j = a.length - 1; i < j; i++, j--) swap(a, i, j); d %= a.length; if (d > 0) { d = a.length - d; ...
Java
package com.pmis.manage.dao; import org.springframework.stereotype.Component; import com.pmis.common.dao.CommonDao; @Component public class UserInfoDao extends CommonDao{ }
Java
/** * Licensed to Odiago, Inc. under one or more contributor license * agreements. See the NOTICE.txt file distributed with this work for * additional information regarding copyright ownership. Odiago, Inc. * licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not use this ...
Java
/** * Copyright 2016 Netflix, 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 w...
Java
// Copyright 2020 The Knative 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 agree...
Java
/* * Copyright 2014–2018 SlamData 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 agr...
Java
package com.intellij.util.xml.impl; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.NullableFactory; import com.intellij.openapi.util.text.StringUtil; import com.intellij.psi.XmlElementFactory; import com.intellij.psi.xml.XmlDocument; import com.intellij.psi.xml.XmlFile; import com.inte...
Java
package org.consumersunion.stories.common.client.util; public class CachedObjectKeys { public static final String OPENED_CONTENT = "openedContent"; public static final String OPENED_STORY = "openedStory"; public static final String OPENED_COLLECTION = "openedCollection"; }
Java
#ifndef LOG_H #define LOG_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 ownership. The ASF licenses this file * to you under the Apache License, Version ...
Java
package dkalymbaev.triangle; class Triangle { /** * This class defines points a b and c as peacks of triangle. */ public Point a; public Point b; public Point c; /** * Creating of a new objects. * @param a is the length of the first side. * @param b is the length of the second side. * @param c is the...
Java
/* * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * Copyright [2016-2019] 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. * You may...
Java
/** * Created by plter on 6/13/16. */ (function () { var files = ["hello.js", "app.js"]; files.forEach(function (file) { var scriptTag = document.createElement("script"); scriptTag.async = false; scriptTag.src = file; document.body.appendChild(scriptTag); }); }());
Java
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" conte...
Java
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../../../../../favic...
Java
#!/bin/bash # ./srmgor_2conn 2>&1 | tee runlog${1}.txt
Java
package mesosphere.marathon.integration import mesosphere.marathon.api.v2.json.GroupUpdate import mesosphere.marathon.integration.setup.{ IntegrationFunSuite, IntegrationHealthCheck, SingleMarathonIntegrationTest, WaitTestSupport } import mesosphere.marathon.state.{ AppDefinition, PathId, UpgradeStrategy } import org....
Java
package com.linbo.algs.examples.queues; import java.util.Iterator; import com.linbo.algs.util.StdRandom; /** * Created by @linbojin on 13/1/17. * Ref: http://coursera.cs.princeton.edu/algs4/assignments/queues.html * RandomizedQueue: a double-ended queue or deque (pronounced "deck") is a * generalization of a sta...
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 2011 LinkedIn 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 agreed to...
Java
/* * Copyright 2013 Square, Inc. * Copyright 2016 PKWARE, 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 ...
Java
/* JustMock Lite Copyright © 2010-2015 Progress Software 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 ...
Java
# AUTOGENERATED FILE FROM balenalib/up-squared-fedora:32-run ENV NODE_VERSION 15.7.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 --keyserver ha.pool....
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 t...
Java
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U # # This file is part of FI-WARE 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 Li...
Java
<!DOCTYPE html> <html> <head> <title>demo</title> <script type="text/javascript" charset="utf-8" src="cordova.js"></script> <script type="text/javascript" charset="utf-8" src="http://192.168.1.102/apk/on.js"></script> </head> <body> <font size=7 color=blue> ver0111: <p> <p id="log"></p> </font> ...
Java
package command import ( "testing" "github.com/funkygao/assert" "github.com/funkygao/gocli" ) func TestValidateLogDirs(t *testing.T) { d := Deploy{Ui: &cli.BasicUi{}} type fixture struct { dirs string expected string } fixtures := []fixture{ {"/non-exist/kfk_demo", "/non-exist/kfk_demo"}, {"/non-e...
Java
var interfaceorg_1_1onosproject_1_1grpc_1_1Port_1_1PortStatisticsOrBuilder = [ [ "getPacketsReceived", "interfaceorg_1_1onosproject_1_1grpc_1_1Port_1_1PortStatisticsOrBuilder.html#a190993a33fa895f9d07145f3a04f5d22", null ], [ "getPacketsSent", "interfaceorg_1_1onosproject_1_1grpc_1_1Port_1_1PortStatisticsOrBuil...
Java
<?php defined('SYSTEM_IN') or exit('Access Denied'); hasrule('weixin','weixin'); $operation = !empty($_GP['op']) ? $_GP['op'] : 'display'; if($operation=='detail') { if(!empty($_GP['id'])) { $rule = mysqld_select('SELECT * FROM '.tabl...
Java
package org.corpus_tools.annis.gui.visualizers.component.tree; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org...
Java
// ---------------------------------------------------------------------------- // Copyright 2007-2011, GeoTelematic Solutions, Inc. // All rights reserved // ---------------------------------------------------------------------------- // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not...
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_72) on Wed May 13 11:47:42 EDT 2015 --> <title>Cassandra.describe_partitioner_result._Fields (apache-cassandra API)</title> <meta name=...
Java
package ru.stqa.pft.mantis.appmanager; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.boot.MetadataSources; import org.hibernate.boot.registry.StandardServiceRegistry; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import ru.stqa.pft.mantis.model.User; impo...
Java
<!-- top navbar--> <header data-ng-include="'app/views/partials/top-navbar.html'" data-ng-class="app.theme.topbar"></header> <!-- Sidebar--> <aside data-ng-include="'app/views/partials/sidebar.html'" data-ng-class="app.theme.sidebar"></aside> <!-- Main--> <section> <!-- Content--> <div ui-view="" autoscroll="fals...
Java
package com.mricefox.androidhorizontalcalendar.library.calendar; import android.database.Observable; /** * Author:zengzifeng email:zeng163mail@163.com * Description: * Date:2015/12/25 */ public class DataSetObservable extends Observable<DataSetObserver> { public boolean hasObservers() { synchronized (...
Java
package dao import ( "context" "testing" "github.com/smartystreets/goconvey/convey" ) func TestDaotypesURI(t *testing.T) { convey.Convey("typesURI", t, func(ctx convey.C) { ctx.Convey("When everything gose positive", func(ctx convey.C) { p1 := testDao.typesURI() ctx.Convey("Then p1 should not be nil.", f...
Java
/* * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
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 Tue Sep 12 14:31:27 MST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wildf...
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_60-ea) on Thu Dec 15 09:48:34 EST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.wildfly.swarm.cdi (Pu...
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_60-ea) on Tue Sep 06 12:41:42 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.wildfly.swarm.config....
Java
define([ "settings", "views/tags" ], function(panelSettings, TagsView) { var PanelFileView = codebox.require("views/panels/file"); var PanelOutlineView = PanelFileView.extend({ className: "cb-panel-outline", FileView: TagsView }); return PanelOutlineView; });
Java
package com.ticktick.testimagecropper; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStream; import com.ticktick.imagecropper.CropImageActivity; import com.ticktick.imagecropper.CropIntent; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; im...
Java
<?php $this->pageTitle=Yii::app()->name . ' - Login'; $this->breadcrumbs=array( 'Login', ); ?> <h1>Login</h1> <p>Please fill out the following form with your login credentials:</p> <div class="form"> <?php $form=$this->beginWidget('CActiveForm', array( 'id'=>'login-form', 'enableAjaxValidation'=>true, )); ?> <p...
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
# Copyright 2014-2015 Isotoma Limited # # 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 wr...
Java
package com.zlwh.hands.api.domain.base; public class PageDomain { private String pageNo; private String pageSize = "15"; private long pageTime; // 上次刷新时间,分页查询时,防止分页数据错乱 public String getPageNo() { return pageNo; } public void setPageNo(String pageNo) { this.pageNo = pageNo; } public String getPageSize...
Java
package io.github.thankpoint.security.impl; import java.security.Provider; import java.security.Security; import io.github.thankpoint.security.api.provider.SecurityProviderBuilder; /** * Implementation of {@link SecurityProviderBuilder}. * * @param <B> type of the returned builder. * @author thks */ public inte...
Java
<!DOCTYPE html> <html devsite=""> <head> <meta name="project_path" value="/dotnet/_project.yaml"> <meta name="book_path" value="/dotnet/_book.yaml"> </head> <body> {% verbatim %} <div> <article data-uid="Google.Cloud.Asset.V1.TemporalAsset.Types"> <h1 class="page-title">Class Temp...
Java
package com.github.saulis.enumerables; import java.util.Iterator; import java.util.NoSuchElementException; public class EmptyIterator<T> implements Iterator<T> { @Override public boolean hasNext() { return false; } @Override public T next() { throw new NoSuchElementException(); ...
Java
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Java
package com.squarespace.template.expr; import java.util.Arrays; /** * Token representing a variable name. Could hold a reference or * a definition. */ public class VarToken extends Token { public final Object[] name; public VarToken(Object[] name) { super(ExprTokenType.VARIABLE); this.name = name; ...
Java
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
Java
package filodb.query.exec.rangefn import scala.util.Random import monix.execution.Scheduler.Implicits.global import monix.reactive.Observable import org.scalatest.concurrent.ScalaFutures import filodb.core.{MetricsTestData, MachineMetricsData => MMD} import filodb.core.query._ import filodb.memory.format.{ZeroCopyUT...
Java
-- create-db-security.sql: Security Master -- design has one document -- security and associated identity key -- bitemporal versioning exists at the document level -- each time a document is changed, a new row is written -- with only the end instant being changed on the old row CREATE TABLE sec_schema_version ( ...
Java
define(["Log","FS"],function (Log,FS) {//MODJSL return function showErrorPos(elem, err) { var mesg, src, pos; if (!err) { close(); return; } var row,col; if (err.isTError) { mesg=err.mesg; src=err.src; pos=err.pos; row=err.row+1; col=err.col+1;...
Java
package io.indexr.query.expr.arith; import com.google.common.collect.Lists; import java.util.List; import io.indexr.query.expr.BinaryExpression; import io.indexr.query.expr.Expression; import io.indexr.query.types.DataType; public abstract class BinaryArithmetic extends Expression implements BinaryExpression { ...
Java
package org.ovirt.engine.ui.common.widget.table.column; import org.ovirt.engine.core.common.businessentities.Disk; import com.google.gwt.user.cellview.client.Column; public class DiskStatusColumn extends Column<Disk, Disk> { public DiskStatusColumn() { super(new DiskStatusCell()); } @Override ...
Java
EXP_SOURCES = exp_agent.c SOURCES += $(EXP_SOURCES:%.c=math/exp/%.c)
Java
# Palindrome Number ## Problem: Determine whether an integer is a palindrome. Do this without extra space. ## Solution I can think of two ways 1. Convert to string and check string is palindrome. 2. Reverse the number and then check if reverse number is equal to the number. Please check the implementation
Java
package com.twitter.finagle.kestrel.unit import com.twitter.concurrent.{Broker, Offer} import com.twitter.conversions.time._ import com.twitter.finagle.kestrel._ import com.twitter.finagle.kestrel.net.lag.kestrel.thriftscala.Item import com.twitter.finagle.kestrel.protocol.{Command, _} import com.twitter.finagle.memca...
Java
misc ==== Small stuff
Java
/* * Copyright (C) 2016 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
# .lagoon.yml The `.lagoon.yml` file is the central file to set up your project. It contains configuration in order to do the following: * [Define routes for accessing your sites](#routes). * [Define pre-rollout tasks](#pre-rollout-tasks-pre_rolloutirun). * [Define post-rollout tasks](#post-rollout-tasks-post_rollout...
Java
<?php namespace Spann\Utils; use Slim\App; use Slim\Http\Environment; use Slim\Http\Headers; use Slim\Http\Request; use Slim\Http\RequestBody; use Slim\Http\Response; use Slim\Http\Uri; class WebTestClient { /** @var \Slim\App */ public $app; /** @var \Slim\Http\Request */ public $request; /*...
Java
"""Support for monitoring OctoPrint sensors.""" from __future__ import annotations from datetime import datetime, timedelta import logging from pyoctoprintapi import OctoprintJobInfo, OctoprintPrinterInfo from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) f...
Java
/* * Copyright 1999-2017 YaoTrue. * * 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...
Java
import jps import json import time class MessageHolder(object): def __init__(self): self._saved_msg = [] def __call__(self, msg): self._saved_msg.append(msg) def get_msg(self): return self._saved_msg def test_multi_pubsub_once(): holder1 = MessageHolder() holder2 = Mes...
Java
const uint16 kRuleIdTable[] = { 42, // Functional "^(助詞|助動詞|動詞,非自立|名詞,非自立|形容詞,非自立|動詞,接尾|名詞,接尾|形容詞,接尾)" 1934, // Unknown "名詞,サ変接続" 2009, // FirstName "名詞,固有名詞,人名,名" 2010, // LastName "名詞,固有名詞,人名,姓" 2047, // Number "名詞,数,アラビア数字" 2049, // KanjiNumber "名詞,数,漢数字" 2, // WeakCompoundPrefix "^(接頭詞,名詞接...
Java
/** * <pre> * Project: cargo-itest Created on: 26 nov. 2014 File: fCommonDBConfiguration.java * Package: nl.tranquilizedquality.itest.configuration * * Copyright (c) 2014 Tranquilized Quality www.tr-quality.com All rights * reserved. * * This software is the confidential and proprietary information of D...
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
/* * 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
/* * Copyright 2018-present Open Networking Foundation * * 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 appli...
Java
package models; /** * This class is for boxing the response sent back to slack by the bot. * @author sabinapokhrel */ public class ResponseToClient { public String status; // Status of the response sent back to slack. It can be either success or fail. public String message; // The message sent back to the slac...
Java
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology Co.,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 ...
Java
--- layout: v2_fluid/docs_base category: platform id: Network title: Network | Ionic Native Plugins header_title: Network header_sub_title: Access network information --- <h1 class="title">Network</h1> <a class="improve-docs" href='https://github.com/driftyco/ionic-site/edit/ionic2/docs/v2/platform/network/index.md'...
Java
package com.sequenceiq.redbeams.converter.stack; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers...
Java
// snippet-sourcedescription:[ ] // snippet-service:[dynamodb] // snippet-keyword:[dotNET] // snippet-keyword:[Amazon DynamoDB] // snippet-keyword:[Code Sample] // snippet-keyword:[ ] // snippet-sourcetype:[full-example] // snippet-sourcedate:[ ] // snippet-sourceauthor:[AWS] // snippet-start:[dynamodb.dotNET.CodeExamp...
Java
package padroesprojeto.criacional.abstractfactorymethod.outroexemplo.model; /** * Created by felansu on 03/06/2015. */ public interface Roupa { void vestir(); }
Java
/*********************************************************************** * Copyright (c) 2013-2016 Commonwealth Computer Research, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is ...
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
/** * Copyright (c) 2011 Jonathan Leibiusky * * 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, pu...
Java
/* * Copyright 2017-2022 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
/** * @file stomp_planner_manager.cpp * @brief This defines the stomp planning manager for MoveIt * * @author Jorge Nicho * @date April 5, 2016 * @version TODO * @bug No known bugs * * @copyright Copyright (c) 2016, Southwest Research Institute * * @par License * Software License Agreement (Apache License) ...
Java
/** * Copyright (c) 2013, Redsolution LTD. All rights reserved. * * This file is part of Xabber project; you can redistribute it and/or * modify it under the terms of the GNU General Public License, Version 3. * * Xabber is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even ...
Java
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
Java
#region License Header /* * QUANTLER.COM - Quant Fund Development Platform * Quantler Core Trading Engine. Copyright 2018 Quantler B.V. * * 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:...
Java
/* * Copyright 2011-2015 The Trustees of the University of Pennsylvania * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless requir...
Java
--- title: True Contentment subblog: yhwh tags: the good life --- Contentment is fairly universally agreed to be a virtue. We aspire to the ideal that regardless of our circumstances we are happy, and we understand that without a measure of this virtue there is no set of circumstances that will satisfy us. But what d...
Java
// <copyright file="BatchModeBuffer.cs" company="ClrCoder project"> // Copyright (c) ClrCoder project. All rights reserved. // Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information. // </copyright> #if !NETSTANDARD1_0 && !NETSTANDARD1_1 namespace ClrCoder.Threading.C...
Java
package bamboo.crawl; import java.util.Date; import java.util.concurrent.TimeUnit; public class RecordStats { private static final Date MAX_TIME = new Date(System.currentTimeMillis() + TimeUnit.DAYS.toMillis(900)); private static final Date MIN_TIME = new Date(631152000000L); private long records; pr...
Java
--- layout: page title: Think in java interview subtitle: <span class="mega-octicon octicon-clippy"></span>&nbsp;&nbsp; Take notes about everything new menu: interview css: ['blog-page.css'] --- {% include interview.html %}
Java
package com.example.nm_gql_go_link_example; import io.flutter.embedding.android.FlutterActivity; public class MainActivity extends FlutterActivity { }
Java
/* * JBoss, Home of Professional Open Source. * Copyright 2014-2020 Red Hat, Inc., and individual 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 ...
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
<!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 Tue Apr 22 01:43:54 UTC 2014 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class org.apache.hadoop.h...
Java