- 07 1月, 2016 2 次提交
-
-
由 Wouter van Oortmerssen 提交于
-
由 Wouter van Oortmerssen 提交于
This just in branch "benchmarks" because of submodule dependencies and unpolished code. Read benchmarks/README.txt for details.
-
- 05 1月, 2016 2 次提交
-
-
https://github.com/google/flatbuffers由 Wouter van Oortmerssen 提交于
Fixed conflicts and added missing generated files. Change-Id: I4321c798543292d814c2c9e8b238c203b7526c7b
-
由 Wouter van Oortmerssen 提交于
Change-Id: I60c900a2f7cbd88fe264f7b0dc78ef86b1580655 Tested: in Chrome.
-
- 30 12月, 2015 3 次提交
-
-
由 Wouter van Oortmerssen 提交于
Change-Id: Ieb252ce01446551699d935507bc95ee286fe1ddd Tested: on Linux.
-
由 Wouter van Oortmerssen 提交于
Fix #2775: Add parser option to skip unknown JSON fields
-
由 Wouter van Oortmerssen 提交于
(PHP) fixes getting indirect table, also fixes getInt method on 32bit machine
-
- 24 12月, 2015 2 次提交
-
-
由 Shuhei Tanuma 提交于
-
由 Shuhei Tanuma 提交于
-
- 22 12月, 2015 7 次提交
-
-
由 Nalinichandra Penke 提交于
-
由 Nalinichandra Penke 提交于
-
由 ncpenke 提交于
Catchup
-
由 Wouter van Oortmerssen 提交于
Change-Id: I3c3e88a79667d1733b6c47e43b55d8b2604ca8e2 Tested: on Linux.
-
-
由 Wouter van Oortmerssen 提交于
This is implemented as a template function, since Table::CheckField is not reachable by subclasses of Table (private base class). Change-Id: I1ed4d47ce7cb672460ccab61cf7442eb9136b0f1 Tested: on Linux. Bug: 26273432
-
由 Wouter van Oortmerssen 提交于
This to allow the code to run on a greater range of build configurations (that don't allow exceptions/RTTI). If anyone ever doubts the usefulness of exception handling, please show them this commit. Change-Id: If7190babdde93c3f9cd97b8e1ab447bf0c81696d Tested: on Linux.
-
- 17 12月, 2015 2 次提交
-
-
由 Shuhei Tanuma 提交于
-
由 Wouter van Oortmerssen 提交于
Improving the README by linking to the SO tag, and changing SO wording.
-
- 16 12月, 2015 1 次提交
-
-
由 Aaron Critchley 提交于
-
- 15 12月, 2015 2 次提交
-
-
由 Wouter van Oortmerssen 提交于
Also included them in the C++ test. Change-Id: Ib0c8470f0aacdf16616c27494abdda57a010195d Tested: on Linux.
-
由 Wouter van Oortmerssen 提交于
C# - Performance optimizations
-
- 13 12月, 2015 1 次提交
-
-
由 Oli Wilkinson 提交于
-
- 12 12月, 2015 1 次提交
-
-
由 Oli Wilkinson 提交于
Performance tweak to FlatBufferBuilder.CreateString method to remove the unnecessary byte buffer allocation (See https://github.com/google/flatbuffers/issues/55#issuecomment-164031718 for stats)
-
- 10 12月, 2015 3 次提交
-
-
由 Wouter van Oortmerssen 提交于
Change-Id: I272f377742cc0a2c1bfccaa641b54eb9a8c762b6 Tested: on Linux.
-
-
由 Wouter van Oortmerssen 提交于
Change-Id: I7727aeb478feb23d8ef66fd1ba9499b142b3ea7d Tested: on Linux.
-
- 08 12月, 2015 8 次提交
-
-
由 Wouter van Oortmerssen 提交于
Add Get Bytes Method Generator for C#
-
由 Wouter van Oortmerssen 提交于
Extend C# ByteBuffer Put method fix to unsafe methods
-
由 Wouter van Oortmerssen 提交于
Update C# FlatBufferBuilder to reuse vtable array
-
由 belldon 提交于
This commit updates the FlatBufferBuilder class to reuse the vtable array instead of creating a new array with every StartObject() call.
-
由 Wouter van Oortmerssen 提交于
Fix to #360 - Fully qualified names outside of current NS
-
由 Wouter van Oortmerssen 提交于
Correct the max/min signed/unsigned 32-bit int
-
由 Wouter van Oortmerssen 提交于
Change-Id: I36c1f05efa836b32635e3274ac0ba976a8961bdd Tested: on Linux.
-
- 06 12月, 2015 3 次提交
-
-
由 Armen Baghumian 提交于
It's slightly faster to convert the value to signed value in PHP as opposed to use pack and unpack. For 1M get operation the difference is: getShort in 3.3272678852081 seconds getInt in 3.8338589668274 seconds getLong in 5.6381590366364 seconds getLong (neg) in 5.6149101257324 seconds vs getShort in 2.7564418315887 seconds getInt in 3.1612701416016 seconds getLong in 3.1369340419769 seconds getLong (neg) in 3.1478710174561 seconds And since pack("P") and unpack("q") has been removed now ByteBuffer works for PHP >= 5.4
-
由 Armen Baghumian 提交于
The test was trying to pack an unsigned int which couldn't fit as a signed int and putInt() wasn't doing the validation in the correct range
-
由 Oli Wilkinson 提交于
Fix to #360 - Updated the general generator (Java/C#) to emit fully qualified names where the referenced object isn't directly in this namespace. Added test fbs files to verify compilation.
-
- 05 12月, 2015 3 次提交
-
-
由 Michael Collins 提交于
I updated idl_gen_general.cpp to add support for generating a Get Bytes method for a vector to the generated C# source code. Given a byte vector field named Foo, a method named GetFooBytes() will be generated in the C# source code that will return an ArraySegment<byte> value referencing the vector data in the underlying ByteBuffer. I added a method to Table.cs named __vector_as_arraysegment that is used by the code generated by the change to the C# generator. __vector_as_arraysegment will take the offset of the vector and will return the ArraySegment<byte> value corresponding to the bytes that store the vector data. I updated FlatBuffersExampleTests.cs to add tests to validate my implementation of Table.__vector_as_arraysegment. I added tests to demonstrate that the bytes for the monster's name can be extracted from the underlying byte array. I also added tests to show that Table.__vector_as_arraysegment returns a null value if the vector is not present in the FlatBuffer. I used the updated flatc.exe program to regenerate the C# source files for the MyGame example. The new Monster class includes the GetXXXBytes methods to return the byte arrays containing data for vectors.
-
由 Jason Sanmiya 提交于
Mac build issued a warning for enum{}. Change-Id: I9cab958538ac3cec61aeae289d1da0118ecac15f Tested: Mac build no longer issues warnings.
-
由 Wouter van Oortmerssen 提交于
Also refactored the way options are stored. Change-Id: I709ac908cd2aba396c9c282725cf1d42ccce0882 Tested: on Linux.
-