code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* Copyright (c) 2010-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/sliding_average.hpp
C++
bsd
2,877
/* Copyright (c) 2003-2012, Arvid Norberg Copyright (c) 2007-2012, Arvid Norberg, Un Shyam All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above cop...
zxw315-libtorrent
include/libtorrent/bt_peer_connection.hpp
C++
bsd
12,086
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/bandwidth_limit.hpp
C++
bsd
2,694
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/io.hpp
C++
bsd
4,850
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/kademlia/msg.hpp
C++
bsd
3,255
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/kademlia/observer.hpp
C++
bsd
4,807
/* Copyright (c) 2006-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/kademlia/routing_table.hpp
C++
bsd
6,971
/* Copyright (c) 2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
include/libtorrent/kademlia/dht_observer.hpp
C++
bsd
1,790
/* Copyright (c) 2006-2012, Arvid Norberg & Daniel Wallin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of...
zxw315-libtorrent
include/libtorrent/kademlia/logging.hpp
C++
bsd
3,341
/* Copyright (c) 2006-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/kademlia/rpc_manager.hpp
C++
bsd
3,697
/* Copyright (c) 2006-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/kademlia/node_id.hpp
C++
bsd
2,680
/* Copyright (c) 2006-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/kademlia/node_entry.hpp
C++
bsd
3,320
/* Copyright (c) 2006-2012, Arvid Norberg & Daniel Wallin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of...
zxw315-libtorrent
include/libtorrent/kademlia/find_data.hpp
C++
bsd
3,537
/* Copyright (c) 2006-2012, Arvid Norberg & Daniel Wallin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of...
zxw315-libtorrent
include/libtorrent/kademlia/refresh.hpp
C++
bsd
2,427
/* Copyright (c) 2006-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/kademlia/node.hpp
C++
bsd
8,430
/* Copyright (c) 2006-2012, Arvid Norberg & Daniel Wallin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of...
zxw315-libtorrent
include/libtorrent/kademlia/traversal_algorithm.hpp
C++
bsd
3,676
/* Copyright (c) 2006-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/kademlia/dht_tracker.hpp
C++
bsd
5,250
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/peer_connection.hpp
C++
bsd
39,249
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/piece_picker.hpp
C++
bsd
20,472
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/fingerprint.hpp
C++
bsd
2,864
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/version.hpp
C++
bsd
2,015
/* Copyright (c) 2009-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/timestamp_history.hpp
C++
bsd
2,775
/* Copyright (c) 2009-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/thread.hpp
C++
bsd
2,663
/* puff.h Copyright (C) 2002, 2003 Mark Adler, all rights reserved version 1.7, 3 Mar 2002 This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Permission is granted to anyone to use t...
zxw315-libtorrent
include/libtorrent/puff.hpp
C++
bsd
1,362
/* Copyright (c) 2009-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/i2p_stream.hpp
C++
bsd
6,266
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/policy.hpp
C++
bsd
16,257
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/debug.hpp
C++
bsd
5,857
/* Copyright (c) 2006-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/file_pool.hpp
C++
bsd
3,022
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/escape_string.hpp
C++
bsd
4,040
/* Copyright (c) 2011-2012, Arvid Norberg, Magnus Jonsson All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of...
zxw315-libtorrent
include/libtorrent/struct_debug.hpp
C++
bsd
2,310
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/peer_id.hpp
C++
bsd
6,707
/* Copyright (c) 2010-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/build_config.hpp
C++
bsd
3,664
/* Copyright (c) 2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
include/libtorrent/alert_dispatcher.hpp
C++
bsd
1,883
/* Copyright (c) 2009-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/io_service_fwd.hpp
C++
bsd
2,119
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/proxy_base.hpp
C++
bsd
6,012
/* Copyright (c) 2009-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/error.hpp
C++
bsd
2,053
/* Copyright (c) 2009-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/utp_socket_manager.hpp
C++
bsd
5,018
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/enum_net.hpp
C++
bsd
2,714
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/torrent_handle.hpp
C++
bsd
19,384
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/xml_parse.hpp
C++
bsd
6,055
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/peer.hpp
C++
bsd
1,958
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/magnet_uri.hpp
C++
bsd
2,988
/* Copyright (c) 2009-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/max.hpp
C++
bsd
3,136
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/chained_buffer.hpp
C++
bsd
3,822
/* Copyright (c) 2008-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/parse_url.hpp
C++
bsd
2,008
/* Copyright (c) 2005-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/ip_filter.hpp
C++
bsd
7,658
/* Copyright (c) 2003-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
zxw315-libtorrent
include/libtorrent/piece_block_progress.hpp
C++
bsd
2,100
#! /usr/bin/env python import os, sys, time lines = open(sys.argv[1], 'rb').readlines() # logfile format: # <time(ms)> <key>: <value> # example: # 16434 read cache: 17 key_order = ['receive buffer', 'send buffer', 'released send buffer', 'posted send buffer', 'received send buffer', 'dispatched send buffer', 'queu...
zxw315-libtorrent
parse_disk_buffer_log.py
Python
bsd
2,000
import os, sys, time # usage: parse_log.py log-file [socket-index to focus on] socket_filter = None if len(sys.argv) >= 3: socket_filter = sys.argv[2].strip() if socket_filter == None: print "scanning for socket with the most packets" file = open(sys.argv[1], 'rb') sockets = {} for l in file: if not 'our_d...
zxw315-libtorrent
parse_utp_log.py
Python
bsd
8,284
#! /usr/bin/env python import sys import os quantize = 100 max_rtt = 5000 f = open(sys.argv[1]) distribution = {} num_messages = 0 for i in range(0, max_rtt, quantize): distribution[i] = 0 for line in f: time = int(line.split('\t')[1]) if (time < 0 or time > max_rtt - quantize): continue num_messages += 1 tim...
zxw315-libtorrent
parse_dht_rtt.py
Python
bsd
1,096
/* Copyright (c) 2009, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_natpmp.cpp
C++
bsd
3,276
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_http_connection.cpp
C++
bsd
7,472
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_bandwidth_limiter.cpp
C++
bsd
13,191
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_bencoding.cpp
C++
bsd
6,864
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_storage.cpp
C++
bsd
32,453
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_ip_filter.cpp
C++
bsd
7,364
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_dht.cpp
C++
bsd
17,927
/* Copyright (c) 2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_rss.cpp
C++
bsd
5,270
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_torrent.cpp
C++
bsd
6,068
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_upnp.cpp
C++
bsd
6,396
/* Copyright (c) 2010, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_tracker.cpp
C++
bsd
5,754
/* Copyright (c) 2003 - 2005, Arvid Norberg, Daniel Wallin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this li...
zxw315-libtorrent
test/test_buffer.cpp
C++
bsd
7,790
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_web_seed.cpp
C++
bsd
11,936
/* Copyright (c) 2009, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_bdecode_performance.cpp
C++
bsd
2,084
/* Copyright (c) 2011, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_auto_unchoke.cpp
C++
bsd
5,168
/* Copyright (c) 2007, Un Shyam All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
zxw315-libtorrent
test/test_pe_crypto.cpp
C++
bsd
6,976
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_hasher.cpp
C++
bsd
2,544
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_pex.cpp
C++
bsd
5,540
test_programs = \ test_file \ test_auto_unchoke \ test_bandwidth_limiter \ test_bdecode_performance \ test_bencoding \ test_buffer \ test_fast_extension \ test_hasher \ test_http_connection \ test_ip_filter ...
zxw315-libtorrent
test/Makefile.am
Makefile
bsd
2,729
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_transfer.cpp
C++
bsd
18,389
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_metadata_extension.cpp
C++
bsd
4,844
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_swarm.cpp
C++
bsd
7,181
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_fast_extension.cpp
C++
bsd
12,092
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/setup_transfer.cpp
C++
bsd
30,168
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_lsd.cpp
C++
bsd
3,352
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/main.cpp
C++
bsd
3,286
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_utp.cpp
C++
bsd
4,703
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_piece_picker.cpp
C++
bsd
43,923
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_trackers_extension.cpp
C++
bsd
2,908
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test.hpp
C++
bsd
3,395
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_primitives.cpp
C++
bsd
60,055
/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/setup_transfer.hpp
C++
bsd
3,016
/* Copyright (c) 2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_file.cpp
C++
bsd
3,350
/* Copyright (c) 2010, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
zxw315-libtorrent
test/test_threads.cpp
C++
bsd
2,299
package com.zz.comframe.servlet; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.util.Arrays; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http...
zxcasd
trunk/zxcasd/src/com/zz/comframe/servlet/getdetail.java
Java
asf20
5,763
package com.zz.comframe.servlet; import java.io.IOException; import java.io.PrintWriter; import java.sql.Date; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.zz.comframe.C...
zxcasd
trunk/zxcasd/src/com/zz/comframe/servlet/GetComDataList.java
Java
asf20
3,404
package com.zz.comframe.servlet; import java.io.IOException; import java.io.PrintWriter; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.regex.Pattern; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpSer...
zxcasd
trunk/zxcasd/src/com/zz/comframe/servlet/save.java
Java
asf20
5,463
package com.zz.comframe; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.zz.comframe.properties.PropertiesPool; public class DBHelp { static { try { // Class.forName("com.microsoft....
zxcasd
trunk/zxcasd/src/com/zz/comframe/DBHelp.java
Java
asf20
2,486
package com.zz.comframe; /** * 通用数据库操作 * 包括查询、插入、删除等 * 要求:目标表fieldename为“col0”(固定为id,使用uuid),“col1”,“col3”。。。 * 可以安页查询,page输出视图,grid的columnmodle参数在gridheader表中 */ import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sq...
zxcasd
trunk/zxcasd/src/com/zz/comframe/CommonDataProcesser.java
Java
asf20
8,561
package com.zz.comframe; import java.sql.Connection; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.Statement; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import com.zz.comframe.properties.PropertiesPo...
zxcasd
trunk/zxcasd/src/com/zz/comframe/test.java
Java
asf20
3,443
package com.zz.comframe.properties; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Iterator; import java.util.Properties; class test { public static Properties getPro() throws FileN...
zxcasd
trunk/zxcasd/src/com/zz/comframe/properties/test.java
Java
asf20
2,207
package com.zz.comframe.properties; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.secur...
zxcasd
trunk/zxcasd/src/com/zz/comframe/properties/DESEncryptUtil.java
Java
asf20
5,863
package com.zz.comframe.properties; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.Key; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.Result...
zxcasd
trunk/zxcasd/src/com/zz/comframe/properties/PropertiesPool.java
Java
asf20
9,012
package com.zz.comframe; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServlet; p...
zxcasd
trunk/zxcasd/src/com/zz/comframe/EncodingFilter.java
Java
asf20
1,767
package com.zz.comframe; import treemap.zz.json.JSONArray; public class Page { private int totalCount; private int ipage; //private List<List<Map<String, Object>>> result; //private List<List<Map<String, Object>>> gridheader; private JSONArray result; private JSONArray gridheader; //public List<Li...
zxcasd
trunk/zxcasd/src/com/zz/comframe/Page.java
Java
asf20
4,939
package treemap.zz.json; /** * The JSONException is thrown by the JSON.org classes when things are amiss. * @author JSON.org * @version 2008-09-18 */ public class JSONException extends Exception { /** * */ private static final long serialVersionUID = 0; private Throwable cause; /** ...
zxcasd
trunk/zxcasd/src/treemap/zz/json/JSONException.java
Java
asf20
716
package treemap.zz.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
zxcasd
trunk/zxcasd/src/treemap/zz/json/JSONObject.java
Java
asf20
53,010
package treemap.zz.json; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.io.StringReader; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
zxcasd
trunk/zxcasd/src/treemap/zz/json/JSONTokener.java
Java
asf20
12,406
package treemap.zz.json; /** * The <code>JSONString</code> interface allows a <code>toJSONString()</code> * method so that a class can change the behavior of * <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, * and <code>JSONWriter.value(</code>Object<code>)</code>. The * <code>toJSO...
zxcasd
trunk/zxcasd/src/treemap/zz/json/JSONString.java
Java
asf20
719
package treemap.zz.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
zxcasd
trunk/zxcasd/src/treemap/zz/json/JSONArray.java
Java
asf20
29,502