Update copyright to be Google Inc.

This doesn't reflect any material change in
how I will be working on upb, and I have no
problem making this change.  It's still open
source under the BSD license, and I'll still
be working on it well beyond the hours that
constitute a normal job.
pull/13171/head
Josh Haberman 14 years ago
parent 8ef6873e0e
commit b796c1b317
  1. 25
      LICENSE
  2. 3
      README
  3. 3
      lang_ext/lua/upb.c
  4. 4
      lang_ext/python/cext.c
  5. 2
      lang_ext/python/cext.h
  6. 3
      lang_ext/python/definition.c
  7. 3
      lang_ext/python/definition.h
  8. 3
      lang_ext/python/pb.c
  9. 4
      src/upb.c
  10. 3
      src/upb.h
  11. 3
      src/upb_atomic.h
  12. 3
      src/upb_decoder.c
  13. 5
      src/upb_decoder.h
  14. 3
      src/upb_def.c
  15. 3
      src/upb_def.h
  16. 3
      src/upb_encoder.c
  17. 8
      src/upb_encoder.h
  18. 3
      src/upb_glue.c
  19. 5
      src/upb_glue.h
  20. 3
      src/upb_msg.c
  21. 3
      src/upb_msg.h
  22. 3
      src/upb_stdio.c
  23. 5
      src/upb_stdio.h
  24. 3
      src/upb_stream.c
  25. 6
      src/upb_stream.h
  26. 3
      src/upb_string.c
  27. 3
      src/upb_string.h
  28. 3
      src/upb_strstream.c
  29. 5
      src/upb_strstream.h
  30. 4
      src/upb_table.c
  31. 3
      src/upb_table.h
  32. 3
      src/upb_textprinter.c
  33. 3
      src/upb_textprinter.h
  34. 5
      src/upb_varint_decoder.h
  35. 9
      src/upbc.c
  36. 2
      tests/test_varint.c
  37. 4
      tests/test_vs_proto2.cc
  38. 2
      tests/upb_test.h

@ -1,6 +1,5 @@
Copyright (c) 2009-2010, Joshua Haberman Copyright (c) 2009-2011, Google Inc.
Copyright (c) 2009-2010, Google Inc.
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
@ -11,17 +10,17 @@ modification, are permitted provided that the following conditions are met:
* Redistributions in binary form must reproduce the above copyright * Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution. documentation and/or other materials provided with the distribution.
* Neither the name of Joshua Haberman nor the names of any other * Neither the name of Google Inc. nor the names of any other
contributors may be used to endorse or promote products contributors may be used to endorse or promote products
derived from this software without specific prior written permission. derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY JOSHUA HABERMAN ``AS IS'' AND ANY THIS SOFTWARE IS PROVIDED BY GOOGLE INC. ``AS IS'' AND ANY EXPRESS OR IMPLIED
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
DISCLAIMED. IN NO EVENT SHALL JOSHUA HABERMAN BE LIABLE FOR ANY EVENT SHALL GOOGLE INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.

@ -36,6 +36,5 @@ the major things that are broken or not yet implemented yet:
CONTACT CONTACT
======= =======
Author: Joshua Haberman (jhaberman@gmail.com, haberman@google.com) Author: Josh Haberman (jhaberman@gmail.com, haberman@google.com)
See LICENSE for copyright information. See LICENSE for copyright information.

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* A Lua extension for upb. * A Lua extension for upb.
*/ */

@ -1,8 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* * Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include "cext.h" #include "cext.h"

