id stringlengths 24 24 | repo stringlengths 7 59 | path stringlengths 11 234 | func_name stringlengths 3 140 | url stringlengths 102 339 | split stringclasses 3
values | language stringclasses 1
value | docstring stringlengths 1 34k | code stringlengths 63 466k | text stringlengths 101 467k | token_count int32 22 125k | doc_chars int32 1 34k | code_chars int32 63 466k | license_basis stringclasses 1
value | source stringclasses 1
value | added stringdate 2026-12-05 00:00:00 2026-12-05 00:00:00 | record_sha256 stringlengths 64 64 | license stringclasses 18
values | license_class stringclasses 4
values | license_source stringlengths 45 101 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba6644a1b62cc6459668bc70 | Harium/keel | src/main/java/com/harium/keel/catalano/core/ArraysUtil.java | ArraysUtil.toDouble | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/core/ArraysUtil.java#L527-L535 | train | java | 2-D Integer array to double array.
@param array Integer array.
@return Double array. | public static double[][] toDouble(int[][] array) {
double[][] n = new double[array.length][array[0].length];
for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array[0].length; j++) {
n[i][j] = (double) array[i][j];
}
}
return n;
} | 2-D Integer array to double array.
@param array Integer array.
@return Double array.
public static double[][] toDouble(int[][] array) {
double[][] n = new double[array.length][array[0].length];
for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array[0].length; j++) {
... | 106 | 85 | 317 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b23aaa25d99900ff7b93fc720620c2af2fbed858f7bf592bdaa2895a9a71ab03 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
84c219d50d24dc1e8c60b49d | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/TokensApi.java | TokensApi.checkToken | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TokensApi.java#L126-L129 | train | java | Check Token
(Deprecated) Check Token. See tokenInfo
@param tokenInfo Token object to be checked (required)
@return CheckTokenResponse
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public CheckTokenResponse checkToken(TokenRequest tokenInfo) throws ApiException {
ApiResponse<CheckTokenResponse> resp = checkTokenWithHttpInfo(tokenInfo);
return resp.getData();
} | Check Token
(Deprecated) Check Token. See tokenInfo
@param tokenInfo Token object to be checked (required)
@return CheckTokenResponse
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public CheckTokenResponse checkToken(TokenRequest tokenInfo) throws ApiException ... | 90 | 237 | 201 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 0b3072683063e7601f2eb8d05576970b8d8e6189ccbc118d0c2117d9b3cf420c | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
a08230beaf8ad7c94a720805 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/TokensApi.java | TokensApi.checkTokenWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TokensApi.java#L138-L142 | train | java | Check Token
(Deprecated) Check Token. See tokenInfo
@param tokenInfo Token object to be checked (required)
@return ApiResponse<CheckTokenResponse>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<CheckTokenResponse> checkTokenWithHttpInfo(TokenRequest tokenInfo) throws ApiException {
com.squareup.okhttp.Call call = checkTokenValidateBeforeCall(tokenInfo, null, null);
Type localVarReturnType = new TypeToken<CheckTokenResponse>(){}.getType();
return apiClient.execute(cal... | Check Token
(Deprecated) Check Token. See tokenInfo
@param tokenInfo Token object to be checked (required)
@return ApiResponse<CheckTokenResponse>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<CheckTokenResponse> checkTokenWithHttpInfo(... | 124 | 256 | 349 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 8d6ca4d69d5fbff05cbf58ad2523f5d4b510e9f400d36f126e5e1f175dc6e5f5 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
4adab996a5eaa154c566c0b4 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/TokensApi.java | TokensApi.checkTokenAsync | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TokensApi.java#L152-L177 | train | java | Check Token (asynchronously)
(Deprecated) Check Token. See tokenInfo
@param tokenInfo Token object to be checked (required)
@param callback The callback to be executed when the API call finishes
@return The request call
@throws ApiException If fail to process the API call, e.g. serializing the request body object | public com.squareup.okhttp.Call checkTokenAsync(TokenRequest tokenInfo, final ApiCallback<CheckTokenResponse> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
if (callback ... | Check Token (asynchronously)
(Deprecated) Check Token. See tokenInfo
@param tokenInfo Token object to be checked (required)
@param callback The callback to be executed when the API call finishes
@return The request call
@throws ApiException If fail to process the API call, e.g. serializing the request body object
publ... | 281 | 314 | 1,280 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 2fc6a0a00b8421df313807e79492db08f42fd5a8a73582eae9ca5e999e782626 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
a6c10595b44c48f9b5709eff | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/TokensApi.java | TokensApi.refreshToken | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TokensApi.java#L254-L257 | train | java | Refresh Token
Refresh Token
@param grantType Grant Type. (required)
@param refreshToken Refresh Token. (required)
@return RefreshTokenResponse
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public RefreshTokenResponse refreshToken(String grantType, String refreshToken) throws ApiException {
ApiResponse<RefreshTokenResponse> resp = refreshTokenWithHttpInfo(grantType, refreshToken);
return resp.getData();
} | Refresh Token
Refresh Token
@param grantType Grant Type. (required)
@param refreshToken Refresh Token. (required)
@return RefreshTokenResponse
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public RefreshTokenResponse refreshToken(String grantType, String refres... | 91 | 246 | 238 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 4f30f3ca28229e68251ff5c2c5bb7b0c14f7369afea120e96f2e19509c55d834 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
c528ac1e4de591934e2e4ea1 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/TokensApi.java | TokensApi.refreshTokenWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TokensApi.java#L267-L271 | train | java | Refresh Token
Refresh Token
@param grantType Grant Type. (required)
@param refreshToken Refresh Token. (required)
@return ApiResponse<RefreshTokenResponse>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<RefreshTokenResponse> refreshTokenWithHttpInfo(String grantType, String refreshToken) throws ApiException {
com.squareup.okhttp.Call call = refreshTokenValidateBeforeCall(grantType, refreshToken, null, null);
Type localVarReturnType = new TypeToken<RefreshTokenResponse>(){}.getType();... | Refresh Token
Refresh Token
@param grantType Grant Type. (required)
@param refreshToken Refresh Token. (required)
@return ApiResponse<RefreshTokenResponse>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<RefreshTokenResponse> refreshToken... | 125 | 265 | 386 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 4a94b9f7ccdf9d4211600de95607b4103ad98e578e442f70ec9b5ffd6f1dc760 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
dc2d0de73f2a3c6bb7fda89c | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/TokensApi.java | TokensApi.tokenInfoWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/TokensApi.java#L379-L383 | train | java | Token Info
Returns the Token Information
@return ApiResponse<TokenInfoSuccessResponse>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<TokenInfoSuccessResponse> tokenInfoWithHttpInfo() throws ApiException {
com.squareup.okhttp.Call call = tokenInfoValidateBeforeCall(null, null);
Type localVarReturnType = new TypeToken<TokenInfoSuccessResponse>(){}.getType();
return apiClient.execute(call, localVarReturnType);... | Token Info
Returns the Token Information
@return ApiResponse<TokenInfoSuccessResponse>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<TokenInfoSuccessResponse> tokenInfoWithHttpInfo() throws ApiException {
com.squareup.okhttp.Cal... | 101 | 196 | 326 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 510d7a9da20f8b79d6ea2cf7b2444bcba22a18bb1ce4f19d8e96b9c836ad6225 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
2f929eaf055c4deeaa14ff96 | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/Normal.java | Normal.Inverse | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/Normal.java#L60-L185 | train | java | Normal (Gaussian) inverse cumulative distribution function.
@param y0 Value.
@return Result. | public static double Inverse(double y0) {
if (y0 <= 0.0) {
if (y0 == 0) return Double.NEGATIVE_INFINITY;
try {
throw new IllegalArgumentException("y0");
} catch (Exception e) {
e.printStackTrace();
}
}
if (y0 >= 1.0)... | Normal (Gaussian) inverse cumulative distribution function.
@param y0 Value.
@return Result.
public static double Inverse(double y0) {
if (y0 <= 0.0) {
if (y0 == 0) return Double.NEGATIVE_INFINITY;
try {
throw new IllegalArgumentException("y0");
} catch (Exc... | 1,020 | 93 | 3,891 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 425c28f0e4a3747db8f86f18e76f26c45d52a54ae790e0d732d59c7033674b78 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
2d0199e0ffdacfecdc80d854 | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/Normal.java | Normal.HighAccuracyFunction | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/Normal.java#L193-L217 | train | java | High-accuracy Normal cumulative distribution function.
@param x Value.
@return Result. | public static double HighAccuracyFunction(double x) {
if (x < -8 || x > 8)
return 0;
double sum = x;
double term = 0;
double nextTerm = x;
double pwr = x * x;
double i = 1;
// Iterate until adding next terms doesn't produce
// any change wit... | High-accuracy Normal cumulative distribution function.
@param x Value.
@return Result.
public static double HighAccuracyFunction(double x) {
if (x < -8 || x > 8)
return 0;
double sum = x;
double term = 0;
double nextTerm = x;
double pwr = x * x;
double i =... | 170 | 87 | 597 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | d9ed21dc685bc25e51ab5207894558e3a315702c37797b09b7eb97d2d76c72c5 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
bdc37c6fd58c74e26da3da3a | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/Normal.java | Normal.HighAccuracyComplemented | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/Normal.java#L225-L260 | train | java | High-accuracy Complementary normal distribution function.
@param x Value.
@return Result. | public static double HighAccuracyComplemented(double x) {
double[] R =
{
1.25331413731550025, 0.421369229288054473, 0.236652382913560671,
0.162377660896867462, 0.123131963257932296, 0.0990285964717319214,
0.08276628650136917... | High-accuracy Complementary normal distribution function.
@param x Value.
@return Result.
public static double HighAccuracyComplemented(double x) {
double[] R =
{
1.25331413731550025, 0.421369229288054473, 0.236652382913560671,
0.1623776608968674... | 348 | 90 | 1,008 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | a41602bac856355da20864b35754c7018fff1a96ca68e70ac28b597dc9ac7323 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
c414d8ebf2680921dc6587ee | vnesek/nmote-iim4j | src/main/java/com/nmote/iim4j/srs/SubjectReference.java | SubjectReference.toIPTC | https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/srs/SubjectReference.java#L86-L107 | train | java | Formats an IPTC string for this reference using information obtained from
Subject Reference System.
@param srs
reference subject reference system
@return IPTC formatted reference | public String toIPTC(SubjectReferenceSystem srs) {
StringBuffer b = new StringBuffer();
b.append("IPTC:");
b.append(getNumber());
b.append(":");
if (getNumber().endsWith("000000")) {
b.append(toIPTCHelper(srs.getName(this)));
b.append("::");
} else if (getNumber().endsWith("000")) {
b.appe... | Formats an IPTC string for this reference using information obtained from
Subject Reference System.
@param srs
reference subject reference system
@return IPTC formatted reference
public String toIPTC(SubjectReferenceSystem srs) {
StringBuffer b = new StringBuffer();
b.append("IPTC:");
b.append(getNumber());
... | 267 | 179 | 791 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 5e2dcc11c2ddde4f921e41dce40672b50501c762965b9b4a582520b109412703 | BSD-3-Clause | permissive | https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt |
1a026e43a486848af5f32c04 | vnesek/nmote-iim4j | src/main/java/com/nmote/iim4j/IIMDataSetInfoFactory.java | IIMDataSetInfoFactory.create | https://github.com/vnesek/nmote-iim4j/blob/ec55b02fc644cd722e93051ac0bdb96b00cb42a8/src/main/java/com/nmote/iim4j/IIMDataSetInfoFactory.java#L83-L92 | train | java | Creates and caches dataset info object. Subsequent invocations will
return same instance.
@see IIM#DS(int, int)
@param dataSet
dataset record number
@return dataset info instace | public DataSetInfo create(int dataSet) throws InvalidDataSetException {
DataSetInfo info = dataSets.get(createKey(dataSet));
if (info == null) {
int recordNumber = (dataSet >> 8) & 0xFF;
int dataSetNumber = dataSet & 0xFF;
throw new UnsupportedDataSetException(recordNumber + ":" + dataSetNumber);
... | Creates and caches dataset info object. Subsequent invocations will
return same instance.
@see IIM#DS(int, int)
@param dataSet
dataset record number
@return dataset info instace
public DataSetInfo create(int dataSet) throws InvalidDataSetException {
DataSetInfo info = dataSets.get(createKey(dataSet));
if (info ... | 135 | 178 | 377 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b7571b589293d181aa4c68844154d3e8dc083112d45d6e356407ea0977eb37de | BSD-3-Clause | permissive | https://github.com/vnesek/nmote-iim4j/blob/master/LICENSE.txt |
c19b16d23e9dbce17cdf660c | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java | PerlinNoise.Function1D | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java#L148-L161 | train | java | 1-D Perlin noise function.
@param x X Value.
@return Returns function's value at point x. | public double Function1D(double x) {
double frequency = initFrequency;
double amplitude = initAmplitude;
double sum = 0;
// octaves
for (int i = 0; i < octaves; i++) {
sum += SmoothedNoise(x * frequency) * amplitude;
frequency *= 2;
amplitude... | 1-D Perlin noise function.
@param x X Value.
@return Returns function's value at point x.
public double Function1D(double x) {
double frequency = initFrequency;
double amplitude = initAmplitude;
double sum = 0;
// octaves
for (int i = 0; i < octaves; i++) {
sum += ... | 106 | 90 | 372 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 4530a3b8ab0413d856fb9ea3a6f3a51f2a1aa3a42d51f958dad4935a4d2ccdc4 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
97b53dd7ddd6c59cd4c7df7e | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java | PerlinNoise.Function2D | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java#L170-L183 | train | java | 2-D Perlin noise function.
@param x X Value.
@param y Y Value.
@return Returns function's value at point xy. | public double Function2D(double x, double y) {
double frequency = initFrequency;
double amplitude = initAmplitude;
double sum = 0;
// octaves
for (int i = 0; i < octaves; i++) {
sum += SmoothedNoise(x * frequency, y * frequency) * amplitude;
frequency *=... | 2-D Perlin noise function.
@param x X Value.
@param y Y Value.
@return Returns function's value at point xy.
public double Function2D(double x, double y) {
double frequency = initFrequency;
double amplitude = initAmplitude;
double sum = 0;
// octaves
for (int i = 0; i < octave... | 118 | 109 | 397 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 9156298e47d19f4795d78413be7d8474fd2cc23d2eb2879bf694e0a086216515 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
d03be7e6fc98ee572633fdf0 | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java | PerlinNoise.Noise | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java#L204-L209 | train | java | Ordinary noise function.
@param x X Value.
@param y Y Value.
@return | private double Noise(int x, int y) {
int n = x + y * 57;
n = (n << 13) ^ n;
return (1.0 - ((n * (n * n * 15731 + 789221) + 1376312589) & 0x7fffffff) / 1073741824.0);
} | Ordinary noise function.
@param x X Value.
@param y Y Value.
@return
private double Noise(int x, int y) {
int n = x + y * 57;
n = (n << 13) ^ n;
return (1.0 - ((n * (n * n * 15731 + 789221) + 1376312589) & 0x7fffffff) / 1073741824.0);
} | 98 | 69 | 196 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | c69d625e196c7295beafa872f4090dfccf049306d749b41f793040c3ef770614 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
0924c929bd4476a45c80614e | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java | PerlinNoise.SmoothedNoise | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java#L217-L222 | train | java | Smoothed noise.
@param x Value.
@return Value. | private double SmoothedNoise(double x) {
int xInt = (int) x;
double xFrac = x - xInt;
return CosineInterpolate(Noise(xInt), Noise(xInt + 1), xFrac);
} | Smoothed noise.
@param x Value.
@return Value.
private double SmoothedNoise(double x) {
int xInt = (int) x;
double xFrac = x - xInt;
return CosineInterpolate(Noise(xInt), Noise(xInt + 1), xFrac);
} | 65 | 47 | 179 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 5e4407aac3f525a6dbdcc288494947bc2b88564a1367bedd1a936b749b73db38 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
4aba5bf0c44ce3feafe89080 | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java | PerlinNoise.SmoothedNoise | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java#L231-L248 | train | java | Smoothed noise.
@param x X Value.
@param y Y Value.
@return Value. | private double SmoothedNoise(double x, double y) {
int xInt = (int) x;
int yInt = (int) y;
double xFrac = x - xInt;
double yFrac = y - yInt;
// get four noise values
double x0y0 = Noise(xInt, yInt);
double x1y0 = Noise(xInt + 1, yInt);
double x0y1 = Noise... | Smoothed noise.
@param x X Value.
@param y Y Value.
@return Value.
private double SmoothedNoise(double x, double y) {
int xInt = (int) x;
int yInt = (int) y;
double xFrac = x - xInt;
double yFrac = y - yInt;
// get four noise values
double x0y0 = Noise(xInt, yInt);
... | 220 | 67 | 612 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 2eb5b4ad51b03b9dd58946bc92f01787cd3c7fe9e75855025465886b7c06b298 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
1502bcc857fe8c0cc2f8e911 | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java | PerlinNoise.CosineInterpolate | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/PerlinNoise.java#L258-L262 | train | java | Cosine interpolation.
@param x1 X1 Value.
@param x2 X2 Value.
@param a Value.
@return Value. | private double CosineInterpolate(double x1, double x2, double a) {
double f = (1 - Math.cos(a * Math.PI)) * 0.5;
return x1 * (1 - f) + x2 * f;
} | Cosine interpolation.
@param x1 X1 Value.
@param x2 X2 Value.
@param a Value.
@return Value.
private double CosineInterpolate(double x1, double x2, double a) {
double f = (1 - Math.cos(a * Math.PI)) * 0.5;
return x1 * (1 - f) + x2 * f;
} | 82 | 94 | 165 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 0f0a5c66d90938d73b715a6d6c0431fac609b6f4c744188267e5acef282c2fdd | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
297a095d52945338db7f8f3c | skuzzle/jeve | jeve/src/main/java/de/skuzzle/jeve/FailureCollector.java | FailureCollector.getFailedInvocations | https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/FailureCollector.java#L77-L84 | train | java | Gets the list of failed invocations that has been collected by this collector.
@return The failed invocations. | public List<FailedEventInvocation> getFailedInvocations() {
synchronized (this.mutex) {
if (this.failedEvents == null) {
return Collections.emptyList();
}
return Collections.unmodifiableList(this.failedEvents);
}
} | Gets the list of failed invocations that has been collected by this collector.
@return The failed invocations.
public List<FailedEventInvocation> getFailedInvocations() {
synchronized (this.mutex) {
if (this.failedEvents == null) {
return Collections.emptyList();
}
... | 72 | 111 | 286 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | ce454950279d960307a255c572aa4e88a092f128447e68d19259e25a9f2fae70 | MIT | permissive | https://github.com/skuzzle/jeve/blob/master/LICENSE.md |
0b2f00cf9969a51e13dd1134 | Harium/keel | src/main/java/com/harium/keel/core/interpolation/Interpolation.java | Interpolation.BiCubicKernel | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/core/interpolation/Interpolation.java#L29-L43 | train | java | Bicubic kernel.
<p>
<para>The function implements bicubic kernel W(x) as described on
http://en.wikipedia.org/wiki/Bicubic_interpolation#Bicubic_convolution_algorithm
(coefficient <b>a</b> is set to <b>-0.5</b>).</para>
@param x X value.
@return Bicubic cooefficient. | public static double BiCubicKernel(double x) {
if (x < 0) {
x = -x;
}
double biCoef = 0;
if (x <= 1) {
biCoef = (1.5 * x - 2.5) * x * x + 1;
} else if (x < 2) {
biCoef = ((-0.5 * x + 2.5) * x - 4) * x + 2;
}
retu... | Bicubic kernel.
<p>
<para>The function implements bicubic kernel W(x) as described on
http://en.wikipedia.org/wiki/Bicubic_interpolation#Bicubic_convolution_algorithm
(coefficient <b>a</b> is set to <b>-0.5</b>).</para>
@param x X value.
@return Bicubic cooefficient.
public static double BiCubicKernel(double x) {
... | 199 | 268 | 337 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | c7cc0406f22cd192252122452323c3484a2e8cdca3c0e507e809dba45443ca02 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
4b4884b07676a9dfe829423a | skuzzle/jeve | jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java | SequentialEvent.setEventStack | https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java#L70-L75 | train | java | Sets the EventStack which is used while this event is dispatched. This
method will be called by the {@link SequentialEventProvider} right
before dispatching this event. The stack is only set once, subsequent
calls will have no effect.
@param eventStack The current event stack. | public void setEventStack(EventStack eventStack) {
if (this.eventStack == null) {
this.eventStack = eventStack;
this.cause = eventStack.peek();
}
} | Sets the EventStack which is used while this event is dispatched. This
method will be called by the {@link SequentialEventProvider} right
before dispatching this event. The stack is only set once, subsequent
calls will have no effect.
@param eventStack The current event stack.
public void setEventStack(EventStack eve... | 100 | 278 | 191 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 815d4ffa71b0e766c50c93e40709c07e4bb1dc7815da4e7c02e5b113a321f3a1 | MIT | permissive | https://github.com/skuzzle/jeve/blob/master/LICENSE.md |
49b29164e54bd843af837b90 | skuzzle/jeve | jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java | SequentialEvent.addSuppressedEvent | https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java#L109-L116 | train | java | Adds a {@linkplain SuppressedEvent} to the set of suppressed events of
this Event. If a capable EventProvider determines that a certain event
has been prevented because its listener class has been registered on this
event using {@link #preventCascade(Class)}, then the prevented event is
registered here using this metho... | public void addSuppressedEvent(SuppressedEvent e) {
if (e == null) {
throw new IllegalArgumentException("e is null");
} else if (this.suppressedEvents == null) {
this.suppressedEvents = new HashSet<>();
}
this.suppressedEvents.add(e);
} | Adds a {@linkplain SuppressedEvent} to the set of suppressed events of
this Event. If a capable EventProvider determines that a certain event
has been prevented because its listener class has been registered on this
event using {@link #preventCascade(Class)}, then the prevented event is
registered here using this metho... | 148 | 418 | 296 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 3ff84082a1ecb5ddfcfda3591f2a0de937e6f9ac57cfa16ce7309b028fefc939 | MIT | permissive | https://github.com/skuzzle/jeve/blob/master/LICENSE.md |
b99d9c0a033429d4695a89a0 | skuzzle/jeve | jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java | SequentialEvent.getSuppressedEvents | https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java#L124-L129 | train | java | Gets a read-only set of the suppressed events that have been registered
at this event using {@link #addSuppressedEvent(SuppressedEvent)}.
@return The suppressed events. | public Set<SuppressedEvent> getSuppressedEvents() {
if (this.suppressedEvents == null) {
return Collections.emptySet();
}
return Collections.unmodifiableSet(this.suppressedEvents);
} | Gets a read-only set of the suppressed events that have been registered
at this event using {@link #addSuppressedEvent(SuppressedEvent)}.
@return The suppressed events.
public Set<SuppressedEvent> getSuppressedEvents() {
if (this.suppressedEvents == null) {
return Collections.emptySet();
}... | 81 | 169 | 222 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | e1a8ba4ffd635d84e6b787f815f594c7470d8e84d1689e449d11b6fe04e7d274 | MIT | permissive | https://github.com/skuzzle/jeve/blob/master/LICENSE.md |
87ab05f090bea24c39730306 | skuzzle/jeve | jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java | SequentialEvent.preventCascade | https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java#L145-L161 | train | java | Prevents to dispatch events to the given listener class while this event
is being dispatched. This is only supported when dispatching this event
with an EventProvider which supports the {@link EventStack}.
<p>
Note: this method has to be called before this event is being dispatched.
If called during dispatch, it will ... | public <E extends Listener> void preventCascade(Class<E> listenerClass) {
if (listenerClass == null) {
throw new IllegalArgumentException("listenerClass is null");
} else if (this.eventStack != null) {
// this event is currently being dispatched, so adding a prevented
... | Prevents to dispatch events to the given listener class while this event
is being dispatched. This is only supported when dispatching this event
with an EventProvider which supports the {@link EventStack}.
<p>
Note: this method has to be called before this event is being dispatched.
If called during dispatch, it will ... | 254 | 470 | 854 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 27f5bf3a86a0bc1b1f878acb227cf15e71107e5e7aac346692cbd2532001ee9d | MIT | permissive | https://github.com/skuzzle/jeve/blob/master/LICENSE.md |
1af510731afac6276fb0b05f | skuzzle/jeve | jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java | SequentialEvent.getPrevented | https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/main/java/de/skuzzle/jeve/SequentialEvent.java#L182-L187 | train | java | Gets the listener classes to which dispatching should be prevented while
this event is being dispatched.
@return The listener classes marked to prevent.
@see #preventCascade(Class) | public Set<Class<?>> getPrevented() {
if (this.prevent == null) {
return Collections.emptySet();
}
return Collections.unmodifiableSet(this.prevent);
} | Gets the listener classes to which dispatching should be prevented while
this event is being dispatched.
@return The listener classes marked to prevent.
@see #preventCascade(Class)
public Set<Class<?>> getPrevented() {
if (this.prevent == null) {
return Collections.emptySet();
}
re... | 71 | 181 | 190 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | aaf1dffe7a033221e48f6edd96388d02bbaa3e4302a4b0b5c58bb297cff0b0d2 | MIT | permissive | https://github.com/skuzzle/jeve/blob/master/LICENSE.md |
b833740a91711b4ac05e86ff | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getAggregatesHistogram | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L150-L153 | train | java | Get Normalized Message Histogram
Get Histogram on normalized messages.
@param startDate Timestamp of earliest message (in milliseconds since epoch). (required)
@param endDate Timestamp of latest message (in milliseconds since epoch). (required)
@param sdid Source device ID of the messages being searched. (optional)
@pa... | public AggregatesHistogramResponse getAggregatesHistogram(Long startDate, Long endDate, String sdid, String field, String interval) throws ApiException {
ApiResponse<AggregatesHistogramResponse> resp = getAggregatesHistogramWithHttpInfo(startDate, endDate, sdid, field, interval);
return resp.getData();
... | Get Normalized Message Histogram
Get Histogram on normalized messages.
@param startDate Timestamp of earliest message (in milliseconds since epoch). (required)
@param endDate Timestamp of latest message (in milliseconds since epoch). (required)
@param sdid Source device ID of the messages being searched. (optional)
@pa... | 193 | 654 | 325 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | cb8724847f9342acde64c33775ad65b00766949ad7f8efbb94fdefd4003ee1ad | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
7c2cfb1f615c45cb00a1dbfa | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getAggregatesHistogramWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L166-L170 | train | java | Get Normalized Message Histogram
Get Histogram on normalized messages.
@param startDate Timestamp of earliest message (in milliseconds since epoch). (required)
@param endDate Timestamp of latest message (in milliseconds since epoch). (required)
@param sdid Source device ID of the messages being searched. (optional)
@pa... | public ApiResponse<AggregatesHistogramResponse> getAggregatesHistogramWithHttpInfo(Long startDate, Long endDate, String sdid, String field, String interval) throws ApiException {
com.squareup.okhttp.Call call = getAggregatesHistogramValidateBeforeCall(startDate, endDate, sdid, field, interval, null, null);
... | Get Normalized Message Histogram
Get Histogram on normalized messages.
@param startDate Timestamp of earliest message (in milliseconds since epoch). (required)
@param endDate Timestamp of latest message (in milliseconds since epoch). (required)
@param sdid Source device ID of the messages being searched. (optional)
@pa... | 227 | 673 | 473 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | db7bb041bb99854f93233d332ec043191949ae02a977154de5541e578bfd4ef5 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
f311d93505b492a14fd1d71e | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getFieldPresence | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L300-L303 | train | java | Get normalized message presence
Get normalized message presence.
@param startDate startDate (required)
@param endDate endDate (required)
@param interval String representing grouping interval. One of: 'minute' (1 hour limit), 'hour' (1 day limit), 'day' (31 days limit), 'month' (1 year li... | public FieldPresenceEnvelope getFieldPresence(Long startDate, Long endDate, String interval, String sdid, String fieldPresence) throws ApiException {
ApiResponse<FieldPresenceEnvelope> resp = getFieldPresenceWithHttpInfo(startDate, endDate, interval, sdid, fieldPresence);
return resp.getData();
} | Get normalized message presence
Get normalized message presence.
@param startDate startDate (required)
@param endDate endDate (required)
@param interval String representing grouping interval. One of: 'minute' (1 hour limit), 'hour' (1 day limit), 'day' (31 days limit), 'month' (1 year li... | 212 | 668 | 317 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 105cd2a5514b45a18ba773f2568da0437bb794835eec267a50f8babebd02d15f | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
50ec18ebd4f2f0fdcf2d939c | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getFieldPresenceWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L316-L320 | train | java | Get normalized message presence
Get normalized message presence.
@param startDate startDate (required)
@param endDate endDate (required)
@param interval String representing grouping interval. One of: 'minute' (1 hour limit), 'hour' (1 day limit), 'day' (31 days limit), 'month' (1 year li... | public ApiResponse<FieldPresenceEnvelope> getFieldPresenceWithHttpInfo(Long startDate, Long endDate, String interval, String sdid, String fieldPresence) throws ApiException {
com.squareup.okhttp.Call call = getFieldPresenceValidateBeforeCall(startDate, endDate, interval, sdid, fieldPresence, null, null);
... | Get normalized message presence
Get normalized message presence.
@param startDate startDate (required)
@param endDate endDate (required)
@param interval String representing grouping interval. One of: 'minute' (1 hour limit), 'hour' (1 day limit), 'day' (31 days limit), 'month' (1 year li... | 245 | 687 | 465 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 9220e10e74620d0f6ff8a50c3c0f2c02a49b08741e0560b19bcfd80e0a58aa5c | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
ee8175d7db099661604f9105 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getFieldPresenceAsync | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L334-L359 | train | java | Get normalized message presence (asynchronously)
Get normalized message presence.
@param startDate startDate (required)
@param endDate endDate (required)
@param interval String representing grouping interval. One of: 'minute' (1 hour limit), 'hour' (1 day limit), 'day' (31 days limit), 'mont... | public com.squareup.okhttp.Call getFieldPresenceAsync(Long startDate, Long endDate, String interval, String sdid, String fieldPresence, final ApiCallback<FieldPresenceEnvelope> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressReq... | Get normalized message presence (asynchronously)
Get normalized message presence.
@param startDate startDate (required)
@param endDate endDate (required)
@param interval String representing grouping interval. One of: 'minute' (1 hour limit), 'hour' (1 day limit), 'day' (31 days limit), 'mont... | 402 | 742 | 1,396 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 450678f414eac696371b9e1170f6bb030bbb0ed55e921bddfb6244e4f102e02f | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
cc6cdb58f5d86638bb97dd00 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getLastNormalizedMessages | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L429-L432 | train | java | Get Last Normalized Message
Get last messages normalized.
@param count Number of items to return per query. (optional)
@param sdids Comma separated list of source device IDs (minimum: 1). (optional)
@param fieldPresence String representing a field from the specified device ID. (optional)
@return NormalizedMessagesEnvel... | public NormalizedMessagesEnvelope getLastNormalizedMessages(Integer count, String sdids, String fieldPresence) throws ApiException {
ApiResponse<NormalizedMessagesEnvelope> resp = getLastNormalizedMessagesWithHttpInfo(count, sdids, fieldPresence);
return resp.getData();
} | Get Last Normalized Message
Get last messages normalized.
@param count Number of items to return per query. (optional)
@param sdids Comma separated list of source device IDs (minimum: 1). (optional)
@param fieldPresence String representing a field from the specified device ID. (optional)
@return NormalizedMessagesEnvel... | 140 | 427 | 292 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 24be22bf4f6e46d9cad4ae5afdf352f161bd5a84eb3f8703bcad7a8d9de4ffd5 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
30c911aa57dee4931db4d701 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getLastNormalizedMessagesWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L443-L447 | train | java | Get Last Normalized Message
Get last messages normalized.
@param count Number of items to return per query. (optional)
@param sdids Comma separated list of source device IDs (minimum: 1). (optional)
@param fieldPresence String representing a field from the specified device ID. (optional)
@return ApiResponse<Normaliz... | public ApiResponse<NormalizedMessagesEnvelope> getLastNormalizedMessagesWithHttpInfo(Integer count, String sdids, String fieldPresence) throws ApiException {
com.squareup.okhttp.Call call = getLastNormalizedMessagesValidateBeforeCall(count, sdids, fieldPresence, null, null);
Type localVarReturnType = ne... | Get Last Normalized Message
Get last messages normalized.
@param count Number of items to return per query. (optional)
@param sdids Comma separated list of source device IDs (minimum: 1). (optional)
@param fieldPresence String representing a field from the specified device ID. (optional)
@return ApiResponse<Normaliz... | 172 | 446 | 440 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 7afb35bf8574cac57f31667f580b0646d90770c955520c872fb4c4a8fe4cee29 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
9adf9ca3e8fc52e35da56a3a | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getLastNormalizedMessagesAsync | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L459-L484 | train | java | Get Last Normalized Message (asynchronously)
Get last messages normalized.
@param count Number of items to return per query. (optional)
@param sdids Comma separated list of source device IDs (minimum: 1). (optional)
@param fieldPresence String representing a field from the specified device ID. (optional)
@param callbac... | public com.squareup.okhttp.Call getLastNormalizedMessagesAsync(Integer count, String sdids, String fieldPresence, final ApiCallback<NormalizedMessagesEnvelope> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener prog... | Get Last Normalized Message (asynchronously)
Get last messages normalized.
@param count Number of items to return per query. (optional)
@param sdids Comma separated list of source device IDs (minimum: 1). (optional)
@param fieldPresence String representing a field from the specified device ID. (optional)
@param callbac... | 329 | 496 | 1,371 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 8c4d98960d63b44bef2da8ea6b5c9fbd456812ac396f816e5f76c608de892763 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
6c9a53d270e393f53babb20c | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getMessageAggregates | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L577-L580 | train | java | Get Normalized Message Aggregates
Get Aggregates on normalized messages.
@param sdid Source device ID of the messages being searched. (required)
@param field Message field being queried for aggregates. (required)
@param startDate Timestamp of earliest message (in milliseconds since epoch). (required)
@param endDate Tim... | public AggregatesResponse getMessageAggregates(String sdid, String field, Long startDate, Long endDate) throws ApiException {
ApiResponse<AggregatesResponse> resp = getMessageAggregatesWithHttpInfo(sdid, field, startDate, endDate);
return resp.getData();
} | Get Normalized Message Aggregates
Get Aggregates on normalized messages.
@param sdid Source device ID of the messages being searched. (required)
@param field Message field being queried for aggregates. (required)
@param startDate Timestamp of earliest message (in milliseconds since epoch). (required)
@param endDate Tim... | 159 | 517 | 276 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 5992d441566a139afaae8683036dc7e608cde5bee3bab11b9033f3c878ed0f3d | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
ecfd79f0213e5b0dcaa556b1 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getMessageAggregatesWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L592-L596 | train | java | Get Normalized Message Aggregates
Get Aggregates on normalized messages.
@param sdid Source device ID of the messages being searched. (required)
@param field Message field being queried for aggregates. (required)
@param startDate Timestamp of earliest message (in milliseconds since epoch). (required)
@param endDate Tim... | public ApiResponse<AggregatesResponse> getMessageAggregatesWithHttpInfo(String sdid, String field, Long startDate, Long endDate) throws ApiException {
com.squareup.okhttp.Call call = getMessageAggregatesValidateBeforeCall(sdid, field, startDate, endDate, null, null);
Type localVarReturnType = new TypeTo... | Get Normalized Message Aggregates
Get Aggregates on normalized messages.
@param sdid Source device ID of the messages being searched. (required)
@param field Message field being queried for aggregates. (required)
@param startDate Timestamp of earliest message (in milliseconds since epoch). (required)
@param endDate Tim... | 193 | 536 | 424 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 7adb7c09f4ae3877605f9d79b3df1a190c7a80c0b8b1f22c7169239e4acd02cd | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
29d3413c330059dfbd88e1a1 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getMessageSnapshots | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L706-L709 | train | java | Get Message Snapshots
Get message snapshots.
@param sdids Device IDs for which the snapshots are requested. Max 100 device ids per call. (required)
@param includeTimestamp Indicates whether to return timestamps of the last update for each field. (optional)
@return SnapshotResponses
@throws ApiException If fail to call ... | public SnapshotResponses getMessageSnapshots(String sdids, Boolean includeTimestamp) throws ApiException {
ApiResponse<SnapshotResponses> resp = getMessageSnapshotsWithHttpInfo(sdids, includeTimestamp);
return resp.getData();
} | Get Message Snapshots
Get message snapshots.
@param sdids Device IDs for which the snapshots are requested. Max 100 device ids per call. (required)
@param includeTimestamp Indicates whether to return timestamps of the last update for each field. (optional)
@return SnapshotResponses
@throws ApiException If fail to call ... | 121 | 386 | 247 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | dcf585daf38faeb6239f6d438a4a5a6accae00175d034122a5ae1f2d3946a407 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
d7bbfbf36855b58d530441f4 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getMessageSnapshotsWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L719-L723 | train | java | Get Message Snapshots
Get message snapshots.
@param sdids Device IDs for which the snapshots are requested. Max 100 device ids per call. (required)
@param includeTimestamp Indicates whether to return timestamps of the last update for each field. (optional)
@return ApiResponse<SnapshotResponses>
@throws ApiExcepti... | public ApiResponse<SnapshotResponses> getMessageSnapshotsWithHttpInfo(String sdids, Boolean includeTimestamp) throws ApiException {
com.squareup.okhttp.Call call = getMessageSnapshotsValidateBeforeCall(sdids, includeTimestamp, null, null);
Type localVarReturnType = new TypeToken<SnapshotResponses>(){}.g... | Get Message Snapshots
Get message snapshots.
@param sdids Device IDs for which the snapshots are requested. Max 100 device ids per call. (required)
@param includeTimestamp Indicates whether to return timestamps of the last update for each field. (optional)
@return ApiResponse<SnapshotResponses>
@throws ApiExcepti... | 155 | 405 | 395 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 7a4629c38a8a8cfe6ea0fc1a5ac691daed23548a084e64c0dbf093ac4b2ac2a5 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
619afc61d0eae89bb7d2ae9d | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getNormalizedActions | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L844-L847 | train | java | Get Normalized Actions
Get the actions normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param ddid Destination device ID of the actions being searched. (optiona... | public NormalizedActionsEnvelope getNormalizedActions(String uid, String ddid, String mid, String offset, Integer count, Long startDate, Long endDate, String order) throws ApiException {
ApiResponse<NormalizedActionsEnvelope> resp = getNormalizedActionsWithHttpInfo(uid, ddid, mid, offset, count, startDate, endD... | Get Normalized Actions
Get the actions normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param ddid Destination device ID of the actions being searched. (optiona... | 259 | 861 | 369 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 120e3ebac7e68fbdfe38994d6e1e85095a78f473cb72e27ee83c78e64a17b428 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
1de2ae5dd31f0884be0f5199 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getNormalizedActionsWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L863-L867 | train | java | Get Normalized Actions
Get the actions normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param ddid Destination device ID of the actions being searched. (optiona... | public ApiResponse<NormalizedActionsEnvelope> getNormalizedActionsWithHttpInfo(String uid, String ddid, String mid, String offset, Integer count, Long startDate, Long endDate, String order) throws ApiException {
com.squareup.okhttp.Call call = getNormalizedActionsValidateBeforeCall(uid, ddid, mid, offset, count... | Get Normalized Actions
Get the actions normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param ddid Destination device ID of the actions being searched. (optiona... | 291 | 880 | 517 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 7907e6cdff65abaa2008dcac867150b3ba9c67d65d159e02b6148d903cc2180f | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
a92286234b2879cb95ad4003 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getNormalizedMessages | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L1000-L1003 | train | java | Get Normalized Messages
Get the messages normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param sdid Source device ID of the messages being searched. (optional)... | public NormalizedMessagesEnvelope getNormalizedMessages(String uid, String sdid, String mid, String fieldPresence, String filter, String offset, Integer count, Long startDate, Long endDate, String order) throws ApiException {
ApiResponse<NormalizedMessagesEnvelope> resp = getNormalizedMessagesWithHttpInfo(uid, ... | Get Normalized Messages
Get the messages normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param sdid Source device ID of the messages being searched. (optional)... | 294 | 983 | 433 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 069aa0979be2c603ef675a6f0b2e9822279e932edf9dc0090e618e24551630e6 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
de6c8c15db758d5e914c96ef | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getNormalizedMessagesWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L1021-L1025 | train | java | Get Normalized Messages
Get the messages normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param sdid Source device ID of the messages being searched. (optional)... | public ApiResponse<NormalizedMessagesEnvelope> getNormalizedMessagesWithHttpInfo(String uid, String sdid, String mid, String fieldPresence, String filter, String offset, Integer count, Long startDate, Long endDate, String order) throws ApiException {
com.squareup.okhttp.Call call = getNormalizedMessagesValidate... | Get Normalized Messages
Get the messages normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param sdid Source device ID of the messages being searched. (optional)... | 326 | 1,002 | 581 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 9bce37d348fe63b84ad6b48a4e61b9d2c7ef3fa4b0ec0b54fefa49a777d8338e | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
802c9b303888100c0de1a15b | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.getNormalizedMessagesAsync | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L1044-L1069 | train | java | Get Normalized Messages (asynchronously)
Get the messages normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param sdid Source device ID of the messages being sea... | public com.squareup.okhttp.Call getNormalizedMessagesAsync(String uid, String sdid, String mid, String fieldPresence, String filter, String offset, Integer count, Long startDate, Long endDate, String order, final ApiCallback<NormalizedMessagesEnvelope> callback) throws ApiException {
ProgressResponseBody.Progr... | Get Normalized Messages (asynchronously)
Get the messages normalized
@param uid User ID. If not specified, assume that of the current authenticated user. If specified, it must be that of a user for which the current authenticated user has read access to. (optional)
@param sdid Source device ID of the messages being sea... | 483 | 1,052 | 1,512 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b525650c14b57a0967a4339b7532af9abdeda2f4819dc296e796f42374fb141e | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
de823aa741437e031473dcd8 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.sendActions | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L1136-L1139 | train | java | Send Actions
Send Actions
@param data Actions that are passed in the body (required)
@return MessageIDEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public MessageIDEnvelope sendActions(Actions data) throws ApiException {
ApiResponse<MessageIDEnvelope> resp = sendActionsWithHttpInfo(data);
return resp.getData();
} | Send Actions
Send Actions
@param data Actions that are passed in the body (required)
@return MessageIDEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public MessageIDEnvelope sendActions(Actions data) throws ApiException {
ApiResponse<MessageIDEn... | 80 | 214 | 186 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | fa99dc418bef81b81178ba41c8afda5f4d3d1871dc9cfa3c98d5c195521e8851 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
8e15620e868f1ab408b68773 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.sendActionsWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L1148-L1152 | train | java | Send Actions
Send Actions
@param data Actions that are passed in the body (required)
@return ApiResponse<MessageIDEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<MessageIDEnvelope> sendActionsWithHttpInfo(Actions data) throws ApiException {
com.squareup.okhttp.Call call = sendActionsValidateBeforeCall(data, null, null);
Type localVarReturnType = new TypeToken<MessageIDEnvelope>(){}.getType();
return apiClient.execute(call, localVarRetu... | Send Actions
Send Actions
@param data Actions that are passed in the body (required)
@return ApiResponse<MessageIDEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<MessageIDEnvelope> sendActionsWithHttpInfo(Actions data) throws Ap... | 113 | 233 | 334 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 2196d9cf1f583d2af1b947d632b7535a07698ba6d0475f8c51a8d2aeec8a1e4a | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
007d11aaffbce2b93a655985 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.sendMessage | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L1254-L1257 | train | java | Send Message
Send a message
@param data Message object that is passed in the body (required)
@return MessageIDEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public MessageIDEnvelope sendMessage(Message data) throws ApiException {
ApiResponse<MessageIDEnvelope> resp = sendMessageWithHttpInfo(data);
return resp.getData();
} | Send Message
Send a message
@param data Message object that is passed in the body (required)
@return MessageIDEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public MessageIDEnvelope sendMessage(Message data) throws ApiException {
ApiResponse<Mes... | 79 | 222 | 186 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | bf9588f1d12bb84143fbb77ebed041f3d2d8f647aed64218b1f49a16ddb4f1e1 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
123e2705a89e32266bea24d3 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/MessagesApi.java | MessagesApi.sendMessageWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/MessagesApi.java#L1266-L1270 | train | java | Send Message
Send a message
@param data Message object that is passed in the body (required)
@return ApiResponse<MessageIDEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<MessageIDEnvelope> sendMessageWithHttpInfo(Message data) throws ApiException {
com.squareup.okhttp.Call call = sendMessageValidateBeforeCall(data, null, null);
Type localVarReturnType = new TypeToken<MessageIDEnvelope>(){}.getType();
return apiClient.execute(call, localVarRetu... | Send Message
Send a message
@param data Message object that is passed in the body (required)
@return ApiResponse<MessageIDEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<MessageIDEnvelope> sendMessageWithHttpInfo(Message data) t... | 112 | 241 | 334 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | f148272b59ff46f92ad6662cdc2049de7adc34a7a2904a01b8ce6c655ebe7725 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
dd55c46307c64e8fdb979ca8 | skuzzle/jeve | jeve/src/it/java/de/skuzzle/jeve/ThreadedEventProviderIT.java | ThreadedEventProviderIT.getParameters | https://github.com/skuzzle/jeve/blob/42cc18947c9c8596c34410336e4e375e9fcd7c47/jeve/src/it/java/de/skuzzle/jeve/ThreadedEventProviderIT.java#L43-L70 | train | java | Parameterizes the test instances.
@return Collection of parameters for the constructor of
{@link EventProviderTestBase}. | @Parameters
public static final Collection<Object[]> getParameters() {
return Arrays.asList(
new Object[] {
(Function<ListenerStore, ? extends EventProvider>) ParallelEventProvider::new,
(Supplier<ListenerStore>) () -> DefaultListenerStore.crea... | Parameterizes the test instances.
@return Collection of parameters for the constructor of
{@link EventProviderTestBase}.
@Parameters
public static final Collection<Object[]> getParameters() {
return Arrays.asList(
new Object[] {
(Function<ListenerStore, ? extends Ev... | 327 | 121 | 1,818 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b58f2d66d3c9d315db6841d0091ac31d42662d481f33e3da76f3b102daab6395 | MIT | permissive | https://github.com/skuzzle/jeve/blob/master/LICENSE.md |
61b719e02f2143ba6b45d457 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.createTasks | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L137-L140 | train | java | Create a new task for one or more devices
Create a new task for one or more devices
@param taskPayload Task object to be created (required)
@return TaskEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public TaskEnvelope createTasks(TaskRequest taskPayload) throws ApiException {
ApiResponse<TaskEnvelope> resp = createTasksWithHttpInfo(taskPayload);
return resp.getData();
} | Create a new task for one or more devices
Create a new task for one or more devices
@param taskPayload Task object to be created (required)
@return TaskEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public TaskEnvelope createTasks(TaskRequest taskPayloa... | 92 | 264 | 194 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b44c3c9d27107241325ef44b1d7d5a8f033b8722278d85f7eeef62a1cb42035e | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
930d95f632ba990e73543768 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.createTasksWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L149-L153 | train | java | Create a new task for one or more devices
Create a new task for one or more devices
@param taskPayload Task object to be created (required)
@return ApiResponse<TaskEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<TaskEnvelope> createTasksWithHttpInfo(TaskRequest taskPayload) throws ApiException {
com.squareup.okhttp.Call call = createTasksValidateBeforeCall(taskPayload, null, null);
Type localVarReturnType = new TypeToken<TaskEnvelope>(){}.getType();
return apiClient.execute(call, loca... | Create a new task for one or more devices
Create a new task for one or more devices
@param taskPayload Task object to be created (required)
@return ApiResponse<TaskEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<TaskEnvelope> cr... | 125 | 283 | 342 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 6997be0d4664c61ef7e4f8deff59c593657c12e61454fd0b5bab82466ccdd216 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
9ece58127754c9a10615d8dc | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.createTasksAsync | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L163-L188 | train | java | Create a new task for one or more devices (asynchronously)
Create a new task for one or more devices
@param taskPayload Task object to be created (required)
@param callback The callback to be executed when the API call finishes
@return The request call
@throws ApiException If fail to process the API call, e.g. serializ... | public com.squareup.okhttp.Call createTasksAsync(TaskRequest taskPayload, final ApiCallback<TaskEnvelope> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
if (callback != n... | Create a new task for one or more devices (asynchronously)
Create a new task for one or more devices
@param taskPayload Task object to be created (required)
@param callback The callback to be executed when the API call finishes
@return The request call
@throws ApiException If fail to process the API call, e.g. serializ... | 283 | 347 | 1,273 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | fe4ddcf2e509e15fd3a793f17a6126186552342cbf91a8b89620e652c126536a | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
6d0e3ea1c21c95b31c910a73 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.deleteServerProperties | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L256-L259 | train | java | Deletes a device's properties.
Deletes a device's properties.
@param did Device ID. (required)
@return MetadataEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public MetadataEnvelope deleteServerProperties(String did) throws ApiException {
ApiResponse<MetadataEnvelope> resp = deleteServerPropertiesWithHttpInfo(did);
return resp.getData();
} | Deletes a device's properties.
Deletes a device's properties.
@param did Device ID. (required)
@return MetadataEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public MetadataEnvelope deleteServerProperties(String did) throws ApiException {
... | 86 | 231 | 203 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 72f09994251bc754c19c40cc2d88f99755cf68594906ab3a74060a5348ab34e1 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
88f27953865d9c041b560c08 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.deleteServerPropertiesWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L268-L272 | train | java | Deletes a device's properties.
Deletes a device's properties.
@param did Device ID. (required)
@return ApiResponse<MetadataEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<MetadataEnvelope> deleteServerPropertiesWithHttpInfo(String did) throws ApiException {
com.squareup.okhttp.Call call = deleteServerPropertiesValidateBeforeCall(did, null, null);
Type localVarReturnType = new TypeToken<MetadataEnvelope>(){}.getType();
return apiClient.execute(c... | Deletes a device's properties.
Deletes a device's properties.
@param did Device ID. (required)
@return ApiResponse<MetadataEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<MetadataEnvelope> deleteServerPropertiesWithHttpI... | 120 | 250 | 351 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 58b1e6870689fec4d89c57ebb28b0542cf4b119d2ce474bd304332719eb19976 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
24476cba9a1157d6be9e7877 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getAllByDid | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L390-L393 | train | java | Returns the list of tasks for a particular device id with optional status filter.
Returns the list of tasks for a particular device id with optional status filter.
@param did Device ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Co... | public TaskByDidListEnvelope getAllByDid(String did, Integer count, Integer offset, String status, String order, String sort) throws ApiException {
ApiResponse<TaskByDidListEnvelope> resp = getAllByDidWithHttpInfo(did, count, offset, status, order, sort);
return resp.getData();
} | Returns the list of tasks for a particular device id with optional status filter.
Returns the list of tasks for a particular device id with optional status filter.
@param did Device ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Co... | 196 | 624 | 300 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 06a6bdfff57846e6798108d9fdaccba4dfa8c97dda666417f337c94c371077c3 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
414b22b518191aa030868bcb | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getAllByDidWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L407-L411 | train | java | Returns the list of tasks for a particular device id with optional status filter.
Returns the list of tasks for a particular device id with optional status filter.
@param did Device ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Co... | public ApiResponse<TaskByDidListEnvelope> getAllByDidWithHttpInfo(String did, Integer count, Integer offset, String status, String order, String sort) throws ApiException {
com.squareup.okhttp.Call call = getAllByDidValidateBeforeCall(did, count, offset, status, order, sort, null, null);
Type localVarRe... | Returns the list of tasks for a particular device id with optional status filter.
Returns the list of tasks for a particular device id with optional status filter.
@param did Device ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Co... | 229 | 643 | 448 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 6fe6d4753669d44902c43c542a6d2cf65b23c9564b1571bb8cf6832c165d9ac1 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
f37d92d8b1badb73da0f84a1 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getDeviceTypesInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L519-L522 | train | java | Read a device type device management information.
Read a device type device management information.
@param dtid Device type ID. (required)
@return DeviceTypesInfoEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public DeviceTypesInfoEnvelope getDeviceTypesInfo(String dtid) throws ApiException {
ApiResponse<DeviceTypesInfoEnvelope> resp = getDeviceTypesInfoWithHttpInfo(dtid);
return resp.getData();
} | Read a device type device management information.
Read a device type device management information.
@param dtid Device type ID. (required)
@return DeviceTypesInfoEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public DeviceTypesInfoEnvelope getDeviceType... | 97 | 274 | 211 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 7b1a72b688bebdc67b8f766276c7727b4b0d326ab9dfd497fa492f50ee80382d | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
65855f9f0b6613ff94bd68e4 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getDeviceTypesInfoWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L531-L535 | train | java | Read a device type device management information.
Read a device type device management information.
@param dtid Device type ID. (required)
@return ApiResponse<DeviceTypesInfoEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<DeviceTypesInfoEnvelope> getDeviceTypesInfoWithHttpInfo(String dtid) throws ApiException {
com.squareup.okhttp.Call call = getDeviceTypesInfoValidateBeforeCall(dtid, null, null);
Type localVarReturnType = new TypeToken<DeviceTypesInfoEnvelope>(){}.getType();
return apiClient.e... | Read a device type device management information.
Read a device type device management information.
@param dtid Device type ID. (required)
@return ApiResponse<DeviceTypesInfoEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<Device... | 131 | 293 | 359 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 1e4121af0d67ef22f280e80799fbc3ee64013c21a392f4b67bb9e26799de8351 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
fbe30d3923dd2a94aa0ac0a4 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getManifestProperties | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L638-L641 | train | java | Get a device type's device management manifest properties
Get a device type's device management manifest properties
@param dtid Device Type ID. (required)
@return MetadataPropertiesEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public MetadataPropertiesEnvelope getManifestProperties(String dtid) throws ApiException {
ApiResponse<MetadataPropertiesEnvelope> resp = getManifestPropertiesWithHttpInfo(dtid);
return resp.getData();
} | Get a device type's device management manifest properties
Get a device type's device management manifest properties
@param dtid Device Type ID. (required)
@return MetadataPropertiesEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public MetadataPr... | 100 | 301 | 223 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 45a2e9dcf08c1da0f71cc091f6cd456ee50127376c10e35e88ea46efccd551fb | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
80e9ec2a4b5bad1b97481a1a | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getManifestPropertiesWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L650-L654 | train | java | Get a device type's device management manifest properties
Get a device type's device management manifest properties
@param dtid Device Type ID. (required)
@return ApiResponse<MetadataPropertiesEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<MetadataPropertiesEnvelope> getManifestPropertiesWithHttpInfo(String dtid) throws ApiException {
com.squareup.okhttp.Call call = getManifestPropertiesValidateBeforeCall(dtid, null, null);
Type localVarReturnType = new TypeToken<MetadataPropertiesEnvelope>(){}.getType();
return... | Get a device type's device management manifest properties
Get a device type's device management manifest properties
@param dtid Device Type ID. (required)
@return ApiResponse<MetadataPropertiesEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body... | 134 | 320 | 371 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | c9f557756c6db58dda9b965e9f8b62197c10d1c35d0c107b88eabfe6f32fb876 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
d13d0176f9c8fa7796c31d21 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getProperties | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L760-L763 | train | java | Read a device's properties.
Read a device's properties.
@param did Device ID. (required)
@param includeTimestamp Include timestamp. (optional)
@return MetadataEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public MetadataEnvelope getProperties(String did, Boolean includeTimestamp) throws ApiException {
ApiResponse<MetadataEnvelope> resp = getPropertiesWithHttpInfo(did, includeTimestamp);
return resp.getData();
} | Read a device's properties.
Read a device's properties.
@param did Device ID. (required)
@param includeTimestamp Include timestamp. (optional)
@return MetadataEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public MetadataEnvelope getProperties(S... | 100 | 279 | 229 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 5af7aae795bb18a16cd4330686815eb8dd10512cb82d18a7fa19ac8cfbff3f0d | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
686b9c35402e1041d3be6518 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getPropertiesWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L773-L777 | train | java | Read a device's properties.
Read a device's properties.
@param did Device ID. (required)
@param includeTimestamp Include timestamp. (optional)
@return ApiResponse<MetadataEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<MetadataEnvelope> getPropertiesWithHttpInfo(String did, Boolean includeTimestamp) throws ApiException {
com.squareup.okhttp.Call call = getPropertiesValidateBeforeCall(did, includeTimestamp, null, null);
Type localVarReturnType = new TypeToken<MetadataEnvelope>(){}.getType();
... | Read a device's properties.
Read a device's properties.
@param did Device ID. (required)
@param includeTimestamp Include timestamp. (optional)
@return ApiResponse<MetadataEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<M... | 134 | 298 | 377 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | e4ba9dd36561233ea3c76f05120a17f2c6254d6280d7b5ae68fd3e2c05eb4417 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
6e704cfa3b1aa678b0d53e00 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getStatuses | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L893-L896 | train | java | Returns the details and status of a task id and the individual statuses of each device id in the list.
Returns the details and status of a task id and the individual statuses of each device id in the list.
@param tid Task ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (o... | public TaskStatusesEnvelope getStatuses(String tid, Integer count, Integer offset, String status, String dids) throws ApiException {
ApiResponse<TaskStatusesEnvelope> resp = getStatusesWithHttpInfo(tid, count, offset, status, dids);
return resp.getData();
} | Returns the details and status of a task id and the individual statuses of each device id in the list.
Returns the details and status of a task id and the individual statuses of each device id in the list.
@param tid Task ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (o... | 182 | 594 | 277 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 0fac201efc6c35f752b5cff65be923be6ba82210f9fdb30f7606490338d00b52 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
e95f9c9e77182d6a6799de87 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getStatusesWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L909-L913 | train | java | Returns the details and status of a task id and the individual statuses of each device id in the list.
Returns the details and status of a task id and the individual statuses of each device id in the list.
@param tid Task ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (o... | public ApiResponse<TaskStatusesEnvelope> getStatusesWithHttpInfo(String tid, Integer count, Integer offset, String status, String dids) throws ApiException {
com.squareup.okhttp.Call call = getStatusesValidateBeforeCall(tid, count, offset, status, dids, null, null);
Type localVarReturnType = new TypeTok... | Returns the details and status of a task id and the individual statuses of each device id in the list.
Returns the details and status of a task id and the individual statuses of each device id in the list.
@param tid Task ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (o... | 215 | 613 | 425 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b4b450c9e0ca01e20e8da76b0ee09118415d45e4df9d3c96f16d2cd4f7a11e5c | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
29a1cbf6280217f53d6a9197 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getStatusesAsync | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L927-L952 | train | java | Returns the details and status of a task id and the individual statuses of each device id in the list. (asynchronously)
Returns the details and status of a task id and the individual statuses of each device id in the list.
@param tid Task ID. (required)
@param count Max results count. (optional)
@param offset Result st... | public com.squareup.okhttp.Call getStatusesAsync(String tid, Integer count, Integer offset, String status, String dids, final ApiCallback<TaskStatusesEnvelope> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener prog... | Returns the details and status of a task id and the individual statuses of each device id in the list. (asynchronously)
Returns the details and status of a task id and the individual statuses of each device id in the list.
@param tid Task ID. (required)
@param count Max results count. (optional)
@param offset Result st... | 372 | 669 | 1,356 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | a57b18a95e4831a9cb7ee0e79ef066608e80c5878837e066d8846a97093a71a5 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
83ab1f3321458aa6910734a7 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getStatusesHistory | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1023-L1026 | train | java | Returns the history of the status changes for a specific task id, or for a specific device id in that task.
Returns the history of the status changes for a specific task id, or for a specific device id in that task.
@param tid Task ID. (required)
@param did Device ID. Optional. (optional)
@return TaskStatusesHistoryEnv... | public TaskStatusesHistoryEnvelope getStatusesHistory(String tid, String did) throws ApiException {
ApiResponse<TaskStatusesHistoryEnvelope> resp = getStatusesHistoryWithHttpInfo(tid, did);
return resp.getData();
} | Returns the history of the status changes for a specific task id, or for a specific device id in that task.
Returns the history of the status changes for a specific task id, or for a specific device id in that task.
@param tid Task ID. (required)
@param did Device ID. Optional. (optional)
@return TaskStatusesHistoryEnv... | 138 | 429 | 234 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | c4b1ba827300b17b586008fe8bdce96cd05f28ce6ef12152fbc853825a5fa521 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
cd0c0b5ff375d96934b04aff | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getStatusesHistoryWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1036-L1040 | train | java | Returns the history of the status changes for a specific task id, or for a specific device id in that task.
Returns the history of the status changes for a specific task id, or for a specific device id in that task.
@param tid Task ID. (required)
@param did Device ID. Optional. (optional)
@return ApiResponse<TaskSta... | public ApiResponse<TaskStatusesHistoryEnvelope> getStatusesHistoryWithHttpInfo(String tid, String did) throws ApiException {
com.squareup.okhttp.Call call = getStatusesHistoryValidateBeforeCall(tid, did, null, null);
Type localVarReturnType = new TypeToken<TaskStatusesHistoryEnvelope>(){}.getType();
... | Returns the history of the status changes for a specific task id, or for a specific device id in that task.
Returns the history of the status changes for a specific task id, or for a specific device id in that task.
@param tid Task ID. (required)
@param did Device ID. Optional. (optional)
@return ApiResponse<TaskSta... | 171 | 448 | 382 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 605a713d0f97c62be1d0d0bb1ca48cbdf3bce3ac2e1901e9decdddc4f15777b3 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
e699dcb5237eae623e344a13 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getTaskByID | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1144-L1147 | train | java | Returns the details and global status of a specific task id.
Returns the details and global status of a specific task id.
@param tid Task ID. (required)
@return TaskEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public TaskEnvelope getTaskByID(String tid) throws ApiException {
ApiResponse<TaskEnvelope> resp = getTaskByIDWithHttpInfo(tid);
return resp.getData();
} | Returns the details and global status of a specific task id.
Returns the details and global status of a specific task id.
@param tid Task ID. (required)
@return TaskEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public TaskEnvelope getTaskByID(String ti... | 92 | 277 | 173 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 76e47b0e7f8784b8264401ccf2f657ca4f6e22289d98aba809b49e4c553f2083 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
918befea01740304db2a0701 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getTaskByIDWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1156-L1160 | train | java | Returns the details and global status of a specific task id.
Returns the details and global status of a specific task id.
@param tid Task ID. (required)
@return ApiResponse<TaskEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public ApiResponse<TaskEnvelope> getTaskByIDWithHttpInfo(String tid) throws ApiException {
com.squareup.okhttp.Call call = getTaskByIDValidateBeforeCall(tid, null, null);
Type localVarReturnType = new TypeToken<TaskEnvelope>(){}.getType();
return apiClient.execute(call, localVarReturnType);
... | Returns the details and global status of a specific task id.
Returns the details and global status of a specific task id.
@param tid Task ID. (required)
@return ApiResponse<TaskEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public ApiResponse<Tas... | 125 | 296 | 321 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 0ce7e53acbf305845a10cf9cb6423885c5587769e2d006fc536f5549a844b2a1 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
a19dc19ce196f0c1fd34c273 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getTasks | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1279-L1282 | train | java | Returns the all the tasks for a device type.
Returns the all the tasks for a device type.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Comma-separated statuses. (optional)
@param order Sort results by a fi... | public TaskListEnvelope getTasks(String dtid, Integer count, Integer offset, String status, String order, String sort) throws ApiException {
ApiResponse<TaskListEnvelope> resp = getTasksWithHttpInfo(dtid, count, offset, status, order, sort);
return resp.getData();
} | Returns the all the tasks for a device type.
Returns the all the tasks for a device type.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Comma-separated statuses. (optional)
@param order Sort results by a fi... | 181 | 551 | 286 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 05c808a0927994464b0ff1feb17785129f66c9801e0d69aa2d00aff0b5f65aab | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
2dd76ec17545efc77b1aa9e5 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getTasksWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1296-L1300 | train | java | Returns the all the tasks for a device type.
Returns the all the tasks for a device type.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Comma-separated statuses. (optional)
@param order Sort results by a fi... | public ApiResponse<TaskListEnvelope> getTasksWithHttpInfo(String dtid, Integer count, Integer offset, String status, String order, String sort) throws ApiException {
com.squareup.okhttp.Call call = getTasksValidateBeforeCall(dtid, count, offset, status, order, sort, null, null);
Type localVarReturnType ... | Returns the all the tasks for a device type.
Returns the all the tasks for a device type.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Comma-separated statuses. (optional)
@param order Sort results by a fi... | 214 | 570 | 434 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 9b2f7ff2808fa71121025bbc2d09ac104b62f5fb91f7f1519509466efce4fa18 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
922ac5291243fb224cf572f5 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.getTasksAsync | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1315-L1340 | train | java | Returns the all the tasks for a device type. (asynchronously)
Returns the all the tasks for a device type.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Comma-separated statuses. (optional)
@param order Sor... | public com.squareup.okhttp.Call getTasksAsync(String dtid, Integer count, Integer offset, String status, String order, String sort, final ApiCallback<TaskListEnvelope> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListe... | Returns the all the tasks for a device type. (asynchronously)
Returns the all the tasks for a device type.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param status Status filter. Comma-separated statuses. (optional)
@param order Sor... | 372 | 630 | 1,365 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 0e6131613a3836cf47b56985993fdf547aefd7947670a13c3de89d8686eb8294 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
0ff9866bd19507f33917e466 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.queryProperties | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1421-L1424 | train | java | Query device properties across devices.
Query device properties across devices.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param filter Query filter. Comma-separated key=value pairs (optional)
@param includeTimestamp Include t... | public MetadataQueryEnvelope queryProperties(String dtid, Integer count, Integer offset, String filter, Boolean includeTimestamp) throws ApiException {
ApiResponse<MetadataQueryEnvelope> resp = queryPropertiesWithHttpInfo(dtid, count, offset, filter, includeTimestamp);
return resp.getData();
} | Query device properties across devices.
Query device properties across devices.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param filter Query filter. Comma-separated key=value pairs (optional)
@param includeTimestamp Include t... | 154 | 474 | 314 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 4101b57945eb181bf8afd949f0cdf331be4b379f6cfd9769e8ce631772507e4e | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
6378e9f5e0e0184d8da50a64 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.queryPropertiesWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1437-L1441 | train | java | Query device properties across devices.
Query device properties across devices.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param filter Query filter. Comma-separated key=value pairs (optional)
@param includeTimestamp Include t... | public ApiResponse<MetadataQueryEnvelope> queryPropertiesWithHttpInfo(String dtid, Integer count, Integer offset, String filter, Boolean includeTimestamp) throws ApiException {
com.squareup.okhttp.Call call = queryPropertiesValidateBeforeCall(dtid, count, offset, filter, includeTimestamp, null, null);
T... | Query device properties across devices.
Query device properties across devices.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param filter Query filter. Comma-separated key=value pairs (optional)
@param includeTimestamp Include t... | 188 | 493 | 462 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 75899e2be666f0b90bbaffa1b8654fb3b79b309a2d0ab22b00e05c161c1815a4 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
8685b7ee76afbabf03a5d607 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.queryPropertiesAsync | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1455-L1480 | train | java | Query device properties across devices. (asynchronously)
Query device properties across devices.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param filter Query filter. Comma-separated key=value pairs (optional)
@param includeTi... | public com.squareup.okhttp.Call queryPropertiesAsync(String dtid, Integer count, Integer offset, String filter, Boolean includeTimestamp, final ApiCallback<MetadataQueryEnvelope> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressR... | Query device properties across devices. (asynchronously)
Query device properties across devices.
@param dtid Device Type ID. (required)
@param count Max results count. (optional)
@param offset Result starting offset. (optional)
@param filter Query filter. Comma-separated key=value pairs (optional)
@param includeTi... | 346 | 548 | 1,393 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 838be1e57c02eaf60f9ef4fc7e2fa809ea0cab02974e992e98390faec20a2098 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
7ac3df9188b1a4fb8be5b9d6 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.updateDeviceTypesInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1554-L1557 | train | java | Updates a device type information
Updates a device type information
@param dtid Device type ID. (required)
@param deviceTypeInfo Device type info object to be set (required)
@return DeviceTypesInfoEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public DeviceTypesInfoEnvelope updateDeviceTypesInfo(String dtid, DeviceTypesInfo deviceTypeInfo) throws ApiException {
ApiResponse<DeviceTypesInfoEnvelope> resp = updateDeviceTypesInfoWithHttpInfo(dtid, deviceTypeInfo);
return resp.getData();
} | Updates a device type information
Updates a device type information
@param dtid Device type ID. (required)
@param deviceTypeInfo Device type info object to be set (required)
@return DeviceTypesInfoEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
public De... | 115 | 309 | 265 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 71507ba3e2381d9563b15bcdd63bdf0dee5aa1ec32858b7770e82f6c78d27014 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
cb6523bba62363285c1880c7 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.updateDeviceTypesInfoWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1567-L1571 | train | java | Updates a device type information
Updates a device type information
@param dtid Device type ID. (required)
@param deviceTypeInfo Device type info object to be set (required)
@return ApiResponse<DeviceTypesInfoEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the respo... | public ApiResponse<DeviceTypesInfoEnvelope> updateDeviceTypesInfoWithHttpInfo(String dtid, DeviceTypesInfo deviceTypeInfo) throws ApiException {
com.squareup.okhttp.Call call = updateDeviceTypesInfoValidateBeforeCall(dtid, deviceTypeInfo, null, null);
Type localVarReturnType = new TypeToken<DeviceTypesI... | Updates a device type information
Updates a device type information
@param dtid Device type ID. (required)
@param deviceTypeInfo Device type info object to be set (required)
@return ApiResponse<DeviceTypesInfoEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the respo... | 149 | 328 | 413 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 33480b8cc47ce4a44f841786ee741a78c2e31627f174f68a2a37c8238bcd673a | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
a139efc75390ec01b2bd3d48 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.updateServerProperties | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1681-L1684 | train | java | Updates a device's server properties.
Updates a device's server properties.
@param did Device ID. (required)
@param deviceProperties Device properties object to be set (required)
@return MetadataEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | public MetadataEnvelope updateServerProperties(String did, Object deviceProperties) throws ApiException {
ApiResponse<MetadataEnvelope> resp = updateServerPropertiesWithHttpInfo(did, deviceProperties);
return resp.getData();
} | Updates a device's server properties.
Updates a device's server properties.
@param did Device ID. (required)
@param deviceProperties Device properties object to be set (required)
@return MetadataEnvelope
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
pub... | 107 | 315 | 246 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | cf1c4b690672d7cc8fafc3ecc52a8e48a466718516dd3ae15f5ff2231687b133 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
4e126afcbac012aed44a27b9 | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.updateServerPropertiesWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1694-L1698 | train | java | Updates a device's server properties.
Updates a device's server properties.
@param did Device ID. (required)
@param deviceProperties Device properties object to be set (required)
@return ApiResponse<MetadataEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the... | public ApiResponse<MetadataEnvelope> updateServerPropertiesWithHttpInfo(String did, Object deviceProperties) throws ApiException {
com.squareup.okhttp.Call call = updateServerPropertiesValidateBeforeCall(did, deviceProperties, null, null);
Type localVarReturnType = new TypeToken<MetadataEnvelope>(){}.ge... | Updates a device's server properties.
Updates a device's server properties.
@param did Device ID. (required)
@param deviceProperties Device properties object to be set (required)
@return ApiResponse<MetadataEnvelope>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the... | 141 | 334 | 394 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b5664fbc5b811058c05f8ac50ab3616ffd9152640cc38392241564b7a9b8a760 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
639e115aecb95c67185d994c | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.updateTask | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1808-L1811 | train | java | Updates a task for all devices - For now just allows changing the state to cancelled.
Updates a task for all devices - For now just allows changing the state to cancelled.
@param tid Task ID. (required)
@param taskUpdateRequest Task update request (required)
@return TaskUpdateResponse
@throws ApiException If fail to ca... | public TaskUpdateResponse updateTask(String tid, TaskUpdateRequest taskUpdateRequest) throws ApiException {
ApiResponse<TaskUpdateResponse> resp = updateTaskWithHttpInfo(tid, taskUpdateRequest);
return resp.getData();
} | Updates a task for all devices - For now just allows changing the state to cancelled.
Updates a task for all devices - For now just allows changing the state to cancelled.
@param tid Task ID. (required)
@param taskUpdateRequest Task update request (required)
@return TaskUpdateResponse
@throws ApiException If fail to ca... | 124 | 389 | 239 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | aaec0a9aad037494fcf42f72918afec54f033ca965018d5dbf8415791451d963 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
58c28247e8d74490254d208a | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.updateTaskWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1821-L1825 | train | java | Updates a task for all devices - For now just allows changing the state to cancelled.
Updates a task for all devices - For now just allows changing the state to cancelled.
@param tid Task ID. (required)
@param taskUpdateRequest Task update request (required)
@return ApiResponse<TaskUpdateResponse>
@throws ApiExce... | public ApiResponse<TaskUpdateResponse> updateTaskWithHttpInfo(String tid, TaskUpdateRequest taskUpdateRequest) throws ApiException {
com.squareup.okhttp.Call call = updateTaskValidateBeforeCall(tid, taskUpdateRequest, null, null);
Type localVarReturnType = new TypeToken<TaskUpdateResponse>(){}.getType()... | Updates a task for all devices - For now just allows changing the state to cancelled.
Updates a task for all devices - For now just allows changing the state to cancelled.
@param tid Task ID. (required)
@param taskUpdateRequest Task update request (required)
@return ApiResponse<TaskUpdateResponse>
@throws ApiExce... | 157 | 408 | 387 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 796d5c54ad62e0077e0dbb0767a3b76e3efce4dfff72df62041028ede83ed266 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
25ef2452794550d6792b344c | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.updateTaskForDevice | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1942-L1945 | train | java | Updates a task for a specific device - For now just allows changing the state to cancelled.
Updates a task for a specific device - For now just allows changing the state to cancelled.
@param tid Task ID. (required)
@param did Device ID. (required)
@param deviceTaskUpdateRequest Device task update request (required)
@re... | public DeviceTaskUpdateResponse updateTaskForDevice(String tid, String did, DeviceTaskUpdateRequest deviceTaskUpdateRequest) throws ApiException {
ApiResponse<DeviceTaskUpdateResponse> resp = updateTaskForDeviceWithHttpInfo(tid, did, deviceTaskUpdateRequest);
return resp.getData();
} | Updates a task for a specific device - For now just allows changing the state to cancelled.
Updates a task for a specific device - For now just allows changing the state to cancelled.
@param tid Task ID. (required)
@param did Device ID. (required)
@param deviceTaskUpdateRequest Device task update request (required)
@re... | 152 | 453 | 304 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 9a0846cf3c7b1426b7898d98094caab821db4d318e88d8586915728352b23774 | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
2ae5a56b7c94d9d5500f488e | artikcloud/artikcloud-java | src/main/java/cloud/artik/api/DevicesManagementApi.java | DevicesManagementApi.updateTaskForDeviceWithHttpInfo | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/api/DevicesManagementApi.java#L1956-L1960 | train | java | Updates a task for a specific device - For now just allows changing the state to cancelled.
Updates a task for a specific device - For now just allows changing the state to cancelled.
@param tid Task ID. (required)
@param did Device ID. (required)
@param deviceTaskUpdateRequest Device task update request (required)
@re... | public ApiResponse<DeviceTaskUpdateResponse> updateTaskForDeviceWithHttpInfo(String tid, String did, DeviceTaskUpdateRequest deviceTaskUpdateRequest) throws ApiException {
com.squareup.okhttp.Call call = updateTaskForDeviceValidateBeforeCall(tid, did, deviceTaskUpdateRequest, null, null);
Type localVarR... | Updates a task for a specific device - For now just allows changing the state to cancelled.
Updates a task for a specific device - For now just allows changing the state to cancelled.
@param tid Task ID. (required)
@param did Device ID. (required)
@param deviceTaskUpdateRequest Device task update request (required)
@re... | 186 | 472 | 452 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 2a7341df82c607dcf9bd29fc99c3c824e85144129247e82e11bc31125b8171ef | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
620e5027f8a12b31f8a38e15 | artikcloud/artikcloud-java | src/main/java/cloud/artik/model/NormalizedMessage.java | NormalizedMessage.getData | https://github.com/artikcloud/artikcloud-java/blob/412f447573e7796ab4f685c0bdd5eb76185a365c/src/main/java/cloud/artik/model/NormalizedMessage.java#L194-L197 | train | java | Get data
@return data | @ApiModelProperty(example = "null", required = true, value = "")
public Map<String, Object> getData() {
return data;
} | Get data
@return data
@ApiModelProperty(example = "null", required = true, value = "")
public Map<String, Object> getData() {
return data;
} | 36 | 21 | 126 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 80514c1b9562cc6be22549309b1353222145e704b252bf5cd73eff3ba5cbd35c | Apache-2.0 | permissive | https://github.com/artikcloud/artikcloud-java/blob/master/LICENSE |
6d746933c4055ba62dbe326f | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/Gabor.java | Gabor.Function1D | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/Gabor.java#L78-L82 | train | java | 1-D Gabor function.
@param x Value.
@param mean Mean.
@param amplitude Amplitude.
@param position Position.
@param width Width.
@param phase Phase.
@param frequency Frequency.
@return Gabor response. | public static double Function1D(double x, double mean, double amplitude, double position, double width, double phase, double frequency) {
double envelope = mean + amplitude * Math.exp(-Math.pow((x - position), 2) / Math.pow((2 * width), 2));
double carry = Math.cos(2 * Math.PI * frequency * (x - positio... | 1-D Gabor function.
@param x Value.
@param mean Mean.
@param amplitude Amplitude.
@param position Position.
@param width Width.
@param phase Phase.
@param frequency Frequency.
@return Gabor response.
public static double Function1D(double x, double mean, double amplitude, double position, double... | 135 | 222 | 371 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b6b190896e0c6a9cb1796138725d28f706f58615a508e5da9e3a7e9fddb5d9d4 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
2e1624c2947352ac90830827 | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/Gabor.java | Gabor.Function2D | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/Gabor.java#L96-L106 | train | java | 2-D Complex Gabor function.
@param x X axis coordinate.
@param y Y axis coordinate.
@param wavelength Wavelength.
@param orientation Orientation.
@param phaseOffset Phase offset.
@param gaussVariance Gaussian variance.
@param aspectRatio Aspect ratio.
@return Gabor response. | public static ComplexNumber Function2D(int x, int y, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio) {
double X = x * Math.cos(orientation) + y * Math.sin(orientation);
double Y = -x * Math.sin(orientation) + y * Math.cos(orientation);
doubl... | 2-D Complex Gabor function.
@param x X axis coordinate.
@param y Y axis coordinate.
@param wavelength Wavelength.
@param orientation Orientation.
@param phaseOffset Phase offset.
@param gaussVariance Gaussian variance.
@param aspectRatio Aspect ratio.
@return Gabor response.
public st... | 222 | 309 | 669 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | fe4c31d83b5d7eef0da8f5cf1ea7f3bea06c56f7c415d43ccb910290b0b6b3c9 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
93ee0bdeb1b628e744c68b44 | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/Gabor.java | Gabor.RealFunction2D | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/Gabor.java#L121-L130 | train | java | 2-D Gabor function.
compute only real part.
@param x X axis coordinate.
@param y Y axis coordinate.
@param wavelength Wavelength.
@param orientation Orientation.
@param phaseOffset Phase offset.
@param gaussVariance Gaussian variance.
@param aspectRatio Aspect ratio.
@return Gabor resp... | public static double RealFunction2D(int x, int y, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio) {
double X = x * Math.cos(orientation) + y * Math.sin(orientation);
double Y = -x * Math.sin(orientation) + y * Math.cos(orientation);
double e... | 2-D Gabor function.
compute only real part.
@param x X axis coordinate.
@param y Y axis coordinate.
@param wavelength Wavelength.
@param orientation Orientation.
@param phaseOffset Phase offset.
@param gaussVariance Gaussian variance.
@param aspectRatio Aspect ratio.
@return Gabor resp... | 197 | 325 | 548 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 8378a692fa429d92942069a4333581dc3185e2fbb4a001e1fdebe083a2fd4e7e | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
adb5dc47d8a30439ac06296a | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/Gabor.java | Gabor.Kernel2D | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/Gabor.java#L167-L189 | train | java | 2-D Gabor kernel.
@param size Kernel size (should be odd).
@param wavelength Wavelength.
@param orientation Orientation.
@param phaseOffset Phase offset.
@param gaussVariance Gaussian variance.
@param aspectRatio Aspect ratio.
@return Gabor kernel. | public static double[][] Kernel2D(int size, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio) {
double sigmaX = gaussVariance;
double sigmaY = gaussVariance / aspectRatio;
int xMax = (int) Math.ceil(Math.max(1, Math.max(Math.abs(size * sigmaX *... | 2-D Gabor kernel.
@param size Kernel size (should be odd).
@param wavelength Wavelength.
@param orientation Orientation.
@param phaseOffset Phase offset.
@param gaussVariance Gaussian variance.
@param aspectRatio Aspect ratio.
@return Gabor kernel.
public static double[][] Kernel2D(int size, double ... | 372 | 267 | 1,162 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 4f51178ea7418a23fb12113aaa459702a82a0c679506d498079b486c87d43a94 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
549a7ac3b59313020421f32d | Harium/keel | src/main/java/com/harium/keel/catalano/math/function/Gabor.java | Gabor.Kernel2D | https://github.com/Harium/keel/blob/0369ae674f9e664bccc5f9e161ae7e7a3b949a1e/src/main/java/com/harium/keel/catalano/math/function/Gabor.java#L203-L257 | train | java | 2-D Gabor kernel.
@param size Kernel size (should be odd).
@param wavelength Wavelength.
@param orientation Orientation.
@param phaseOffset Phase offset.
@param gaussVariance Gaussian variance.
@param aspectRatio Aspect ratio.
@param config Gabor configuration.
@return Gabor kernel. | public static double[][] Kernel2D(int size, double wavelength, double orientation, double phaseOffset, double gaussVariance, double aspectRatio, Config config) {
double sigmaX = gaussVariance;
double sigmaY = gaussVariance / aspectRatio;
int xMax = (int) Math.ceil(Math.max(1, Math.max(Math.abs(... | 2-D Gabor kernel.
@param size Kernel size (should be odd).
@param wavelength Wavelength.
@param orientation Orientation.
@param phaseOffset Phase offset.
@param gaussVariance Gaussian variance.
@param aspectRatio Aspect ratio.
@param config Gabor configuration.
@return Gabor kernel.
public st... | 712 | 309 | 2,662 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 5919b172654db6672dfa66b942d7a4838f807266082e1cc64c13938d15967553 | LGPL-3.0 | weak-copyleft | https://github.com/Harium/keel/blob/master/LICENSE |
d196d8934123f387dd5d7452 | hyleung/ratpack-zipkin | src/main/java/ratpack/zipkin/TracedParallelBatch.java | TracedParallelBatch.of | https://github.com/hyleung/ratpack-zipkin/blob/3c9e4b05e3f5fab034c1f7832fffce8a55c311d3/src/main/java/ratpack/zipkin/TracedParallelBatch.java#L35-L37 | train | java | Create a {@link TracedParallelBatch} for list of {@link Promise}s.
@param promises an iterable of Promises
@param <T> the type of value produced by each promise
@return an instance of {@link TracedParallelBatch}. | public static <T> TracedParallelBatch<T> of(Iterable<? extends Promise<T>> promises) {
return new TracedParallelBatch<>(promises);
} | Create a {@link TracedParallelBatch} for list of {@link Promise}s.
@param promises an iterable of Promises
@param <T> the type of value produced by each promise
@return an instance of {@link TracedParallelBatch}.
public static <T> TracedParallelBatch<T> of(Iterable<? extends Promise<T>> promises) {
return new Tr... | 85 | 214 | 138 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b528f75bf22c1722ed4b7ac300ccf1865530c9d43df4bda5fd0abb908ee808fd | Apache-2.0 | permissive | https://github.com/hyleung/ratpack-zipkin/blob/master/LICENSE |
fae5d819d2c8f586765ee301 | hyleung/ratpack-zipkin | src/main/java/ratpack/zipkin/TracedParallelBatch.java | TracedParallelBatch.of | https://github.com/hyleung/ratpack-zipkin/blob/3c9e4b05e3f5fab034c1f7832fffce8a55c311d3/src/main/java/ratpack/zipkin/TracedParallelBatch.java#L47-L49 | train | java | Create a {@link TracedParallelBatch} for list of {@link Promise}s.
@param promises vararg containing a list of {@link Promise}s.
@param <T> the type of value produced by each promise
@return an instance of {@link TracedParallelBatch}. | public static <T> TracedParallelBatch<T> of(Promise<T>... promises) {
return new TracedParallelBatch<>(Arrays.asList(promises));
} | Create a {@link TracedParallelBatch} for list of {@link Promise}s.
@param promises vararg containing a list of {@link Promise}s.
@param <T> the type of value produced by each promise
@return an instance of {@link TracedParallelBatch}.
public static <T> TracedParallelBatch<T> of(Promise<T>... promises) {
return n... | 90 | 236 | 136 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | d821753afd8eb154710842f546ec66a9f8422a545d597ced6b4f2e3ce76e46cb | Apache-2.0 | permissive | https://github.com/hyleung/ratpack-zipkin/blob/master/LICENSE |
6b7e4942704a4edd5314103c | hyleung/ratpack-zipkin | src/main/java/ratpack/zipkin/TracedParallelBatch.java | TracedParallelBatch.of | https://github.com/hyleung/ratpack-zipkin/blob/3c9e4b05e3f5fab034c1f7832fffce8a55c311d3/src/main/java/ratpack/zipkin/TracedParallelBatch.java#L61-L64 | train | java | Create a {@link TracedParallelBatch} for list of {@link Promise}s,
with the specified trace context.
@param context the trace context
@param promises an iterable of Promises
@param <T> the type of value produced by each promise
@return an instance of {@link ParallelBatch}. | public static <T> ParallelBatch<T> of(final TraceContext context, Iterable<? extends Promise<T>> promises) {
return ParallelBatch.of(promises)
.execInit(execution -> execution.add(RatpackCurrentTraceContext.wrap(context)));
} | Create a {@link TracedParallelBatch} for list of {@link Promise}s,
with the specified trace context.
@param context the trace context
@param promises an iterable of Promises
@param <T> the type of value produced by each promise
@return an instance of {@link ParallelBatch}.
public static <T> ParallelBatch<T> of(final... | 112 | 275 | 239 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 800a155430bc0f9bafea99934642e4629ac9eeacf38229dd1348aeefcddbe598 | Apache-2.0 | permissive | https://github.com/hyleung/ratpack-zipkin/blob/master/LICENSE |
f98dd1eeb9f0a68620e1d110 | hyleung/ratpack-zipkin | src/main/java/ratpack/zipkin/TracedParallelBatch.java | TracedParallelBatch.of | https://github.com/hyleung/ratpack-zipkin/blob/3c9e4b05e3f5fab034c1f7832fffce8a55c311d3/src/main/java/ratpack/zipkin/TracedParallelBatch.java#L76-L78 | train | java | Create a {@link TracedParallelBatch} for list of {@link Promise}s,
with the specified trace context.
@param context the trace context.
@param promises vararg containing a list of {@link Promise}s.
@param <T> the type of value produced by each promise
@return an instance of {@link ParallelBatch}. | public static <T> ParallelBatch<T> of(final TraceContext context, Promise<T>... promises) {
return of(context, Arrays.asList(promises));
} | Create a {@link TracedParallelBatch} for list of {@link Promise}s,
with the specified trace context.
@param context the trace context.
@param promises vararg containing a list of {@link Promise}s.
@param <T> the type of value produced by each promise
@return an instance of {@link ParallelBatch}.
public static <T> Pa... | 99 | 298 | 144 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | a92e420c730e2ad5659be550f876c9c5039f3c272bd01624d5c8df1a03c01963 | Apache-2.0 | permissive | https://github.com/hyleung/ratpack-zipkin/blob/master/LICENSE |
a58cd9c57f323392e0d4cd1a | jclawson/hazeltask | hazeltask-core/src/main/java/com/hazeltask/executor/local/LocalTaskExecutorService.java | LocalTaskExecutorService.getOldestTaskCreatedTime | https://github.com/jclawson/hazeltask/blob/801162bc54c5f1d5744a28a2844b24289d9495d7/hazeltask-core/src/main/java/com/hazeltask/executor/local/LocalTaskExecutorService.java#L180-L203 | train | java | We want to get the best result possible as this value
is used to determine what work needs to be recovered.
@return | public Long getOldestTaskCreatedTime(){
Timer.Context ctx = getOldestTaskTimeTimer.time();
try {
long oldest = Long.MAX_VALUE;
/*
* I am asking this question first, because if I ask it after I could
* miss the oldest time if the oldest is polled and worked on
... | We want to get the best result possible as this value
is used to determine what work needs to be recovered.
@return
public Long getOldestTaskCreatedTime(){
Timer.Context ctx = getOldestTaskTimeTimer.time();
try {
long oldest = Long.MAX_VALUE;
/*
* I am asking this quest... | 211 | 116 | 833 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | f2288dc61ae39f63586b666f0948589562825c2d4286d605c62ffe5198867a8f | LGPL-3.0 | weak-copyleft | https://github.com/jclawson/hazeltask/blob/master/LGPL-LICENSE.txt |
76dee22f2e923f2a0851f9f8 | jclawson/hazeltask | hazeltask-core/src/main/java/com/hazeltask/executor/local/LocalTaskExecutorService.java | LocalTaskExecutorService.getGroupSizes | https://github.com/jclawson/hazeltask/blob/801162bc54c5f1d5744a28a2844b24289d9495d7/hazeltask-core/src/main/java/com/hazeltask/executor/local/LocalTaskExecutorService.java#L224-L231 | train | java | TODO: should we index this predicate somehow?
@param predicate
@return | public Map<G, Integer> getGroupSizes(Predicate<G> predicate) {
Timer.Context ctx = getGroupSizesTimer.time();
try {
return this.taskQueue.getGroupSizes(predicate);
} finally {
ctx.stop();
}
} | TODO: should we index this predicate somehow?
@param predicate
@return
public Map<G, Integer> getGroupSizes(Predicate<G> predicate) {
Timer.Context ctx = getGroupSizesTimer.time();
try {
return this.taskQueue.getGroupSizes(predicate);
} finally {
ctx.stop();
}
... | 66 | 71 | 251 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | e9fdcfa69244a21e5ae380b0574eb7a280d8716c0c4acb13262bc60913143394 | LGPL-3.0 | weak-copyleft | https://github.com/jclawson/hazeltask/blob/master/LGPL-LICENSE.txt |
a6e454f1e2927ea7e34aa1b6 | jclawson/hazeltask | hazeltask-core/src/main/java/com/hazeltask/executor/local/LocalTaskExecutorService.java | LocalTaskExecutorService.shutdownNow | https://github.com/jclawson/hazeltask/blob/801162bc54c5f1d5744a28a2844b24289d9495d7/hazeltask-core/src/main/java/com/hazeltask/executor/local/LocalTaskExecutorService.java#L307-L310 | train | java | SuppressWarnings I really want to return HazeltaskTasks instead of Runnable | @SuppressWarnings({ "unchecked", "rawtypes" })
public List<HazeltaskTask<G>> shutdownNow() {
return (List<HazeltaskTask<G>>) (List) localExecutorPool.shutdownNow();
} | SuppressWarnings I really want to return HazeltaskTasks instead of Runnable
@SuppressWarnings({ "unchecked", "rawtypes" })
public List<HazeltaskTask<G>> shutdownNow() {
return (List<HazeltaskTask<G>>) (List) localExecutorPool.shutdownNow();
} | 59 | 75 | 176 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | bbbdac832617d9de1015ea490f755275746d3edce87affc2219f76f3206fc201 | LGPL-3.0 | weak-copyleft | https://github.com/jclawson/hazeltask/blob/master/LGPL-LICENSE.txt |
4b0822fd30a6b825cc665958 | jclawson/hazeltask | hazeltask-core/src/main/java/com/hazeltask/hazelcast/MultiMapProxy.java | MultiMapProxy.containsKey | https://github.com/jclawson/hazeltask/blob/801162bc54c5f1d5744a28a2844b24289d9495d7/hazeltask-core/src/main/java/com/hazeltask/hazelcast/MultiMapProxy.java#L148-L152 | train | java | } | public boolean containsKey(K key) {
if(guavaMultiMap != null)
return guavaMultiMap.containsKey(key);
return hcMultiMap.containsKey(key);
} | }
public boolean containsKey(K key) {
if(guavaMultiMap != null)
return guavaMultiMap.containsKey(key);
return hcMultiMap.containsKey(key);
} | 38 | 1 | 150 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | f0b32e9828f6786a2cf0f5fc2aec26f618128d3a3b1e463d36afc6d29fb840e9 | LGPL-3.0 | weak-copyleft | https://github.com/jclawson/hazeltask/blob/master/LGPL-LICENSE.txt |
395a61ff02f350cca3a4f1b7 | jclawson/hazeltask | hazeltask-core/src/main/java/com/hazeltask/executor/metrics/ExecutorMetrics.java | ExecutorMetrics.registerCollectionSizeGauge | https://github.com/jclawson/hazeltask/blob/801162bc54c5f1d5744a28a2844b24289d9495d7/hazeltask-core/src/main/java/com/hazeltask/executor/metrics/ExecutorMetrics.java#L238-L243 | train | java | Calling this twice will not actually overwrite the gauge
@param collectionSizeGauge | public void registerCollectionSizeGauge(
CollectionSizeGauge collectionSizeGauge) {
String name = createMetricName(LocalTaskExecutorService.class,
"queue-size");
metrics.register(name, collectionSizeGauge);
} | Calling this twice will not actually overwrite the gauge
@param collectionSizeGauge
public void registerCollectionSizeGauge(
CollectionSizeGauge collectionSizeGauge) {
String name = createMetricName(LocalTaskExecutorService.class,
"queue-size");
metrics.register(name, collectionSizeGauge);
} | 67 | 84 | 220 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | b5e45a0aaed3664fd0303b3e80e36a173891d976f27e6b3e4ca1300050f38ae1 | LGPL-3.0 | weak-copyleft | https://github.com/jclawson/hazeltask/blob/master/LGPL-LICENSE.txt |
c8d4cc3a4be46c0a03fd8f74 | jclawson/hazeltask | hazeltask-core/src/main/java/com/hazeltask/core/concurrent/collections/grouped/GroupedPriorityQueueLocking.java | GroupedPriorityQueueLocking.getQueueByGroup | https://github.com/jclawson/hazeltask/blob/801162bc54c5f1d5744a28a2844b24289d9495d7/hazeltask-core/src/main/java/com/hazeltask/core/concurrent/collections/grouped/GroupedPriorityQueueLocking.java#L82-L89 | train | java | } | public ITrackedQueue<E> getQueueByGroup(G group) {
lock.readLock().lock();
try {
return this.queuesByGroup.get(group);
} finally {
lock.readLock().unlock();
}
} | }
public ITrackedQueue<E> getQueueByGroup(G group) {
lock.readLock().lock();
try {
return this.queuesByGroup.get(group);
} finally {
lock.readLock().unlock();
}
} | 51 | 1 | 220 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 599ff55c698d5dbddda8aad4897ec6f62f83d8c1364c2605ff515eeab2a963b7 | LGPL-3.0 | weak-copyleft | https://github.com/jclawson/hazeltask/blob/master/LGPL-LICENSE.txt |
41f92d18ed5127dab4f57541 | jclawson/hazeltask | hazeltask-core/src/main/java/com/hazeltask/core/concurrent/collections/grouped/GroupedPriorityQueueLocking.java | GroupedPriorityQueueLocking.getOrCreateGroupQueue | https://github.com/jclawson/hazeltask/blob/801162bc54c5f1d5744a28a2844b24289d9495d7/hazeltask-core/src/main/java/com/hazeltask/core/concurrent/collections/grouped/GroupedPriorityQueueLocking.java#L110-L135 | train | java | } | private Queue<E> getOrCreateGroupQueue(G group) {
Queue<E> q = getQueueByGroup(group);
if (q == null) {
lock.writeLock().lock();
try {
q = getQueueByGroup(group);
if (q == null) {
ITrackedQueue<E> newQ = new TrackedPriorityBlock... | }
private Queue<E> getOrCreateGroupQueue(G group) {
Queue<E> q = getQueueByGroup(group);
if (q == null) {
lock.writeLock().lock();
try {
q = getQueueByGroup(group);
if (q == null) {
ITrackedQueue<E> newQ = new TrackedPriorityBl... | 201 | 1 | 1,054 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | cd42220f79f67f6481a9b4cf816c4a70a6f18db19b13636872995353d16b2a93 | LGPL-3.0 | weak-copyleft | https://github.com/jclawson/hazeltask/blob/master/LGPL-LICENSE.txt |
196708bb6700adb598a98150 | jclawson/hazeltask | hazeltask-core/src/main/java/com/hazeltask/core/concurrent/collections/grouped/GroupedPriorityQueueLocking.java | GroupedPriorityQueueLocking.offer | https://github.com/jclawson/hazeltask/blob/801162bc54c5f1d5744a28a2844b24289d9495d7/hazeltask-core/src/main/java/com/hazeltask/core/concurrent/collections/grouped/GroupedPriorityQueueLocking.java#L144-L161 | train | java | Only 1 thread can write an element at a time... but multiple threads can
read as long as they are using poll() or peek()
Using poll(timeout) or take() will block writers and wait if the queue is
empty | public boolean offer(E e) {
G partition = e.getGroup();
lock.writeLock().lock();
try {
Queue<E> q = getOrCreateGroupQueue(partition);
if (q.size() == 0) {
// remove from empty list and push onto available routes
GroupMetadata<G> metadata = ... | Only 1 thread can write an element at a time... but multiple threads can
read as long as they are using poll() or peek()
Using poll(timeout) or take() will block writers and wait if the queue is
empty
public boolean offer(E e) {
G partition = e.getGroup();
lock.writeLock().lock();
try {
... | 169 | 201 | 621 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 33aa21888d42de5618429da398bc6540fce41aeeec2745ad4edede271cda2cda | LGPL-3.0 | weak-copyleft | https://github.com/jclawson/hazeltask/blob/master/LGPL-LICENSE.txt |
f517bf584dee3bcd5b82731b | jclawson/hazeltask | hazeltask-core/src/main/java/com/hazeltask/config/ExecutorLoadBalancingConfig.java | ExecutorLoadBalancingConfig.useEnumOrdinalPrioritizer | https://github.com/jclawson/hazeltask/blob/801162bc54c5f1d5744a28a2844b24289d9495d7/hazeltask-core/src/main/java/com/hazeltask/config/ExecutorLoadBalancingConfig.java#L38-L44 | train | java | Use this if you have an enum used for your group type that defines the priority of a task and
you ALWAYS want to execute high priority items over low priority items. You should really
check out the <code>useLoadBalancedEnumOrdinalPrioritizer</code> which works similarly but
prevents starvation of low priority items by... | public ExecutorLoadBalancingConfig<GROUP> useEnumOrdinalPrioritizer(Class<GROUP> groupClass) {
if(!groupClass.isEnum()) {
throw new IllegalArgumentException("The group class "+groupClass+" is not an enum");
}
groupPrioritizer = new EnumOrdinalPrioritizer<GROUP>();
return this... | Use this if you have an enum used for your group type that defines the priority of a task and
you ALWAYS want to execute high priority items over low priority items. You should really
check out the <code>useLoadBalancedEnumOrdinalPrioritizer</code> which works similarly but
prevents starvation of low priority items by... | 153 | 385 | 327 | CodeSearchNet permissive-repo filter (dataset-level; per-row license absent) | code_search_net | 2026-12-05 | 9b544a02f6a036d9f64d10d45715dd283b421f2f81054c6ba95b8f5a6071d517 | LGPL-3.0 | weak-copyleft | https://github.com/jclawson/hazeltask/blob/master/LGPL-LICENSE.txt |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.