sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
c4385edde57a1d001e87a5ea337c71ffec64f6e1bf5d4062187c7d1eb0b6bbe5 | CUDA | 3,114 | 85 | #include <vector>
#include "caffe/layers/power_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void PowerLayer<Dtype>::Forward_gpu(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
Dtype* top_data = top[0]->mutable_gpu_data();
const int cou... |
d69ee88276db8ce50b5192b59b9971ed0e869f4c4ba4613cd449fe6a92617c64 | CUDA | 3,756 | 109 | #include <algorithm>
#include <vector>
#include "caffe/layers/contrastive_loss_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void ContrastiveLossLayer<Dtype>::Forward_gpu(
const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) {
const int count = ... |
6ae118d2516446a1c941b851d5250a1a7b53f76716d10f95f1774f43d2adbc69 | CUDA | 3,949 | 106 | #include <algorithm>
#include <utility>
#include <vector>
#include "caffe/layers/batch_reindex_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template<typename Dtype>
__global__ void BRForward(const int count, const int inner_dim, const Dtype* in,
const Dtype* permut,... |
bf6a305f34d312b83b344aed330ab1e8e426ecad6916500d3499a28110917edb | CUDA | 4,129 | 110 | #include <vector>
#include "caffe/layers/mvn_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void MVNLayer<Dtype>::Forward_gpu(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
const Dtype* bottom_data = bottom[0]->gpu_data();
Dtype* top_da... |
caa6ae1e05a5a543c66dd43d8b6c5ffb4128fa2f85031fbdade439a1a6f0f82a | CUDA | 4,293 | 115 | #include <vector>
#include "caffe/layers/crop_layer.hpp"
namespace caffe {
// Copy (one line per thread) from one array to another, with arbitrary
// strides in the last two dimensions.
template <typename Dtype>
__global__ void copy_kernel(const int n, const int height, const int width,
const int src_outer_strid... |
4921a59b894cf05cb3a31df703f1665592957af12f2137cae8f108bd7f764dc0 | CUDA | 4,465 | 128 | #include <algorithm>
#include <vector>
#include "caffe/layers/neuron_layer.hpp"
#include "caffe/layers/prelu_layer.hpp"
namespace caffe {
// CUDA kernele for forward
template <typename Dtype>
__global__ void PReLUForward(const int n, const int channels, const int dim,
const Dtype* in, Dtype* out, const Dtype* sl... |
6d4f93808d7b151a3de128bd4c4ed8242a3457ed93fc8c41898d035102ba7d7b | CUDA | 4,468 | 118 | #ifdef USE_CUDNN
#include <vector>
#include "caffe/layers/cudnn_conv_layer.hpp"
namespace caffe {
__global__ void sync_conv_groups() { }
template <typename Dtype>
void CuDNNConvolutionLayer<Dtype>::Forward_gpu(
const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) {
const Dtype* weight = this->... |
0ea464d877a6acb263d5b7101457a8aa42a21dc268ee8b6e7c6a8c8e205f17be | CUDA | 4,523 | 134 | #include <cfloat>
#include <vector>
#include "caffe/layers/eltwise_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
__global__ void MaxForward(const int nthreads, const Dtype* bottom_data_a,
const Dtype* bottom_data_b, const int blob_idx, Dtype* top_data,
int* m... |
d7728a13fde9ddca4074b64da5e3cec1d4ee2bd0fc13805daf6d143460b5b375 | CUDA | 5,090 | 128 | #include <algorithm>
#include <cfloat>
#include <vector>
#include "caffe/layers/softmax_loss_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
__global__ void SoftmaxLossForwardGPU(const int nthreads,
const Dtype* prob_data, const Dtype* label, Dtype* loss,
... |
e15b69f3de078adfb5ec6f867dfa188cdb483d62d447a3d9dc5f2bcb8eb72a6d | CUDA | 5,271 | 148 | #include <algorithm>
#include <cfloat>
#include <vector>
#include "thrust/device_vector.h"
#include "caffe/layers/softmax_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
__global__ void kernel_channel_max(const int num, const int channels,
const int spatial_dim, c... |
ed77d23eef17749e459c17f59d4a5b612ffba13d034c5c2bd355fd4a6926d13c | CUDA | 5,488 | 154 | #include <algorithm>
#include <cmath>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/layers/lstm_layer.hpp"
namespace caffe {
template <typename Dtype>
__device__ Dtype sigmoid(const Dtype x) {
return Dtype(1) / (Dtype(1) + exp(-x));
}
template <typename Dtype>
__device__ Dtype tanh(const Dtype x) {... |
72d74806d877dc8b04da5a7d98ccf276622483e817ea92187ae6b1df89a825cb | CUDA | 5,629 | 135 | #include <cfloat>
#include <vector>
#include "caffe/layers/scale_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
__global__ void ScaleForward(const int n, const Dtype* in,
const Dtype* scale, const int scale_dim, const int inner_dim,
Dtype* out) {
CUDA_KERNEL... |
79fa9dd868409c1cf81e3b83521ca45094c8d3f3b9a726b0568fe662601f9315 | CUDA | 7,260 | 171 | #include <algorithm>
#include <vector>
#include "caffe/layers/batch_norm_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void BatchNormLayer<Dtype>::Forward_gpu(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
const Dtype* bottom_data = bott... |
980e3005b4fdd168fdc8f7a1c62212ca2c2237b98973dd1f9fb7438a8611b738 | CUDA | 7,491 | 213 | #include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/layers/im2col_layer.hpp"
#include "caffe/util/im2col.hpp"
#include "caffe/test/test_caffe_main.hpp"
namespace caffe {
// Forward declare kernel functions
template <typename D... |
adcd2c44cdbc7687be76a6ce3203d60579f7ac2faa6dd36a6e816a25dadad7f0 | CUDA | 7,759 | 202 | #include <vector>
#include "caffe/layers/lrn_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
__global__ void LRNFillScale(const int nthreads, const Dtype* const in,
const int num, const int channels, const int height,
const int width, const int size, const Dtyp... |
d0cec1d2a941d913aa24f6295ba15a2a9fc5a0f3d185433c7ccc1703d28edbdd | CUDA | 11,850 | 371 | // ---------------------------------------------------------------
// Copyright (c) 2019-2022, NVIDIA Corporation. All rights reserved.
// ---------------------------------------------------------------
//
// This work is made available under the Nvidia Source Code License-NC.
// To view a copy of this license, visit
/... |
867fbce5cc9d30d8bc71f47e10b4d1f1296a94de344dbc4a84c2c993c4aedc79 | CUDA | 12,962 | 418 | #include <math_functions.h> // CUDA's, not caffe's, for fabs, signbit
#include <thrust/device_vector.h>
#include <thrust/functional.h> // thrust::plus
#include <thrust/reduce.h>
#include <cmath>
#include "caffe/common.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <>
void caffe_gpu_gemm<... |
c3ee2869153ffd5cc56afd10ade1dc94bc8cf0760506270e937ec7c8c002a98b | CUDA | 15,436 | 386 | #include <algorithm>
#include <cfloat>
#include <vector>
#include "caffe/layers/pooling_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
__global__ void MaxPoolForward(const int nthreads,
const Dtype* const bottom_data, const int num, const int channels,
const i... |
aadb3192aa86cf6b1427bca78706c95172e18062b2dc0cb4942623f9894fe623 | CUDA | 21,250 | 512 | #include <algorithm>
#include "caffe/common.hpp"
#include "caffe/util/im2col.hpp"
namespace caffe {
template <typename Dtype>
__global__ void im2col_gpu_kernel(const int n, const Dtype* data_im,
const int height, const int width, const int kernel_h, const int kernel_w,
const int pad_h, const int pad_w,
c... |
776bd797f9f5fcd945ee2032912445abea58117dcde80df97bf3042bbd10695d | Fortran | 1,654 | 62 | program basictest
use, intrinsic:: iso_fortran_env, only: stderr=>error_unit
implicit none
logical, parameter :: jf(50) = .true.
integer, parameter :: jmag = 1, iyyyy=1980, mmdd=0321, dhour=12, Nalt = 21
real, parameter :: glat=0., glon=0.
real,parameter :: alt_km_range(3) = [100., 500., 20.]
real :: oarr(100), out... |
674bd34519bf37b62f5572db50cc46ab25aad83abe6523074d0b50edcdc6a32d | Fortran | 2,525 | 108 | program iri_driver
use, intrinsic:: iso_fortran_env, only: stderr=>error_unit, stdout=>output_unit
implicit none
logical :: jf(50)
integer, parameter :: jmag = 0
integer :: iyyyy, mmdd, Nalt
real :: glat, glon, dhour
integer :: ymdhms(6)
real:: alt_km_range(3)
real :: oarr(100), outf(20,1000)
real :: tecbo, tecto
... |
06a8c9264dedbfabd8405012d467bc6f8f8c83eb8a83240b723d57174359012a | Go | 861 | 22 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
6671de1ce2ca7a3708fb876e2d72e201ae1b7cfaf584d9b3cda373a3b6725bb4 | Go | 1,101 | 33 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
5d6794480beb944ccf095a0cc4ab762cb03ca78456a6af43bdfb02870fd15d20 | Go | 1,118 | 38 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
07e5add38f03959e4db160bf8a1cc61ad979491803678893f2e420376b9e9002 | Go | 1,208 | 37 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
c48bf9c37733c8386c0fc67b77a5720f7fcb26725c6e610b5febf48b365b4231 | Go | 1,244 | 42 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
9f167e3eb8b4e4b75dffae0800a50831de60ba9113dea07275b964d3a3aedab9 | Go | 1,254 | 38 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
7a6515f3ad2ddaba0b84bc22c91f0252fe8506d17f20079b1eed6ae157b8ad41 | Go | 1,551 | 42 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
1b2db7cc4d12250d523ff33e9d17dcbaa63d32861764f18a81669bb9838093bb | Go | 1,579 | 42 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
147c68c2a0f07a62d9e319af0f453aa172d115b1252343f41392e5a7a9623c0e | Go | 1,860 | 42 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
c54129ea46c5b6264738f01e0c60a76b0340575e20232237624b7723fb60dc9b | Go | 1,990 | 46 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
5a672f6eb06e1ff01bf4de14cda6e10697259b9db26d081e0edf9766b7173b53 | Go | 2,229 | 61 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
3b6d0df23d5ec79b3418e230d487c27db6315513ea2612b7c02cbf7b9f5c3edb | Go | 2,841 | 103 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
d0dd34c0fe6b4ff401ec5f2170756d3232165238bf9ebf5ca098e6258983ece3 | Go | 2,962 | 107 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
8a4ba6d541b29083801b050935f5bea6e0bca274a3b2edb17dd140c3f7dd72d2 | Go | 3,260 | 28 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
ca4f6b4cf6c97769b0d5f43cb12216870e3bb89dfe26a4821e702c798f7f9552 | Go | 3,275 | 28 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
acaf5194897143165158317b788536c361b311edb0cae5710097c3a253c229fc | Go | 3,282 | 104 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
57a757f3f2b6f4aa3994cd9c074be3edaeeef34d1c2f2c7d4d4d8fcf6b9af951 | Go | 3,325 | 28 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
bc9f8cbaabb1a96ffbbe802d5ee50e6f04d7d7e79b52a869965ce2796c63b348 | Go | 3,325 | 28 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
cd6f816af2f5299ea0925c8753ca102c1fd3e681108e6406028f9c399fbf2a81 | Go | 3,339 | 104 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
54f849f1dfecf1769f94acac728c8693aa045b928641ac6f7aae019e6b35b1fc | Go | 3,378 | 28 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
76f90658b2752bb1bdb308465aa919e4d09522355b87e679c4af3cc9725b9398 | Go | 3,541 | 143 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
0ed226b5c1ad13a1cbd6e3b8e5e2eddf0be33ded45c7b60a24a39482fe75ebe6 | Go | 3,586 | 93 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
fbe1a16f65a19fbd0e926db34e8b4ea681bfeff090d1ec0a9987a1877271ac73 | Go | 3,970 | 144 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
630f220d48a7370d9222997a87b791b3f8fdd8212af2d7a69fa435c5a1739383 | Go | 4,309 | 109 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
67b6e5e1b3da217fc54ce220aa23ee530160c4a618edd7f0c1a0290038fe0832 | Go | 5,390 | 31 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
df626bd603cf65f4d2c7613821caaeb28c1d371cd94274f9fdb88094ce44fac5 | Go | 5,470 | 124 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
9e4369d93925809978a7f7553440ed3db3286c063fc585312ee79f4df9310d7d | Go | 7,541 | 34 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
95999ae98584980b7338ef46179dc4a49411125c72f6230fbdf57739beb9b5e2 | Go | 8,411 | 279 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
6be6bac5316c1a8440d27ca1ba04aad1b1d853b763d7df9dc81c9dec80ea51bd | Go | 10,055 | 301 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
21992713cb1795c01996c54201a44432d9bd130632619bdf615425a63466978c | Go | 16,179 | 417 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
0ea956b30d7b65ebaf4d5a6711c06af7ee707753062ee6843291c3530d6814f2 | Go | 17,833 | 360 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
317d99a5a5415ccffddc1104e721a0b02fcb648e0a3aa897743ae0ddc5279117 | Go | 18,420 | 516 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
2268a1ee1ba711c69b31912b7ac2cf981ec433b3104c854984ecb3621dae4f81 | Go | 20,402 | 572 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
7d05c36d4a9d91dcb22dd8721c5a6714c73077975c9c214a4185db2d4054c9ac | Go | 27,491 | 690 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
1b59c8dc347bef58da73f2423dff0335499f1c558e28facb26a3983965fbd203 | Go | 27,714 | 683 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
97f44dc81a408bf2fc4dc72763811b5183a6588ec3724863a4cbedf84b285e96 | Go | 29,163 | 634 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
97b9cb1382683b8cfad7b8aed724957d39753e2bd7dd7cb84f328fd0c726fef9 | Go | 41,987 | 911 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
8c9c7014c9abe2e2200a4d90231607aa2538f991b602910ebecfe260f9563b68 | Go | 63,205 | 1,467 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
08c4b0c81513f486a3b06af65c1b9c907740e2ecff1aec7760e1cdef135bcadc | Go | 77,638 | 1,740 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
1c944b91b9153cf53669a3960eaeea6414068df5e979fe58e2caf30e770d79bc | Go | 113,095 | 2,546 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
9b3ed5ae128e87cc043c6c760e61b91acbdba0bd2f7cc85789ba2b161f8856d4 | Go | 175,172 | 3,962 | //
// Copyright 2022 Google LLC.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
c30ae722744e4a656d3dd79ef3cd81b7cebc71e28ba20bbebe9fa182f4605d34 | Java | 243 | 9 | package ch.moduled.fingerprintwrapper;
// Code from https://github.com/kpanic/openquake/blob/master/java/org/gem/IPythonPipe.java
public interface IPythonPipe {
// public void write(char output);
public void write(String output);
}
|
6e03aca385600f0126b95982e4750b0a42d898c2f9da5b8fbd88cadb44bbff3d | Java | 391 | 18 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
*
* @author michael
*/
public class BamIndexFile extends COBaseFile {
public BamIndexFile(C... |
46002fd235b88818744127c038ddb4a3cd9fea124c225af25d598ac0fee0073b | Java | 392 | 17 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
*
* @author michael
*/
public class FlagstatsFile extends COBaseFile {
public FlagstatsFile(... |
178fcc7b3bc87788fe1057316c7ae79a25921441a818d2d645d1ee9638af966f | Java | 395 | 18 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
*
* @author michael
*/
public class BamMetricsFile extends COBaseFile {
public BamMetricsFi... |
06e29a82494b1ee48d6987f86b1407945cc96c674dd75e863f659c6b70919a93 | Java | 403 | 16 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
* @author michael
*/
public class InsertSizesValueFile extends COBaseFile {
public InsertSize... |
3e3bab5f8be64b3043e29c21b9ac0d1993fd4cde096fa63084de3d47b9817679 | Java | 405 | 18 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
*
* @author michael
*/
public class InsertSizesTextFile extends COBaseFile {
public InsertS... |
dd649b383400da6867687198a13d3a6267915a0ebec9287ef0604f2123e8a329 | Java | 405 | 18 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
*
* @author michael
*/
public class InsertSizesPlotFile extends COBaseFile {
public InsertS... |
50576a75f97348e55a0cd71a7c3ed2cf5482d7e0b02411997774b65e8e0a5c88 | Java | 410 | 17 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
*
* @author michael
*/
public class ChromosomeDiffPlotFile extends COBaseFile {
public Chrom... |
3287ce2bce8761c9aec76c502d333da9d8c8500cac4ea87bd4065713e2a49f90 | Java | 446 | 19 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.knowledge.files.FileGroup;
import java.util.List;
/**
*/
public class BamMetric... |
79a74a7d407edf9d4aee5c4f542700f61fde9992f184c90f82302be6486a9c2e | Java | 457 | 22 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.knowledge.files.FileGroup;
import java.util.List;
/**
*
* @author michael
*/
... |
1b188e3df930a8a9098de998b339c7a35ba33036a8341601efbb54ca932e18e5 | Java | 467 | 15 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
*/
public class BamMetricsAlignmentSummaryFile extends COBaseFile {
public BamMetricsAlignment... |
221065e16cc279412edc4cbfc0528c4d068b19791bc5d00655f236a86e496899 | Java | 491 | 20 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.knowledge.files.FileGroup;
import java.util.List;
/**
*/
public class GenomeCov... |
8aee66f15a6d9d4611bc4e3236a325d20fa7a46880549b8fabf17c800aa29b56 | Java | 527 | 18 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
*
* @author michael
*/
public class AlignedSequenceFile extends COBaseFile {
public AlignedS... |
61d515906c5051e9587d66cbe5d3ae4eea638c6a7f8bb3ad4ee101a0e4724f37 | Java | 530 | 20 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.knowledge.files.BaseFile;
/**
* These files are always temporary
* @author mich... |
9ff9732b3ffd158ccd5fc3c1672560ac1571a6e296dd3cd5d76fe83252e1070a | Java | 587 | 21 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.knowledge.files.BaseFile;
/**
* Represents a fastqc - quality control - file
* ... |
3f5b2b5246346dfef9de88e23e0b8ce2045e6776e4ea1d78cac4faa72c227521 | Java | 752 | 27 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
/**
*
* @author michael
*/
public class GenomeCoveragePlotFile extends COBaseFile {
public Geno... |
0105bd6c122bf63d49789154bc74cc0daad347139262b7dc30d61aaafa775cba | Java | 775 | 30 | package ch.moduled.fingerprintwrapper;
import java.io.IOException;
import java.io.OutputStream;
//Code from https://github.com/kpanic/openquake/blob/master/
public class PythonOutputStream extends OutputStream {
private IPythonPipe thispipe;
private StringBuilder buffer;
public void setPythonStdout(IPyth... |
ac8e5e73c1ef84a91f9367dfb5c8b008ee777119427acdc0b44ac8024c7bca3e | Java | 805 | 24 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co;
import de.dkfz.roddy.plugins.BasePlugin;
/**
* TODO Recreate class. Put in dependencies to other workflows... |
9457bd05520ca11ba95cb5bfbb6338800392793223b67e4e5cd4a628f5f36295 | Java | 1,081 | 38 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.core.ExecutionContext;
import de.dkfz.b080.co.methods.Common;
import java.util.Li... |
6ff4abbbcdfcb9cf781d3185befbc8a2d094e3dd3d5e273b63faf7fb5fe225c9 | Java | 1,480 | 53 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.knowledge.files.BaseFile;
import de.dkfz.roddy.knowledge.files.FileGroup;
import ... |
a75b2aea84b0194e7a01fea1453ad329c52cfd4f38757153b470a6ae37793f34 | Java | 1,541 | 53 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.knowledge.files.BaseFile;
import de.dkfz.roddy.knowledge.files.FileGroup;
import ... |
d54cba0fb29c72cbe10fb11143c195b06e646eafe749a623fbf43be2709af2a9 | Java | 1,849 | 59 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.knowledge.files.BaseFile;
import de.dkfz.roddy.knowledge.methods.GenericMethod;
i... |
a1166b3184bc8688e1c3b46fc00d26bb3701242b503f46fddd46dae9c97530ec | Java | 2,165 | 51 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.b080.co.common.COConstants;
import de.dkfz.roddy.config.Configuration;
import de.dkfz.ro... |
f63a6d34505a4551d8ff36fb939b3e3fec66de9302a9adf7762f49737a026a39 | Java | 2,171 | 57 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.roddy.knowledge.files.FileGroup;
import java.util.LinkedList;
import java.util.List;
/... |
7e429d5b7fe232d2becabc3bc6acab496a8436840c4500a5c4657832413b007c | Java | 2,877 | 83 | package ch.moduled.fingerprintwrapper;
import static org.openscience.cdk.CDKConstants.ISAROMATIC;
import java.util.Set;
import org.openscience.cdk.aromaticity.Aromaticity;
import org.openscience.cdk.aromaticity.ElectronDonation;
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.graph.Cycl... |
aabbbb04dd18570af401214932ba178abf8b41a7157d974f5896884981d58cf7 | Java | 3,719 | 116 | package edu.rutgers.sakai.java.util;
import java.util.Arrays;
/**
* Class to convert between bit-mapped {@code byte[]} and {@code boolean[]}.
*
* https://sakai.rutgers.edu/wiki/site/e07619c5-a492-4ebe-8771-179dfe450ae4/bit-to-boolean%20conversion.html
*
* @author Robert Moore
*/
public class BitToBoolean {
/... |
4b1859d757cb8361eaea5bcfa2977053db4dce9b0582976d1551b6fb213d451c | Java | 4,612 | 122 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.b080.co.common.AlignmentAndQCConfig;
import de.dkfz.b080.co.common.COConstants;
import d... |
a0093e0d4a273d2cfee6974af62cad19d734a08ebc4562698efd76a3dc12ef19 | Java | 5,199 | 138 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.b080.co.common.IndexID;
import de.dkfz.b080.co.common.LaneID;
import de.dkfz.b080.co.com... |
18d5920c3799241b4c8e02848cf54cba941dfc21320c768831828aac474113d9 | Java | 14,719 | 421 | package ch.moduled.fingerprintwrapper;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.Console;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.... |
d61b6469c8855b0979426224338a8ebfbe5a01b5afba4bdb5deada5dde65be14 | Java | 16,207 | 452 | /*
* Copyright (c) 2018 German Cancer Research Center (DKFZ).
*
* Distributed under the MIT License (license terms are at https://github.com/DKFZ-ODCF/AlignmentAndQCWorkflows).
*/
package de.dkfz.b080.co.files;
import de.dkfz.b080.co.common.AlignmentAndQCConfig;
import de.dkfz.roddy.config.Configuration;
import d... |
7c56a1cad2a143069ddc2c76ae542376a98e4f629e24b08abce1f797fd4745eb | Java | 24,984 | 575 | package ydf;
import static com.google.common.truth.Truth.assertThat;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import ydf.models.TestModelAbaloneRegressionGBDTV2Routing;
import ydf.models.TestModelAbaloneRegressionRFSmallRouting;
import ydf.models.TestModelAdultBinaryCla... |
6cd36e00e5fd040b0bd8988dbf2095c5a0d992edf6cb608d8cf3407206a31be3 | JavaScript | 94 | 5 | {
"catalog": "../ontology/catalog-v001.xml",
"idspace": "CL",
"lastId": 1000000
}
|
e952f550288247000e13f5f74b9eeefe98c39b2b921c6f87fe945c2aae8a2286 | JavaScript | 110 | 5 | // Import our custom CSS
import "../scss/main.scss";
// Import Bootstrap 5 JavaScript
import "./main-js.js";
|
0f14b189ca30cf4ea5fbf727584b673e5e49e965229367c57724e09a5c0f2738 | JavaScript | 155 | 5 | // Import Brite theme CSS
import "../scss/main.scss";
// Import all JavaScript from the default theme
export * from "../../../default/src/js/main-js.js";
|
a3a88d857c9d234e9e3adac3900f5ca467d958cc9c61c6ef3eb498d2e1be160d | JavaScript | 155 | 6 |
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-155922190-1');
|
fdcce6ff43bae6889cb0d31b3713860f051923a2f3bf3dab0695f9f947fa9ee1 | JavaScript | 222 | 8 | {
"catalog": "../ontology/catalog-v001.xml",
"iriMap" : {
"http://purl.obolibrary.org/obo/cl/imports/uberon_import.owl" : "../ontology/mirror/uberon.owl"
},
"idspace": "CL",
"lastId": 1000000
}
|
c6071107b0f9aa4a3416f8a1a72ccbc072cafd97a52b11a2ba4d8dd212dc1b6a | JavaScript | 262 | 14 | module.exports = {
printWidth: 120,
tabWidth: 2,
trailingComma: "all",
plugins: [require.resolve("prettier-plugin-jinja-template")],
overrides: [
{
files: ["*.html"],
options: {
parser: "jinja-template",
},
},
],
};
|
3a08815e46b219829806d332f4bdc31832ffcf0749d1eed0f2b9b2f1e659bb91 | JavaScript | 323 | 18 | //To pick up changes to this you may need to clear cached files in the browser
function jumpToSection(sectionId)
{
var scrolltop = document.documentElement.scrollTop;
var b = document.querySelector(sectionId).parentElement;
var r = b.getBoundingClientRect();
window.scrollTo(0,r.top+scrolltop-115)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.