repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
null | fantasia3d.unofficial-main/render/renderutils/c_src/mesh.h | /*
* Copyright (c) 2020-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
* property and proprietary rights in and to this material, related
* documentation and any modifications thereto. Any use, reproduction,
* disclosure or... | 696 | 28.041667 | 80 | h |
null | fantasia3d.unofficial-main/render/renderutils/c_src/normal.h | /*
* Copyright (c) 2020-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
* property and proprietary rights in and to this material, related
* documentation and any modifications thereto. Any use, reproduction,
* disclosure or... | 786 | 27.107143 | 80 | h |
null | fantasia3d.unofficial-main/render/renderutils/c_src/vec3f.h | /*
* Copyright (c) 2020-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
* property and proprietary rights in and to this material, related
* documentation and any modifications thereto. Any use, reproduction,
* disclosure or... | 4,430 | 39.651376 | 125 | h |
null | fantasia3d.unofficial-main/render/renderutils/c_src/vec4f.h | /*
* Copyright (c) 2020-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
* property and proprietary rights in and to this material, related
* documentation and any modifications thereto. Any use, reproduction,
* disclosure or... | 831 | 31 | 96 | h |
null | SymbolicPCC-main/src/core/buffer.h | /*****************************************************************************
Copyright (c) 2001 - 2009, The Board of Trustees of the University of Illinois.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
m... | 9,537 | 31.006711 | 100 | h |
null | SymbolicPCC-main/src/core/cache.h | /*****************************************************************************
Copyright (c) 2001 - 2011, The Board of Trustees of the University of Illinois.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
m... | 8,297 | 27.22449 | 107 | h |
null | SymbolicPCC-main/src/core/channel.h | /*****************************************************************************
Copyright (c) 2001 - 2011, The Board of Trustees of the University of Illinois.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
m... | 5,308 | 29.866279 | 109 | h |
null | SymbolicPCC-main/src/core/common.h | /*****************************************************************************
Copyright (c) 2001 - 2009, The Board of Trustees of the University of Illinois.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
m... | 9,092 | 27.684543 | 94 | h |
null | SymbolicPCC-main/src/core/list.h | /*****************************************************************************
Copyright (c) 2001 - 2011, The Board of Trustees of the University of Illinois.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
m... | 6,876 | 32.876847 | 105 | h |
null | SymbolicPCC-main/src/core/md5.h | /*
Copyright (C) 1999, 2002 Aladdin Enterprises. All rights reserved.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any ... | 3,395 | 35.913043 | 76 | h |
null | SymbolicPCC-main/src/core/options.h |
/*
* See fleece/COPYRIGHT for copyright information.
*
* This file is a part of Fleece.
*
* Fleece is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3.0 of the License, or (at your ... | 1,300 | 24.509804 | 80 | h |
null | SymbolicPCC-main/src/core/queue.h | /*****************************************************************************
Copyright (c) 2001 - 2011, The Board of Trustees of the University of Illinois.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
m... | 14,117 | 25.738636 | 124 | h |
null | SymbolicPCC-main/src/core/window.h | /*****************************************************************************
Copyright (c) 2001 - 2011, The Board of Trustees of the University of Illinois.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
m... | 5,962 | 30.718085 | 103 | h |
null | SymbolicPCC-main/src/pcc/pcc_logger.h | // PCC (Performance Oriented Congestion Control) algorithm
#ifndef NET_QUIC_CORE_CONGESTION_CONTROL_PCC_EVENT_LOGGER_H_
#define NET_QUIC_CORE_CONGESTION_CONTROL_PCC_EVENT_LOGGER_H_
#include <vector>
#include <map>
#include "../core/common.h"
#include "../core/options.h"
#include <iostream>
#include <fstream>
#include... | 1,573 | 24.387097 | 82 | h |
null | SymbolicPCC-main/src/pcc/pcc_sender.h | // PCC (Performance Oriented Congestion Control) algorithm
#ifndef NET_QUIC_CORE_CONGESTION_CONTROL_PCC_SENDER_H_
#define NET_QUIC_CORE_CONGESTION_CONTROL_PCC_SENDER_H_
#include <vector>
#include <queue>
#include <mutex>
#ifdef QUIC_PORT
#include "base/macros.h"
#ifdef QUIC_PORT_LOCAL
#include "net/quic/core/congest... | 5,773 | 28.762887 | 73 | h |
null | SymbolicPCC-main/src/pcc/monitor_interval/pcc_mi.h | #ifndef THIRD_PARTY_PCC_QUIC_PCC_MONITOR_INTERVAL_H_
#define THIRD_PARTY_PCC_QUIC_PCC_MONITOR_INTERVAL_H_
#include <utility>
#include <vector>
#include <iostream>
#ifdef QUIC_PORT
#ifdef QUIC_PORT_LOCAL
#include "net/quic/core/congestion_control/send_algorithm_interface.h"
#include "net/quic/core/quic_time.h"
#includ... | 5,090 | 28.091429 | 110 | h |
null | SymbolicPCC-main/src/pcc/monitor_interval/pcc_mi_analysis_group.h | #ifndef THIRD_PARTY_PCC_QUIC_PCC_MONITOR_INTERVAL_ANALYSIS_GROUP_H_
#define THIRD_PARTY_PCC_QUIC_PCC_MONITOR_INTERVAL_ANALYSIS_GROUP_H_
#include <deque>
#include <utility>
#include <vector>
#ifdef QUIC_PORT
#ifdef QUIC_PORT_LOCAL
#include "net/quic/core/congestion_control/pcc_monitor_interval.h"
#include "net/quic/co... | 2,244 | 26.048193 | 94 | h |
null | SymbolicPCC-main/src/pcc/monitor_interval/pcc_mi_queue.h | #ifndef THIRD_PARTY_PCC_QUIC_PCC_MONITOR_QUEUE_H_
#define THIRD_PARTY_PCC_QUIC_PCC_MONITOR_QUEUE_H_
#include <deque>
#include <utility>
#include <vector>
#ifdef QUIC_PORT
#ifdef QUIC_PORT_LOCAL
#include "net/quic/core/congestion_control/send_algorithm_interface.h"
#include "net/quic/core/congestion_control/pcc_monito... | 3,163 | 28.849057 | 78 | h |
null | SymbolicPCC-main/src/pcc/rate_control/pcc_ixp_rc.h | // PCC (Performance Oriented Congestion Control) algorithm
#ifndef _PCC_IXP_RC_H_
#define _PCC_IXP_RC_H_
#include <vector>
#include <queue>
#include "../../core/options.h"
#include "pcc_rc.h"
#include <iostream>
struct RateSample {
double rate;
double u_mean;
double u_var;
double ud_mean;
double... | 1,133 | 22.625 | 86 | h |
null | SymbolicPCC-main/src/pcc/rate_control/pcc_python_rc.h |
#ifndef _PCC_PYTHON_RC_H_
#define _PCC_PYTHON_RC_H_
#include <mutex>
#include <queue>
#include <vector>
#include "pcc_rc.h"
#include <python3.5/Python.h>
#include <iostream>
#include <sstream>
#ifndef USEC_PER_SEC
#define USEC_PER_SEC 1000000
#endif
class PccPythonRateController : public PccRateController {
p... | 1,363 | 22.118644 | 82 | h |
null | SymbolicPCC-main/src/pcc/rate_control/pcc_rc.h |
#ifndef _PCC_RC_H_
#define _PCC_RC_H_
#include "../monitor_interval/pcc_mi.h"
#include "../../core/options.h"
#include "../pcc_logger.h"
class PccRateController {
public:
PccRateController() {};
virtual ~PccRateController() {};
virtual QuicBandwidth GetNextSendingRate(QuicBandwidth current_rate, QuicTi... | 501 | 25.421053 | 96 | h |
null | SymbolicPCC-main/src/pcc/utility/pcc_copa_ucalc.h |
#ifndef _PCC_COPA_UCALC_H_
#define _PCC_COPA_UCALC_H_
#include "pcc_ucalc.h"
class PccCopaUtilityCalculator : public PccUtilityCalculator {
public:
PccCopaUtilityCalculator(PccEventLogger* logger) {this->logger = logger; this->last_avg_rtt = 1000; };
~PccCopaUtilityCalculator() {};
float CalculateUtili... | 502 | 25.473684 | 106 | h |
afterglowpy | afterglowpy-master/afterglowpy/integrate.h | #ifndef AFTERGLOWPY_INTEGRATE
#define AFTERGLOWPY_INTEGRATE
#include "interval.h"
/*
* Various routines for integrating 1D functions.
* trap() and simp() are fixed stencil implementations of the Trapezoid Rule
* and Simpson's Rule respectively.
*
* romb() is an adaptive Romberg integrator.
*
* trap_adapt... | 9,276 | 54.885542 | 80 | h |
afterglowpy | afterglowpy-master/afterglowpy/interval.h | #ifndef AFTERGLOWPY_INTERVAL
#define AFTERGLOWPY_INTERVAL
/*
* Here are 3 helper structs for performing global adaptive integration.
* Each Mesh struct is a priority queue implemented with as a simple
* binary heap. Elements may be added, and the element with the worst error can
* be retrieved.
*
* Each mesh is ... | 3,654 | 23.046053 | 79 | h |
afterglowpy | afterglowpy-master/afterglowpy/offaxis_struct.h | #ifndef AFTERGLOWPY_STRUCT
#define AFTERGLOWPY_STRUCT
// offaxis.h
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "integrate.h"
#define ERR_CHK_VOID(pars) if(pars->error){ return;}
#define ERR_CHK_INT(pars) if(pars->error){ return 0;}
#define ERR_CHK_DBL(pars) if(pars->error){ return 0.0;}
#define... | 11,405 | 37.147157 | 86 | h |
afterglowpy | afterglowpy-master/afterglowpy/shockEvolution.c | #include <stdio.h>
#include <math.h>
#include "offaxis_struct.h"
#include "shockEvolution.h"
double shockVel(double u)
{
return 4*u*sqrt((u*u+1) / (8*u*u+9));
}
double E_inj(double te, double L0, double q, double ts)
{
if(te < T0_inj)
return L0*te;
if (te > ts)
te = ts;
double E... | 16,115 | 24.7856 | 93 | c |
afterglowpy | afterglowpy-master/afterglowpy/shockEvolution.h | #ifndef AFTERGLOWPY_SHOCK
#define AFTERGLOWPY_SHOCK
static const double T0_inj = 1.0e3;
double shockVel(double u);
double E_inj(double te, double L0, double q, double ts);
double L_inj(double te, double L0, double q, double ts);
void shockInitDecel(double t0, double *R0, double *u0, void *argv);
void shockInitFind(d... | 834 | 40.75 | 79 | h |
afterglowpy | afterglowpy-master/afterglowpy/shockmodule.c | #include <Python.h>
#define NPY_NO_DEPRECATED_API NPY_1_11_API_VERSION
#include <numpy/arrayobject.h>
#include "shockEvolution.h"
static char shock_docstring[] =
"This module calculates evolution of relativistic shocks.";
static char shockEvolRK4_docstring[] =
"Evolve a spherical shock with RK4";
static char... | 6,487 | 26.146444 | 79 | c |
FMM3D | FMM3D-master/c/cprini.h |
#include <stdio.h>
void cprin_init(char *str1, char *str2);
void cprin_master(char *mes, float *ap, int *afp, double *adp, char *acp, int m,
int n, int itype, char *str17, char *str27, int i1, int i2);
void cprin_all(char *mes, float *ap, int *afp, double *adp, char *acp,
int m, in... | 649 | 23.074074 | 80 | h |
FMM3D | FMM3D-master/c/hfmm3d_c.h | #include "utils.h"
void hfmm3d_s_c_p_(double *eps, CPX *zk, int *nsource,
double *source, CPX *charge, CPX *pot, int *ier);
void hfmm3d_s_c_g_(double *eps, CPX *zk, int *nsource,
double *source, CPX *charge, CPX *pot, CPX *grad, int *ier);
void hfmm3d_s_d_p_(double *... | 7,773 | 35.669811 | 82 | h |
FMM3D | FMM3D-master/c/hfmm3d_vec_example.c | #include "stdlib.h"
#include "stdio.h"
#include "math.h"
#include "hfmm3d_c.h"
#include "complex.h"
#include "cprini.h"
int main(int argc, char **argv)
{
cprin_init("stdout", "fort.13");
cprin_skipline(2);
int ns=2000;
int nt=1999;
int nd=5;
int ier=0;
double *source = (double *)malloc(3*ns*sizeof(doubl... | 1,455 | 21.75 | 67 | c |
FMM3D | FMM3D-master/c/lfmm3d_c.h | #include "utils.h"
void lfmm3d_s_c_p_(double *eps, int *nsource,
double *source, double *charge, double *pot, int *ier);
void lfmm3d_s_c_g_(double *eps, int *nsource,
double *source, double *charge, double *pot, double *grad, int *ier);
void lfmm3d_s_c_h_(double *eps,... | 12,636 | 39.764516 | 91 | h |
FMM3D | FMM3D-master/c/lfmm3d_vec_example.c | #include "stdlib.h"
#include "stdio.h"
#include "math.h"
#include "lfmm3d_c.h"
#include "complex.h"
#include "cprini.h"
int main(int argc, char **argv)
{
cprin_init("stdout", "fort.13");
cprin_skipline(2);
int ns=2000;
int nt=1999;
int nd=5;
int ier=0;
double *source = (double *)malloc(3*ns*sizeof(doubl... | 1,410 | 21.396825 | 65 | c |
FMM3D | FMM3D-master/c/utils.h | #ifndef UTILS_H
#define UTILS_H
#include <stdint.h>
#include <complex.h>
typedef double complex CPX;
#define rand01() ((double)rand()/RAND_MAX)
void dzero(int n, double *a);
void czero(int n, CPX *a);
void comp_err_helm(int n,int pg, int pgt, CPX *pot, CPX *potex, CPX *pottarg, CPX *pottargex,
CPX *grad,... | 683 | 30.090909 | 93 | h |
FMM3D | FMM3D-master/vec-kernels/include/sctl/stacktrace.h | #ifndef _SCTL_STACKTRACE_H_
#define _SCTL_STACKTRACE_H_
#include <sctl/common.hpp>
#include <unistd.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <execinfo.h>
#include <cxxabi.h>
#ifdef __APPLE__
#include <mach-o/dyld.h>
#endif
namespace SCTL_NAMESPACE {
inline void print_stacktrace(FILE* o... | 3,186 | 23.898438 | 100 | h |
sentencepiece | sentencepiece-master/src/bpe_model.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,748 | 32 | 75 | h |
sentencepiece | sentencepiece-master/src/bpe_model_trainer.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 4,590 | 33.780303 | 78 | h |
sentencepiece | sentencepiece-master/src/builder.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 5,203 | 38.424242 | 80 | h |
sentencepiece | sentencepiece-master/src/char_model.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,061 | 29.342857 | 75 | h |
sentencepiece | sentencepiece-master/src/char_model_trainer.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,265 | 32.315789 | 75 | h |
sentencepiece | sentencepiece-master/src/common.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 5,206 | 26.405263 | 79 | h |
sentencepiece | sentencepiece-master/src/filesystem.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,852 | 29.883333 | 78 | h |
sentencepiece | sentencepiece-master/src/freelist.h | // Copyright 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,605 | 27.637363 | 77 | h |
sentencepiece | sentencepiece-master/src/init.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,770 | 28.032787 | 77 | h |
sentencepiece | sentencepiece-master/src/model_factory.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 972 | 29.40625 | 79 | h |
sentencepiece | sentencepiece-master/src/model_interface.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 8,751 | 34.008 | 80 | h |
sentencepiece | sentencepiece-master/src/normalizer.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 5,817 | 35.3625 | 79 | h |
sentencepiece | sentencepiece-master/src/pretokenizer_for_training.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 2,136 | 32.390625 | 76 | h |
sentencepiece | sentencepiece-master/src/sentencepiece_trainer.h | // Copyright 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 6,523 | 41.640523 | 79 | h |
sentencepiece | sentencepiece-master/src/spec_parser.h | // Copyright 2016 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 10,925 | 37.607774 | 79 | h |
sentencepiece | sentencepiece-master/src/testharness.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 8,718 | 38.098655 | 80 | h |
sentencepiece | sentencepiece-master/src/trainer_factory.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,104 | 31.5 | 77 | h |
sentencepiece | sentencepiece-master/src/trainer_interface.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 5,727 | 30.130435 | 76 | h |
sentencepiece | sentencepiece-master/src/unigram_model.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 7,324 | 32.600917 | 80 | h |
sentencepiece | sentencepiece-master/src/unigram_model_trainer.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 3,939 | 32.965517 | 77 | h |
sentencepiece | sentencepiece-master/src/util.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 10,907 | 24.191686 | 80 | h |
sentencepiece | sentencepiece-master/src/word_model.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,045 | 28.885714 | 75 | h |
sentencepiece | sentencepiece-master/src/word_model_trainer.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,372 | 31.690476 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/container/flat_hash_map.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,001 | 32.4 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/container/flat_hash_set.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 966 | 31.233333 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/flags/flag.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 1,745 | 24.304348 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/flags/parse.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 799 | 29.769231 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/memory/memory.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 2,592 | 35.013889 | 80 | h |
sentencepiece | sentencepiece-master/third_party/absl/random/distributions.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 959 | 29 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/random/random.h | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 926 | 26.264706 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/ascii.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 1,309 | 30.190476 | 77 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/match.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 1,308 | 32.564103 | 79 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/numbers.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 1,012 | 28.794118 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/str_cat.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 1,447 | 26.320755 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/str_format.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 1,088 | 27.657895 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/str_join.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 2,413 | 24.145833 | 75 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/str_replace.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 2,127 | 29.84058 | 79 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/str_split.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 2,669 | 29.689655 | 78 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/string_view.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 2,106 | 35.327586 | 80 | h |
sentencepiece | sentencepiece-master/third_party/absl/strings/strip.h | //
// Copyright 2017 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 991 | 29.060606 | 79 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/any.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 6,215 | 40.165563 | 79 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/arena_impl.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 18,092 | 35.77439 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/arenastring.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 15,918 | 41.337766 | 90 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/extension_set_inl.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 12,437 | 43.902527 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/generated_enum_reflection.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 3,993 | 39.343434 | 79 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/generated_enum_util.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 3,266 | 37.892857 | 79 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 12,532 | 36.189911 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/generated_message_util.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 10,023 | 35.98893 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/has_bits.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 3,542 | 29.282051 | 73 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/implicit_weak_message.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 7,024 | 35.780105 | 79 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/map_entry_lite.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 24,921 | 37.107034 | 87 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/map_field_lite.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 7,104 | 37.61413 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/metadata_lite.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 8,270 | 32.216867 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/port.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 2,050 | 45.613636 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/unknown_field_set.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 14,401 | 33.956311 | 78 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/io/io_win32.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 5,384 | 37.464286 | 79 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/io/zero_copy_stream.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 10,258 | 39.389764 | 81 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 12,750 | 37.875 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl_lite.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 16,950 | 40.444988 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/stubs/bytestream.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 11,769 | 32.4375 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/stubs/callback.h | #ifndef GOOGLE_PROTOBUF_STUBS_CALLBACK_H_
#define GOOGLE_PROTOBUF_STUBS_CALLBACK_H_
#include <type_traits>
#include <google/protobuf/stubs/macros.h>
#include <google/protobuf/port_def.inc>
// ===================================================================
// emulates google3/base/callback.h
namespace google {
... | 17,098 | 28.27911 | 80 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/stubs/casts.h | // Protocol Buffers - Google's data interchange format
// Copyright 2014 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 5,733 | 39.957143 | 84 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/stubs/hash.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 3,911 | 33.017391 | 79 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/stubs/int128.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 11,971 | 29.85567 | 79 | h |
sentencepiece | sentencepiece-master/third_party/protobuf-lite/google/protobuf/stubs/logging.h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 8,915 | 35.842975 | 80 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.