sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
b4f412afcaa91a1354b066d5070a20b99e66fd7a34dd91b0b9963fa0623eae01 | Java | 2,861 | 136 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.Mat;
import org.opencv.utils.Converters;
// C++: class BOWTrainer
//javadoc: BOWTrainer
public class BOWTrainer {
protected final long nativeObj;... |
9f3dfafeb72aee270e88162d2618f1c7e887cdbff11b9093d0a36438bc4b3b7a | Java | 2,865 | 95 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
7ade724b3ab79e22fe55d5e24d95aa297797511df7dd551763178d27a7757e8f | Java | 2,881 | 67 | package Orion_Stardist;
import java.util.LinkedHashMap;
import java.util.Map;
public class Opt {
public static final String INPUT_IMAGE = "Input Image";
public static final String PROB_IMAGE = "Probability/Score Image";
public static final String DIST_IMAGE = "Distance Image";
public static final... |
b539a3c66d0ddbb495ea0f722fb16d897b8c5670622d1ad6c445413a37b21853 | Java | 2,893 | 78 | package io.ray.test;
import com.google.common.collect.ImmutableList;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.api.WaitResult;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
/** Resources Management Test. ... |
39309e951a9f7d3be5d0359a62bad3e059d38f006fad3db4cd888aacded15ea0 | Java | 2,899 | 67 | package Orion_Stardist;
import java.util.LinkedHashMap;
import java.util.Map;
public class Orion_Opt {
public static final String INPUT_IMAGE = "Input Image";
public static final String PROB_IMAGE = "Probability/Score Image";
public static final String DIST_IMAGE = "Distance Image";
public static... |
ca69d73faa29163b2428caa040de5d3c9ac0ed1c138436d758bb3460d8f7ff5c | Java | 2,900 | 101 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
e6c0f69ca77f77a929d1732bd2de20218e45d8c8c8c33904b1ae0aeff6c08fc9 | Java | 2,906 | 94 | package io.ray.test;
import com.google.common.collect.ImmutableList;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.api.exception.RayActorException;
import java.util.function.BiConsumer;
import org.testng.Assert;
import org.testng.annotations.Test;
@Test(groups = {"cl... |
abe20c9168f18df6c9457db70ed96d08beabea648865e572c2f7c0d16ea64255 | Java | 2,944 | 130 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.photo;
import org.opencv.photo.Tonemap;
// C++: class TonemapReinhard
//javadoc: TonemapReinhard
public class TonemapReinhard extends Tonemap {
protected TonemapReinhard(long addr) { super(addr); }
// internal usage only
p... |
9e3d28771e5d6a5345d7d978949966c44d95050e5766bec34242afc46e41942b | Java | 2,949 | 99 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
39e6e144b13e58a513993919f87b8bce2dcb68372ea1214f0f1e779a902b908a | Java | 2,965 | 85 | // Theo Walker
// Max Planck Florida Institute
// naroom@gmail.com
package cellMagicWand;
import ij.ImagePlus;
import ij.io.FileSaver;
import ij.io.Opener;
import ij.process.ShortProcessor;
public class RingTest {
public static void test(){
String testDataDir = "C:/netbeans-projects/Polar_Cell/sr... |
21d292517442fefddaeba62481b571b2243a5022becbc473f4f0fbedc01d1bdd | Java | 3,010 | 101 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
67e86ab151ba54b9ca96381df6ca6e827e16b4f541a65b47ded6a1de4fe8c9e5 | Java | 3,018 | 100 | /*
* #%L
* hIPNAT plugins for Fiji distribution of ImageJ
* %%
* Copyright (C) 2017 Tiago Ferreira
* %%
* 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... |
f2c4db7ae5ac449a1313a5a9d3774ae4b71ea522f9fb3bb85f2c1d14a7402b58 | Java | 3,021 | 105 | package io.ray.serve.deployment;
import com.google.gson.Gson;
import com.google.protobuf.InvalidProtocolBufferException;
import io.ray.serve.config.DeploymentConfig;
import io.ray.serve.exception.RayServeException;
import java.io.Serializable;
import java.util.Map;
import org.apache.commons.lang3.RandomStringUtils;
im... |
b80cf7b06f0d2b2b60fab3b91158a3e5f39b6038c02acc22a60ec9d093604984 | Java | 3,028 | 96 | package io.ray.serve.api;
import io.ray.api.PyActorHandle;
import io.ray.api.Ray;
import io.ray.serve.BaseServeTest;
import io.ray.serve.DummyServeController;
import io.ray.serve.common.Constants;
import io.ray.serve.config.RayServeConfig;
import io.ray.serve.exception.RayServeException;
import io.ray.serve.replica.Re... |
79f12bc24eef13ea520464f8f53126f9627cf0ac594f54ddbf40ba8866690153 | Java | 3,041 | 95 | package io.ray.serve.docdemo;
import io.ray.serve.api.Serve;
import io.ray.serve.deployment.Application;
import io.ray.serve.deployment.Deployment;
import io.ray.serve.handle.DeploymentResponse;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
... |
d3d07067f82b02de59daa04d51aad0ae20d7f9af8ec7a664db37682465cf1a3e | Java | 3,150 | 80 | package io.ray.runtime.util;
import com.google.common.base.Preconditions;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.RandomAccessFile;
import java.nio.channels.FileLock;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardCopyOption;
imp... |
96a0791f15f9e9354c815e7312e17110427812fba5b8e454636e211817bf5605 | Java | 3,158 | 96 | package io.ray.serve.util;
import com.google.protobuf.InvalidProtocolBufferException;
import io.ray.serve.common.Constants;
import io.ray.serve.exception.RayServeException;
import io.ray.serve.generated.EndpointInfo;
import io.ray.serve.generated.EndpointSet;
import io.ray.serve.generated.RequestMetadata;
import io.ra... |
bb4ce037ec2c0841f37a5531f58965f48b8c52853155c6fd1c8860807f90737f | Java | 3,158 | 94 | package io.ray.test;
import static io.ray.runtime.util.SystemUtil.pid;
import com.google.common.collect.ImmutableList;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.api.exception.RayActorException;
import io.ray.api.options.ActorCreationOptions;
import io.ray.runtime... |
f19ec7e0c43627de4f4ff6aea0661f5af21ed3f1a9c6159f168becdaea63c0bc | Java | 3,167 | 77 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
f4896b88ea5b08a38ee1f9cdbda4964360734e2c316c698a582c54d3012839ba | Java | 3,179 | 102 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
import java.lang.String;
import org.opencv.core.Mat;
import org.opencv.ml.NormalBayesClassifier;
import org.opencv.ml.StatModel;
// C++: class NormalBayesClassifier
//javadoc: NormalBayesClassifier
public class NormalBayesClassifier... |
0eeda2cf1df670f4b5d595ab4ab70fa145848f684c3e34a998da609471aba77e | Java | 3,204 | 127 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.Mat;
import org.opencv.core.MatOfKeyPoint;
import org.opencv.utils.Converters;
// C++: class BOWImgDescriptorExtractor
//javadoc: BOWImgDescriptorExtra... |
dc6e4e0e01b33fb125a72bd8f3eee9d4252a7914469d22ea267ec5c492ecde67 | Java | 3,208 | 111 | package io.ray.runtime.metric;
import com.google.common.base.Preconditions;
import com.google.common.util.concurrent.AtomicDouble;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* Class metric is mapped to stats metric object... |
40817fbc7c1a24ed8dacbc4f4f32c6048438874e75b4fcc381137aad22cb429b | Java | 3,214 | 94 | package io.ray.test;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import com.google.common.collect.ImmutableMap;
import io.ray.api.options.BaseTaskOptions;
import java.util.HashMap;
import java.util.Map;
import org.testng.annotations.Test;
public class BaseTaskOptionsTest... |
b56975582fb7fe05efe8a3fefb8103a3f31644b623ac2fa757c6b01c738c5f48 | Java | 3,223 | 100 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
416ac586bb78423c6eb55f68e052f796bedda1b95d18b9eff378a0a7be696547 | Java | 3,232 | 101 | package io.ray.runtime.runner;
import com.google.common.base.Joiner;
import io.ray.runtime.config.RayConfig;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import java.util.regex.Matcher;
import java.util.regex.Patte... |
48af8ea423929cc2e6cdbd4867f520480103770d6fd4985fb3f088aaf7a7c3c6 | Java | 3,238 | 100 | /*
* #%L
* Modified based on Utils.java of the ImageJ Strahler Analysis plugin by Tiago Ferreira.
*
* Major Modifications:
* Deleted unused functions.
* Edited displayed text.
*
* Diana Bank, Inle Bush, and Elena Zhong, Chun Han Lab, Cornell University
* #L%
*/
package dend;
import java.awt.Window;
import ja... |
ae312b850f3fdafc3cf47e9082861e3ad3d8600d90eded533a75f8c842fc4c04 | Java | 3,241 | 133 | package io.ray.runtime.placementgroup;
import io.ray.api.Ray;
import io.ray.api.id.PlacementGroupId;
import io.ray.api.placementgroup.PlacementGroup;
import io.ray.api.placementgroup.PlacementGroupState;
import io.ray.api.placementgroup.PlacementStrategy;
import java.io.Serializable;
import java.util.List;
import java... |
00c82a202c8aac2a2843d4c8a0781baf59cc950cfa2537b157f9f9e81132c073 | Java | 3,270 | 89 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
9789f18c8ab9c227a3ca2e3b26da20e74479a6c77937368854085111abe55203 | Java | 3,275 | 184 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.core;
// C++: class TickMeter
//javadoc: TickMeter
public class TickMeter {
protected final long nativeObj;
protected TickMeter(long addr) { nativeObj = addr; }
public long getNativeObjAddr() { return nativeObj; }
//... |
381f8b0684ba72f19cd09465ab9f0838c70de610f50341af86abdb0dab342d6d | Java | 3,281 | 120 | package io.ray.api.options;
import io.ray.api.placementgroup.PlacementGroup;
import io.ray.api.runtimeenv.RuntimeEnv;
import java.util.HashMap;
import java.util.Map;
/** The options for RayCall. */
public class CallOptions extends BaseTaskOptions {
private final String name;
private final PlacementGroup group;
... |
aef4b812b6c26bf843d058dd42747db7df9952d0c25107271fd742fa4b807093 | Java | 3,293 | 134 | // Theo Walker
// Max Planck Florida Institute
// naroom@gmail.com
package cellMagicWand;
public class CartesianPixel {
public int x;
public int y;
public double r;
public double theta;
public CartesianPixel(double r, double theta, int cx, int cy, int maxX, int maxY){
this.r = r;
this.th... |
25d9376b0f68191aa4b95c429a4e467828672ce490d2a5d282dcb12fa6e158aa | Java | 3,306 | 88 | package io.ray.serve.router;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.serve.BaseServeTest;
import io.ray.serve.DummyServeController;
import io.ray.serve.api.Serve;
import io.ray.serve.common.Constants;
import io.ray.serve.config.DeploymentConfig;
import io.ray.se... |
4c908ad85b2d5429cae3d5c13e33035b77f389358fbc0da0bf83c1e13394bc27 | Java | 3,318 | 98 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
c3707434637f02dc0a35a92ac38bf76e73c5956397a1cdef5d7fae1f29d29b85 | Java | 3,319 | 93 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
==========================... |
0119e2e2ae92884b1802253829624dea18023ac5e75565b57853ffabaf4742b6 | Java | 3,359 | 92 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
729383318a5a8683550b6ff62d1ec1bd69fbb9b95ed875c59b75d3db93cae925 | Java | 3,369 | 101 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.imgproc;
import org.opencv.core.Algorithm;
import org.opencv.core.Mat;
import org.opencv.core.Size;
// C++: class LineSegmentDetector
//javadoc: LineSegmentDetector
public class LineSegmentDetector extends Algorithm {
protected Lin... |
0e9422bfcf11e9e5f8d4e33658e437224f4a4caa2259f4958bf09690762e2635 | Java | 3,381 | 92 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
672ff25eee40361442fae3489f5d360f29ba26bf2371297befce665504a06407 | Java | 3,395 | 91 | package io.ray.runtime.util;
import com.google.common.collect.Sets;
import com.sun.jna.NativeLibrary;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class JniUtils {
private static final Logger LOGGER... |
b0a941cc125fdb387d1c76d0d7817cc3047eb839c904b50fb1c4faeb6dadfe49 | Java | 3,401 | 106 | package io.ray.api.options;
import io.ray.api.Ray;
import io.ray.api.placementgroup.PlacementStrategy;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/** The options for creating placement group. */
public class PlacementGroupCr... |
01231a0f543499305183011af5ee0a7df2171ea475dbddf7de2127d836e6b67c | Java | 3,433 | 128 | package lychi;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Logger;
import java.util.logging.Level;
import chemaxon.formats.MolImporter;
import chemaxon.formats.MolFormatException;
import chemaxon.struc.Molecule;
import chemaxon.struc.MolAtom;
import chemaxon.util.Mol... |
f83dcc5e7a53de838d433baf126893252b88e920acb2926db0fe34b94e33d28e | Java | 3,476 | 87 | package io.ray.runtime.task;
import com.google.common.base.Preconditions;
import com.google.common.primitives.Bytes;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.api.id.ObjectId;
import io.ray.runtime.AbstractRayRuntime;
import io.ray.runtime.generated.Common.Address;
import io.ray.runtime.generat... |
2a5018d70f0c4f1acd5d2b320a350b7157c521f90a5b4c4c9858e59b29d7a297 | Java | 3,478 | 121 | package io.ray.api.runtimeenv;
import io.ray.api.Ray;
import io.ray.api.exception.RuntimeEnvException;
import io.ray.api.runtimeenv.types.RuntimeEnvName;
/** This class provides interfaces of setting runtime environments for job/actor/task. */
public interface RuntimeEnv {
/**
* Set a runtime env field by name ... |
a583bb54db135ec0c8b0e737c5cddf288bf1e1ca2a1b010da95e4d54d5331a3c | Java | 3,485 | 160 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
import org.opencv.ml.ParamGrid;
// C++: class ParamGrid
//javadoc: ParamGrid
public class ParamGrid {
protected final long nativeObj;
protected ParamGrid(long addr) { nativeObj = addr; }
public long getNativeObjAddr() ... |
aa80f38178a81875dc59c11e662b9ab522d007014e07e23914db60136c049dd3 | Java | 3,498 | 108 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
eb41df81ecfc6e2f92cf91d237c56c16866450c164c6f6b5a348088e872ea688 | Java | 3,508 | 104 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
dd5ee3f0f5995400c513613e41b1b9e9d2070ddddf4ef3ad2a31ec960c89a8d0 | Java | 3,518 | 164 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.photo;
import org.opencv.photo.Tonemap;
// C++: class TonemapDurand
//javadoc: TonemapDurand
public class TonemapDurand extends Tonemap {
protected TonemapDurand(long addr) { super(addr); }
// internal usage only
public st... |
40cb8367624c9617d6a990ae8f2e688dac5c1c69d310c533928b6510f4cd7df4 | Java | 3,540 | 123 | package io.ray.runtime.context;
import com.google.common.base.Preconditions;
import io.ray.api.BaseActorHandle;
import io.ray.api.id.ActorId;
import io.ray.api.id.JobId;
import io.ray.api.id.TaskId;
import io.ray.api.id.UniqueId;
import io.ray.api.runtimecontext.ActorInfo;
import io.ray.api.runtimecontext.ActorState;
... |
18f0328fa8ed20509626ab41e5adc689556ac61019af02f44c1d1920c2b38965 | Java | 3,543 | 98 | package io.ray.serve.router;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.serve.BaseServeTest;
import io.ray.serve.DummyServeController;
import io.ray.serve.common.Constants;
import io.ray.serve.config.DeploymentConfig;
import io.ray.serve.deployment.DeploymentVersio... |
5a1bcc0fe890764dca727db65a315a0178f7b75faf1965f937350982cfcf54de | Java | 3,544 | 106 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
==========================... |
f7b15de3884583f50f5a72df302f538496157ae4fe6c6b115cf578a1166bd5e1 | Java | 3,573 | 113 | package org.opencv.core;
//javadoc:RotatedRect_
public class RotatedRect {
public Point center;
public Size size;
public double angle;
public RotatedRect() {
this.center = new Point();
this.size = new Size();
this.angle = 0;
}
public RotatedRect(Point c, Size s, doubl... |
8d60a6167e96daf7b24e09e41d122dd1936ac3f9248253843793c1aac04c48a8 | Java | 3,579 | 109 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
568ee812e0d30a05afc3fb602311f2b9ecf0bac8d7f72bdad2f415bcfa883469 | Java | 3,613 | 116 | package io.ray.runtime.object;
import com.google.common.base.Preconditions;
import io.ray.api.exception.RayTimeoutException;
import io.ray.api.id.ObjectId;
import io.ray.runtime.context.WorkerContext;
import io.ray.runtime.generated.Common.Address;
import java.util.ArrayList;
import java.util.List;
import java.util.Ma... |
4a40b78db1cc3d10fb6677b48022d9b67e56d691f56514becdecfc9bc01386c6 | Java | 3,623 | 132 | package org.opencv.android;
import android.content.Context;
/**
* Helper class provides common initialization methods for OpenCV library.
*/
public class OpenCVLoader
{
/**
* OpenCV Library version 2.4.2.
*/
public static final String OPENCV_VERSION_2_4_2 = "2.4.2";
/**
* OpenCV Library ... |
da419015bf656a98e31a6661d2b8f3ab824ec3413588950e0ecdfe0f60ee3708 | Java | 3,631 | 164 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
import org.opencv.ml.ANN_MLP;
// C++: class ANN_MLP_ANNEAL
//javadoc: ANN_MLP_ANNEAL
public class ANN_MLP_ANNEAL extends ANN_MLP {
protected ANN_MLP_ANNEAL(long addr) { super(addr); }
// internal usage only
public stat... |
178fe13df5a06b368f6baacc1f2ac398712353e7f944dc9bff18df15b9f5af52 | Java | 3,638 | 120 | package io.ray.serve.docdemo;
import com.google.gson.Gson;
import io.ray.serve.api.Serve;
import io.ray.serve.deployment.Application;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
impor... |
9e48d3f1371e5cda8cefd583436c351aa7ef423f2b946a80ada2665329c55c2a | Java | 3,639 | 117 | package io.ray.test;
import io.ray.api.ActorHandle;
import io.ray.api.Ray;
import io.ray.api.exception.RayActorException;
import io.ray.api.options.ActorLifetime;
import io.ray.runtime.util.SystemUtil;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;
import org.test... |
b1a687fb7fc44a72258bd4607111c86da0ef31738bb792c0275f2443a70a7d32 | Java | 3,641 | 146 | package io.ray.runtime.metric;
import com.google.common.base.Preconditions;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/** The entry of metrics for easy use. */
public final class Metrics {
private static MetricRegistry metricRegistry;
public static MetricRegistry init(MetricConfig m... |
422f2e4bfa0a1663625d3fa14d5c9aa22a670da0a51f307323ba11db37dfacea | Java | 3,669 | 98 | package io.ray.serve.router;
import com.google.common.collect.ImmutableMap;
import io.ray.api.BaseActorHandle;
import io.ray.api.ObjectRef;
import io.ray.runtime.metric.Count;
import io.ray.runtime.metric.Gauge;
import io.ray.runtime.metric.Metrics;
import io.ray.serve.deployment.DeploymentId;
import io.ray.serve.gene... |
42d1e4730273d210135e1dd00816da2ce65a62718821754cde0888974ecf3fd8 | Java | 3,718 | 117 | package io.ray.performancetest;
import com.google.common.base.Preconditions;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory... |
7017cadc00a3ad35ddfdeb5c767834c852ec5418c653cc225355f51227e9d99f | Java | 3,794 | 183 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
import java.lang.String;
import org.opencv.ml.Boost;
import org.opencv.ml.DTrees;
// C++: class Boost
//javadoc: Boost
public class Boost extends DTrees {
protected Boost(long addr) { super(addr); }
// internal usage only
... |
ed3a803677b6d99a80b1de51ed2c001731a2b2c07370e66872761c2d5debecf6 | Java | 3,815 | 111 | package io.ray.runtime.placementgroup;
import com.google.common.base.Preconditions;
import com.google.protobuf.InvalidProtocolBufferException;
import io.ray.api.id.PlacementGroupId;
import io.ray.api.placementgroup.PlacementGroupState;
import io.ray.api.placementgroup.PlacementStrategy;
import io.ray.runtime.generated... |
1cb8ac74a28bd0cf0ae0e2f5aff365e159e4fed930f82592bb470a3200d9e43f | Java | 3,825 | 173 | // Theo Walker
// Max Planck Florida Institute
// naroom@gmail.com
package cellMagicWand;
import java.util.ArrayList;
public class CartesianPixelPath {
ArrayList<CartesianPixel> originalPath;
ArrayList<Pixel> connectedPath;
public enum Direction {UP, DOWN, LEFT, RIGHT, ERROR};
public Cartesi... |
13617fef4b90388c6cb17244180c21ca6a00ea54763aa80b6e21c48e777777bb | Java | 3,909 | 108 | package io.ray.test;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.runtime.util.SystemUtil;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.ProcessBuilder.Redirect;
import java.util.ArrayList;
import java.u... |
7ee0c3712e21afd9e00ddc3c5fa0df1a77521abae97064ae8e99855ce1db98b9 | Java | 3,951 | 110 | package io.ray.serve.poll;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.serve.BaseServeTest;
import io.ray.serve.DummyServeController;
import io.ray.serve.api.Serve;
import io.ray.serve.common.Constants;
import io.ray.serve.config.RayServeConfig;
import io.ray.serve.... |
0ecef6a095fd83123761c001734e61aaa8ea09ed8306dd572e81ab183c3cd835 | Java | 3,965 | 121 | // Theo Walker
// Max Planck Florida Institute
// naroom@gmail.com
package cellMagicWand;
import java.util.ArrayList;
import ij.ImagePlus;
import ij.io.FileSaver;
import ij.io.Opener;
import ij.process.ShortProcessor;
public class PolarTest {
public static void test(){
String testDataDir = "C:/n... |
3a93ba4a629ef0c61fd0329b1a600faed8a441cccc3133db8604f8ff961ca53a | Java | 3,965 | 94 | package io.ray.runtime.util;
import com.google.common.base.Preconditions;
import io.ray.api.concurrencygroup.ConcurrencyGroup;
import io.ray.api.concurrencygroup.annotations.DefConcurrencyGroup;
import io.ray.api.concurrencygroup.annotations.DefConcurrencyGroups;
import io.ray.api.concurrencygroup.annotations.UseConcu... |
7ca2bfcd7e29d8c55d662a62191cc9280c998d330028b5daf110f6e787211895 | Java | 3,966 | 125 | package io.ray.runtime.object;
import com.google.protobuf.InvalidProtocolBufferException;
import io.ray.api.id.BaseId;
import io.ray.api.id.ObjectId;
import io.ray.runtime.context.WorkerContext;
import io.ray.runtime.generated.Common.Address;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
impor... |
3ceed405ffaf3a1d18182025b07ea33b9337d6dab71ad4a7e23af39bc278ae07 | Java | 3,976 | 114 | package io.ray.test;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.api.id.JobId;
import io.ray.api.runtimecontext.ActorInfo;
import io.ray.api.runtimecontext.ActorState;
import io.ray.api.runtimecontext.Address;
import io.ray.api.runtimecontext.NodeInfo;
import java.u... |
6e0eb6a4fbda08cce1c56b98d41d59063547be09c52725b02708f3b41a02e951 | Java | 3,979 | 150 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
caefbbdfa410725546dde2dc448fc1c4f1776af6b21a9c233bc35eae426820ef | Java | 4,089 | 136 | package org.opencv.core;
public final class CvType {
// type depth constants
public static final int
CV_8U = 0, CV_8S = 1,
CV_16U = 2, CV_16S = 3,
CV_32S = 4,
CV_32F = 5,
CV_64F = 6,
CV_USRTYPE1 = 7;
// predefined type constants
... |
353f500cad2e6c2e7b9e7ce08e4a20c7c4af08052a8dcb3f9e0e41f834d850b5 | Java | 4,157 | 116 | package Orion_Stardist;
import java.util.Arrays;
import java.util.Collection;
import java.util.Comparator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.stream.Stream;
import de.lighti.clipper.Path;
import de.lighti.clipper.Point.LongPoint;
import ij.IJ;
import ij.ImagePlus;
import ij.gui.Po... |
a602f1a9f8e48dca4221cf601f45c723b5a5ad4630e108d86c7249f5815ac5da | Java | 4,175 | 116 | package Orion_Stardist;
import java.util.Arrays;
import java.util.Collection;
import java.util.Comparator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.stream.Stream;
import de.lighti.clipper.Path;
import de.lighti.clipper.Point.LongPoint;
import ij.IJ;
import ij.ImagePlus;
import ij.gui.Po... |
d9394a0ec864e45c2af594324708c80a3ce3c1cc427e9d22025f2933d481c199 | Java | 4,227 | 135 | package io.ray.serve.deployment;
import com.google.common.base.Preconditions;
import io.ray.serve.api.Serve;
import io.ray.serve.common.Constants;
import io.ray.serve.config.DeploymentConfig;
import io.ray.serve.config.ReplicaConfig;
import io.ray.serve.dag.ClassNode;
import io.ray.serve.dag.DAGNode;
import io.ray.ser... |
bb1e6f43ba2284a704634eccb722bb2a9b1ab9a4e6a6147c8eba6e78c2a6db86 | Java | 4,232 | 122 | package io.ray.serve.deployment;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.serve.BaseServeTest;
import io.ray.serve.api.Serve;
import io.ray.serve.generated.DeploymentLanguage;
import io.ray.serve.handle.DeploymentHandle;
import java.io.File;
import java.io.IOException;
import java.io.InputStre... |
84390b1ff214487a678bc366d3673cdb111cf3e9d1a827d5bb00a1a59b5263d7 | Java | 4,267 | 120 | package io.ray.test;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import java.lang.ref.WeakReference;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testn... |
aa7f669653bfbf5241650d77174b1f541a76aa9f5a8234ff98857ea45ee27571 | Java | 4,269 | 214 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.dnn;
import java.lang.String;
// C++: class DictValue
//javadoc: DictValue
public class DictValue {
protected final long nativeObj;
protected DictValue(long addr) { nativeObj = addr; }
public long getNativeObjAddr() { retu... |
bac323aca90eff92aa764f475d3e2ba090bb7f95e0e9acb072450f2696bff204 | Java | 4,308 | 138 | package io.ray.runtime;
import io.ray.api.BaseActorHandle;
import io.ray.api.id.ActorId;
import io.ray.api.id.JobId;
import io.ray.api.id.ObjectId;
import io.ray.api.id.PlacementGroupId;
import io.ray.api.id.UniqueId;
import io.ray.api.placementgroup.PlacementGroup;
import io.ray.api.runtimecontext.ResourceValue;
impo... |
23ce2805104a8d673c104cfd6f39f47caf9627ecad6a7890e9bcadb3f3a96c7b | Java | 4,311 | 131 | package io.ray.serve.deployment;
import io.ray.api.Ray;
import io.ray.serve.BaseServeTest2;
import io.ray.serve.api.Serve;
import io.ray.serve.common.Constants;
import io.ray.serve.config.RayServeConfig;
import io.ray.serve.generated.ApplicationStatus;
import io.ray.serve.generated.StatusOverview;
import io.ray.serve.... |
b6901a96eeb78807b8e6a4761e497d115f0c6c1464ce3bcd8d1537c16781791d | Java | 4,319 | 168 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.photo;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.Mat;
import org.opencv.photo.MergeExposures;
import org.opencv.utils.Converters;
// C++: class MergeMertens
//javadoc: MergeMertens
public class MergeMerte... |
e29f9aac9706115bd54137066e158b56dcb5d771aa3571ac77148ff4c89ce444 | Java | 4,387 | 149 | package io.ray.docdemo;
import io.ray.api.ActorHandle;
import io.ray.api.Ray;
import io.ray.api.function.RayFunc1;
import io.ray.api.function.RayFunc2;
import io.ray.api.function.RayFunc3;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
import org.testng.Assert;
/**
* This class contains demo code o... |
8676866fb0ad375a0f370d8df2e1a1a3de1de3b1ee74473337995fa37ef001bc | Java | 4,419 | 128 | package io.ray.test;
import com.google.common.base.Preconditions;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.api.exception.RayActorException;
import io.ray.api.parallelactor.*;
import io.ray.runtime.util.SystemUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerF... |
d8b532a8df3bc7aa21c881940dad12d66b2492de7e3768cfcb5cb1a08233f94a | Java | 4,419 | 185 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
import java.lang.String;
import org.opencv.features2d.FastFeatureDetector;
import org.opencv.features2d.Feature2D;
// C++: class FastFeatureDetector
//javadoc: FastFeatureDetector
public class FastFeatureDetector extends Fea... |
0fb3270079599f510fa5c1e13ebe5d13015152f8cec0c6c34ac00df493054927 | Java | 4,449 | 185 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
import java.lang.String;
import org.opencv.features2d.AgastFeatureDetector;
import org.opencv.features2d.Feature2D;
// C++: class AgastFeatureDetector
//javadoc: AgastFeatureDetector
public class AgastFeatureDetector extends... |
96f8989052f2657d588ed9eeae2527ebb1366580e70ddf8e195510087d5cf672 | Java | 4,468 | 184 | // $Id: GrayCode.java 2707 2009-06-22 09:29:24Z nguyenda $
package lychi.util;
import java.util.Observer;
import java.util.Observable;
// rip this off of wikipedia; knuth's vol. 4 algorithm M doesn't require
// all these auxilary arrays.... don't have it with me right now.
public class GrayCode extends Observable ... |
e6c031a8e456ef580386318050e2b1b0cd6001c11ab48291637ce5e764b15eac | Java | 4,488 | 114 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
cee2b9deaaaab356d37761b794641bfd140e78f044ffd5186b7f91deff69f557 | Java | 4,497 | 135 | package io.ray.test;
import io.ray.api.ActorHandle;
import io.ray.api.Ray;
import io.ray.api.options.ActorLifetime;
import java.io.IOException;
import java.util.NoSuchElementException;
import java.util.concurrent.TimeUnit;
import org.testng.Assert;
import org.testng.annotations.Test;
@Test(groups = "cluster")
public ... |
941e877903e77123a1e5113efb53ea88064c8d6773868868f0aeb06fdfd6c8cc | Java | 4,523 | 147 | package io.ray.test;
import com.google.common.base.Preconditions;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.runtime.AbstractRayRuntime;
import io.ray.runtime.config.RayConfig;
import io.ray.runtime.config.RunMode;
import io.ray.runtime.util.SystemConfig;
import java.io.Serializable;
import java... |
da04ab4f90c041f4276521f53fd8e66191ec567798236e5a3186db9923c4857b | Java | 4,532 | 126 | package io.ray.runtime.util.generator;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.io.FileUtils;
public class ConcurrencyGroupBuilderGenerator extends BaseGenerator {
/**
* Build `BaseConcurrencyGr... |
53582e71b5790b7732a87ba442022d8fc7105aa75f4f5a98fcd26ceafdfcd6bb | Java | 4,538 | 141 | package io.ray.runtime.metric;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger;
imp... |
b0ceda292416a11a1bab05093645f4d4cb33af56030638eebc87591fcba00b60 | Java | 4,584 | 140 | package io.ray.test;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.api.exception.RayActorException;
import io.ray.api.exception.RayException;
import io.ray.runtime.util.SystemUtil;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import org.testng.Ass... |
74ed09dd12a00bb6fc0b2c69fa65696a8fe1b442d618558b6a41a54b9dce76b7 | Java | 4,599 | 143 | package io.ray.runtime.runtimeenv;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.github.fge.jackson.JsonLoader;
import com.google.protobuf.I... |
02f894b973d2bd0e11cc1586be1c81391003572b6f573545090dc5fa14b44342 | Java | 4,678 | 139 | package io.ray.serve.handle;
import io.ray.runtime.metric.Count;
import io.ray.runtime.metric.Metrics;
import io.ray.serve.api.Serve;
import io.ray.serve.common.Constants;
import io.ray.serve.context.RequestContext;
import io.ray.serve.deployment.DeploymentId;
import io.ray.serve.generated.RequestMetadata;
import io.r... |
36cde70d72fbcf2e675efbd1ce19ab25ae6b94b7d4ee23ce4db5309c059ed14f | Java | 4,691 | 130 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
caeaf7d38bec4d02e13f8e66918e59769a4e79d61263ac72a401c30670128588 | Java | 4,696 | 151 | /*
* #%L
* Sholl_Analysis plugin for ImageJ
* %%
* Copyright (C) 2016 Tiago Ferreira
* %%
* 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 ... |
c24144943e3c6c4aa3ccd79591206630727863bd331b934be992315b752b2b2a | Java | 4,709 | 133 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
97a9053ce43ec64d346161d42f944c0f5ab13361dd1b956b9cf5aa8df690274e | Java | 4,711 | 128 | package io.ray.serve.replica;
import com.google.common.collect.ImmutableMap;
import io.ray.api.ActorHandle;
import io.ray.api.ObjectRef;
import io.ray.api.Ray;
import io.ray.serve.BaseServeTest;
import io.ray.serve.DummyServeController;
import io.ray.serve.common.Constants;
import io.ray.serve.config.DeploymentConfig;... |
4c601e2e809539c789c79d3e1a8931d361a4382bb0587978cde870d739827b66 | Java | 4,741 | 149 | package lychi;
import java.util.*;
import java.util.logging.Logger;
import java.util.logging.Level;
import chemaxon.struc.*;
import chemaxon.formats.*;
/**
* A utility class to iterate the atoms in the same order (regardless
* how they are ordered in the parent molecule). Any changes to this
* class that result ... |
c3fcd454f8b66d543ee9b21df8994a8c7f1bcd081d3665e67decd8caf688503e | Java | 4,748 | 193 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
import org.opencv.core.Algorithm;
import org.opencv.core.Mat;
import org.opencv.ml.TrainData;
// C++: class StatModel
//javadoc: StatModel
public class StatModel extends Algorithm {
protected StatModel(long addr) { super(addr);... |
0752efffc2e791d934259ba8bba73e1c88570f2b648be498bbaa52acb2103994 | Java | 4,811 | 141 | /* Copyright 2020 The Malaria Screener Authors. All Rights Reserved.
This software was developed under contract funded by the National Library of Medicine,
which is part of the National Institutes of Health, an agency of the Department of Health and Human
Services, United States Government.
Licensed under GNU General... |
60fd93172e0e079dab6c0cde1dadd4bf56ab694bf0de14dac5d2f6d9ac3d75e1 | Java | 4,816 | 154 | package io.ray.runtime.actor;
import com.google.common.base.FinalizableReferenceQueue;
import com.google.common.base.FinalizableWeakReference;
import com.google.common.base.Preconditions;
import com.google.common.collect.Sets;
import io.ray.api.BaseActorHandle;
import io.ray.api.Ray;
import io.ray.api.id.ActorId;
impo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.