text
stringlengths
3.08k
15.2k
package Tools; import java.text.DecimalFormat; import java.util.Arrays; import java.util.stream.DoubleStream; public class MathAndConvert { //show the percentage of an angle (360 degree) public static String percentage(Object o) { DecimalFormat df = new DecimalFormat("0.00%"); return...
/* Desenvolvido pelo Laboratório de Segurança em Computação (LabSEC) do Departamento de Informática e Estatística (INE), da Universidade Federal de Santa Catarina (UFSC). Apoio: Colégio Notarial do Brasil (CNB) e Instituto Nacional de Tecnologia da Informação (ITI). */ package br.ufsc.labsec.signature.conformanceV...
/* * 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 ...
// Targeted by JavaCPP version 1.5.6-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.ffmpeg.avfilter; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.ffmpeg.avutil.*; import static org.bytedeco....
/* The contents of this file are subject to the Mozilla Public License Version 1.1 (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.mozilla.org/MPL/ Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WAR...
/* * Copyright (C) 2018-2022 <NAME> (www.helger.com) * philip[at]helger[dot]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 ...
// 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...
/* * Copyright 2017 Google Inc. 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 ...
/* * Jicofo, the Jitsi Conference Focus. * * Copyright @ 2015 Atlassian Pty 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 * ...
package com.example.ismailamrani.comptable.ui; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.support.design.widget.Snackbar; import android.util.Base64; import android.v...
package edu.berkeley.nlp.lm.io; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; import java.util.Arrays; import edu.berkeley.nlp.lm.ConfigOptions; import edu.berkeley.nlp.lm.WordIndexer; import edu.berkeley.nlp.lm.collections.Iterators; import edu.berkeley.nlp.lm.util.Logger; import ed...
/** * 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"...
package main.java.models.dao.impl; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; import main.java.models.Administrator; import ...
/* $Id$ ***************************************************************************** * Copyright (c) 2009 Contributors - see below * 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 i...
/** * 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 ...
/** * 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...
// Copyright 2020 The Bazel 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 appl...
/******************************************************************************* * * Copyright FUJITSU LIMITED 2018 * ...
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE package org.bytedeco.onnxruntime; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.opencl.*; import static org.bytedeco.opencl.global.OpenCL...
/** * fshows.com * Copyright (C) 2013-2019 All Rights Reserved. */ package com.util.tool.ip; import com.util.tool.exception.InvalidIPAddressException; import org.apache.commons.lang3.StringUtils; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * ip表示,支持ipv4,ipv6 * @author zhaoj * @version ...
package com.rabbit.conf.mapper.category; import java.util.List; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; import com.rabbit.dto.category.CategoryProductRecommend; public interface...
/* * Copyright (C) 2017-2019 Dremio 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 l...
/* * 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 ...
/* * 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 water.rapids.ast.prims.advmath; import water.*; import water.fvec.Chunk; import water.fvec.Frame; import water.fvec.Vec; import water.rapids.Env; import water.rapids.vals.ValFrame; import water.rapids.ast.AstPrimitive; import water.rapids.ast.AstRoot; import water.util.VecUtils; import java.util.*; import st...
package applica.framework.android.utils; /** * Created by bimbobruno on 02/02/16. */ import android.annotation.TargetApi; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.Matrix; import android.media.ExifInterface; import android.net.Uri; import...
package io.jes.provider; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.util.Collection; import java.util.Spliterators.AbstractSpliterator; import java.util.UUID; import java.util.function.Consumer; import java.util.stream.Stream; import...
package org.graylog2; import org.json.simple.JSONValue; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.zip....
/** * MIT License * * Copyright (c) 2017-2021 Julb * * 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, modif...
package com.uber.concurrency.loadbalancer.utils; import com.google.common.annotations.VisibleForTesting; import java.util.AbstractQueue; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Objects; ...
package org.hisp.dhis.caseentry.action.trackedentity; /* * Copyright (c) 2004-2015, University of Oslo * 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 ...
/* * 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 ...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.language.sentencepiece; import com.yahoo.api.annotations.Beta; import com.yahoo.component.annotation.Inject; import com.yahoo.language.tools.Embed; import com.yahoo.language.Language; import com.y...
package linkage_d; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; public class Combine_Scripts { public static void mai...
/* * (c) Copyright 2018 Palantir Technologies Inc. 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 ...
/* * 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 ...
/** * (C) Copyright IBM Corp. 2010, 2015 * * 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...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.messaging.servicebus; import com.azure.core.util.logging.ClientLogger; import com.azure.messaging.servicebus.implementation.MessageUtils; import com.azure.messaging.servicebus.models.LockRenewalStatus; imp...
/******************************************************************************* * Copyright (c) 2000, 2015 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, an...
/* * 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 n...
package com.example.tomokiiwai.rdb.bsentity.dbmeta; import java.util.List; import java.util.Map; import org.dbflute.Entity; import org.dbflute.dbmeta.AbstractDBMeta; import org.dbflute.dbmeta.info.*; import org.dbflute.dbmeta.name.*; import org.dbflute.dbmeta.property.PropertyGateway; import org.dbflute.dbway.DBDef; ...
package game; import java.util.EnumMap; import java.util.EnumSet; import logic.Parameters; public class Site { public static enum State { BATTLE, FRONTIER, UNEXPLORED, INTERIOR, BORDER, OPEN, READY, OBJECTIVE, COMBAT_READY, GATE, LOCKED, USED, MINE, NEUTRAL, ENEMY } public static enum P { EX...
package com.wings2d.framework.rendering; import java.util.ArrayList; import java.util.List; import java.util.Random; import com.wings2d.framework.core.GameObject; import com.wings2d.framework.core.Level; import com.wings2d.framework.input.KeyState; import com.wings2d.framework.shape.ShapeUtils; import java.awt.Basic...
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. 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 req...
/**************************************************************************** * Copyright 2016-2019 Ruhr-Universität Bochum. * * 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 * * ht...
package com.mobilepolice.office.bean; import java.util.List; public class ApproveDetails { /** * msg : 操作成功 * obj : {"departmentName":"秘书科","schema":"1","requestNum":"1","img":"http://www.freetk.cn:8789/mobileworkws-image/document/292D6F56B5FE4C23991E2529762CBA57-110754.jpg","applyPersonName":"钱科员","se...
/* Copyright 2008-2012 <NAME>. http://www.pdfclown.org Contributors: * <NAME> (original code developer, http://www.stefanochizzolini.it) This file should be part of the source code distribution of "PDF Clown library" (the Program): see the accompanying README files for more info. This Program is free s...
package net.tiny.ws.rs; import java.io.UnsupportedEncodingException; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.logging.Logger; import javax.ws.rs.GET; impo...
/** * 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...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package org.jlab.jaws; import org.apache.kafka.common.serialization.Serdes; import org.apache.kafka.streams.*; import org.apache.kafka.streams.kstream.*; import org.junit.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.List; import java.util.Properties; import static io.confluent.kafka.s...
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may n...
/* * #%L * Wisdom-Framework * %% * Copyright (C) 2013 - 2014 Wisdom Framework * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
/* * 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 ...
/* * MIT License * * Copyright (c) 2020, 2021 Mixinors * * 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, m...
/* * Copyright 2016 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://www.apach...
/* * 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 * dis...
package org.hisp.dhis.dd.action.pdf; /* * Copyright (c) 2004-2011, University of Oslo * 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 abov...
package com.anfelisa.box.models; import java.time.LocalDateTime; import java.util.List; import java.util.Optional; import org.jdbi.v3.core.statement.Update; import com.anfelisa.box.data.IScoreCardData; import de.acegen.PersistenceHandle; public class ScheduledCardDao extends AbstractScheduledCardDao { public INex...
// Copyright 2019 The KeepTry 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 applicable...
/* This class is not used for taxonomy synthesis any more; synthesis is now coordinated by jython scripts. Open Tree Reference Taxonomy (OTT) taxonomy combiner. In jython, say: from org.opentreeoflife.smasher import Smasher */ package org.opentreeoflife.smasher; import org.opentreeoflife.taxa.Taxonomy; ...
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // 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. Redistributions of source code must retain the above copyright notice, // th...
/* * 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 ...
/*-------------------------------------------------------------------------------------------------------------------*\ | Copyright (C) 2014-2016 PayPal | | ...
import java.awt.*; import java.awt.event.*; import java.io.File; import java.io.IOException; import java.util.*; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import javax.sound.sampled.LineUnavailableException; import javax.sound.sample...
/* * @Author: <NAME> * @Date: 2021-04-14 23:38:55 * @LastEditors: <NAME> * @LastEditTime: 2021-05-16 22:41:32 * @Description: 用户服务 */ package com.buaa.oms.service; import java.util.Arrays; import com.buaa.appmodel.cli.ExactMatchCommand; import com.buaa.appmodel.cli.IRunnerDefinition; import com.buaa.appmodel.cl...
package io.fabric8.maven.docker.service; import java.io.Serializable; import java.util.Collection; import java.util.Map; import io.fabric8.maven.docker.access.AuthConfig; import io.fabric8.maven.docker.access.DockerAccess; import io.fabric8.maven.docker.access.DockerAccessException; import io.fabric8.maven.docker.con...
/* Copyright (c) 2018 LibJ * * 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, publish, distribu...
package io.github.Leonardo0013YT.UltraCTW.cosmetics.trails; import io.github.Leonardo0013YT.UltraCTW.UltraCTW; import io.github.Leonardo0013YT.UltraCTW.interfaces.CTWPlayer; import io.github.Leonardo0013YT.UltraCTW.interfaces.Purchasable; import io.github.Leonardo0013YT.UltraCTW.utils.ItemBuilder; import io.github.Leo...
package io.deephaven.engine.table.impl.perf; import io.deephaven.base.log.LogOutput; import io.deephaven.engine.rowset.RowSet; import io.deephaven.engine.rowset.RowSetShiftData; import io.deephaven.engine.table.TableListener; import io.deephaven.engine.table.impl.util.RuntimeMemory; import io.deephaven.io.log.impl.Log...
/* * Zirco Browser for Android * * Copyright (C) 2010 <NAME> and contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 3 as published by the Free Software Foundation. * * This program is distributed in the hope t...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. package com.microsoft.commondatamodel.objectmodel.cdm.projection; import com.microsoft.commondatamodel.objectmodel.cdm.*; import com.microsoft.commondatamodel.ob...
/* * * License Terms * * Copyright (c) 2013-2016, California Institute of Technology ("Caltech"). * U.S. Government sponsorship acknowledged. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are...
/* * 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 ...
/*' * Copyright (c) 2018, Adam <<EMAIL>> * Copyright (c) 2018, Abexlry <<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: * * 1. Redistributions of source code must retain the above...
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
/* * 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 ...
package hantonik.atomiccore.items; import hantonik.atomiccore.AtomicCore; import hantonik.atomiccore.registration.object.FluidObject; import hantonik.atomiccore.utils.Localizable; import lombok.AccessLevel; import lombok.NoArgsConstructor; import net.minecraft.ChatFormatting; import net.minecraft.client.gui.screens.Sc...
/* * 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 n...
/*- * #%L * AWS SAM HTTP Server * %% * Copyright (C) 2005 - 2021 <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 * * http://www.apache.org/licenses/LICENSE-2.0 * ...
/* Copyright 2011-2017 <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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
/* ### * IP: GHIDRA * * 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,...
import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.io.RandomAccessFile; import java.util.*; public class Generate { Word[] Lexicon=new Word[9];//Lexiko me arxiko mege8os 9 le3ewn int WordCount=0; List<Reference[]> Index = new ArrayList<Reference[]>(); //Eureth...
package org.lemurproject.galago.contrib.retrieval.traversal; import org.lemurproject.galago.core.index.stats.FieldStatistics; import org.lemurproject.galago.core.retrieval.Retrieval; import org.lemurproject.galago.core.retrieval.query.Node; import org.lemurproject.galago.core.retrieval.query.NodeParameters; import org...
/* * 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...
/** * Copyright 2017 <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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/******************************************************************************* * Copyright (c) 2015-2016, WSO2.Telco Inc. (http://www.wso2telco.com) All Rights Reserved. * * WSO2.Telco Inc. licences this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in com...
/* * Copyright (c) 2016, WSO2 Inc. (http://wso2.com) 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 re...
package paulevs.proceduralmc.namegen; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Random;...
/** * Copyright 2017 Hortonworks. * * 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 ...
package edu.smu.experiment; import edu.smu.experiment.dto.Tag; import edu.smu.util.StatisticUtils; import org.apache.commons.collections.BidiMap; import org.apache.commons.collections.bidimap.TreeBidiMap; import java.io.*; import java.util.*; public class Analyzer { private static final Analyzer INSTA...
package cn.ycbjie.ycaudioplayer.utils.app; import android.annotation.SuppressLint; import android.app.Activity; import android.app.ActivityManager; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.S...
/* * Copyright 2019 EPAM Systems * * 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 ...
/* * Copyright 2017 EPAM Systems. * * 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 ag...
package robosky.structurehelpers.structure; import java.util.Map; import java.util.Optional; import com.mojang.brigadier.StringReader; import com.mojang.brigadier.exceptions.CommandSyntaxException; import robosky.structurehelpers.block.StructureRepeaterBlock; import robosky.structurehelpers.block.StructureRepeaterBlo...
package de.captaingoldfish.scim.sdk.keycloak.provider; import java.util.stream.Stream; import javax.naming.InitialContext; import javax.naming.NamingException; import org.keycloak.Config; import org.keycloak.models.AdminRoles; import org.keycloak.models.ClientModel; import org.keycloak.models.KeycloakSession; import...
/* Copyright (C) 2013-2018 Expedia Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
/* * 02/21/2005 * * CodeTemplate.java - A "template" (macro) for commonly-typed code. * * This library is distributed under a modified BSD license. See the included * LICENSE file for details. */ package org.fife.ui.rsyntaxtextarea.templates; import java.io.IOException; import java.io.ObjectInputStream; import...
package com.mtons.mblog.base.oauth; import java.lang.reflect.Method; public class APIConfig { private static APIConfig config = new APIConfig(); private String openid_qq; private String openkey_qq; private String redirect_qq; private String openid_sina; private String openkey_sina; p...
/* * 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 ma...