text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: js/experimental/runtime/kernel/storage.js
goog.module('protobuf.runtime.Storage');
/**
* Interface for getting and storing fields of a protobuf message.
*
* @interface
* @package
* @template FieldType
*/
class Storage {
/**
* Returns the pivot value.
*
* @return {number}
*/
getPivot() {... | {"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/storage.js", "license": "bsd", "size": 1410} |
### File: js/experimental/runtime/kernel/tag.js
goog.module('protobuf.binary.tag');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const WireType = goog.require('protobuf.binary.WireType');
const {checkCriticalElementIndex, checkCriticalState} = goog.require('protobuf.internal.checks');
/**
* R... | {"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/tag.js", "license": "bsd", "size": 4036} |
### File: js/experimental/runtime/kernel/tag_test.js
/**
* @fileoverview Tests for tag.js.
*/
goog.module('protobuf.binary.TagTests');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const WireType = goog.require('protobuf.binary.WireType');
const {CHECK_CRITICAL_STATE} = goog.require('protobuf.... | {"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/tag_test.js", "license": "bsd", "size": 8034} |
### File: js/experimental/runtime/kernel/textencoding.js
/**
* @fileoverview A UTF8 decoder.
*/
goog.module('protobuf.binary.textencoding');
const {checkElementIndex} = goog.require('protobuf.internal.checks');
/**
* Combines an array of codePoints into a string.
* @param {!Array<number>} codePoints
* @return {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/experimental/runtime/kernel/textencoding.js", "license": "bsd", "size": 3809} |
### File: js/experimental/runtime/kernel/textencoding_test.js
/**
* @fileoverview Tests for textdecoder.js.
*/
goog.module('protobuf.binary.TextDecoderTest');
goog.setTestOnly();
const {decode, encode} = goog.require('protobuf.binary.textencoding');
describe('Decode does', () => {
it('return empty string for emp... | {"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/textencoding_test.js", "license": "bsd", "size": 2868} |
### File: js/experimental/runtime/kernel/typed_arrays.js
/**
* @fileoverview Helper methods for typed arrays.
*/
goog.module('protobuf.binary.typedArrays');
const {assert} = goog.require('goog.asserts');
/**
* @param {!ArrayBuffer} buffer1
* @param {!ArrayBuffer} buffer2
* @return {boolean}
*/
function arrayBuf... | {"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/typed_arrays.js", "license": "bsd", "size": 3245} |
### File: js/experimental/runtime/kernel/typed_arrays_test.js
/**
* @fileoverview Tests for typed_arrays.js.
*/
goog.module('protobuf.binary.typedArraysTest');
const {arrayBufferEqual, arrayBufferSlice, cloneArrayBufferView, hashUint8Array, uint8ArrayEqual} = goog.require('protobuf.binary.typedArrays');
describe('a... | {"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/typed_arrays_test.js", "license": "bsd", "size": 6383} |
### File: js/experimental/runtime/kernel/uint32_test_pairs.js
/**
* @fileoverview Test data for int32 encoding and decoding.
*/
goog.module('protobuf.binary.uint32TestPairs');
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/uint32_test_pairs.js", "license": "bsd", "size": 2066} |
### File: js/experimental/runtime/kernel/uint8arrays.js
/**
* @fileoverview Helper methods for Uint8Arrays.
*/
goog.module('protobuf.binary.uint8arrays');
/**
* Combines multiple bytes arrays (either Uint8Array or number array whose
* values are bytes) into a single Uint8Array.
* @param {!Array<!Uint8Array>|!Arra... | {"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/uint8arrays.js", "license": "bsd", "size": 671} |
### File: js/experimental/runtime/kernel/uint8arrays_test.js
/**
* @fileoverview Tests for uint8arrays.js.
*/
goog.module('protobuf.binary.Uint8ArraysTest');
goog.setTestOnly();
const {concatenateByteArrays} = goog.require('protobuf.binary.uint8arrays');
describe('concatenateByteArrays does', () => {
it('concate... | {"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/uint8arrays_test.js", "license": "bsd", "size": 1440} |
### File: js/experimental/runtime/kernel/wire_type.js
goog.module('protobuf.binary.WireType');
/**
* Wire-format type codes, taken from proto2/public/wire_format_lite.h.
* @enum {number}
*/
const WireType = {
VARINT: 0,
FIXED64: 1,
DELIMITED: 2,
START_GROUP: 3,
END_GROUP: 4,
FIXED32: 5,
INVALID: 6
};
... | {"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/wire_type.js", "license": "bsd", "size": 287} |
### File: js/experimental/runtime/kernel/writer.js
/**
* @fileoverview Implements Writer for writing data as the binary wire format
* bytes array.
*/
goog.module('protobuf.binary.Writer');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const ByteString = goog.require('protobuf.ByteString');
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/runtime/kernel/writer.js", "license": "bsd", "size": 21130} |
### File: js/experimental/runtime/kernel/writer_test.js
/**
* @fileoverview Tests for writer.js.
*/
goog.module('protobuf.binary.WriterTest');
goog.setTestOnly();
// Note to the reader:
// Since the writer 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/writer_test.js", "license": "bsd", "size": 30529} |
### File: js/experimental/runtime/testing/binary/test_message.js
/**
* @fileoverview Kernel wrapper message.
*/
goog.module('protobuf.testing.binary.TestMessage');
const ByteString = goog.require('protobuf.ByteString');
const Int64 = goog.require('protobuf.Int64');
const InternalMessage = goog.require('protobuf.bina... | {"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/testing/binary/test_message.js", "license": "bsd", "size": 44437} |
### File: js/experimental/runtime/testing/ensure_custom_equality_test.js
/**
* @fileoverview Tests in this file will fail if our custom equality have not
* been installed.
* see b/131864652
*/
goog.module('protobuf.testing.ensureCustomEqualityTest');
const BufferDecoder = 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/testing/ensure_custom_equality_test.js", "license": "bsd", "size": 1498} |
### File: js/experimental/runtime/testing/jasmine_protobuf.js
/**
* @fileoverview Installs our custom equality matchers in Jasmine.
*/
goog.module('protobuf.testing.jasmineProtoBuf');
const BufferDecoder = goog.require('protobuf.binary.BufferDecoder');
const ByteString = goog.require('protobuf.ByteString');
const {a... | {"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/testing/jasmine_protobuf.js", "license": "bsd", "size": 3059} |
### File: js/gulpfile.js
var gulp = require('gulp');
var execFile = require('child_process').execFile;
var glob = require('glob');
function exec(command, cb) {
execFile('sh', ['-c', command], cb);
}
var protoc = process.env.PROTOC || '../src/protoc';
var wellKnownTypes = [
'../src/google/protobuf/any.proto',
'... | {"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/gulpfile.js", "license": "bsd", "size": 8924} |
### File: js/map.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 condition... | {"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/map.js", "license": "bsd", "size": 16315} |
### File: js/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 provided that the following cond... | {"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/maps_test.js", "license": "bsd", "size": 17517} |
### File: js/message.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 condit... | {"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/message.js", "license": "bsd", "size": 63106} |
### File: js/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 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/message_test.js", "license": "bsd", "size": 44259} |
### File: js/node_loader.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 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/node_loader.js", "license": "bsd", "size": 2105} |
### File: js/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 provided that the following 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/proto3_test.js", "license": "bsd", "size": 19151} |
### File: js/test_bootstrap.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/test_bootstrap.js", "license": "bsd", "size": 1890} |
### File: kokoro/docs/publish-python.sh
#!/bin/bash
# Adapted from https://github.com/googleapis/google-cloud-python/blob/master/.kokoro/publish-docs.sh
set -eo pipefail
# Disable buffering, so that the logs stream through.
export PYTHONUNBUFFERED=1
cd github/protobuf/python
# install package
sudo apt-get update
su... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/docs/publish-python.sh", "license": "bsd", "size": 1591} |
### File: kokoro/docs/trampoline.sh
#!/bin/bash
# Copied from https://github.com/googleapis/google-cloud-python/blob/master/.kokoro/trampoline.sh
set -eo pipefail
python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" || ret_code=$?
chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh
${KOKORO_GFILE_DIR}/trampoline_cleanup.s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/docs/trampoline.sh", "license": "bsd", "size": 312} |
### File: kokoro/linux/32-bit/Dockerfile
# This Dockerfile specifies the recipe for creating an image for the tests
# to run in.
#
# We install as many test dependencies here as we can, because these setup
# steps can be cached. They do *not* run every time we run the build.
# The Docker image is only rebuilt when the... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/32-bit/Dockerfile", "license": "bsd", "size": 4937} |
### File: kokoro/linux/32-bit/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request 32" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# bu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/32-bit/build.sh", "license": "bsd", "size": 629} |
### File: kokoro/linux/64-bit/Dockerfile
# This Dockerfile specifies the recipe for creating an image for the tests
# to run in.
#
# We install as many test dependencies here as we can, because these setup
# steps can be cached. They do *not* run every time we run the build.
# The Docker image is only rebuilt when the... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/64-bit/Dockerfile", "license": "bsd", "size": 8427} |
### File: kokoro/linux/aarch64/cpp_crosscompile_and_run_tests_with_qemu_aarch64.sh
#!/bin/bash
#
# Builds protobuf C++ with aarch64 crosscompiler and runs a basic set of tests under an emulator.
# NOTE: This script is expected to run under the dockcross/linux-arm64 docker image.
set -ex
mkdir -p cmake/crossbuild_aarc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/cpp_crosscompile_and_run_tests_with_qemu_aarch64.sh", "license": "bsd", "size": 792} |
### File: kokoro/linux/aarch64/dockcross_helpers/run_dockcross_linux_aarch64.sh
#!/bin/bash
set -e
# go to the repo root
cd $(dirname $0)/../../../..
if [[ -t 0 ]]; then
DOCKER_TTY_ARGS="-it"
else
# The input device on kokoro is not a TTY, so -it does not work.
DOCKER_TTY_ARGS=
fi
# Pin the dockcross image si... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/dockcross_helpers/run_dockcross_linux_aarch64.sh", "license": "bsd", "size": 1400} |
### File: kokoro/linux/aarch64/dockcross_helpers/run_dockcross_manylinux2014_aarch64.sh
#!/bin/bash
set -e
# go to the repo root
cd $(dirname $0)/../../../..
if [[ -t 0 ]]; then
DOCKER_TTY_ARGS="-it"
else
# The input device on kokoro is not a TTY, so -it does not work.
DOCKER_TTY_ARGS=
fi
# Pin the dockcross ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/dockcross_helpers/run_dockcross_manylinux2014_aarch64.sh", "license": "bsd", "size": 1450} |
### File: kokoro/linux/aarch64/javascript_build_and_run_tests_with_qemu_aarch64.sh
#!/bin/bash
set -ex
# install the same version of node as in /tests.sh
NODE_VERSION=node-v12.16.3-linux-arm64
NODE_TGZ="$NODE_VERSION.tar.gz"
pushd /tmp
curl -OL https://nodejs.org/dist/v12.16.3/$NODE_TGZ
tar zxvf $NODE_TGZ
export PATH... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/javascript_build_and_run_tests_with_qemu_aarch64.sh", "license": "bsd", "size": 350} |
### File: kokoro/linux/aarch64/php_build_and_run_tests_with_qemu_aarch64.sh
#!/bin/bash
set -ex
# Install composer
curl -sS https://getcomposer.org/installer | php
mkdir -p "$HOME/bin"
mv composer.phar "$HOME/bin/composer"
PATH="$HOME/bin:$PATH"
# go to the repo root
cd $(dirname $0)/../../..
cd php
composer insta... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/php_build_and_run_tests_with_qemu_aarch64.sh", "license": "bsd", "size": 277} |
### File: kokoro/linux/aarch64/protoc_crosscompile_aarch64.sh
#!/bin/bash
#
# Builds protobuf C++ with aarch64 crosscompiler.
set -ex
./autogen.sh
CXXFLAGS="-fPIC -g -O2" ./configure --host=aarch64
make -j8
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/protoc_crosscompile_aarch64.sh", "license": "bsd", "size": 147} |
### File: kokoro/linux/aarch64/python_crosscompile_aarch64.sh
#!/bin/bash
#
# Builds protobuf python including the C++ extension with aarch64 crosscompiler.
# The outputs of this script are laid out so that we can later test them under an aarch64 emulator.
# NOTE: This script is expected to run under the dockcross/many... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/python_crosscompile_aarch64.sh", "license": "bsd", "size": 1789} |
### File: kokoro/linux/aarch64/python_run_tests_with_qemu_aarch64.sh
#!/bin/bash
set -ex
# go to the repo root
cd $(dirname $0)/../../..
cd python
PYTHON="/opt/python/cp38-cp38/bin/python"
${PYTHON} -m pip install --user pytest auditwheel
# check that we are really using aarch64 python
(${PYTHON} -c 'import sysconf... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/python_run_tests_with_qemu_aarch64.sh", "license": "bsd", "size": 1325} |
### File: kokoro/linux/aarch64/qemu_helpers/prepare_qemu.sh
#!/bin/bash
#
# Setup and configure qemu userspace emulator on kokoro worker so that we can seamlessly emulate processes running
# inside docker containers.
set -ex
# show pre-existing qemu registration
cat /proc/sys/fs/binfmt_misc/qemu-aarch64
# Kokoro ubu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/qemu_helpers/prepare_qemu.sh", "license": "bsd", "size": 1506} |
### File: kokoro/linux/aarch64/ruby_build_and_run_tests_with_qemu_aarch64.sh
#!/bin/bash
set -ex
# go to the repo root
cd $(dirname $0)/../../..
gem install bundler
cd ruby
bundle
rake
rake clobber_package gem
# run all the tests
rake test
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/ruby_build_and_run_tests_with_qemu_aarch64.sh", "license": "bsd", "size": 169} |
### File: kokoro/linux/aarch64/test_cpp_aarch64.sh
#!/bin/bash
#
# Crosscompiles protobuf C++ under dockcross docker image and runs the tests under an emulator.
set -e
# go to the repo root
cd $(dirname $0)/../../..
# Initialize any submodules.
git submodule update --init --recursive
# run the C++ build and test sc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/test_cpp_aarch64.sh", "license": "bsd", "size": 451} |
### File: kokoro/linux/aarch64/test_csharp_aarch64.sh
#!/bin/bash
set -ex
# go to the repo root
cd $(dirname $0)/../../..
if [[ -t 0 ]]; then
DOCKER_TTY_ARGS="-it"
else
# The input device on kokoro is not a TTY, so -it does not work.
DOCKER_TTY_ARGS=
fi
# First, build protobuf C# tests under x86_64 docker ima... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/test_csharp_aarch64.sh", "license": "bsd", "size": 2004} |
### File: kokoro/linux/aarch64/test_java_aarch64.sh
#!/bin/bash
set -ex
# go to the repo root
cd $(dirname $0)/../../..
if [[ -t 0 ]]; then
DOCKER_TTY_ARGS="-it"
else
# The input device on kokoro is not a TTY, so -it does not work.
DOCKER_TTY_ARGS=
fi
# crosscompile protoc as we will later need it for the jav... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/test_java_aarch64.sh", "license": "bsd", "size": 2080} |
### File: kokoro/linux/aarch64/test_javascript_aarch64.sh
#!/bin/bash
set -ex
# go to the repo root
cd $(dirname $0)/../../..
if [[ -t 0 ]]; then
DOCKER_TTY_ARGS="-it"
else
# The input device on kokoro is not a TTY, so -it does not work.
DOCKER_TTY_ARGS=
fi
# crosscompile protoc as we will later need it for t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/test_javascript_aarch64.sh", "license": "bsd", "size": 1769} |
### File: kokoro/linux/aarch64/test_php_aarch64.sh
#!/bin/bash
set -ex
# go to the repo root
cd $(dirname $0)/../../..
# there is no php testing docker image readily available, so we build
# our own. It's a aarch64 image, but that's fine since qemu will
# automatically be used to run the commands in the dockerfile.
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/test_php_aarch64.sh", "license": "bsd", "size": 1791} |
### File: kokoro/linux/aarch64/test_python_aarch64.sh
#!/bin/bash
set -e
# go to the repo root
cd $(dirname $0)/../../..
if [[ -t 0 ]]; then
DOCKER_TTY_ARGS="-it"
else
# The input device on kokoro is not a TTY, so -it does not work.
DOCKER_TTY_ARGS=
fi
# crosscompile python extension and the binary wheel unde... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/test_python_aarch64.sh", "license": "bsd", "size": 1519} |
### File: kokoro/linux/aarch64/test_ruby_aarch64.sh
#!/bin/bash
set -ex
# go to the repo root
cd $(dirname $0)/../../..
if [[ -t 0 ]]; then
DOCKER_TTY_ARGS="-it"
else
# The input device on kokoro is not a TTY, so -it does not work.
DOCKER_TTY_ARGS=
fi
# crosscompile protoc as we will later need it for the rub... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/test_ruby_aarch64.sh", "license": "bsd", "size": 1493} |
### File: kokoro/linux/aarch64/testimage_protobuf_php_arm64v8/Dockerfile
FROM arm64v8/debian:buster
RUN apt-get update && apt-get install -y php7.3-cli php7.3-dev php7.3-bcmath composer phpunit curl git valgrind && apt-get clean
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/aarch64/testimage_protobuf_php_arm64v8/Dockerfile", "license": "bsd", "size": 157} |
### File: kokoro/linux/bazel/build.sh
#!/bin/bash
#
# Build file to set up and run tests
set -ex
# Install Bazel 4.0.0.
use_bazel.sh 4.0.0
bazel version
# Print bazel testlogs to stdout when tests failed.
function print_test_logs {
# TODO(yannic): Only print logs of failing tests.
testlogs_dir=$(bazel info bazel-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/bazel/build.sh", "license": "bsd", "size": 1053} |
### File: kokoro/linux/benchmark/build.sh
#!/bin/bash
#
# Change to repo root
cd $(dirname $0)/../../..
set -ex
# Install openJDK 11 (required by the java benchmarks)
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 78BD65473CB3BD13
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-g... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/benchmark/build.sh", "license": "bsd", "size": 442} |
### File: kokoro/linux/benchmark/run.sh
#!/bin/bash
#
# Change to repo root
cd $(dirname $0)/../../..
set -ex
export OUTPUT_DIR=testoutput
repo_root="$(pwd)"
# TODO(jtattermusch): Add back support for benchmarking with tcmalloc for C++ and python.
# This feature was removed since it used to use tcmalloc from https:/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/benchmark/run.sh", "license": "bsd", "size": 3881} |
### File: kokoro/linux/build_and_run_docker.sh
#!/bin/bash
#
# Builds docker image and runs a command under it.
# This is a generic script that is configured with the following variables:
#
# DOCKERHUB_ORGANIZATION - The organization on docker hub storing the
# Dockerfile.
# DOCKERFILE_DIR - Directory in which Dockerfi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/build_and_run_docker.sh", "license": "bsd", "size": 2029} |
### File: kokoro/linux/cpp_aarch64/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "continuous" and "presubmit" jobs.
set -ex
# Change to repo root
cd $(dirname $0)/../../..
kokoro/linux/aarch64/test_cpp_aarch64.sh
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/cpp_aarch64/build.sh", "license": "bsd", "size": 235} |
### File: kokoro/linux/cpp_distcheck/build.sh
#!/bin/bash
#
# Build file to set up and run tests
set -ex # exit immediately on error
# Change to repo root
cd $(dirname $0)/../../..
./tests.sh cpp_distcheck
# Run tests under release docker image.
DOCKER_IMAGE_NAME=protobuf/protoc_$(sha1sum protoc-artifacts/Dockerfi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/cpp_distcheck/build.sh", "license": "bsd", "size": 684} |
### File: kokoro/linux/cpp_tcmalloc/build.sh
#!/bin/bash
#
# Build file to set up and run tests
# Change to repo root
cd $(dirname $0)/../../..
export DOCKERHUB_ORGANIZATION=protobuftesting
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/cpp_tcmalloc
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/cpp_tcmalloc/build.sh", "license": "bsd", "size": 374} |
### File: kokoro/linux/csharp/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# build... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/csharp/build.sh", "license": "bsd", "size": 619} |
### File: kokoro/linux/csharp_aarch64/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "continuous" and "presubmit" jobs.
set -ex
# Change to repo root
cd $(dirname $0)/../../..
# Initialize any submodules.
git submodule update --init --recursive
kokoro/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/csharp_aarch64/build.sh", "license": "bsd", "size": 359} |
### File: kokoro/linux/dist_install/build.sh
#!/bin/bash
#
# Build file to set up and run tests
set -ex # exit immediately on error
# Change to repo root
cd $(dirname $0)/../../..
export DOCKERHUB_ORGANIZATION=protobuftesting
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/java_stretch
export DOCKER_RUN_SCRIPT=k... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dist_install/build.sh", "license": "bsd", "size": 412} |
### File: kokoro/linux/dockerfile/push_testing_images.sh
#!/bin/bash
set -ex
cd $(dirname $0)/../../..
git_root=$(pwd)
cd kokoro/linux/dockerfile
DOCKERHUB_ORGANIZATION=protobuftesting
for DOCKERFILE_DIR in test/*
do
# Generate image name based on Dockerfile checksum. That works well as long
# as can count on d... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/push_testing_images.sh", "license": "bsd", "size": 1047} |
### File: kokoro/linux/dockerfile/test/cpp_tcmalloc/Dockerfile
FROM debian:jessie
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/cpp_tcmalloc/Dockerfile", "license": "bsd", "size": 519} |
### File: kokoro/linux/dockerfile/test/csharp/Dockerfile
FROM debian:buster
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \
lib... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/csharp/Dockerfile", "license": "bsd", "size": 1057} |
### File: kokoro/linux/dockerfile/test/java_stretch/Dockerfile
FROM debian:stretch
# Install dependencies. We start with the basic ones required to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/java_stretch/Dockerfile", "license": "bsd", "size": 514} |
### File: kokoro/linux/dockerfile/test/javascript/Dockerfile
FROM ubuntu:latest
RUN apt-get update && apt-get install -y gnupg
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get clean && apt-get update && apt-get install -y --force-yes \
autoconf \
autoto... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/javascript/Dockerfile", "license": "bsd", "size": 834} |
### File: kokoro/linux/dockerfile/test/php/Dockerfile
FROM debian:jessie
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \
libc6 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/php/Dockerfile", "license": "bsd", "size": 5611} |
### File: kokoro/linux/dockerfile/test/php80/Dockerfile
FROM debian:jessie
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \
libc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/php80/Dockerfile", "license": "bsd", "size": 2052} |
### File: kokoro/linux/dockerfile/test/php_32bit/Dockerfile
FROM i386/debian:jessie
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/php_32bit/Dockerfile", "license": "bsd", "size": 6072} |
### File: kokoro/linux/dockerfile/test/python310/Dockerfile
FROM python:3.10-buster
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/python310/Dockerfile", "license": "bsd", "size": 545} |
### File: kokoro/linux/dockerfile/test/python35/Dockerfile
FROM python:3.5-buster
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/python35/Dockerfile", "license": "bsd", "size": 544} |
### File: kokoro/linux/dockerfile/test/python36/Dockerfile
FROM python:3.6-buster
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/python36/Dockerfile", "license": "bsd", "size": 544} |
### File: kokoro/linux/dockerfile/test/python37/Dockerfile
FROM python:3.7-buster
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/python37/Dockerfile", "license": "bsd", "size": 544} |
### File: kokoro/linux/dockerfile/test/python38/Dockerfile
FROM python:3.8-buster
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/python38/Dockerfile", "license": "bsd", "size": 544} |
### File: kokoro/linux/dockerfile/test/python39/Dockerfile
FROM python:3.9-buster
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/python39/Dockerfile", "license": "bsd", "size": 544} |
### File: kokoro/linux/dockerfile/test/ruby/Dockerfile
FROM debian:stretch
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \
autoconf \
autotools-dev \
build-essential \
bzip2 \
ccache \
curl \
gcc \
git \
libc... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/dockerfile/test/ruby/Dockerfile", "license": "bsd", "size": 1055} |
### File: kokoro/linux/golang/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# build... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/golang/build.sh", "license": "bsd", "size": 557} |
### File: kokoro/linux/java_aarch64/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "continuous" and "presubmit" jobs.
set -ex
# Change to repo root
cd $(dirname $0)/../../..
# Initialize any submodules.
git submodule update --init --recursive
kokoro/linu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/java_aarch64/build.sh", "license": "bsd", "size": 357} |
### File: kokoro/linux/java_jdk7/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# bu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/java_jdk7/build.sh", "license": "bsd", "size": 560} |
### File: kokoro/linux/java_linkage_monitor/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the g... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/java_linkage_monitor/build.sh", "license": "bsd", "size": 707} |
### File: kokoro/linux/java_oracle7/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/java_oracle7/build.sh", "license": "bsd", "size": 563} |
### File: kokoro/linux/javascript/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# b... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/javascript/build.sh", "license": "bsd", "size": 627} |
### File: kokoro/linux/javascript_aarch64/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "continuous" and "presubmit" jobs.
set -ex
# Change to repo root
cd $(dirname $0)/../../..
# Initialize any submodules.
git submodule update --init --recursive
kokor... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/javascript_aarch64/build.sh", "license": "bsd", "size": 363} |
### File: kokoro/linux/jruby92/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# buil... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/jruby92/build.sh", "license": "bsd", "size": 618} |
### File: kokoro/linux/jruby93/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# buil... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/jruby93/build.sh", "license": "bsd", "size": 618} |
### File: kokoro/linux/make_test_output.py
"""Gathers output from test runs and create an XML file in JUnit format.
The output files from the individual tests have been written in a directory
structure like:
$DIR/joblog (output from "parallel --joblog joblog")
$DIR/logs/1/cpp/stdout
$DIR/logs/1/cpp/stderr
$D... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/make_test_output.py", "license": "bsd", "size": 2620} |
### File: kokoro/linux/php80/build.sh
#!/bin/bash
#
# This is the entry point for kicking off a Kokoro job. This path is referenced
# from the .cfg files in this directory.
set -ex
cd $(dirname $0)
# Most of our tests use a debug build of PHP, but we do one build against an opt
# php just in case that surfaces anyth... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/php80/build.sh", "license": "bsd", "size": 788} |
### File: kokoro/linux/php_aarch64/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "continuous" and "presubmit" jobs.
set -ex
# Change to repo root
cd $(dirname $0)/../../..
# Initialize any submodules.
git submodule update --init --recursive
kokoro/linux... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/php_aarch64/build.sh", "license": "bsd", "size": 356} |
### File: kokoro/linux/php_all/build.sh
#!/bin/bash
#
# This is the entry point for kicking off a Kokoro job. This path is referenced
# from the .cfg files in this directory.
set -ex
# Change to repo base.
cd $(dirname $0)/../../..
docker run $(test -t 0 && echo "-it") -v$PWD:/workspace gcr.io/protobuf-build/php/lin... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/php_all/build.sh", "license": "bsd", "size": 1629} |
### File: kokoro/linux/pull_request_in_docker.sh
#!/bin/bash
#
# This is the script that runs inside Docker, once the image has been built,
# to execute all tests for the "pull request" project.
WORKSPACE_BASE=`pwd`
MY_DIR="$(dirname "$0")"
TEST_SCRIPT=./tests.sh
BUILD_DIR=/tmp/protobuf
set -e # exit immediately on ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/pull_request_in_docker.sh", "license": "bsd", "size": 647} |
### File: kokoro/linux/python27/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# bui... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python27/build.sh", "license": "bsd", "size": 623} |
### File: kokoro/linux/python27_cpp/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python27_cpp/build.sh", "license": "bsd", "size": 627} |
### File: kokoro/linux/python310/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# bu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python310/build.sh", "license": "bsd", "size": 625} |
### File: kokoro/linux/python310_cpp/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python310_cpp/build.sh", "license": "bsd", "size": 629} |
### File: kokoro/linux/python35/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# bui... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python35/build.sh", "license": "bsd", "size": 623} |
### File: kokoro/linux/python35_cpp/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python35_cpp/build.sh", "license": "bsd", "size": 627} |
### File: kokoro/linux/python36/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# bui... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python36/build.sh", "license": "bsd", "size": 623} |
### File: kokoro/linux/python36_cpp/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python36_cpp/build.sh", "license": "bsd", "size": 627} |
### File: kokoro/linux/python37/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# bui... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python37/build.sh", "license": "bsd", "size": 623} |
### File: kokoro/linux/python37_cpp/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python37_cpp/build.sh", "license": "bsd", "size": 627} |
### File: kokoro/linux/python38/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# bui... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python38/build.sh", "license": "bsd", "size": 623} |
### File: kokoro/linux/python38_cpp/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python38_cpp/build.sh", "license": "bsd", "size": 627} |
### File: kokoro/linux/python39/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
# bui... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python39/build.sh", "license": "bsd", "size": 623} |
### File: kokoro/linux/python39_cpp/build.sh
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "pull request" project:
#
# This script selects a specific Dockerfile (for building a Docker image) and
# a script to run inside that image. Then we delegate to the general
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "kokoro/linux/python39_cpp/build.sh", "license": "bsd", "size": 627} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.