text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: js/binary/arith_test.js
// 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 follow... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/arith_test.js", "license": "bsd", "size": 13009} |
### File: js/binary/constants.js
// 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 followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/constants.js", "license": "bsd", "size": 9410} |
### File: js/binary/decoder.js
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/decoder.js", "license": "bsd", "size": 29358} |
### File: js/binary/decoder_test.js
// 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 foll... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/decoder_test.js", "license": "bsd", "size": 17214} |
### File: js/binary/encoder.js
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/encoder.js", "license": "bsd", "size": 17550} |
### File: js/binary/message_test.js
// 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 foll... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/message_test.js", "license": "bsd", "size": 2808} |
### File: js/binary/proto_test.js
// 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 follow... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/proto_test.js", "license": "bsd", "size": 27483} |
### File: js/binary/reader.js
// 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 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/reader.js", "license": "bsd", "size": 39516} |
### File: js/binary/reader_test.js
// 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 follo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/reader_test.js", "license": "bsd", "size": 31761} |
### File: js/binary/utils.js
// 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 c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/utils.js", "license": "bsd", "size": 32437} |
### File: js/binary/utils_test.js
// 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 follow... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/utils_test.js", "license": "bsd", "size": 24335} |
### File: js/binary/writer.js
// 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 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/writer.js", "license": "bsd", "size": 60410} |
### File: js/binary/writer_test.js
// 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 follo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/binary/writer_test.js", "license": "bsd", "size": 13314} |
### File: js/commonjs/export_asserts.js
/**
* @fileoverview Exports symbols needed only by tests.
*
* This file exports several Closure Library symbols that are only
* used by tests. It is used to generate a file
* closure_asserts_commonjs.js that is only used at testing time.
*/
goog.provide('jspb.ExportAssert... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/commonjs/export_asserts.js", "license": "bsd", "size": 1194} |
### File: js/commonjs/export_testdeps.js
/**
* @fileoverview Export symbols needed by tests in CommonJS style.
*
* This file is like export.js, but for symbols that are only used by tests.
* However we exclude assert functions here, because they are exported into
* the global namespace, so those are handled as a s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/commonjs/export_testdeps.js", "license": "bsd", "size": 688} |
### File: js/commonjs/import_test.js
// Protocol Buffers - Google's data interchange format
// Copyright 2016 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 fol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/commonjs/import_test.js", "license": "bsd", "size": 2488} |
### File: js/commonjs/strict_test.js
// Protocol Buffers - Google's data interchange format
// Copyright 2016 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 fol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/commonjs/strict_test.js", "license": "bsd", "size": 2863} |
### File: js/compatibility_tests/v3.0.0/binary/arith_test.js
// 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 permitt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/binary/arith_test.js", "license": "bsd", "size": 12939} |
### File: js/compatibility_tests/v3.0.0/binary/decoder_test.js
// 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 permi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/binary/decoder_test.js", "license": "bsd", "size": 10835} |
### File: js/compatibility_tests/v3.0.0/binary/proto_test.js
// 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 permitt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/binary/proto_test.js", "license": "bsd", "size": 26261} |
### File: js/compatibility_tests/v3.0.0/binary/reader_test.js
// 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 permit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/binary/reader_test.js", "license": "bsd", "size": 29497} |
### File: js/compatibility_tests/v3.0.0/binary/utils_test.js
// 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 permitt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/binary/utils_test.js", "license": "bsd", "size": 21356} |
### File: js/compatibility_tests/v3.0.0/binary/writer_test.js
// 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 permit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/binary/writer_test.js", "license": "bsd", "size": 4747} |
### File: js/compatibility_tests/v3.0.0/commonjs/export_asserts.js
/**
* @fileoverview Exports symbols needed only by tests.
*
* This file exports several Closure Library symbols that are only
* used by tests. It is used to generate a file
* closure_asserts_commonjs.js that is only used at testing time.
*/
goog... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/commonjs/export_asserts.js", "license": "bsd", "size": 1157} |
### File: js/compatibility_tests/v3.0.0/commonjs/export_testdeps.js
/**
* @fileoverview Export symbols needed by tests in CommonJS style.
*
* This file is like export.js, but for symbols that are only used by tests.
* However we exclude assert functions here, because they are exported into
* the global namespace, ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/commonjs/export_testdeps.js", "license": "bsd", "size": 568} |
### File: js/compatibility_tests/v3.0.0/commonjs/import_test.js
// Protocol Buffers - Google's data interchange format
// Copyright 2016 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are perm... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/commonjs/import_test.js", "license": "bsd", "size": 2488} |
### File: js/compatibility_tests/v3.0.0/debug_test.js
// 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 prov... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/debug_test.js", "license": "bsd", "size": 3532} |
### File: js/compatibility_tests/v3.0.0/message_test.js
// 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 pr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/message_test.js", "license": "bsd", "size": 43445} |
### File: js/compatibility_tests/v3.0.0/proto3_test.js
// 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 pro... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.0.0/proto3_test.js", "license": "bsd", "size": 13695} |
### File: js/compatibility_tests/v3.1.0/binary/arith_test.js
// 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 permitt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/binary/arith_test.js", "license": "bsd", "size": 12939} |
### File: js/compatibility_tests/v3.1.0/binary/decoder_test.js
// 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 permi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/binary/decoder_test.js", "license": "bsd", "size": 11063} |
### File: js/compatibility_tests/v3.1.0/binary/proto_test.js
// 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 permitt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/binary/proto_test.js", "license": "bsd", "size": 26259} |
### File: js/compatibility_tests/v3.1.0/binary/reader_test.js
// 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 permit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/binary/reader_test.js", "license": "bsd", "size": 29696} |
### File: js/compatibility_tests/v3.1.0/binary/utils_test.js
// 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 permitt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/binary/utils_test.js", "license": "bsd", "size": 21356} |
### File: js/compatibility_tests/v3.1.0/binary/writer_test.js
// 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 permit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/binary/writer_test.js", "license": "bsd", "size": 5040} |
### File: js/compatibility_tests/v3.1.0/debug_test.js
// 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 prov... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/debug_test.js", "license": "bsd", "size": 3525} |
### File: js/compatibility_tests/v3.1.0/maps_test.js
// 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 provi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/maps_test.js", "license": "bsd", "size": 10333} |
### File: js/compatibility_tests/v3.1.0/message_test.js
// 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 pr... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/message_test.js", "license": "bsd", "size": 42037} |
### File: js/compatibility_tests/v3.1.0/proto3_test.js
// 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 pro... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/compatibility_tests/v3.1.0/proto3_test.js", "license": "bsd", "size": 13693} |
### File: js/debug.js
// 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 conditio... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/debug.js", "license": "bsd", "size": 5525} |
### File: js/debug_test.js
// 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 con... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/debug_test.js", "license": "bsd", "size": 6068} |
### File: js/experimental/benchmarks/code_size/apps_jspb/all_types_proto2.js
/**
* @fileoverview The code size benchmark of apps JSPB for proto2 all types
*/
goog.module('protobuf.benchmark.code_size.apps_jspb.AllTypesProto2');
// const ForeignEnum = goog.require('proto.proto2_unittest.ForeignEnum');
const ForeignMe... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/benchmarks/code_size/apps_jspb/all_types_proto2.js", "license": "bsd", "size": 13504} |
### File: js/experimental/benchmarks/code_size/apps_jspb/all_types_proto3.js
/**
* @fileoverview The code size benchmark of apps JSPB for proto3 all types
*/
goog.module('protobuf.benchmark.code_size.apps_jspb.AllTypesProto3');
// const ForeignEnum = goog.require('proto.proto3_unittest.ForeignEnum');
const ForeignMe... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/benchmarks/code_size/apps_jspb/all_types_proto3.js", "license": "bsd", "size": 13504} |
### File: js/experimental/benchmarks/code_size/apps_jspb/popular_types_proto2.js
/**
* @fileoverview The code size benchmark of apps JSPB for proto2 popular types.
*/
goog.module('protobuf.benchmark.code_size.apps_jspb.PopularTypesProto2');
// const ForeignEnum = goog.require('proto.proto2_unittest.ForeignEnum');
co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/benchmarks/code_size/apps_jspb/popular_types_proto2.js", "license": "bsd", "size": 2007} |
### File: js/experimental/benchmarks/code_size/apps_jspb/popular_types_proto3.js
/**
* @fileoverview The code size benchmark of apps JSPB for proto3 popular types.
*/
goog.module('protobuf.benchmark.code_size.apps_jspb.PopularTypesProto3');
// const ForeignEnum = goog.require('proto.proto3_unittest.ForeignEnum');
co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/benchmarks/code_size/apps_jspb/popular_types_proto3.js", "license": "bsd", "size": 2007} |
### File: js/experimental/benchmarks/code_size/code_size_base.js
/**
* @fileoverview Ensures types are live that would be live in a typical g3
* JS program.
*
* Making certain constructs live ensures that we compare against the same
* baseline for all code size benchmarks. This increases the size
* of our benchma... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/benchmarks/code_size/code_size_base.js", "license": "bsd", "size": 1249} |
### File: js/experimental/benchmarks/code_size/kernel/all_types.js
/**
* @fileoverview The code size benchmark of binary kernel for accessing all
* types setter and getter.
*/
goog.module('protobuf.benchmark.KernelCodeSizeBenchmarkAllTypes');
const ByteString = goog.require('protobuf.ByteString');
const Int64 = goo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/benchmarks/code_size/kernel/all_types.js", "license": "bsd", "size": 10216} |
### File: js/experimental/benchmarks/code_size/kernel/popular_types.js
/**
* @fileoverview The code size benchmark of binary kernel for accessing all
* popular types setter and getter.
*
* The types are those whose usage are more than 1%:
*
* ('STRING__LABEL_OPTIONAL', '29.7214%')
* ('INT32__LABEL_OPTIONAL', '17... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/benchmarks/code_size/kernel/popular_types.js", "license": "bsd", "size": 2333} |
### File: js/experimental/runtime/bytestring.js
/**
* @fileoverview Provides ByteString as a basic data type for protos.
*/
goog.module('protobuf.ByteString');
const base64 = goog.require('goog.crypt.base64');
const {arrayBufferSlice, cloneArrayBufferView, hashUint8Array, uint8ArrayEqual} = goog.require('protobuf.bi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/bytestring.js", "license": "bsd", "size": 4725} |
### File: js/experimental/runtime/bytestring_internal.js
/**
* @fileoverview Exposes internal only functions for ByteString. The
* corresponding BUILD rule restricts access to this file to only the binary
* kernel and APIs directly using the binary kernel.
*/
goog.module('protobuf.byteStringInternal');
const ByteS... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/bytestring_internal.js", "license": "bsd", "size": 997} |
### File: js/experimental/runtime/bytestring_test.js
goog.module('proto.im.integration.ByteStringFieldsTest');
goog.setTestOnly();
const ByteString = goog.require('protobuf.ByteString');
const {arrayBufferSlice} = goog.require('protobuf.binary.typedArrays');
const /** !ArrayBuffer */ TEST_BYTES = new Uint8Array([1, 2... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/bytestring_test.js", "license": "bsd", "size": 10073} |
### File: js/experimental/runtime/int64.js
/**
* @fileoverview Protobufs Int64 representation.
*/
goog.module('protobuf.Int64');
const Long = goog.require('goog.math.Long');
const {assert} = goog.require('goog.asserts');
/**
* A container for protobufs Int64/Uint64 data type.
* @final
*/
class Int64 {
/** @ret... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/int64.js", "license": "bsd", "size": 12187} |
### File: js/experimental/runtime/int64_test.js
/**
* @fileoverview Tests for Int64.
*/
goog.module('protobuf.Int64Test');
goog.setTestOnly();
const Int64 = goog.require('protobuf.Int64');
const Long = goog.require('goog.math.Long');
describe('Int64', () => {
it('can be constructed from bits', () => {
const i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/int64_test.js", "license": "bsd", "size": 6928} |
### File: js/experimental/runtime/internal/checks.js
/**
* @fileoverview Proto internal runtime checks.
*
* Checks are grouped into different severity, see:
* http://g3doc/third_party/protobuf/javascript/README.md#configurable-check-support-in-protocol-buffers
*
* Checks are also grouped into different sections:
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/internal/checks.js", "license": "bsd", "size": 18102} |
### File: js/experimental/runtime/internal/checks_test.js
/**
* @fileoverview Tests for checks.js.
*/
goog.module('protobuf.internal.checksTest');
const {CHECK_TYPE, checkDefAndNotNull, checkFunctionExists} = goog.require('protobuf.internal.checks');
describe('checkDefAndNotNull', () => {
it('throws if undefined'... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/internal/checks_test.js", "license": "bsd", "size": 1502} |
### File: js/experimental/runtime/kernel/binary_storage.js
goog.module('protobuf.runtime.BinaryStorage');
const Storage = goog.require('protobuf.runtime.Storage');
const {checkDefAndNotNull} = goog.require('protobuf.internal.checks');
/**
* Class storing all the fields of a binary protobuf message.
*
* @package
*... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/binary_storage.js", "license": "bsd", "size": 3132} |
### File: js/experimental/runtime/kernel/binary_storage_test.js
/**
* @fileoverview Tests for storage.js.
*/
goog.module('protobuf.runtime.BinaryStorageTest');
goog.setTestOnly();
const BinaryStorage = goog.require('protobuf.runtime.BinaryStorage');
const {Field} = goog.require('protobuf.binary.field');
/**
* @ty... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/binary_storage_test.js", "license": "bsd", "size": 5103} |
### File: js/experimental/runtime/kernel/bool_test_pairs.js
/**
* @fileoverview Test data for bool encoding and decoding.
*/
goog.module('protobuf.binary.boolTestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelp... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/bool_test_pairs.js", "license": "bsd", "size": 2237} |
### File: js/experimental/runtime/kernel/buffer_decoder.js
/**
* @fileoverview A buffer implementation that can decode data for protobufs.
*/
goog.module('protobuf.binary.BufferDecoder');
const ByteString = goog.require('protobuf.ByteString');
const functions = goog.require('goog.functions');
const {POLYFILL_TEXT_E... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/buffer_decoder.js", "license": "bsd", "size": 9076} |
### File: js/experimental/runtime/kernel/buffer_decoder_helper.js
/**
* @fileoverview Helper methods to create BufferDecoders.
*/
goog.module('protobuf.binary.bufferDecoderHelper');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
/**
* @param {...number} bytes
* @return {!BufferDecoder}
*/
f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/buffer_decoder_helper.js", "license": "bsd", "size": 405} |
### File: js/experimental/runtime/kernel/buffer_decoder_test.js
/**
* @fileoverview Tests for BufferDecoder.
*/
goog.module('protobuf.binary.varintsTest');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {CHECK_CRITICAL_STATE, CHECK_STATE} = goog.require('protobuf.internal.checks');
goog... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/buffer_decoder_test.js", "license": "bsd", "size": 8304} |
### File: js/experimental/runtime/kernel/conformance/conformance_request.js
/**
* @fileoverview Handwritten code of ConformanceRequest.
*/
goog.module('proto.conformance.ConformanceRequest');
const Kernel = goog.require('protobuf.runtime.Kernel');
const WireFormat = goog.require('proto.conformance.WireFormat');
/**... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/conformance/conformance_request.js", "license": "bsd", "size": 2438} |
### File: js/experimental/runtime/kernel/conformance/conformance_response.js
/**
* @fileoverview Handwritten code of ConformanceResponse.
*/
goog.module('proto.conformance.ConformanceResponse');
const ByteString = goog.require('protobuf.ByteString');
const Kernel = goog.require('protobuf.runtime.Kernel');
/**
* Ha... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/conformance/conformance_response.js", "license": "bsd", "size": 1663} |
### File: js/experimental/runtime/kernel/conformance/conformance_testee.js
goog.module('javascript.protobuf.conformance');
const ConformanceRequest = goog.require('proto.conformance.ConformanceRequest');
const ConformanceResponse = goog.require('proto.conformance.ConformanceResponse');
const TestAllTypesProto2 = goog.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/conformance/conformance_testee.js", "license": "bsd", "size": 3602} |
### File: js/experimental/runtime/kernel/conformance/conformance_testee_runner_node.js
const ConformanceRequest = goog.require('proto.conformance.ConformanceRequest');
const {doTest} = goog.require('javascript.protobuf.conformance');
const fs = require('fs');
/**
* Reads a buffer of N bytes.
* @param {number} bytes... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/conformance/conformance_testee_runner_node.js", "license": "bsd", "size": 175... |
### File: js/experimental/runtime/kernel/conformance/test_all_types_proto2.js
/**
* @fileoverview Handwritten code of TestAllTypesProto2.
*/
goog.module('proto.conformance.TestAllTypesProto2');
const InternalMessage = goog.require('protobuf.binary.InternalMessage');
const Kernel = goog.require('protobuf.runtime.Kern... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/conformance/test_all_types_proto2.js", "license": "bsd", "size": 10395} |
### File: js/experimental/runtime/kernel/conformance/test_all_types_proto3.js
/**
* @fileoverview Handwritten code of TestAllTypesProto3.
*/
goog.module('proto.conformance.TestAllTypesProto3');
const InternalMessage = goog.require('protobuf.binary.InternalMessage');
const Kernel = goog.require('protobuf.runtime.Kern... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/conformance/test_all_types_proto3.js", "license": "bsd", "size": 10405} |
### File: js/experimental/runtime/kernel/conformance/wire_format.js
/**
* @fileoverview Handwritten code of WireFormat.
*/
goog.module('proto.conformance.WireFormat');
/**
* @enum {number}
*/
const WireFormat = {
UNSPECIFIED: 0,
PROTOBUF: 1,
JSON: 2,
TEXT_FORMAT: 4,
};
exports = WireFormat;
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/conformance/wire_format.js", "license": "bsd", "size": 238} |
### File: js/experimental/runtime/kernel/double_test_pairs.js
/**
* @fileoverview Test data for double encoding and decoding.
*/
goog.module('protobuf.binary.doubleTestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecod... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/double_test_pairs.js", "license": "bsd", "size": 2496} |
### File: js/experimental/runtime/kernel/field.js
/**
* @fileoverview Contains classes that hold data for a protobuf field.
*/
goog.module('protobuf.binary.field');
const WireType = goog.requireType('protobuf.binary.WireType');
const Writer = goog.requireType('protobuf.binary.Writer');
const {checkDefAndNotNull, ch... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/field.js", "license": "bsd", "size": 5520} |
### File: js/experimental/runtime/kernel/fixed32_test_pairs.js
/**
* @fileoverview Test data for float encoding and decoding.
*/
goog.module('protobuf.binary.fixed32TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDeco... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/fixed32_test_pairs.js", "license": "bsd", "size": 1018} |
### File: js/experimental/runtime/kernel/float_test_pairs.js
/**
* @fileoverview Test data for float encoding and decoding.
*/
goog.module('protobuf.binary.floatTestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderH... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/float_test_pairs.js", "license": "bsd", "size": 2063} |
### File: js/experimental/runtime/kernel/indexer.js
/**
* @fileoverview Utilities to index a binary proto by fieldnumbers without
* relying on strutural proto information.
*/
goog.module('protobuf.binary.indexer');
const BinaryStorage = goog.require('protobuf.runtime.BinaryStorage');
const BufferDecoder = goog.requ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/indexer.js", "license": "bsd", "size": 1878} |
### File: js/experimental/runtime/kernel/indexer_test.js
/**
* @fileoverview Tests for indexer.js.
*/
goog.module('protobuf.binary.IndexerTest');
goog.setTestOnly();
// Note to the reader:
// Since the index behavior changes with the checking level some of the tests
// in this file have to know which checking level... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/indexer_test.js", "license": "bsd", "size": 12908} |
### File: js/experimental/runtime/kernel/int32_test_pairs.js
/**
* @fileoverview Test data for int32 encoding and decoding.
*/
goog.module('protobuf.binary.int32TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderH... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/int32_test_pairs.js", "license": "bsd", "size": 2111} |
### File: js/experimental/runtime/kernel/int64_test_pairs.js
/**
* @fileoverview Test data for int64 encoding and decoding.
*/
goog.module('protobuf.binary.int64TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const Int64 = goog.require('protobuf.Int64');
const {createBufferDecoder} ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/int64_test_pairs.js", "license": "bsd", "size": 1835} |
### File: js/experimental/runtime/kernel/internal_message.js
/**
* @fileoverview Internal interface for messages implemented with the binary
* kernel.
*/
goog.module('protobuf.binary.InternalMessage');
const Kernel = goog.requireType('protobuf.runtime.Kernel');
/**
* Interface that needs to be implemented by mess... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/internal_message.js", "license": "bsd", "size": 546} |
### File: js/experimental/runtime/kernel/kernel.js
/**
* @fileoverview Kernel is a class to provide type-checked accessing
* (read/write bool/int32/string/...) on binary data.
*
* When creating the Kernel with the binary data, there is no deep
* decoding done (which requires full type information). The deep decodi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/kernel.js", "license": "bsd", "size": 140571} |
### File: js/experimental/runtime/kernel/kernel_compatibility_test.js
/**
* @fileoverview Tests to make sure Kernel can read data in a backward
* compatible way even when protobuf schema changes according to the rules
* defined in
* https://developers.google.com/protocol-buffers/docs/proto#updating and
* https://d... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/kernel_compatibility_test.js", "license": "bsd", "size": 10780} |
### File: js/experimental/runtime/kernel/kernel_repeated_test.js
/**
* @fileoverview Tests for repeated methods in kernel.js.
*/
goog.module('protobuf.runtime.KernelTest');
goog.setTestOnly();
const ByteString = goog.require('protobuf.ByteString');
const Int64 = goog.require('protobuf.Int64');
const InternalMessage... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/kernel_repeated_test.js", "license": "bsd", "size": 290010} |
### File: js/experimental/runtime/kernel/kernel_test.js
/**
* @fileoverview Tests for kernel.js.
*/
goog.module('protobuf.runtime.KernelTest');
goog.setTestOnly();
const ByteString = goog.require('protobuf.ByteString');
const Int64 = goog.require('protobuf.Int64');
const InternalMessage = goog.require('protobuf.bin... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/kernel_test.js", "license": "bsd", "size": 88595} |
### File: js/experimental/runtime/kernel/message_set.js
/*
##########################################################
# #
# __ __ _____ _ _ _____ _ _ _____ #
# \ \ / /\ | __ \| \ | |_ _| \ | |/ ____| #
# \ \ /\ / / \ | |_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/message_set.js", "license": "bsd", "size": 6680} |
### File: js/experimental/runtime/kernel/message_set_test.js
/**
* @fileoverview Tests for message_set.js.
*/
goog.module('protobuf.runtime.MessageSetTest');
goog.setTestOnly();
const Kernel = goog.require('protobuf.runtime.Kernel');
const MessageSet = goog.require('protobuf.runtime.MessageSet');
const TestMessage ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/message_set_test.js", "license": "bsd", "size": 8658} |
### File: js/experimental/runtime/kernel/packed_bool_test_pairs.js
goog.module('protobuf.binary.packedBoolTestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
/**
* An array of Pairs of packed bool values ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_bool_test_pairs.js", "license": "bsd", "size": 1553} |
### File: js/experimental/runtime/kernel/packed_double_test_pairs.js
goog.module('protobuf.binary.packedDoubleTestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
/**
* An array of Pairs of packed double v... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_double_test_pairs.js", "license": "bsd", "size": 1330} |
### File: js/experimental/runtime/kernel/packed_fixed32_test_pairs.js
goog.module('protobuf.binary.packedFixed32TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
/**
* An array of Pairs of packed fixed3... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_fixed32_test_pairs.js", "license": "bsd", "size": 1060} |
### File: js/experimental/runtime/kernel/packed_float_test_pairs.js
goog.module('protobuf.binary.packedFloatTestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
/**
* An array of Pairs of packed float valu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_float_test_pairs.js", "license": "bsd", "size": 1044} |
### File: js/experimental/runtime/kernel/packed_int32_test_pairs.js
goog.module('protobuf.binary.packedInt32TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
/**
* An array of Pairs of packed int32 valu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_int32_test_pairs.js", "license": "bsd", "size": 979} |
### File: js/experimental/runtime/kernel/packed_int64_test_pairs.js
goog.module('protobuf.binary.packedInt64TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const Int64 = goog.require('protobuf.Int64');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_int64_test_pairs.js", "license": "bsd", "size": 1070} |
### File: js/experimental/runtime/kernel/packed_sfixed32_test_pairs.js
goog.module('protobuf.binary.packedSfixed32TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
/**
* An array of Pairs of packed sfix... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_sfixed32_test_pairs.js", "license": "bsd", "size": 1068} |
### File: js/experimental/runtime/kernel/packed_sfixed64_test_pairs.js
goog.module('protobuf.binary.packedSfixed64TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const Int64 = goog.require('protobuf.Int64');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelp... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_sfixed64_test_pairs.js", "license": "bsd", "size": 1437} |
### File: js/experimental/runtime/kernel/packed_sint32_test_pairs.js
goog.module('protobuf.binary.packedSint32TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
/**
* An array of Pairs of packed sint32 v... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_sint32_test_pairs.js", "license": "bsd", "size": 989} |
### File: js/experimental/runtime/kernel/packed_sint64_test_pairs.js
goog.module('protobuf.binary.packedSint64TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const Int64 = goog.require('protobuf.Int64');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper')... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_sint64_test_pairs.js", "license": "bsd", "size": 1080} |
### File: js/experimental/runtime/kernel/packed_uint32_test_pairs.js
goog.module('protobuf.binary.packedUint32TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecoderHelper');
/**
* An array of Pairs of packed uint32 v... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/packed_uint32_test_pairs.js", "license": "bsd", "size": 987} |
### File: js/experimental/runtime/kernel/reader.js
/**
* @fileoverview Helper methods for reading data from the binary wire format.
*/
goog.module('protobuf.binary.reader');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const ByteString = goog.require('protobuf.ByteString');
const Int64 = goog... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/reader.js", "license": "bsd", "size": 10897} |
### File: js/experimental/runtime/kernel/reader_test.js
/**
* @fileoverview Tests for reader.js.
*/
goog.module('protobuf.binary.ReaderTest');
goog.setTestOnly();
// Note to the reader:
// Since the reader behavior changes with the checking level some of the
// tests in this file have to know which checking level i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/reader_test.js", "license": "bsd", "size": 13862} |
### File: js/experimental/runtime/kernel/sfixed32_test_pairs.js
/**
* @fileoverview Test data for sfixed32 encoding and decoding.
*/
goog.module('protobuf.binary.sfixed32TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.buffe... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/sfixed32_test_pairs.js", "license": "bsd", "size": 1288} |
### File: js/experimental/runtime/kernel/sfixed64_test_pairs.js
/**
* @fileoverview Test data for sfixed32 encoding and decoding.
*/
goog.module('protobuf.binary.sfixed64TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const Int64 = goog.require('protobuf.Int64');
const {createBuffer... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/sfixed64_test_pairs.js", "license": "bsd", "size": 1558} |
### File: js/experimental/runtime/kernel/sint32_test_pairs.js
/**
* @fileoverview Test data for int32 encoding and decoding.
*/
goog.module('protobuf.binary.sint32TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const {createBufferDecoder} = goog.require('protobuf.binary.bufferDecode... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/sint32_test_pairs.js", "license": "bsd", "size": 1473} |
### File: js/experimental/runtime/kernel/sint64_test_pairs.js
/**
* @fileoverview Test data for sint64 encoding and decoding.
*/
goog.module('protobuf.binary.sint64TestPairs');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const Int64 = goog.require('protobuf.Int64');
const {createBufferDecode... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/protobuf", "path": "js/experimental/runtime/kernel/sint64_test_pairs.js", "license": "bsd", "size": 1690} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.