text stringlengths 3.08k 15.2k |
|---|
/*-
* #%L
* Search framework for SciJava applications.
* %%
* Copyright (C) 2017 - 2018 SciJava developers.
* %%
* 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 ... |
package eu.modernmt.context.lucene;
import org.apache.commons.io.IOUtils;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.*;
import org.apache.lucene.search.DocIdSetIterator;
import org.apache.lucene.search.ScoreDoc;
import org.apache.lucene.store.Directory;
import org.apache.lucene.store.RA... |
package hudson.model;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import hudson.model.Descriptor.FormException;
import hudson.search.SearchIndex;
import hudson.search.SearchIndexBuilder;
import hudson.search.SearchItem;
import hudson.views.ViewsTabBar;
import java.io... |
/*
* Copyright (c) 2011-2020, <NAME>. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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.apach... |
/*
* The MIT License
*
* Copyright 2019 <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, modify,... |
package Island;
import AIS.AIS;
import AIS.Antigen;
import Algorithm.DataSet;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Random;
public class IGA {
private int numberOfIslands;
private int populationSize;
private int iterations;
private int currentIterations;
private do... |
package com.orhanobut.loggersample;
import java.util.Arrays;
import android.os.Bundle;
import android.support.annotation.StringRes;
import android.util.Log;
import android.widget.Button;
import android.widget.TextView;
import com.orhanobut.logger.helper.LogSettings;
import com.orhanobut.logger.helper.parser.JsonXmlP... |
/*
* 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) 2014-2019, <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 list of conditions and the fo... |
package com.walmartlabs.concord.agent;
/*-
* *****
* Concord
* -----
* Copyright (C) 2017 - 2019 Walmart 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://... |
/*
* HParticles - A particle engine for HYPE
* Tested using processing 3.0.1
* If you find any issues or make anything cool with this, let me know on twitter at @Garth_D
*
* HYPE_Processing
* http://www.hypeframework.org/ & https://github.com/hype/HYPE_Processing
*
* Copyright (c) 2013-2016 <NAME>
*
* Dist... |
package com.xem.py.pokyabmodel.dto;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import jav... |
/**
* Copyright (c) 2012, <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:
*
* o Redistributions of source code must retain the above copyright
* notice, this list of conditions ... |
/*
* 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 2012 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 ... |
/*
* Copyright (c) 2019 Dell Inc., or its subsidiaries. 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
*
*/
pac... |
/*
* Copyright (c) 2018, 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 Softwa... |
/*
* Copyright 2019, <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 agre... |
/*
* Copyright (C) 2018 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... |
/**
* The DirectFile class hashes the contents of record, writing and reading them to and
* from a Disk object.
* @author <NAME>
*
*/
public class DirectFile {
private Disk disk; //disk on which the file will be written
private char[] buffer; //disk buffer
private int recordSize; ... |
/*******************************************************************************
* Copyright (C) 2017 <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, inclu... |
package site.kason.netlib.tcp;
import lombok.SneakyThrows;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.channels.*;
import java.util.*;
import java.util.logging.Level;
import java.util.logging.Logger;
public class ChannelHost implements Host {
Selec... |
/*
* Copyright (c) 2019, Yani <<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 copyright notice, this
* list of cond... |
/**
* Project: simple-image File Created at 2010-6-28 $Id$ Copyright 2008 Alibaba.com Croporation Limited. All rights
* reserved. This software is the confidential and proprietary information of Alibaba Company.
* ("Confidential Information"). You shall not disclose such Confidential Information and shall use it onl... |
/**
*
* Copyright 2015-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
package com.cloud.api.command.admin.vpc;
import com.cloud.api.APICommand;
import com.cloud.api.APICommandGroup;
import com.cloud.api.ApiCommandJobType;
import com.cloud.api.ApiConstants;
import com.cloud.api.ApiErrorCode;
import com.cloud.api.BaseAsyncCmd;
import com.cloud.api.BaseAsyncCreateCmd;
import com.cloud.api.... |
/*
* Copyright (c) Hoddmimes Solution AB 2021.
*
*
* 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 applicab... |
/*
* 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 controller;
import entities.Pays;
import entities.Region;
import javax.inject.Named;
import javax.enterprise.context.SessionSc... |
package com.memreas.sax.handler;
import android.app.Activity;
import android.os.AsyncTask;
import android.util.Log;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.Toast;
import com.memreas.aws.AmazonClientManager;
import com.memreas.base.Common;
import com.memreas.base... |
package no.nav.tpconfig.server;
import no.nav.tpconfig.domain.TpConfig;
import org.json.JSONObject;
import static no.nav.tpconfig.server.MetricsBuilder.metricFor;
public class EndpointFactory {
private static final String TPNR_URL_PARAMETER_NAME = "tpnr";
private static final String TSSNR_URL_PARAMETER_NAM... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... |
/*
Copyright (c) 2019 Shanghai Xuanzi Technology Co. Ltd https://xuanzi.ltd
XZMind is licensed under the Mulan PSL v1.
You can use this software according to the terms and conditions of the Mulan PSL v1.
You may obtain a copy of Mulan PSL v1 at:
http://license.coscl.org.cn/MulanPSL
THIS SOFTW... |
/* Class418 - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
package com.jagex;
public class Class418 {
public static final int anInt4644 = 21;
public static final int anInt4645 = 36;
public static final int anInt4646 = 6;
public static final int anInt4647 = 41;
public static final int anInt4648 = 2... |
package li.cil.tis3d.client.render.font;
import com.mojang.blaze3d.platform.GlStateManager;
import it.unimi.dsi.fastutil.ints.Int2IntMap;
import it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap;
import li.cil.tis3d.api.util.RenderLayerAccess;
import li.cil.tis3d.api.util.RenderUtil;
import li.cil.tis3d.util.ColorUtils;
i... |
package com.project.entity.proxysale;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.project.enumeration.ProxySaleOrderComplaintStatus;
import com.project.enumeration.ProxySaleOrderComplaintType;
import org.joda.time.DateTime;
import org.joda.time.Minutes;
import org.springframework.util.CollectionUtil... |
/* MIT License
*
* Copyright (c) 2022 SyntaxError404
*
* 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 server;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.LinkedList;
import java.util.List;
import debug.Debug;
import disk.DiskInfo;
import message.Message;
import message.Message.BROADCAST_TYPE;
import message.Message.MESSAGE_TARGET;
import message.Message.MESSAGE_TYPE;
import message.... |
package com.cy.onepush.plugins.extension.script.engine.groovy.limiter;
import com.sun.management.ThreadMXBean;
import org.codehaus.groovy.GroovyBugError;
import org.codehaus.groovy.ast.*;
import org.codehaus.groovy.ast.expr.ClosureExpression;
import org.codehaus.groovy.ast.stmt.*;
import org.codehaus.groovy.control.So... |
package com.almasb.fxglgames.tictactoe;
import com.almasb.fxgl.entity.Entity;
import com.almasb.fxgl.app.GameApplication;
import com.almasb.fxgl.settings.GameSettings;
import com.almasb.fxglgames.tictactoe.control.enemy.MinimaxControl;
import com.almasb.fxglgames.tictactoe.event.AIEvent;
import javafx.animation.KeyFra... |
package com.vitobasso.d20charsheet.model.character;
import com.vitobasso.d20charsheet.R;
import com.vitobasso.d20charsheet.model.item.EquipSlot;
import java.io.Serializable;
import java.security.InvalidParameterException;
import java.util.ArrayList;
import java.util.List;
import static com.vitobasso.d20charsheet.mod... |
package seedu.partyplanet.logic.commands;
import static java.util.Objects.requireNonNull;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import seedu.partyplanet.commons.core.Messages;
import seedu.partyplanet.commons.core.index.Index;
... |
package com.java.study.algorithm.zuo.dadvanced.advanced_class_05;
import org.omg.PortableInterceptor.INACTIVE;
import java.util.Arrays;
/**
* 你的王国里有n条龙,你希望雇佣一些勇士把它们杀死,王国里一共有m个骑士 可以雇佣。
* 假定,一个能力值 为x的骑士可以打败战斗力不超过x的恶龙,且 需要支付x个金币。
* 已知勇士可以重复雇佣,且重复雇佣需要重 复支付金币, 请求出打败所有的恶龙需要的最小金币数目。
* 例如,你的王国里有三条龙, 战斗力分别为10,11,20,
* 同... |
package net.runelite.client.plugins.inventoryscanner;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import net.runelite.api.Client;
import net.runelite.api.InventoryID;
import net.runelite.api.Item;
import net.runelite.api.Point;
import net.runelite.api.... |
/*
* Copyright 2016 Crown Copyright
*
* 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 com.brainy.net;
import com.brainy.hook.KeywordsHook;
import com.brainy.hook.NumberHook;
import com.brainy.MessageObject;
import org.json.JSONArray;
import org.json.JSONObject;
import java.io.Serializable;
import java.util.*;
/**
* Created by eossth on 7/14/2017 AD.
*/
public class Node implements Seriali... |
package seedu.jarvis.ui.cca;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.control.ListCell;
import javafx.scene.control.ListView;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Region;
import javafx.scene.layout.StackPane;
import ja... |
package com.deblox;
/*
Copyright 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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... |
package com.astrokoala.scenes.play_entry;
import java.net.URL;
import java.util.Arrays;
import java.util.ResourceBundle;
import com.astrokoala.models.User;
import com.astrokoala.playbook.App;
import com.astrokoala.playbook.Greet;
//import com.astrokoala.playbook.Greet;
import com.astrokoala.playbook.State;
import com... |
package com.alex.cov19.tracker.service;
import com.alex.cov19.tracker.model.CountryDetail;
import com.alex.cov19.tracker.model.DailyStates;
import com.alex.cov19.tracker.model.DailySummary;
import com.alex.cov19.tracker.model.WorldSummary;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com... |
import java.util.Random;
// The class of Playing BlackJack game, which extends Class PointGame. Class BlackJack contains special game process and game rules just for BlackJack. For example, the method distribute_card() is unique and just for BlackJack rules.
public class BlackJack extends PointGame{
// Preparation... |
package sv.edu.udb.dsm_project;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.But... |
/*
* Access and use of this software shall impose the following
* obligations and understandings on the user. The user is granted the
* right, without any fee or cost, to use, copy, modify, alter, enhance
* and distribute this software, and any derivative works thereof, and
* its supporting documentation for any p... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distr... |
package com.mycloudwear.settingspage;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
i... |
/* gnu.classpath.tools.gjdoc.MemberDocImpl
Copyright (C) 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2,... |
package pl.edu.agh.gratex.model.hyperedge;
import pl.edu.agh.gratex.model.PropertyModel;
import pl.edu.agh.gratex.model.properties.*;
import java.awt.*;
/**
*
*/
public class HyperedgePropertyModel extends PropertyModel {
private LineType lineType = LineType.EMPTY;
private int lineWidth = PropertyModel.EMP... |
package rabbit.open.dtx.server.test;
import junit.framework.TestCase;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rabbit.open.algorithm.elect.data.N... |
/*
* 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 2016 - 2019 Acosix GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
package com.yahoo.ycsb.db;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import redis.clients.jedis.Jedis;
/**
*
* sharded jedis based on user id
*
* @author haoyuh
*
*/
public class HashShardedJedis {
... |
package com.roselism.rosen;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.support.annotation.NonNull;
import android.util.Log;
import com.roselism.rosen.convert.Converter;
import com.roselism.rosen.convert.InStream2String;
import com.roselism.ros... |
/*
* Copyright (c) 2009 University of Durham, England 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 of con... |
package compiler;
import java.util.HashMap;
public class ActivationRecord {
private Integer returnAddress;
private Integer previousAR;
private Integer accessLink;
private Integer group; // to face nesting issue, functions (/AR's) of the same group have access to the previous' groupIDs variables
... |
/*
* Copyright 2017 ThirtyDegreesRay
*
* 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... |
/*
* This file is part of server4je, licensed under the MIT License (MIT).
*
* Copyright (c) PhantomPowered <https://github.com/PhantomPowered>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the ... |
/*
* Copyright (c) 2011-2018, <NAME>. All Rights Reserved.
*
* 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 t... |
/*
===========================================================================
Copyright 2002-2010 <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/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 ... |
package com.playtime;
import lombok.extern.slf4j.Slf4j;
import net.runelite.client.ui.ColorScheme;
import net.runelite.client.ui.PluginPanel;
import net.runelite.client.ui.components.PluginErrorPanel;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
im... |
package eu.judegam.wopfe.controllers.tests;
import eu.judegam.wopfe.auth.UserService;
import eu.judegam.wopfe.models.User;
import eu.judegam.wopfe.models.tests.Answer;
import eu.judegam.wopfe.models.tests.Question;
import eu.judegam.wopfe.models.tests.Test;
import eu.judegam.wopfe.services.TestsService;
import eu.jude... |
package org.slc.sli.api;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.slc.sli.model.ModelEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactor... |
package me.onebone.actaeon.entity;
import cn.nukkit.entity.Entity;
import cn.nukkit.entity.EntityCreature;
import cn.nukkit.level.format.FullChunk;
import cn.nukkit.math.AxisAlignedBB;
import cn.nukkit.math.Vector3;
import cn.nukkit.nbt.tag.CompoundTag;
import me.onebone.actaeon.route.AdvancedRouteFinder;
import me.on... |
/*******************************************************************************
* Copyright 2016-2017 Dell 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/... |
/*
* Copyright (C) 2015 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... |
package com.danawa.dsearch.server.entity;
import java.io.Serializable;
import java.util.Map;
public class Collection implements Serializable {
private String id; // es index id
private String name;
private String baseId;
private boolean scheduled;
private String jdbcId;
private String cron;
... |
package com.github.zxh.classpy.bitcoin;
import com.github.zxh.classpy.bitcoin.types.Bytes;
import com.github.zxh.classpy.common.ParseException;
// https://en.bitcoin.it/wiki/Script
public class Script extends BlockComponent {
@Override
protected void readContent(BlockReader reader) {
long n = readVar... |
package wallOfTweets;
import java.io.IOException;
import java.io.PrintWriter;
import java.security.MessageDigest;
import java.sql.SQLException;
import java.text.DateFormat;
import java.util.Base64;
import java.util.Locale;
import java.util.Vector;
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
imp... |
package com.views;
import com.RentalTool;
import com.SecurePageComponent;
import com.models.GadgetModel;
import com.models.ReservationModel;
import com.models.UserModel;
import com.presenter.*;
import com.vaadin.navigator.View;
import com.vaadin.navigator.ViewChangeListener;
import com.vaadin.server.VaadinSession;
imp... |
package com.example.soilrespiration.activity;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.ServiceConnection;
import android.os.Handler;
import android.os.IBinde... |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... |
/*
* 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
* distribu... |
/*
* Copyright 2013 Monocrea 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 o... |
/*
* Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package org.apache.fop.fonts;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class SingleByteFont e... |
package de.rwthaachen.nxtpraktikum.gruppe2_2017.pc.nav;
import java.awt.Point;
import de.rwthaachen.nxtpraktikum.gruppe2_2017.pc.gui.ApplicationHandler;
/**
* This class is used to navigate the NXT without influencing other calculations and communication.
* The class is designed to navigate the NXT based on ... |
/*
* 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 2009 HadoopDB Team (http://db.cs.yale.edu/hadoopdb/hadoopdb.html)
*
* 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... |
/*
* 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 (C) 2009 University of Washington
*
* 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 ... |
package com.app.civitati.ui.dashboard;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. The ASF 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
*
* ... |
package net.minecraft.server;
import com.google.common.collect.Sets;
import java.io.File;
import java.util.Collections;
import java.util.Iterator;
import java.util.Set;
public class LootTables {
private static final Set<MinecraftKey> aE = Sets.newHashSet();
private static final Set<MinecraftKey> aF = Collect... |
package org.ginryan.speex;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.channels.FileChannel;
import android.util.Log;
/**
* 录音文件写入辅助类
*
* @author Liang
*
... |
/*
* 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 ... |
// | -----------------------------------------------------------------
// | idx3d III is (c)1999/2000 by <NAME>
// | -----------------------------------------------------------------
// | idx3d is a 3d engine written in 100% pure Java (1.1 compatible)
// | and provides a fast and flexible API for software 3d rendering
... |
package org.xm.ansj.dictionary;
import org.nlpcn.commons.lang.tire.domain.Forest;
import org.nlpcn.commons.lang.tire.domain.SmartForest;
import org.nlpcn.commons.lang.tire.domain.Value;
import org.nlpcn.commons.lang.tire.library.Library;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xm.an... |
/*
* Copyright 2020, Brightspot.
*
* 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... |
/*
* ******************************************************************************
* Copyright 2014-2019 Spectra Logic Corporation. 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 i... |
/*
* Copyright (c) 2021, <NAME>. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.