code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
zy901002-gpsr
src/mpi/model/mpi-interface.h
C++
gpl2
3,772
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
zy901002-gpsr
src/mpi/model/mpi-receiver.cc
C++
gpl2
1,256
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/mpi/bindings/modulegen__gcc_ILP32.py
Python
gpl2
178,173
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/mpi/bindings/modulegen__gcc_LP64.py
Python
gpl2
178,173
callback_classes = [ ['void', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ]
zy901002-gpsr
src/mpi/bindings/callbacks_list.py
Python
gpl2
174
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
zy901002-gpsr
src/mpi/examples/simple-distributed.cc
C++
gpl2
8,522
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_program('simple-distributed', ['point-to-point', 'internet', 'nix-vector-routing', 'applications']) obj.source = 'simple-distributed.cc' obj = bld.creat...
zy901002-gpsr
src/mpi/examples/wscript
Python
gpl2
714
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
zy901002-gpsr
src/mpi/examples/third-distributed.cc
C++
gpl2
8,560
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
zy901002-gpsr
src/mpi/examples/nms-p2p-nix-distributed.cc
C++
gpl2
23,383
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- import sys import subprocess import Options from waflib.Errors import WafError def configure(conf): if Options.options.enable_mpi: # try to detect openmpi installation mpi = conf.check_cfg(path='mpic++', args='-show...
zy901002-gpsr
src/mpi/wscript
Python
gpl2
2,000
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/energy-source.h
C++
gpl2
7,238
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/basic-energy-source.cc
C++
gpl2
5,761
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/device-energy-model.h
C++
gpl2
3,561
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as ...
zy901002-gpsr
src/energy/model/device-energy-model-container.h
C++
gpl2
5,677
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/basic-energy-source.h
C++
gpl2
4,075
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/device-energy-model.cc
C++
gpl2
1,436
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/wifi-radio-energy-model.cc
C++
gpl2
12,021
#include "ns3/simulator.h" #include "ns3/trace-source-accessor.h" #include "ns3/energy-source.h" #include "simple-device-energy-model.h" namespace ns3 { NS_OBJECT_ENSURE_REGISTERED (SimpleDeviceEnergyModel); TypeId SimpleDeviceEnergyModel::GetTypeId (void) { static TypeId tid = TypeId ("ns3::SimpleDeviceEnergyMod...
zy901002-gpsr
src/energy/model/simple-device-energy-model.cc
C++
gpl2
2,000
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as ...
zy901002-gpsr
src/energy/model/device-energy-model-container.cc
C++
gpl2
2,736
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/rv-battery-model.cc
C++
gpl2
9,885
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/rv-battery-model.h
C++
gpl2
7,479
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/energy-source.cc
C++
gpl2
3,955
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is dist...
zy901002-gpsr
src/energy/model/li-ion-energy-source.cc
C++
gpl2
9,523
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/model/wifi-radio-energy-model.h
C++
gpl2
7,664
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is dist...
zy901002-gpsr
src/energy/model/li-ion-energy-source.h
C++
gpl2
7,750
/* * simple-device-energy-model.h * * Created on: 09/ago/2010 * Author: socket */ #ifndef SIMPLE_DEVICE_ENERGY_MODEL_H #define SIMPLE_DEVICE_ENERGY_MODEL_H #include "ns3/device-energy-model.h" #include "ns3/nstime.h" #include "ns3/traced-value.h" namespace ns3 { /** * \ingroup energy * * A simple devi...
zy901002-gpsr
src/energy/model/simple-device-energy-model.h
C++
gpl2
2,261
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/energy/bindings/modulegen__gcc_ILP32.py
Python
gpl2
324,896
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/energy/bindings/modulegen__gcc_LP64.py
Python
gpl2
324,896
callback_classes = [ ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr<ns3...
zy901002-gpsr
src/energy/bindings/callbacks_list.py
Python
gpl2
505
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/test/basic-energy-model-test.cc
C++
gpl2
13,085
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/test/rv-battery-model-test.cc
C++
gpl2
27,321
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is dist...
zy901002-gpsr
src/energy/test/li-ion-energy-source-test.cc
C++
gpl2
2,441
#! /usr/bin/env python ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- # A list of C++ examples to run in order to ensure that they remain # buildable and runnable over time. Each tuple in the list contains # # (example_name, do_run, do_valgrind_run). # # See test.py for more i...
zy901002-gpsr
src/energy/test/examples-to-run.py
Python
gpl2
568
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is dist...
zy901002-gpsr
src/energy/examples/li-ion-energy-source.cc
C++
gpl2
3,293
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): if not bld.env['ENABLE_EXAMPLES']: return; obj = bld.create_ns3_program('li-ion-energy-source', ['core', 'energy']) obj.source = 'li-ion-energy-source.cc'
zy901002-gpsr
src/energy/examples/wscript
Python
gpl2
277
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/helper/basic-energy-source-helper.h
C++
gpl2
1,478
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/helper/rv-battery-model-helper.cc
C++
gpl2
1,688
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/helper/rv-battery-model-helper.h
C++
gpl2
1,454
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/helper/energy-model-helper.cc
C++
gpl2
3,758
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software...
zy901002-gpsr
src/energy/helper/wifi-radio-energy-model-helper.h
C++
gpl2
2,432
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/helper/energy-model-helper.h
C++
gpl2
5,856
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/helper/basic-energy-source-helper.cc
C++
gpl2
1,721
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as ...
zy901002-gpsr
src/energy/helper/energy-source-container.h
C++
gpl2
5,542
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Sof...
zy901002-gpsr
src/energy/helper/wifi-radio-energy-model-helper.cc
C++
gpl2
2,765
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as ...
zy901002-gpsr
src/energy/helper/energy-source-container.cc
C++
gpl2
3,421
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_module('energy', ['internet', 'wifi']) obj.source = [ 'model/wifi-radio-energy-model.cc', 'model/energy-source.cc', 'model/basic-energy-source.cc', 'model/li-...
zy901002-gpsr
src/energy/wscript
Python
gpl2
1,755
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 INESC Porto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is ...
zy901002-gpsr
src/virtual-net-device/model/virtual-net-device.cc
C++
gpl2
7,247
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 INESC Porto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is ...
zy901002-gpsr
src/virtual-net-device/model/virtual-net-device.h
C++
gpl2
5,943
#! /usr/bin/env python ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- # A list of C++ examples to run in order to ensure that they remain # buildable and runnable over time. Each tuple in the list contains # # (example_name, do_run, do_valgrind_run). # # See test.py for more i...
zy901002-gpsr
src/virtual-net-device/test/examples-to-run.py
Python
gpl2
613
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
zy901002-gpsr
src/virtual-net-device/examples/virtual-net-device.cc
C++
gpl2
11,073
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_program('virtual-net-device', ['virtual-net-device', 'point-to-point', 'internet', 'applications']) obj.source = 'virtual-net-device.cc'
zy901002-gpsr
src/virtual-net-device/examples/wscript
Python
gpl2
273
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): module = bld.create_ns3_module('virtual-net-device', ['network', 'internet']) module.source = [ 'model/virtual-net-device.cc', ] headers = bld.new_task_gen(features=['ns3header']) header...
zy901002-gpsr
src/virtual-net-device/wscript
Python
gpl2
495
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- import os, os.path import sys import shutil import types import warnings from waflib.Errors import WafError import TaskGen import Task import Options import Build import Utils import wutils try: set except NameError: from s...
zy901002-gpsr
src/wscript
Python
gpl2
22,875
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/flow-probe.h
C++
gpl2
2,768
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/ipv4-flow-probe.cc
C++
gpl2
10,645
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/flow-monitor.cc
C++
gpl2
14,398
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/ipv4-flow-probe.h
C++
gpl2
3,026
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/ipv4-flow-classifier.cc
C++
gpl2
5,346
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/ipv4-flow-classifier.h
C++
gpl2
2,393
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/flow-classifier.h
C++
gpl2
2,113
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/flow-probe.cc
C++
gpl2
3,239
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/histogram.cc
C++
gpl2
3,490
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/histogram.h
C++
gpl2
1,747
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/flow-monitor.h
C++
gpl2
10,269
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/model/flow-classifier.cc
C++
gpl2
1,089
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/flow-monitor/bindings/modulegen__gcc_ILP32.py
Python
gpl2
334,507
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers import pybindgen.settings import warnings class ErrorHandler(pybindgen.settings.ErrorHandler): def handle_error(self, wrapper, exception, traceback_): warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) ...
zy901002-gpsr
src/flow-monitor/bindings/modulegen__gcc_LP64.py
Python
gpl2
334,487
callback_classes = [ ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empt...
zy901002-gpsr
src/flow-monitor/bindings/callbacks_list.py
Python
gpl2
856
#! /usr/bin/env python ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- # A list of C++ examples to run in order to ensure that they remain # buildable and runnable over time. Each tuple in the list contains # # (example_name, do_run, do_valgrind_run). # # See test.py for more i...
zy901002-gpsr
src/flow-monitor/test/examples-to-run.py
Python
gpl2
607
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
zy901002-gpsr
src/flow-monitor/test/histogram-test-suite.cc
C++
gpl2
2,063
# -*- Mode: Python; -*- # Copyright (c) 2009 INESC Porto # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation; # # This program is distributed in the hope that it will be useful, #...
zy901002-gpsr
src/flow-monitor/examples/wifi-olsr-flowmon.py
Python
gpl2
7,354
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): bld.register_ns3_script('wifi-olsr-flowmon.py', ['flow-monitor', 'internet', 'wifi', 'olsr', 'applications', 'mobility'])
zy901002-gpsr
src/flow-monitor/examples/wscript
Python
gpl2
227
from __future__ import division import sys import os try: from xml.etree import cElementTree as ElementTree except ImportError: from xml.etree import ElementTree def parse_time_ns(tm): if tm.endswith('ns'): return long(tm[:-2]) raise ValueError(tm) class FiveTuple(object): __slots__ = ['...
zy901002-gpsr
src/flow-monitor/examples/flowmon-parse-results.py
Python
gpl2
5,709
// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distribu...
zy901002-gpsr
src/flow-monitor/helper/flow-monitor-helper.cc
C++
gpl2
2,788
// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distribu...
zy901002-gpsr
src/flow-monitor/helper/flow-monitor-helper.h
C++
gpl2
2,343
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_module('flow-monitor', ['internet', 'config-store', 'tools']) obj.source = ["model/%s" % s for s in [ 'flow-monitor.cc', 'flow-classifier.cc', 'flow-probe.cc', 'i...
zy901002-gpsr
src/flow-monitor/wscript
Python
gpl2
1,082
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This p...
zy901002-gpsr
src/internet/model/ndisc-cache.cc
C++
gpl2
12,452
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program i...
zy901002-gpsr
src/internet/model/tcp-tx-buffer.cc
C++
gpl2
8,168
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Telecom Bretagne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This progr...
zy901002-gpsr
src/internet/model/ipv6-autoconfigured-prefix.cc
C++
gpl2
4,800
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program i...
zy901002-gpsr
src/internet/model/tcp-reno.cc
C++
gpl2
6,836
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This pro...
zy901002-gpsr
src/internet/model/ipv4-address-generator.cc
C++
gpl2
13,442
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed...
zy901002-gpsr
src/internet/model/ipv4-end-point-demux.h
C++
gpl2
2,809
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2007 University of Washington * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This progra...
zy901002-gpsr
src/internet/model/global-route-manager.h
C++
gpl2
2,599
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed...
zy901002-gpsr
src/internet/model/arp-cache.cc
C++
gpl2
10,724
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This pro...
zy901002-gpsr
src/internet/model/ipv4-routing-protocol.h
C++
gpl2
6,237
// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // Th...
zy901002-gpsr
src/internet/model/ipv4-l3-protocol.h
C++
gpl2
12,787
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed...
zy901002-gpsr
src/internet/model/ipv4.cc
C++
gpl2
2,153
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed...
zy901002-gpsr
src/internet/model/icmpv4.cc
C++
gpl2
9,462
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program i...
zy901002-gpsr
src/internet/model/tcp-reno.h
C++
gpl2
2,651
// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2008 University of Washington // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This progra...
zy901002-gpsr
src/internet/model/ipv4-global-routing.cc
C++
gpl2
19,678
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is dis...
zy901002-gpsr
src/internet/model/ipv6-packet-info-tag.h
C++
gpl2
3,057
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * *...
zy901002-gpsr
src/internet/model/tcp-l4-protocol.cc
C++
gpl2
12,365
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This p...
zy901002-gpsr
src/internet/model/ipv6-option-header.cc
C++
gpl2
7,873
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This p...
zy901002-gpsr
src/internet/model/ipv6-static-routing.cc
C++
gpl2
24,863
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed...
zy901002-gpsr
src/internet/model/loopback-net-device.h
C++
gpl2
2,969
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This p...
zy901002-gpsr
src/internet/model/icmpv6-header.h
C++
gpl2
33,676
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This pro...
zy901002-gpsr
src/internet/model/ipv4-list-routing.h
C++
gpl2
4,082
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed...
zy901002-gpsr
src/internet/model/loopback-net-device.cc
C++
gpl2
5,408
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* Network Simulation Cradle Copyright (C) 2003-2005 Sam Jansen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either vers...
zy901002-gpsr
src/internet/model/sim_interface.h
C
gpl2
6,483
// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // Th...
zy901002-gpsr
src/internet/model/ipv4-l4-protocol.h
C++
gpl2
3,640