text stringlengths 3.52k 24k |
|---|
package ua.org.slovo.securesms.util;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.CompressFormat;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.ImageFormat;
import android.graphics.Rect;
import android.graphics.YuvImage;... |
/*
* Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on the use... |
/*
* 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 ... |
package com.md.onlib.ui.fragments;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widge... |
/*
Copyright (c) 2013 <NAME> http://RandyGaul.net
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
... |
package org.jruby.compiler.ir.dataflow.analyses;
import org.jruby.compiler.ir.IRClosure;
import org.jruby.compiler.ir.IRExecutionScope;
import org.jruby.compiler.ir.Operation;
import org.jruby.compiler.ir.dataflow.DataFlowProblem;
import org.jruby.compiler.ir.dataflow.DataFlowConstants;
import org.jruby.compiler.ir.da... |
/*
* Copyright 2018-2021 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... |
package com.huanyu.doc.demo;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import org.apache.commons.lang3.StringUtils;
import org.slf4j... |
package com.stylefeng.guns.rest.modular.film.service;
import com.alibaba.dubbo.config.annotation.Service;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.api.film.FilmServiceApi;
import com.stylefeng.guns.api.film.vo.ActorVO;
import com.styl... |
/*
* Copyright 2017 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
package jhs.lc.opt;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Random;
import java.util.Set;
import java.util.TreeSet;
import java.util.logging.Level;
import java.util.logging.Logger;
... |
package bigjun.iplab.sequenceString;
public class SeqString implements SeqStrINF{
private char[] strElem;
private int curlength;
// 构造方法1:构造一个空串
public SeqString() {
strElem = new char[0];
curlength = 0;
}
// 构造方法2:以字符串常量构造串对象
public SeqString(String str) {
char[] tempCharArray = s... |
package com.kgp.imaging;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
import java.awt.image.ColorModel;
import java.awt.image.WritableRaster;
import java.util.Observable;
import com.... |
/**
*
*/
package org.drools.util;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import org.drools.common.InternalFactHandle;
import org.drools.reteoo.FactHandleMemory;
import org.drools.reteoo.ReteTuple;
public class FactHandleIndexHashTable ex... |
package org.gbif.data;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.checkerframework.checker.units.qual.C;
import org.mapdb.DB;
import org.mapdb.DBMaker;
import org.mapdb.Serializer;
import java.io.*;
import java.net.ProxySelector;
import java.net.URI;
import java.ne... |
/* Copyright 1999 <NAME> <EMAIL>
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,... |
/*
* Copyright 2013-2020 <NAME>, openmolecules.org
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and th... |
// Copyright © Microsoft 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 ... |
package com.bukhmastov.cdoitmo.util.impl;
import android.content.Context;
import com.bukhmastov.cdoitmo.R;
import com.bukhmastov.cdoitmo.factory.AppComponentProvider;
import com.bukhmastov.cdoitmo.model.user.UserWeek;
import com.bukhmastov.cdoitmo.util.Log;
import com.bukhmastov.cdoitmo.util.Storage;
import com.bukhm... |
package com.hv.calllib.ar.render;
import android.graphics.Color;
import android.opengl.GLES20;
import android.opengl.Matrix;
import android.util.Log;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.nio.ShortBuffer;
public class StrokedRectangle {
pub... |
/**
* Copyright (c) 2008-2009, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this ... |
/*
* 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 org.parker.mips;
import org.parker.mips.assembler.AssemblerLevel;
import org.parker.mips.gui.theme.lookandfeel.ModernScrollPa... |
package com.cloudlbs.core.utils;
/**
* 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, Versi... |
/*
* 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 org.netbeans.contrib.faqsuck;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
impor... |
package weka.classifiers.lazy;
import java.util.HashMap;
import utilities.ClassifierTools;
import weka.classifiers.Classifier;
import weka.core.*;
import weka.core.elastic_distance_measures.*;
/* This class is a specialisation of kNN that can only be used with the efficient DTW distance
*
* The reason for ... |
package mstparser;
public class KBestParseForest2O {
private ParseForestItem[][][][][] chart;
private String[] sent, pos;
private int start, end;
private int K;
public KBestParseForest2O(int start, int end, DependencyInstance inst, int K) {
this.K = K;
chart = new ParseForestItem[end + 1][end + ... |
/*
* Copyright 2013 University of Glasgow.
*
* 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... |
/*
* Copyright 2015 <NAME> <<EMAIL>>
* and other copyright owners as documented in the project's IP log.
*
* 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/... |
package io.github.karlatemp.jcpg;
import com.google.gson.Gson;
import io.github.karlatemp.jcpg.generator.DirBasedGenerator;
import io.github.karlatemp.jcpg.generator.ObserverGenerator;
import io.github.karlatemp.jcpg.generator.StdoutGenerator;
import io.github.karlatemp.jcpg.generator.ZippedProjectGenerator;
import or... |
/*
* Copyright International Business Machines Corp, 2018.
*
* 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 ... |
package org.sepses;
import com.google.common.base.Stopwatch;
import org.apache.commons.cli.*;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVRecord;
import org.apache.commons.io.IOUtils;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.riot.RDFDataMgr;
import org.apache.jena.ri... |
/* *******************************************************************************************************
Copyright (c) 2015 EXILANT Technologies Private Limited
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
i... |
package com.ray3k.template.entities;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.math.Interpolation;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.utils.Array;
import com.dongbat.jbump.CollisionFilter;
import com.dongbat.jbump.Collisions;
impo... |
/*
* RFConfigurator.java
*
* VERSION
* v1.0
* DATE
* 8 Mar 2007
* AUTHOR
* ramdhany
* LOG
* Log: RFConfigurator.java, configurator
*
* GridKit is a configurable and dynamically reconfigurable middleware for Grid and pervasive computing.
* It is the intention that all individual ... |
package org.hl7.davinci.endpoint.files.github;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.parser.IParser;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.io.IOUtils;
import org.hl7.ShortNam... |
package org.jlab.mya;
import java.io.IOException;
import java.sql.SQLException;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.Month;
import java.time.ZoneId;
import org.jlab.mya.nexus.DataNexus;
import org.jlab.mya.nexus.OnDemandNexus;
import org.jlab.mya.stream.EventStream;
import org.jl... |
/*
* Copyright 1997-2014 Optimatika (www.optimatika.se)
*
* 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, mo... |
package modules.processing.ner;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonNode;
import models.document.Document;
import models.document.HTMLDocument;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient... |
/*
* 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 ... |
package com.soecode.lyf.util.entity.model;
import java.math.BigDecimal;
import java.util.Date;
public class CommonBudget {
private String budget_id;
private String table_code;
private String industrial_group_code;
private String area_code;
private String partition_code;
private String bud... |
package com.yobin.stee.tassel.view;
////////////////////////////////////////////////////////////////////
// _ooOoo_ //
// o8888888o //
// 88" . "88 //
// ... |
package io.compgen.ngsutils.tabix;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.zip.GZIPInputStream;
import io.compgen.common.StringUtils;
import io.... |
package tech.arauk.ark.activesupport.inflector;
import tech.arauk.ark.activesupport.core_ext.StringUtils;
import java.text.Normalizer;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Helper class for transliteration related inflections.
*
* @au... |
package com.graly.erp.inv.model;
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.graly.framework.activeentity.model.ADUpdatable;
@Entity
@Table(name="V_PO_ALARM_MOVEMENT_LINE")
public class VPoAlarmMovenetLine extends ADUpdatab... |
/*
* 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 ... |
package com.example.ozgurozdemir.meetpoint;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.app.TimePickerDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content... |
package com.cgfay.cainfilter.glfilter.color;
import android.opengl.GLES30;
import com.cgfay.cainfilter.camerarender.ParamsManager;
import com.cgfay.cainfilter.glfilter.base.GLImageFilter;
import com.cgfay.cainfilter.utils.GlUtil;
/**
* 布鲁克林滤镜
* Created by cain.huang on 2017/11/16.
*/
public class GLBrooklynFilte... |
/*
* Copyright (c) 2010-2012, <NAME>. <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* thi... |
package signalproc.converters;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.StringReader;
import java.util.Scanner;
import java.util.Vector;
import org.trianacode.taskgraph.Unit;
import... |
package main;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Type;
import java.net.URL;
import java.net.URLConnection;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import ja... |
package com.SheldonSandbekkhaug.Peace;
import com.badlogic.gdx.Game;
/* Class for client-side game logic */
public class Peace extends Game {
CommonData commonData;
private PeaceNetworkClient network;
int playerID; // The user's playerID
@Override
public void create () {
//this.setScreen(new MainGameScreen(t... |
package ApolloRescue.module.universal.knd;
import java.util.Arrays;
public class HungarianAlgorithm {
private final double[][] costMatrix;
private final int rows;
private final int cols;
private final int dim;
private final double[] labelByWorker;
private final double[] labelByJob;
private... |
/*
* 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 u... |
package com.gdxsoft.spider;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.gdx... |
package data_structures;
import java.util.*;
import reasoner_component.Constraint;
import reasoner_component.ConstraintSet;
/**
* @author <NAME>
*
* @since 2018 - 11 - 01
*
* License: Creative Commons
*
* Copyright by <NAME>
*
*/
public class ListRuleSet implements RuleSet {
private List<Rule> ruleGrap... |
/*
* Copyright (c) 2018 Team 24 CMPUT301 University of Alberta - All Rights Reserved.
* You may use distribute or modify this code under terms and conditions of COde of Student Behavious at University of Alberta.
* You can find a copy of the license ini this project. Otherwise, please contact <EMAIL>
*
*/
packag... |
package org.highj.data;
import org.derive4j.hkt.__;
import org.highj.data.instance.dequeue.DequeueTraversable;
import org.highj.data.instance.dequeue.DequeueFunctor;
import org.highj.function.Strings;
import org.highj.data.tuple.T2;
import java.util.Iterator;
import java.util.function.BiFunction;
import java.util.fun... |
/*
* Copyright 2008 Search Solution Corporation
* Copyright 2016 CUBRID 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-... |
package com.leax_xiv.logo;
import java.awt.Color;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;... |
package de.lmu.treeapp.activities.minigames.dragDrop;
import android.content.ClipData;
import android.graphics.Canvas;
import android.graphics.Point;
import android.graphics.drawable.Drawable;
import android.view.DragEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
impor... |
package com.views.analog.camera.encode;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.util.LinkedList;
import java.util.Queue;
import com.basic.G;
import com.utils.Exceptio... |
/*
* Copyright (C) 2016 <NAME> (@lipoyang)
*
* 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... |
package com.jotak.mipod.mpd.client;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableList;
import com.jotak.mipod.common.vertx.LineStreamer;
import com.jotak.mipod.configuration.MpdClientConfiguration;
import com.jotak.mipod.data.audio.Song;
import io.vertx.core.Vertx;
import io.vertx.co... |
/* -*- mode: Java; c-basic-offset: 4; indent-tabs-mode: nil; -*- //------100-columns-wide------>|*/
/*
* Copyright (c) 2002 Extreme! Lab, Indiana University. All rights reserved.
*
* This software is open source. See the bottom of this file for the licence.
*
* $Id: SU.java,v 1.6 2004/05/06 18:18:48 aslom Exp $
... |
package com.everneth.emi;
import co.aikar.commands.BukkitCommandManager;
import co.aikar.idb.*;
import com.everneth.emi.commands.*;
import com.everneth.emi.commands.bot.*;
import com.everneth.emi.commands.bot.par.WhitelistAppCommand;
import com.everneth.emi.commands.mint.projects.*;
import com.everneth.emi.commands.pa... |
package com.sameal.dd.ui.dialog;
import android.annotation.SuppressLint;
import android.content.Context;
import android.text.Editable;
import android.text.Html;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import andro... |
/*******************************************************************************
* Copyright (c) 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... |
package co.yiiu.pybbs.config.service;
import co.yiiu.pybbs.model.SystemConfig;
import co.yiiu.pybbs.service.SystemConfigService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.http.HttpHost;
import org.elasticsearch.action.admin.indices.create.CreateIndexRequest;
import org.elasti... |
/*
* Copyright (c) 2015, <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list... |
package dev.psmolinski.kafka.wikipedia;
import io.confluent.kafka.streams.serdes.avro.GenericAvroDeserializer;
import io.confluent.kafka.streams.serdes.avro.GenericAvroSerializer;
import org.apache.avro.Schema;
import org.apache.avro.generic.GenericData;
import org.apache.avro.generic.GenericRecord;
import or... |
// Copyright (C) 2005 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 t... |
package org.jokergames.myjfql.core;
import org.jokergames.myjfql.command.*;
import org.jokergames.myjfql.config.Config;
import org.jokergames.myjfql.config.ConfigService;
import org.jokergames.myjfql.console.Console;
import org.jokergames.myjfql.console.JLineConsole;
import org.jokergames.myjfql.console.ScannerConsole... |
/*
* 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 ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 <NAME>
*
* 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, ... |
package com.dylan.uiparts.edittext;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.os.Handler;
import android.text.Editable;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.TextWatcher;
import android.text.styl... |
package com.king.app.workhelper.ui.customview;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import androidx.annotation.ColorInt;
import androidx.annotation.IntDef;
import android.text.Layout;
import android... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
/*
* Copyright 2002-2004 The Apache Software 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 b... |
package com.techjar.ledcm;
import com.obj.Face;
import com.obj.TextureCoordinate;
import com.obj.Vertex;
import com.obj.WavefrontObject;
import com.techjar.ledcm.util.AxisAlignedBB;
import com.techjar.ledcm.util.Material;
import com.techjar.ledcm.util.Model;
import com.techjar.ledcm.util.math.MutableVector3;
import c... |
/*-----------------------------------------------------------------------------*
* *
* Copyright © 2010 STABILIT Informatik AG, Switzerland *
* ... |
package com.ldodds.slug;
import java.util.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.io.*;
import java.net.*;
import com.ldodds.slug.framework.*;
import com.ldodds.slug.framework.config.Component;
import com.ldodds.slug.framework.config.ComponentFactory;
import com.ldod... |
/*
Copyright 2014 LeSav Software Tmi
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, soft... |
/*
* TaskInstance class is a representative of the the task received from master. Worker will create a taskInstance object
* for every task received from master and use it to track the task.
* First, the taskInstatnce will be put into a queue of Task
* to receive the downlaod request from other dataNode
* @Author:... |
package com.download;
import org.apache.cordova.*;
import org.json.JSONArray;
import org.json.JSONException;
import java.io.File;
import java.util.Locale;
import android.app.NotificationChannel;
import android.app.PendingIntent;
import android.app.UiModeManager;
import android.content.BroadcastReceiver;
import androi... |
/*
* ******************************************************************************
* Copyright (c) 2014-2015 <NAME>.
*
* 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
*
* htt... |
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package io.v.v23.security;
import io.v.v23.verror.VException;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.mat... |
// The code file was created by <a href="https://www.nsleaf.cn">nsleaf</a> (email:<EMAIL>) on 2020/05/19.
package cs.ohms.subsystem.controller;
import cs.ohms.subsystem.common.ResponseResult;
import cs.ohms.subsystem.entity.UserEntity;
import cs.ohms.subsystem.exception.NSRuntimeException;
import cs.ohms.subsystem.ser... |
package com.app.ui;
import android.graphics.Bitmap;
import android.graphics.PixelFormat;
import android.hardware.Camera;
import android.media.CamcorderProfile;
import android.media.MediaMetadataRetriever;
import android.media.MediaRecorder;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
... |
package com.ruoyi.shiyan.domain;
import java.util.Date;
/**
* @Author zhangjian
* @Description //TODO 站点信息
* @Date 16:46 2020/3/24
**/
public class TbSewagePlabt {
private Short id;
private String oid;
private String poid;
private String waterName;
private String waterCode;
private St... |
package no.ntnu.acp142.pdu;
import java.util.ArrayList;
import no.ntnu.acp142.Configuration;
import no.ntnu.acp142.Log;
/*
* Copyright (c) 2013, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... |
/**
* Cloud Manager API
* This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API is https://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET reque... |
package logika;
import java.util.BitSet;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import splosno.Koordinati;
import static util.Util.*;
public class Igra {
// MARK: - State
private BitSet blacks;
private BitSet whites;
private Bit... |
package timeboard.projects;
/*-
* #%L
* reports
* %%
* Copyright (C) 2019 Timeboard
* %%
* 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 limita... |
/**
* Copyright 2005-2015 Red Hat, Inc.
* <p/>
* Red Hat 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
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Un... |
package com.auebo.utils.numerosaletras;
public class NumerosALetras {
private enum Unidades {
Cero(0),
Uno(1),
Dos(2),
Tres(3),
Cuatro(4),
Cinco(5),
Seis(6),
Siete(7),
Ocho(8),
Nueve(9);
public final int valor; //No se puede... |
package uk.gov.pay.api.resources;
import com.codahale.metrics.annotation.Timed;
import com.google.common.collect.ImmutableMap;
import com.google.gson.GsonBuilder;
import io.dropwizard.auth.Auth;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
impor... |
package com.faisalalfareza.smartprint.partials.uploaddocument;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.Toast;
import android.widget.TextView;
... |
/// Copyright 2021 Pinterest 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 t... |
package de.axone.web;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.attribute.FileTime;
import java.util.List;
import java.util.Optional;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.strea... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.