@ -2,7 +2,7 @@
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Joshua Haberman. See LICENSE for details.
* * Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#ifndef UPB_PYTHON_CEXT_H_ #ifndef UPB_PYTHON_CEXT_H_

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* This file defines the Python module upb.definition. This module * This file defines the Python module upb.definition. This module
* defines the following Python classes, which wrap upb's internal * defines the following Python classes, which wrap upb's internal

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* See def.h for a general description. These definitions * See def.h for a general description. These definitions
* must be shared so that specific Python message types (for the * must be shared so that specific Python message types (for the

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* This file implements an interface to Python that is compatible * This file implements an interface to Python that is compatible
* (as much as possible) with proto1 (the first implementation of * (as much as possible) with proto1 (the first implementation of

@ -1,8 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* * Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include <stdarg.h> #include <stdarg.h>

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* This file contains shared definitions that are widely used across upb. * This file contains shared definitions that are widely used across upb.
*/ */

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* Only a very small part of upb is thread-safe. Notably, individual * Only a very small part of upb is thread-safe. Notably, individual
* messages, arrays, and strings are *not* thread safe for mutating. * messages, arrays, and strings are *not* thread safe for mutating.

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2008-2011 Joshua Haberman. See LICENSE for details. * Copyright (c) 2008-2011 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include <inttypes.h> #include <inttypes.h>

@ -1,6 +1,9 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009-2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*
* upb_decoder implements a high performance, streaming decoder for protobuf * upb_decoder implements a high performance, streaming decoder for protobuf
* data that works by implementing upb_src and getting its data from a * data that works by implementing upb_src and getting its data from a
* upb_bytesrc. * upb_bytesrc.
@ -9,8 +12,6 @@
* if the bytesrc returns UPB_STATUS_TRYAGAIN it is not possible to resume the * if the bytesrc returns UPB_STATUS_TRYAGAIN it is not possible to resume the
* decoder when data becomes available again. Support for this could be added, * decoder when data becomes available again. Support for this could be added,
* but it would add complexity and perhaps cost efficiency also. * but it would add complexity and perhaps cost efficiency also.
*
* Copyright (c) 2009-2010 Joshua Haberman. See LICENSE for details.
*/ */
#ifndef UPB_DECODER_H_ #ifndef UPB_DECODER_H_

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2008-2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2008-2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include <stdlib.h> #include <stdlib.h>

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009-2011 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009-2011 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* Provides a mechanism for loading proto definitions from descriptors, and * Provides a mechanism for loading proto definitions from descriptors, and
* data structures to represent those definitions. These form the protobuf * data structures to represent those definitions. These form the protobuf

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include "upb_encoder.h" #include "upb_encoder.h"

@ -1,13 +1,15 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Implements a upb_sink that writes protobuf data to the binary wire format. * Copyright (c) 2009-2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*
* Implements a set of upb_handlers that write protobuf data to the binary wire
* format.
* *
* For messages that have any submessages, the encoder needs a buffer * For messages that have any submessages, the encoder needs a buffer
* containing the submessage sizes, so they can be properly written at the * containing the submessage sizes, so they can be properly written at the
* front of each message. Note that groups do *not* have this requirement. * front of each message. Note that groups do *not* have this requirement.
*
* Copyright (c) 2009-2010 Joshua Haberman. See LICENSE for details.
*/ */
#ifndef UPB_ENCODER_H_ #ifndef UPB_ENCODER_H_

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2010 Joshua Haberman. See LICENSE for details. * Copyright (c) 2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include "upb_glue.h" #include "upb_glue.h"

@ -1,6 +1,9 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2011 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*
* upb's core components like upb_decoder and upb_msg are carefully designed to * upb's core components like upb_decoder and upb_msg are carefully designed to
* avoid depending on each other for maximum orthogonality. In other words, * avoid depending on each other for maximum orthogonality. In other words,
* you can use a upb_decoder to decode into *any* kind of structure; upb_msg is * you can use a upb_decoder to decode into *any* kind of structure; upb_msg is
@ -18,8 +21,6 @@
* time these functions are called. For this reason, if you are parsing lots * time these functions are called. For this reason, if you are parsing lots
* of data and efficiency is an issue, these may not be the best functions to * of data and efficiency is an issue, these may not be the best functions to
* use (though they are useful for prototyping, before optimizing). * use (though they are useful for prototyping, before optimizing).
*
* Copyright (c) 2011 Joshua Haberman. See LICENSE for details.
*/ */
#ifndef UPB_GLUE_H #ifndef UPB_GLUE_H

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2010 Joshua Haberman. See LICENSE for details. * Copyright (c) 2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* Data structure for storing a message of protobuf data. * Data structure for storing a message of protobuf data.
*/ */

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2010-2011 Joshua Haberman. See LICENSE for details. * Copyright (c) 2010-2011 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* Data structure for storing a message of protobuf data. Unlike Google's * Data structure for storing a message of protobuf data. Unlike Google's
* protobuf, upb_msg and upb_array are reference counted instead of having * protobuf, upb_msg and upb_array are reference counted instead of having

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2010 Joshua Haberman. See LICENSE for details. * Copyright (c) 2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include "upb_stdio.h" #include "upb_stdio.h"

@ -1,10 +1,11 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*
* This file provides upb_bytesrc and upb_bytesink implementations for * This file provides upb_bytesrc and upb_bytesink implementations for
* ANSI C stdio. * ANSI C stdio.
*
* Copyright (c) 2010 Joshua Haberman. See LICENSE for details.
*/ */
#include <stdio.h> #include <stdio.h>

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2011 Joshua Haberman. See LICENSE for details. * Copyright (c) 2011 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include <stdlib.h> #include <stdlib.h>

@ -1,6 +1,9 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2010-2011 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*
* This file defines general-purpose streaming data interfaces: * This file defines general-purpose streaming data interfaces:
* *
* - upb_handlers: represents a set of callbacks, very much like in XML's SAX * - upb_handlers: represents a set of callbacks, very much like in XML's SAX
@ -20,9 +23,6 @@
* with input that came from protobuf binary format, protobuf text format, or * with input that came from protobuf binary format, protobuf text format, or
* even an in-memory upb_msg -- the pretty printer will not know the * even an in-memory upb_msg -- the pretty printer will not know the
* difference. * difference.
*
* Copyright (c) 2010-2011 Joshua Haberman. See LICENSE for details.
*
*/ */
#ifndef UPB_STREAM_H #ifndef UPB_STREAM_H

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2010 Joshua Haberman. See LICENSE for details. * Copyright (c) 2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include "upb_string.h" #include "upb_string.h"

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2010 Joshua Haberman. See LICENSE for details. * Copyright (c) 2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* This file defines a simple string type which is length-delimited instead * This file defines a simple string type which is length-delimited instead
* of NULL-terminated, and which has useful sharing semantics. * of NULL-terminated, and which has useful sharing semantics.

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2010 Joshua Haberman. See LICENSE for details. * Copyright (c) 2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include "upb_strstream.h" #include "upb_strstream.h"

@ -1,10 +1,11 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009-2010 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*
* This file contains upb_bytesrc and upb_bytesink implementations for * This file contains upb_bytesrc and upb_bytesink implementations for
* upb_string. * upb_string.
*
* Copyright (c) 2009-2010 Joshua Haberman. See LICENSE for details.
*/ */
#ifndef UPB_STRSTREAM_H #ifndef UPB_STRSTREAM_H

@ -1,9 +1,11 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*
* There are a few printf's strewn throughout this file, uncommenting them * There are a few printf's strewn throughout this file, uncommenting them
* can be useful for debugging. * can be useful for debugging.
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details.
*/ */
#include "upb_table.h" #include "upb_table.h"

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
* *
* This file defines very fast int->struct (inttable) and string->struct * This file defines very fast int->struct (inttable) and string->struct
* (strtable) hash tables. The struct can be of any size, and it is stored * (strtable) hash tables. The struct can be of any size, and it is stored

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#include "upb_textprinter.h" #include "upb_textprinter.h"

@ -1,7 +1,8 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * Copyright (c) 2009 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*/ */
#ifndef UPB_TEXT_H_ #ifndef UPB_TEXT_H_

@ -1,13 +1,14 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2011 Google Inc. See LICENSE for details.
* Author: Josh Haberman <jhaberman@gmail.com>
*
* A number of routines for varint decoding (we keep them all around to have * A number of routines for varint decoding (we keep them all around to have
* multiple approaches available for benchmarking). All of these functions * multiple approaches available for benchmarking). All of these functions
* require the buffer to have at least 10 bytes available; if we don't know * require the buffer to have at least 10 bytes available; if we don't know
* for sure that there are 10 bytes, then there is only one viable option * for sure that there are 10 bytes, then there is only one viable option
* (branching on every byte). * (branching on every byte).
*
* Copyright (c) 2011 Joshua Haberman. See LICENSE for details.
*/ */
#ifndef UPB_VARINT_DECODER_H_ #ifndef UPB_VARINT_DECODER_H_

@ -1,11 +1,12 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* upbc is the upb compiler. This is some deep code that I wish could be * Copyright (c) 2009 Google Inc. See LICENSE for details.
* easier to understand, but by its nature it is doing some very "meta" * Author: Josh Haberman <jhaberman@gmail.com>
* kinds of things.
* *
* Copyright (c) 2009 Joshua Haberman. See LICENSE for details. * upbc is the upb compiler, which at the moment simply takes a
* protocol descriptor and outputs a header file containing the
* names and types of the fields.
*/ */
#include <ctype.h> #include <ctype.h>

@ -1,7 +1,7 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2011 Joshua Haberman. See LICENSE for details. * Copyright (c) 2011 Google Inc. See LICENSE for details.
*/ */
#include "upb_varint_decoder.h" #include "upb_varint_decoder.h"

@ -1,10 +1,10 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2011 Google Inc. See LICENSE for details.
*
* A test that verifies that our results are identical to proto2 for a * A test that verifies that our results are identical to proto2 for a
* given proto type and input protobuf. * given proto type and input protobuf.
*
* Copyright (c) 2011 Joshua Haberman. See LICENSE for details.
*/ */
#include <assert.h> #include <assert.h>

@ -1,7 +1,7 @@
/* /*
* upb - a minimalist implementation of protocol buffers. * upb - a minimalist implementation of protocol buffers.
* *
* Copyright (c) 2011 Joshua Haberman. See LICENSE for details. * Copyright (c) 2011 Google Inc. See LICENSE for details.
*/ */
#ifndef UPB_TEST_H_ #ifndef UPB_TEST_H_

Loading…
Cancel
Save