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/csma/examples/csma-multicast.cc
C++
gpl2
6,523
/* -*- 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/csma/examples/csma-raw-ip-socket.cc
C++
gpl2
4,058
/* -*- 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/csma/examples/csma-broadcast.cc
C++
gpl2
4,329
/* -*- 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/csma/examples/csma-one-subnet.cc
C++
gpl2
4,548
/* -*- 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/csma/examples/csma-ping.cc
C++
gpl2
4,089
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_program('csma-one-subnet', ['csma', 'internet']) obj.source = 'csma-one-subnet.cc' obj = bld.create_ns3_program('csma-broadcast', ['csma', 'internet']) obj.source = 'csma-broadcast....
zy901002-gpsr
src/csma/examples/wscript
Python
gpl2
790
/* -*- 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/csma/helper/csma-helper.h
C++
gpl2
9,360
/* -*- 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/csma/helper/csma-helper.cc
C++
gpl2
9,425
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_module('csma', ['network', 'applications']) obj.source = [ 'model/backoff.cc', 'model/csma-net-device.cc', 'model/csma-channel.cc', 'helper/csma-helper.cc', ...
zy901002-gpsr
src/csma/wscript
Python
gpl2
674
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * * 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/mobility/model/gauss-markov-mobility-model.cc
C++
gpl2
8,776
/* -*- 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/mobility/model/constant-acceleration-mobility-model.cc
C++
gpl2
2,663
/* -*- 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/mobility/model/rectangle.h
C++
gpl2
3,282
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * * 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 di...
zy901002-gpsr
src/mobility/model/waypoint.h
C++
gpl2
1,813
/* -*- 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/mobility/model/position-allocator.cc
C++
gpl2
12,497
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * * 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 di...
zy901002-gpsr
src/mobility/model/waypoint.cc
C++
gpl2
1,509
/* -*- 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/mobility/model/random-waypoint-mobility-model.cc
C++
gpl2
3,861
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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/mobility/model/steady-state-random-waypoint-mobility-model.cc
C++
gpl2
9,767
/* -*- 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/mobility/model/hierarchical-mobility-model.h
C++
gpl2
3,983
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * * 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/mobility/model/box.h
C++
gpl2
3,346
/* -*- 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/mobility/model/random-waypoint-mobility-model.h
C++
gpl2
2,249
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * * 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/mobility/model/box.cc
C++
gpl2
4,333
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 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 distr...
zy901002-gpsr
src/mobility/model/constant-velocity-mobility-model.h
C++
gpl2
1,933
/** * @defgroup mobility Mobility */ /** * \addtogroup mobility Mobility * * The mobility support includes: * - a set of mobility models which are used to track and maintain * the "current" cartesian position and speed of an object. * * - a "course change notifier" trace source which can be used to regis...
zy901002-gpsr
src/mobility/model/mobility.h
C
gpl2
544
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 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 distr...
zy901002-gpsr
src/mobility/model/constant-velocity-mobility-model.cc
C++
gpl2
1,915
/* -*- 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/mobility/model/rectangle.cc
C++
gpl2
3,866
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * * 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 di...
zy901002-gpsr
src/mobility/model/waypoint-mobility-model.cc
C++
gpl2
6,130
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,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 distri...
zy901002-gpsr
src/mobility/model/mobility-model.cc
C++
gpl2
2,637
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,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 distri...
zy901002-gpsr
src/mobility/model/random-walk-2d-mobility-model.cc
C++
gpl2
5,883
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,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 distri...
zy901002-gpsr
src/mobility/model/constant-position-mobility-model.h
C++
gpl2
1,631
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,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 distri...
zy901002-gpsr
src/mobility/model/constant-velocity-helper.h
C++
gpl2
1,824
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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/mobility/model/steady-state-random-waypoint-mobility-model.h
C++
gpl2
3,089
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * * 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 di...
zy901002-gpsr
src/mobility/model/waypoint-mobility-model.h
C++
gpl2
5,626
/* -*- 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/mobility/model/random-direction-2d-mobility-model.cc
C++
gpl2
4,759
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,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 distri...
zy901002-gpsr
src/mobility/model/mobility-model.h
C++
gpl2
2,862
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,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 distri...
zy901002-gpsr
src/mobility/model/constant-velocity-helper.cc
C++
gpl2
3,142
/* -*- 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/mobility/model/random-direction-2d-mobility-model.h
C++
gpl2
2,304
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,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 distri...
zy901002-gpsr
src/mobility/model/random-walk-2d-mobility-model.h
C++
gpl2
2,324
/* -*- 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/mobility/model/position-allocator.h
C++
gpl2
7,643
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,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 distri...
zy901002-gpsr
src/mobility/model/constant-position-mobility-model.cc
C++
gpl2
1,657
/* -*- 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/mobility/model/hierarchical-mobility-model.cc
C++
gpl2
4,968
/* -*- 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/mobility/model/constant-acceleration-mobility-model.h
C++
gpl2
1,821
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * * 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/mobility/model/gauss-markov-mobility-model.h
C++
gpl2
4,477
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/mobility/bindings/modulegen__gcc_ILP32.py
Python
gpl2
261,983
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/mobility/bindings/modulegen__gcc_LP64.py
Python
gpl2
261,983
callback_classes = [ ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ]
zy901002-gpsr
src/mobility/bindings/callbacks_list.py
Python
gpl2
232
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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/mobility/test/steady-state-random-waypoint-mobility-model-test.cc
C++
gpl2
4,921
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors * * 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 Found...
zy901002-gpsr
src/mobility/test/ns2-mobility-helper-test-suite.cc
C++
gpl2
17,688
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * * 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 di...
zy901002-gpsr
src/mobility/test/waypoint-mobility-model-test.cc
C++
gpl2
5,150
#! /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/mobility/test/examples-to-run.py
Python
gpl2
701
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/mobility-module.h" using namespace ns3; int main (int argc, char *argv[]) { CommandLine cmd; cmd.Parse (argc, argv); NodeContainer nodes; // create an array of empty...
zy901002-gpsr
src/mobility/examples/main-grid-topology.cc
C++
gpl2
1,909
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "ns3/core-module.h" #include "ns3/mobility-module.h" using namespace ns3; static void CourseChange (std::string foo, Ptr<const MobilityModel> mobility) { Vector pos = mobility->GetPosition (); Vector vel = mobility->GetVelocity (); std...
zy901002-gpsr
src/mobility/examples/main-random-walk.cc
C++
gpl2
1,861
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "ns3/core-module.h" #include "ns3/mobility-module.h" using namespace ns3; static void CourseChange (std::string context, Ptr<const MobilityModel> position) { Vector pos = position->GetPosition (); std::cout << Simulator::Now () << ", pos...
zy901002-gpsr
src/mobility/examples/main-random-topology.cc
C++
gpl2
1,143
## -*- 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('main-grid-topology', ['core', 'mobility', 'network']) obj.source = 'main-grid-topology.cc' ...
zy901002-gpsr
src/mobility/examples/wscript
Python
gpl2
628
/* -*- 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/mobility/helper/mobility-helper.h
C++
gpl2
11,440
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors * * 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 Found...
zy901002-gpsr
src/mobility/helper/ns2-mobility-helper.cc
C++
gpl2
19,466
/* -*- 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/mobility/helper/mobility-helper.cc
C++
gpl2
7,586
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors * * 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 Found...
zy901002-gpsr
src/mobility/helper/ns2-mobility-helper.h
C++
gpl2
3,867
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): mobility = bld.create_ns3_module('mobility', ['network']) mobility.source = [ 'model/box.cc', 'model/constant-acceleration-mobility-model.cc', 'model/constant-position-mobility-model.cc',...
zy901002-gpsr
src/mobility/wscript
Python
gpl2
2,284
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/model/dsdv-packet.cc
C++
gpl2
2,666
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/model/dsdv-rtable.cc
C++
gpl2
10,063
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra, Yufei Cheng * * 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/dsdv/model/dsdv-routing-protocol.cc
C++
gpl2
49,564
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra, Yufei Cheng * * 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/dsdv/model/dsdv-routing-protocol.h
C++
gpl2
7,487
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/model/dsdv-rtable.h
C++
gpl2
9,258
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/model/dsdv-packet.h
C++
gpl2
3,493
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/model/dsdv-packet-queue.h
C++
gpl2
5,566
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/model/dsdv-packet-queue.cc
C++
gpl2
5,325
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/dsdv/bindings/modulegen__gcc_ILP32.py
Python
gpl2
360,144
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/dsdv/bindings/modulegen__gcc_LP64.py
Python
gpl2
360,144
callback_classes = [ ['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr<ns3::Ipv4Route>', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::empty', 'ns3...
zy901002-gpsr
src/dsdv/bindings/callbacks_list.py
Python
gpl2
1,222
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/test/dsdv-testcase.cc
C++
gpl2
6,823
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/examples/dsdv-manet.cc
C++
gpl2
11,337
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_program('dsdv-manet', ['wifi', 'internet', 'dsdv']) obj.source = 'dsdv-manet.cc'
zy901002-gpsr
src/dsdv/examples/wscript
Python
gpl2
214
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/helper/dsdv-helper.h
C++
gpl2
2,698
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra * * 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/dsdv/helper/dsdv-helper.cc
C++
gpl2
2,196
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hemanth Narra, Yufei Cheng * * 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/dsdv/doc/dsdv.h
C
gpl2
1,716
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): module = bld.create_ns3_module('dsdv', ['internet', 'wifi', 'mesh', 'applications']) module.includes = '.' module.source = [ 'model/dsdv-rtable.cc', 'model/dsdv-packet-queue.cc', 'mod...
zy901002-gpsr
src/dsdv/wscript
Python
gpl2
948
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 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...
zy901002-gpsr
src/olsr/model/olsr-state.h
C++
gpl2
6,752
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 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...
zy901002-gpsr
src/olsr/model/olsr-routing-protocol.cc
C++
gpl2
119,780
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 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...
zy901002-gpsr
src/olsr/model/olsr-state.cc
C++
gpl2
12,663
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 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/olsr/model/olsr-header.h
C++
gpl2
14,902
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 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/olsr/model/olsr-header.cc
C++
gpl2
12,291
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 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 ...
zy901002-gpsr
src/olsr/model/olsr-routing-protocol.h
C++
gpl2
11,020
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 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...
zy901002-gpsr
src/olsr/model/olsr-repositories.h
C++
gpl2
12,366
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/olsr/bindings/modulegen__gcc_ILP32.py
Python
gpl2
388,394
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/olsr/bindings/modulegen__gcc_LP64.py
Python
gpl2
388,394
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/olsr/bindings/callbacks_list.py
Python
gpl2
856
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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/olsr/test/tc-regression-test.h
C++
gpl2
5,371
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 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/olsr/test/olsr-header-test-suite.cc
C++
gpl2
9,787
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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/olsr/test/hello-regression-test.cc
C++
gpl2
2,481
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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/olsr/test/regression-test-suite.cc
C++
gpl2
1,250
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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/olsr/test/hello-regression-test.h
C++
gpl2
2,205
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 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...
zy901002-gpsr
src/olsr/test/olsr-routing-protocol-test-suite.cc
C++
gpl2
5,978
/* -*- 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 usefu...
zy901002-gpsr
src/olsr/test/bug780-test.cc
C++
gpl2
5,276
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * 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/olsr/test/tc-regression-test.cc
C++
gpl2
3,738
#! /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/olsr/test/examples-to-run.py
Python
gpl2
621
/* -*- 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/olsr/test/bug780-test.h
C++
gpl2
1,330
/* -*- 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/olsr/examples/simple-point-to-point-olsr.cc
C++
gpl2
5,923
/* -*- 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...
zy901002-gpsr
src/olsr/examples/olsr-hna.cc
C++
gpl2
9,635
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): obj = bld.create_ns3_program('simple-point-to-point-olsr', ['point-to-point', 'internet', 'olsr', 'applications', 'wifi']) obj.source = 'simple-point-to-point-olsr.cc' obj =...
zy901002-gpsr
src/olsr/examples/wscript
Python
gpl2
466
/* -*- 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/olsr/helper/olsr-helper.cc
C++
gpl2
2,285