Search is not available for this dataset
repo stringlengths 2 152 ⌀ | file stringlengths 15 239 | code stringlengths 0 58.4M | file_length int64 0 58.4M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 364
values |
|---|---|---|---|---|---|---|
null | fantasia3d.unofficial-main/render/regularizer.py | # 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 distribu... | 3,817 | 45 | 148 | py |
null | fantasia3d.unofficial-main/render/render.py | # 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 distribu... | 13,619 | 42.653846 | 155 | py |
null | fantasia3d.unofficial-main/render/texture.py | # 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 distribu... | 8,222 | 42.973262 | 139 | py |
null | fantasia3d.unofficial-main/render/util.py | # 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 distribu... | 19,619 | 41.103004 | 179 | py |
null | fantasia3d.unofficial-main/render/renderutils/__init__.py | # 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 distribu... | 942 | 77.583333 | 243 | py |
null | fantasia3d.unofficial-main/render/renderutils/bsdf.py | # 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 distribu... | 6,266 | 40.230263 | 161 | py |
null | fantasia3d.unofficial-main/render/renderutils/loss.py | # 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 distribu... | 1,642 | 38.119048 | 111 | py |
null | fantasia3d.unofficial-main/render/renderutils/ops.py | # 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 distribu... | 21,944 | 38.540541 | 181 | py |
null | fantasia3d.unofficial-main/render/renderutils/c_src/bsdf.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... | 1,564 | 17.411765 | 80 | h |
null | fantasia3d.unofficial-main/render/renderutils/c_src/common.cpp | /*
* 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... | 2,285 | 29.48 | 106 | cpp |
null | fantasia3d.unofficial-main/render/renderutils/c_src/common.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... | 1,218 | 28.731707 | 101 | h |
null | fantasia3d.unofficial-main/render/renderutils/c_src/cubemap.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... | 907 | 22.282051 | 80 | h |
null | fantasia3d.unofficial-main/render/renderutils/c_src/loss.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... | 896 | 22 | 80 | h |
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/tensor.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,408 | 46.408602 | 233 | h |
null | fantasia3d.unofficial-main/render/renderutils/c_src/torch_bindings.cpp | /*
* 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... | 41,998 | 38.547081 | 332 | cpp |
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 | fantasia3d.unofficial-main/render/renderutils/tests/test_bsdf.py | # 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 distribu... | 13,752 | 45.306397 | 143 | py |
null | fantasia3d.unofficial-main/render/renderutils/tests/test_cubemap.py | # 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 distribu... | 1,631 | 33 | 90 | py |
null | fantasia3d.unofficial-main/render/renderutils/tests/test_loss.py | # 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 distribu... | 2,225 | 35.491803 | 111 | py |
null | fantasia3d.unofficial-main/render/renderutils/tests/test_mesh.py | # 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 distribu... | 3,433 | 36.736264 | 111 | py |
null | fantasia3d.unofficial-main/render/renderutils/tests/test_perf.py | # 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 distribu... | 2,342 | 39.396552 | 92 | py |
null | SymbolicPCC-main/README.md | <div align="center">
# Symbolic Distillation for Learned TCP Congestion Control
**Accepted at [NeurIPS 2022](https://neurips.cc/virtual/2022/poster/54408)**
| **[ [```Paper```](https://openreview.net/pdf?id=rDT-n9xysO) ]** | **[ [```Poster```](https://neurips.cc/virtual/2022/poster/54408) ]**
|:-------------------:|... | 3,199 | 24.806452 | 136 | md |
null | SymbolicPCC-main/common/__init__.py | 0 | 0 | 0 | py | |
null | SymbolicPCC-main/common/config.py | # Copyright 2019 Nathan Jay and Noga Rotman
#
# 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 ... | 696 | 37.722222 | 74 | py |
null | SymbolicPCC-main/common/sender_obs.py | # Copyright 2019 Nathan Jay and Noga Rotman
#
# 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 ... | 7,003 | 32.511962 | 107 | py |
null | SymbolicPCC-main/common/simple_arg_parse.py | # Copyright 2019 Nathan Jay and Noga Rotman
#
# 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 ... | 1,077 | 28.944444 | 74 | py |
null | SymbolicPCC-main/gym/graph_run.py | # Copyright 2019 Nathan Jay and Noga Rotman
#
# 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 ... | 1,976 | 30.887097 | 84 | py |
null | SymbolicPCC-main/gym/network_sim.py | # Copyright 2019 Nathan Jay and Noga Rotman
#
# 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 ... | 18,318 | 35.56487 | 142 | py |
null | SymbolicPCC-main/gym/stable_solve.py | # Copyright 2019 Nathan Jay and Noga Rotman
#
# 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 ... | 3,531 | 37.813187 | 134 | py |
null | SymbolicPCC-main/gym/online/README.md | # Online Training and Testing
Online training and testing requires two components: this repository for handling tensorflow modules, and the PCCProject/PCC-Uspace.git repository for
sending data over real networks and making observations.
This repository contains a training environment in /src/gym/online/shim\_env.py ... | 948 | 62.266667 | 157 | md |
null | SymbolicPCC-main/gym/online/shim_env.py | # Copyright 2019 Nathan Jay and Noga Rotman
#
# 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 ... | 5,430 | 32.94375 | 97 | py |
null | SymbolicPCC-main/gym/online/shim_solver.py | # Copyright 2019 Nathan Jay and Noga Rotman
#
# 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 ... | 3,429 | 36.692308 | 134 | py |
null | SymbolicPCC-main/src/app/pccclient.cpp | #include <unistd.h>
#include <cstdlib>
#include <cstring>
#include <netdb.h>
#include <iostream>
#include "../core/udt.h"
#include "../core/options.h"
#include <signal.h>
#define DATA_BATCH_SIZE 1000000
using namespace std;
void* monitor(void*);
UDTSOCKET client;
bool stop = false;
void intHandler(int dummy) {
... | 3,323 | 23.992481 | 94 | cpp |
null | SymbolicPCC-main/src/app/pccserver.cpp | #include <unistd.h>
#include <cstdlib>
#include <cstring>
#include <netdb.h>
#include <iostream>
#include "../core/udt.h"
#include "../core/options.h"
using namespace std;
void* senddata(void*);
void* recvdata(void*);
void* recv_monitor(void* s);
void* send_monitor(void* s);
void prusage() {
cout << "usage: apps... | 4,978 | 21.427928 | 155 | cpp |
null | SymbolicPCC-main/src/core/api.cpp | /*****************************************************************************
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... | 54,590 | 23.724185 | 185 | cpp |
null | SymbolicPCC-main/src/core/api.h | /*****************************************************************************
Copyright (c) 2001 - 2010, 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,572 | 34.988722 | 183 | h |
null | SymbolicPCC-main/src/core/buffer.cpp | /*****************************************************************************
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... | 20,250 | 22.384527 | 207 | cpp |
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.cpp | /*****************************************************************************
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... | 3,718 | 28.991935 | 79 | cpp |
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/ccc.cpp | /*****************************************************************************
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... | 7,303 | 22.485531 | 126 | cpp |
null | SymbolicPCC-main/src/core/ccc.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,172 | 31.299296 | 143 | h |
null | SymbolicPCC-main/src/core/channel.cpp | /*****************************************************************************
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... | 9,668 | 26.864553 | 118 | cpp |
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.cpp | /*****************************************************************************
Copyright (c) 2001 - 2010, 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... | 17,186 | 21.205426 | 196 | cpp |
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/core.cpp | /*****************************************************************************
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... | 54,972 | 25.842285 | 184 | cpp |
null | SymbolicPCC-main/src/core/core.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... | 25,092 | 43.491135 | 190 | h |
null | SymbolicPCC-main/src/core/epoll.cpp | /*****************************************************************************
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... | 10,940 | 24.92654 | 147 | cpp |
null | SymbolicPCC-main/src/core/epoll.h | /*****************************************************************************
Copyright (c) 2001 - 2010, 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,845 | 33.23 | 163 | h |
null | SymbolicPCC-main/src/core/list.cpp | /*****************************************************************************
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... | 16,117 | 21.605891 | 118 | cpp |
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.cpp | /*
Copyright (C) 1999, 2000, 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 fo... | 12,439 | 31.565445 | 76 | cpp |
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.cpp | /**
* 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,707 | 27 | 80 | cpp |
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/packet.cpp | /*****************************************************************************
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... | 13,350 | 31.484185 | 152 | cpp |
null | SymbolicPCC-main/src/core/packet.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,602 | 28.477679 | 140 | h |
null | SymbolicPCC-main/src/core/packet_tracker.h | #ifndef PACKET_TRACKER_H_
#define PACKET_TRACKER_H_
#include <pthread.h>
#include <iostream>
#include <unordered_map>
#include <time.h>
#include <string.h>
#include <mutex>
namespace {
int kArbitraryPacketLimit = 100000;
} // namespace
enum PacketState { PACKET_STATE_NONE, PACKET_STATE_QUEUED, PACKET_STATE_SENT,... | 21,030 | 38.98289 | 148 | h |
null | SymbolicPCC-main/src/core/queue.cpp | /*****************************************************************************
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... | 27,108 | 19.982198 | 133 | cpp |
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/udt.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... | 13,263 | 37.55814 | 188 | h |
null | SymbolicPCC-main/src/core/window.cpp | /*****************************************************************************
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... | 7,847 | 26.344948 | 108 | cpp |
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.cpp | #include "pcc_logger.h"
std::map<std::string, bool> PccLoggableEvent::flag_map;
PccLoggableEvent::PccLoggableEvent(const std::string& event_name, const std::string& flag) {
active = CheckFlag(flag);
if (!active) {
return;
}
name = event_name;
}
PccLoggableEvent::~PccLoggableEvent() {
// N... | 4,257 | 31.015038 | 97 | cpp |
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.cpp | #ifdef QUIC_PORT
#ifdef QUIC_PORT_LOCAL
#include "net/quic/core/congestion_control/pcc_sender.h"
#include "net/quic/core/congestion_control/rtt_stats.h"
#include "net/quic/core/quic_time.h"
#include "net/quic/platform/api/quic_str_cat.h"
#else
#include "third_party/pcc_quic/pcc_sender.h"
#include "/quic/src/core/conges... | 10,485 | 32.183544 | 110 | cpp |
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.cpp | #ifdef QUIC_PORT
#ifdef QUIC_PORT_LOCAL
#include "net/quic/core/congestion_control/pcc_monitor_interval.h"
#else
#include "net/quic/core/congestion_control/pcc_monitor_interval.h"
#endif
#else
#include "pcc_mi.h"
#endif
#ifndef QUIC_PORT
typedef int32_t QuicPacketCount;
typedef int32_t QuicPacketNumber;
typedef int64_... | 8,047 | 32.957806 | 154 | cpp |
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.cpp |
#include <algorithm>
#include <iostream>
#include <numeric>
#include <vector>
#include <cmath>
#ifdef QUIC_PORT
#ifdef QUIC_PORT_LOCAL
#include "net/quic/core/congestion_control/pcc_monitor_interval_analysis_group.h"
#else
#include "gfe/quic/core/congestion_control/pcc_monitor_interval_analysis_group.h"
#endif
#else
... | 4,484 | 28.701987 | 113 | cpp |
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.cpp | #ifdef QUIC_PORT
#ifdef QUIC_PORT_LOCAL
#include "net/quic/core/congestion_control/pcc_monitor_interval_queue.h"
#include "net/quic/core/congestion_control/rtt_stats.h"
#else
#include "third_party/pcc_quic/pcc_monitor_interval_queue.h"
#include "gfe/quic/core/congestion_control/rtt_stats.h"
#endif
#else
#include "pcc_m... | 3,801 | 26.751825 | 103 | cpp |
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_all_rc.h |
#ifndef PCC_ALL_RC_H_
#define PCC_ALL_RC_H_
//#include "pcc_vivace_rc.h"
#include "pcc_python_rc.h"
#include "pcc_ixp_rc.h"
#endif
| 134 | 12.5 | 28 | h |
null | SymbolicPCC-main/src/pcc/rate_control/pcc_ixp_rc.cpp | #include "pcc_ixp_rc.h"
namespace {
//double kRateChangeFactor = 1.08;
int kRateReplicas = 20;
int kMaxRateSamples = 2;
double kProjectionDist = 30.0;
double kMinRateDiffForGradient = 4096;
double kMaxStepSize = 0.08;
double kMinStepSize = 0.01;
double kStepSizeIncrease = 0.01;
}
PccIx... | 6,552 | 29.47907 | 110 | cpp |
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.cpp |
#include "pcc_python_rc.h"
#include <algorithm>
std::mutex PccPythonRateController::interpreter_lock_;
bool PccPythonRateController::python_initialized_ = false;
void PccPythonRateController::InitializePython() {
Py_Initialize();
PyRun_SimpleString("import sys");
std::stringstream set_argv_ss;
set_a... | 7,388 | 32.434389 | 120 | cpp |
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/rate_control/pcc_rc_factory.cpp | #include "pcc_rc_factory.h"
PccRateController* PccRateControllerFactory::Create(const std::string& name, double call_freq, PccEventLogger* log) {
/*if (name == "vivace") {
return new PccVivaceRateController(call_freq);
} else*/ if (name == "ixp") {
return new PccIxpRateController(call_freq... | 484 | 33.642857 | 117 | cpp |
null | SymbolicPCC-main/src/pcc/rate_control/pcc_rc_factory.h |
#ifndef PCC_RC_FACTORY_H_
#define PCC_RC_FACTORY_H_
#include "pcc_all_rc.h"
class PccRateControllerFactory {
public:
static PccRateController* Create(const std::string& name, double call_freq, PccEventLogger* log);
};
#endif
| 235 | 17.153846 | 101 | h |
null | SymbolicPCC-main/src/pcc/utility/pcc_all_ucalc.h |
#ifndef PCC_ALL_UCALC_H_
#define PCC_ALL_UCALC_H_
#include "pcc_vivace_ucalc.h"
#include "pcc_allegro_ucalc.h"
#include "pcc_ixp_ucalc.h"
#include "pcc_lin_ucalc.h"
#include "pcc_loss_only_ucalc.h"
#include "pcc_copa_ucalc.h"
#endif
| 236 | 17.230769 | 32 | h |
null | SymbolicPCC-main/src/pcc/utility/pcc_allegro_ucalc.cpp |
#include "pcc_allegro_ucalc.h"
namespace {
// Number of probing MonitorIntervals necessary for Probing.
//const size_t kRoundsPerProbing = 4;
// Tolerance of loss rate by utility function.
const float kLossTolerance = 0.05f;
// Coefficeint of the loss rate term in utility function.
const float kLossCoefficient = -100... | 1,807 | 35.897959 | 108 | cpp |
null | SymbolicPCC-main/src/pcc/utility/pcc_allegro_ucalc.h |
#ifndef _PCC_ALLEGRO_UCALC_H_
#define _PCC_ALLEGRO_UCALC_H_
#include "pcc_ucalc.h"
class PccAllegroUtilityCalculator : public PccUtilityCalculator {
public:
PccAllegroUtilityCalculator(PccEventLogger* log) {this->log = log;};
~PccAllegroUtilityCalculator() {};
float CalculateUtility(PccMonitorIntervalA... | 453 | 24.222222 | 100 | h |
null | SymbolicPCC-main/src/pcc/utility/pcc_copa_ucalc.cpp |
#include <cmath>
#include "pcc_copa_ucalc.h"
float PccCopaUtilityCalculator::CalculateUtility(PccMonitorIntervalAnalysisGroup& past_monitor_intervals,
MonitorInterval& cur_mi) {
float throughput = cur_mi.GetObsThroughput();
float rtt_inflation = cur_mi.GetObsRttInflation();
float avg_rtt = cur_mi.GetO... | 1,019 | 29 | 105 | cpp |
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 |
null | SymbolicPCC-main/src/pcc/utility/pcc_ixp_ucalc.cpp |
#include "pcc_ixp_ucalc.h"
#include <cmath>
namespace {
// Coefficeint of the loss rate term in utility function.
const float kLossCoefficient = 5.0f;
// Coefficient of RTT term in utility function.
const float kRttCoefficient = 1.0/30000.0f;
} // namespace
float PccIxpUtilityCalculator::CalculateUtility(PccMonitor... | 1,094 | 32.181818 | 104 | cpp |
null | SymbolicPCC-main/src/pcc/utility/pcc_ixp_ucalc.h |
#ifndef _PCC_IXP_UCALC_H_
#define _PCC_IXP_UCALC_H_
#include "pcc_ucalc.h"
class PccIxpUtilityCalculator : public PccUtilityCalculator {
public:
PccIxpUtilityCalculator(PccEventLogger* log) {this->log = log;};
~PccIxpUtilityCalculator() {};
float CalculateUtility(PccMonitorIntervalAnalysisGroup& past_m... | 433 | 23.111111 | 100 | h |
null | SymbolicPCC-main/src/pcc/utility/pcc_lin_ucalc.cpp |
#include "pcc_lin_ucalc.h"
#include <cmath>
namespace {
// Coefficeint of the loss rate term in utility function.
const float kLossCoefficient = 5.0f;
// Coefficient of RTT term in utility function.
const float kRttCoefficient = 1.0/30000.0f;
} // namespace
float PccLinearUtilityCalculator::CalculateUtility(PccMoni... | 1,541 | 31.125 | 107 | cpp |
null | SymbolicPCC-main/src/pcc/utility/pcc_lin_ucalc.h |
#ifndef _PCC_LIN_UCALC_H_
#define _PCC_LIN_UCALC_H_
#include "pcc_ucalc.h"
class PccLinearUtilityCalculator : public PccUtilityCalculator {
public:
PccLinearUtilityCalculator(PccEventLogger* log) {this->log = log; last_rtt = 0;};
~PccLinearUtilityCalculator() {};
float CalculateUtility(PccMonitorInterv... | 476 | 24.105263 | 100 | h |
null | SymbolicPCC-main/src/pcc/utility/pcc_loss_only_ucalc.cpp |
#include "pcc_loss_only_ucalc.h"
namespace {
// Number of probing MonitorIntervals necessary for Probing.
//const size_t kRoundsPerProbing = 4;
// Tolerance of loss rate by utility function.
const float kLossTolerance = 0.05f;
// Coefficeint of the loss rate term in utility function.
const float kLossCoefficient = -1... | 1,695 | 35.085106 | 109 | cpp |
null | SymbolicPCC-main/src/pcc/utility/pcc_loss_only_ucalc.h |
#ifndef _PCC_LOSS_ONLY_UCALC_H_
#define _PCC_LOSS_ONLY_UCALC_H_
#include "pcc_ucalc.h"
class PccLossOnlyUtilityCalculator : public PccUtilityCalculator {
public:
PccLossOnlyUtilityCalculator(PccEventLogger* log) {this->log = log;};
~PccLossOnlyUtilityCalculator() {};
float CalculateUtility(PccMonitorIn... | 460 | 24.611111 | 100 | h |
null | SymbolicPCC-main/src/pcc/utility/pcc_ucalc.h |
#ifndef _PCC_UCALC_H_
#define _PCC_UCALC_H_
#include "../monitor_interval/pcc_mi.h"
#include "../monitor_interval/pcc_mi_analysis_group.h"
#include "../pcc_logger.h"
class PccUtilityCalculator {
public:
PccUtilityCalculator(/*PccEventLogger* log*/) {};
virtual ~PccUtilityCalculator() {};
virtual float ... | 457 | 24.444444 | 108 | h |
null | SymbolicPCC-main/src/pcc/utility/pcc_ucalc_factory.cpp | #include "pcc_ucalc_factory.h"
PccUtilityCalculator* PccUtilityCalculatorFactory::Create(const std::string& name,
PccEventLogger* log) {
if (name == "vivace") {
return new PccVivaceUtilityCalculator(log);
} else if (name == "linear") {
return new PccLinearUtilityCalculator(log);
} e... | 625 | 33.777778 | 82 | cpp |
null | SymbolicPCC-main/src/pcc/utility/pcc_ucalc_factory.h |
#ifndef _PCC_UCALC_FACTORY_H_
#define _PCC_UCALC_FACTORY_H_
#include "pcc_all_ucalc.h"
#include "../pcc_logger.h"
class PccUtilityCalculatorFactory {
public:
static PccUtilityCalculator* Create(const std::string& name, PccEventLogger* log);
};
#endif
| 261 | 17.714286 | 86 | h |
null | SymbolicPCC-main/src/pcc/utility/pcc_vivace_ucalc.cpp |
#include "pcc_vivace_ucalc.h"
namespace {
// Number of probing MonitorIntervals necessary for Probing.
//const size_t kRoundsPerProbing = 4;
// Tolerance of loss rate by utility function.
const float kLossTolerance = 0.05f;
// Coefficeint of the loss rate term in utility function.
const float kLossCoefficient = -1000... | 1,803 | 35.816327 | 107 | cpp |