text
stringlengths
3.52k
24k
/* * Copyright (C), 2013-2013, 汽车街电商有限公司 * FileName: FileUtil.java * Author: wei.liao * Date: 2015年1月5日 上午10:19:35 * History: * <author> <time> <version> <desc> * 修改人姓名 修改时间 版本号 描述 */ package com.fw.common.utils; import org.apache.commons.codec.binary.Base64; import o...
package OneKey; import java.awt.Color; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; public class Level { public Panel[][] panels; public Vector2 size = new Vector2(0,0); public Vector2 origin = new Vector2(0,0); public Vect...
package Components.Replicas.Bowser.comps; import java.util.ArrayList; import java.util.HashMap; import Components.Replicas.Bowser.template.Server; public class FunctionManager { Server server; Clients client; public FunctionManager(Server tempServer, Clients tempClient) { this.server = tempServer; this.clien...
package com.tencent.mtt.hippy.views.waterfalllist; import android.text.Layout; import android.view.View; import android.view.ViewGroup; import android.view.ViewParent; import com.tencent.mtt.hippy.HippyEngineContext; import com.tencent.mtt.hippy.common.HippyArray; import com.tencent.mtt.hippy.common.HippyMap; import ...
package image; import engine.math.Matrix4f; import engine.math.Vector2f; import engine.math.Vector3f; import engine.model.RawModel; import engine.renderEngine.DisplayManager; import engine.renderEngine.Loader; import engine.toolbox.Maths; import org.lwjgl.BufferUtils; import java.nio.FloatBuffer; import java.util.con...
/* * 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 uk.co.nakedelement.bufferclient.model; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) @XmlRootElement public class Update { @XmlElement(name="id") private ...
/** * Copyright 2012 <NAME> * Copyright 2013 <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 applicab...
package com.yangdb.fuse.dispatcher.utils; /*- * #%L * fuse-core * %% * Copyright (C) 2016 - 2019 The YangDb Graph Database 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 ...
/******************************************************************************* * Copyright (c) 2015 <NAME>. * * Contributors: * <NAME> - Initial implementation *******************************************************************************/ package org.jenkinsci.plugins.ninja; import hudson.AbortException;...
/* * BSD 3-Clause License * * Copyright (c) 2021, <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: * * 1. Redistributions of source code must retain the above copyright notice, this...
package com.example.splash; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import android.content.ContentResolver; import android.content.Intent; import android.net.Uri; import android.os.Bundle; impor...
package com.whoyao.venue; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import org.json.JSONException; import org.json.JSONObject; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import a...
package com.midday.burger.cacheburger.client; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.midday.burger.cacheburger.model.BurgerCacheDefinition; import com.midday.burger.util.EmptyUtil; import lombok.Getter; import lombok.extern.sl...
/* * * 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"); y...
package com.evranger.soulevspy.fragment; import android.graphics.drawable.Drawable; import android.os.Bundle; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widg...
/* * Copyright 2015 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
// Copyright (c) 2015, Intel Corporation // 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...
package com.sobot.chat.widget; import android.content.Context; import android.os.Handler; import android.text.Editable; import android.text.Html; import android.text.TextUtils; import android.text.TextWatcher; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import androi...
package com.unascribed.ears.common; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.math.BigInteger; import java.util.Arrays; 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 ...
/* * 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.prj.app.logic; import android.annotation.SuppressLint; import android.content.Context; import android.util.Pair; import android.widget.TextView; import com.android.volley.Request; import com.prj.app.api.CustomJsonArrayRequest; import com.prj.app.api.VolleySingleton; import com.prj.app.managers.DatabaseMan...
/** * Copyright (c) 2017 Institute of Computing Technology, Chinese Academy of Sciences, 2017 * Institute of Computing Technology, Chinese Academy of Sciences contributors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in complian...
package com.cs541.vikram.sudokusolver; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.text.InputType; import android.util.AttributeSet; import android.uti...
/* * 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 net.minecraft.util.text; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.Iterators; import com.google.common.collect.Lists; import java.util.Arrays; import java.util.IllegalFormatException; import java.util.Iterator; import java.util.List; import java.util.regex.Matcher...
/* * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Sly Technologies, Inc. * * This file is part of jNetPcap. * * jNetPcap is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version...
/* * Copyright (c) 2015 IBM Corporation and others. * * 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...
/** * (c) Copyright 2018, 2019 IBM Corporation * 1 New Orchard Road, * Armonk, New York, 10504-1722 * United States * +1 914 499 1900 * support: <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 obta...
package cc.bugcat.catserver.asm; import cc.bugcat.catface.spi.AbstractResponesWrapper; import cc.bugcat.catface.utils.CatToosUtil; import cc.bugcat.catserver.beanInfos.CatServerInfo; import cc.bugcat.catserver.handler.CatFaceResolverBuilder; import cc.bugcat.catserver.handler.CatMethodMapping; import cc.bugcat.catserv...
package org.apache.hadoop.mapred; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.metrics.MetricsContext; import org.apache.hadoop.metrics.MetricsRecord; import org.apache.hadoop.metrics.MetricsUti...
/* $This file is distributed under the terms of the license in LICENSE$ */ package edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import javax.servlet.http.HttpSession; import org.apache.j...
/* * (C) Copyright 2006-2014 Nuxeo SA (http://nuxeo.com/) and others. * * 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...
/******************************************************************************* * Copyright 2009 OpenSHA.org in partnership with the Southern California * Earthquake Center (SCEC, http://www.scec.org) at the University of Southern * California and the UnitedStates Geological Survey (USGS; http://www.usgs.gov) * ...
package pipe.gui.imperial.pipe.petrinet.unfold; import pipe.gui.imperial.pipe.exceptions.PetriNetComponentException; import pipe.gui.imperial.pipe.exceptions.PetriNetComponentNotFoundException; import pipe.gui.imperial.pipe.models.petrinet.*; import pipe.gui.imperial.pipe.visitor.PlaceCloner; import pipe.gui.imperial....
/** * Copyright (c) 2017 <NAME> */ package com.craftinggamertom.pageBuilders; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import org.bson.Document; import org.bson.conversions.Bson; import org.springframework.ui.Model; import com.cr...
package ru.interfaced.tvplatform; import android.app.Activity; import android.bluetooth.BluetoothClass; import android.bluetooth.BluetoothDevice; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Point; ...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.app.deduplication; import java.util.ArrayList; import java.util.HashMap; import jav...
/* * Copyright (c) 2008-2019 Haulmont. * * 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 app.model; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; /** * @author <NAME> * <p> * Model of a computation tree, where nodes are configurations and transitions are branches. * </p> */ public class SimulationModel { private final String EMPTY = "\u03B5"; pr...
package com.mongodb.quickstart.csfle; import com.mongodb.MongoException; import com.mongodb.MongoNamespace; import com.mongodb.client.MongoClient; import com.mongodb.client.MongoCollection; import com.mongodb.client.model.IndexOptions; import com.mongodb.client.model.vault.DataKeyOptions; import com.mongodb.client.mod...
package androidx.media2.common; import android.media.MediaFormat; import android.os.Bundle; import android.os.SystemClock; import android.text.TextUtils; import android.util.Log; import android.view.Surface; import androidx.core.util.Pair; import androidx.media.AudioAttributesCompat; import androidx.media2.common.futu...
/* * This file is part of Listings, licensed under the MIT License. * * Copyright (c) 2021 thiccaxe * * 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 wit...
/* * Copyright (C) 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 wr...
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2017 <NAME> * 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...
package com.Whodundid.hotkeys; import com.Whodundid.core.EnhancedMC; import com.Whodundid.core.app.AppType; import com.Whodundid.core.app.EMCApp; import com.Whodundid.core.app.config.AppConfigFile; import com.Whodundid.core.app.config.AppConfigSetting; import com.Whodundid.core.terminal.window.ETerminal; import com.Wh...
package com.ocaml.sdk.annot; import com.intellij.build.FilePosition; import com.intellij.openapi.util.TextRange; import com.ocaml.utils.editor.LogicalSection; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.io.File; import jav...
package com.parse.starter.letshangout.activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.Expand...
/* * Copyright 2015 NEC Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package com.example.screen3; import android.app.Activity; import android.app.DatePickerDialog; import android.app.Dialog; import android.content.Intent; import android.net.Uri; import android.widget.AdapterView; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.Fr...
// DBTCPConnector.java /** * Copyright (C) 2008 10gen 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 * * Unles...
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License,Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/******************************************************************************* * Copyright 2016, 2017 vanilladb.org contributors * * 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 ...
package com.xinqi.ihandwh.OrderSeats; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.net.ConnectivityManager; import android.net.wifi.WifiManager; import android.os.AsyncTask...
/* * Copyright (c) 2014. Real Time Genomics Limited. * * 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...
/* * Copyright 2019 Haulmont. * * 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...
/** * MIT License * * Copyright (c) 2021 <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 org.apache.spark.sql.delta.commands; /** * Convert an existing parquet table to a delta table by creating delta logs based on * existing files. Here are the main components: * <p> * - File Listing: Launch a spark job to list files from a given directory in parallel. * <p> * - Schema Inference: G...
package com.amplifyframework.datastore.generated.model; import java.util.List; import java.util.UUID; import java.util.Objects; import androidx.core.util.ObjectsCompat; import com.amplifyframework.core.model.Model; import com.amplifyframework.core.model.annotations.Index; import com.amplifyframework.core.model.anno...
/* * Copyright 2022 <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...
package InstructorPart; import java.awt.*; import java.awt.event.*; import java.sql.*; import java.util.logging.*; import javax.swing.*; public class HomePage { int scrollMoving = 0, intialScrollVal = 9, currID, index2 = 1 ,currLID; public int in...
package models; import com.avaje.ebean.Model; import helpers.Authenticator; import play.Logger; import play.data.Form; import play.mvc.Security; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import java.io.File; import java.util.ArrayList; import java.util.Collections;...
package org.contentmine.ami.tools; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Level; import org.apache.log4j.Logger; import picocli.AutoComplete; import picocli.CommandLine; import picocli.CommandLine.ArgGroup; import picocli.CommandLine.Command; import picocli.CommandLine.IParameterExceptionHa...
/* * 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.ekstep.tools.loader.service; import org.apache.commons.lang3.StringUtils; import org.apache.logging.log4j.LogManager; impo...
package org.teameos.wallpapers; import android.annotation.SuppressLint; import android.app.Fragment; import android.app.FragmentManager; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.suppor...
package omicron.demo.snake; import java.util.ArrayList; import java.util.List; import java.util.Random; import com.github.msx80.omicron.api.Controller; import com.github.msx80.omicron.api.Game; import com.github.msx80.omicron.api.Sys; import com.github.msx80.omicron.api.SysConfig; import com.github.msx80.omicron.api...
package org.apache.lucene.codecs.compressing; /* * 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 Li...
package com.kastking.salesforcastInfo.domain; import com.kastking.common.annotation.Excel; import com.kastking.common.core.domain.BaseEntity; import java.util.Date; /** * 销量预计信息对象 mis_salesforcast_info * * @author Michael * @date 2020-02-14 */ public class SalesforcastInfo extends BaseEntity { private stati...
package com.sudwood.advancedutilities.nei; import java.awt.Rectangle; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import com.sudwood.advancedutilities.client.gui.GuiSteamCrusher; import com.sudwood.advancedutilities....
/** * * Class VariableExpAS$Class.java * * Generated by KMFStudio at 17 February 2004 14:38:44 * Visit http://www.cs.ukc.ac.uk/kmf * */ package ocl.syntax.ast.expressions; public class VariableExpAS$Class extends OclExpressionAS$Class implements VariableExpAS, ocl.syntax.SyntaxVisitable { /** Default...
package com.vaadin.wolfgang.urlparameters; import com.google.inject.internal.MoreTypes; import com.vaadin.navigator.Navigator; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener; import com.vaadin.server.Page; import com.vaadin.wolfgang.urlparameters.impl.CollectionValueConverter; import ...
/* * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.bluetooth.mwoolley.microbitbledemo.bluetooth; /* * Author: <NAME> * Twitter: @bluetooth_mdw * * * 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.apac...
package fr.eolya.crawler; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.net.UnknownHostException; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.concurrent.Executors; import java.util.concurrent.ThreadPoolE...
/* * Copyright 2015 Kakao Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 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 by applicabl...
/* * 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 ...
/** * In this file I present some code to solve a general linear recurrence of the form: f(n) = k + * c_1*f(n-1) + c_2*f(n-2) + c_3*f(n-3) + ... c_m*f(n-m) in O(m^3log(n)) time where k is a constant, * c_i is a constant. * * <p>Homogeneous linear recurrence relations with constant coefficients (like above) are som...
/* A Java-based HTTP stub server Copyright (C) 2012 <NAME>, <NAME> and <NAME> This program 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 3 of the License, or (at your option) any later version. ...
package co.cdev.agave.web; import java.io.File; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.SortedSet; import java.util.TreeSet; import java.util.logging.Level;...
/* * Copyright (c) 2014, 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 ...
package org.ringingmaster.ui.desktop.documentmanager; import io.reactivex.Observable; import io.reactivex.subjects.BehaviorSubject; import javafx.collections.ObservableList; import javafx.scene.control.Alert; import javafx.scene.control.ButtonType; import javafx.scene.control.Tab; import javafx.scene.control.TabPane; ...
/* UIManager.java -- Copyright (C) 2002 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, or (at your option) ...
package codeprocessor; import java.io.File; import java.io.IOException; import java.net.URI; import java.util.Arrays; import javax.tools.DiagnosticCollector; import javax.tools.JavaCompiler; import javax.tools.JavaFileObject; import javax.tools.SimpleJavaFileObject; import javax.tools.StandardJavaFileManager; import j...
package org.allenai.ml.sequences.crf.conll; import lombok.extern.slf4j.Slf4j; import org.allenai.ml.linalg.DenseVector; import org.allenai.ml.linalg.Vector; import org.allenai.ml.sequences.StateSpace; import org.allenai.ml.sequences.crf.CRFFeatureEncoder; import org.allenai.ml.sequences.crf.CRFModel; import org.allena...
package gov.nist.drmf.interpreter.cas.translation; import gov.nist.drmf.interpreter.cas.blueprints.BlueprintMaster; import gov.nist.drmf.interpreter.cas.common.ForwardTranslationProcessConfig; import gov.nist.drmf.interpreter.cas.logging.TranslatedExpression; import gov.nist.drmf.interpreter.cas.logging.TranslatedExpr...
/****************************************************************************** * Copyright 2017 The Baidu 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...
/* * 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 main; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; im...
/* ### * 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...
package com.diozero.ws281xj; /* * #%L * Organisation: mattjlewis * Project: Device I/O Zero - WS281x Java Wrapper * Filename: PixelColour.java * * This file is part of the diozero project. More information about this project * can be found at http://www.diozero.com/ * %% * Copyright (C)...
package q700; import org.junit.runner.RunWith; import util.runner.Answer; import util.runner.LeetCodeRunner; import util.runner.TestData; import util.runner.data.DataExpectation; /** * https://leetcode.com/problems/number-of-longest-increasing-subsequence/ * * Given an unsorted array of integers, find the number o...
import java.nio.ByteBuffer; import java.util.concurrent.Semaphore; public class CPU { private volatile Semaphore mutex; private Memory mMemory; String processName; private int S0; private int S1; private int S2; private int S3; private int S4; private int S5; private int S6; private int S7; private int $0;...
/* * Copyright (c) 2004 JetBrains s.r.o. 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 condi...
package net.magmastone.inthefrige.activities; import java.util.Locale; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.support.v7.app.ActionBarActivity; import and...
/* * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
package csu.model.object.csuZoneEntity; import java.awt.Point; import java.awt.Polygon; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import javolution.util.FastSet; import rescuecore2.standard.entities.Area; import rescuecore2.standa...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * 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...
/* * 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 ...
/* * @(#)DiffractionBase.java created 29/8/2018 Povo * * Copyright (c) 2018 <NAME> All Rights Reserved. * * This software is the research result of <NAME> and it is * provided as it is as confidential and proprietary information. * You shall not disclose such Confidential Information and shall use * it only in ...