hunk
dict
file
stringlengths
0
11.8M
file_path
stringlengths
2
234
label
int64
0
1
commit_url
stringlengths
74
103
dependency_score
listlengths
5
5
{ "id": 0, "code_window": [ " ParentID 0, ParentSchemaID 0: database \"defaultdb\" (50): processed\n", " ParentID 0, ParentSchemaID 0: database \"postgres\" (51): processed\n", " ParentID 52, ParentSchemaID 29: relation \"users\" (53): referenced database ID 52: referenced descriptor not found...
debug doctor zipdir --verbose ---- debug doctor zipdir testdata/doctor/debugzip 21.11-52 --verbose reading testdata/doctor/debugzip/system.descriptor.txt reading testdata/doctor/debugzip/system.namespace.txt WARNING: errors occurred during the production of system.jobs.txt, contents may be missing or incomplete. readin...
pkg/cli/testdata/doctor/test_examine_zipdir_verbose
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.9443483948707581, 0.11422600597143173, 0.0001909757120301947, 0.0006782904965803027, 0.2802562117576599 ]
{ "id": 0, "code_window": [ " ParentID 0, ParentSchemaID 0: database \"defaultdb\" (50): processed\n", " ParentID 0, ParentSchemaID 0: database \"postgres\" (51): processed\n", " ParentID 52, ParentSchemaID 29: relation \"users\" (53): referenced database ID 52: referenced descriptor not found...
// Copyright 2020 The Cockroach Authors. // // Licensed as a CockroachDB Enterprise file under the Cockroach Community // License (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // https://github.com/cockroachdb/cockroach/blob/master/li...
pkg/ccl/sqlproxyccl/frontend_admitter.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017748989921528846, 0.00016985720139928162, 0.0001599833049112931, 0.000170803556102328, 0.00000491416358272545 ]
{ "id": 0, "code_window": [ " ParentID 0, ParentSchemaID 0: database \"defaultdb\" (50): processed\n", " ParentID 0, ParentSchemaID 0: database \"postgres\" (51): processed\n", " ParentID 52, ParentSchemaID 29: relation \"users\" (53): referenced database ID 52: referenced descriptor not found...
post ---- ---- searchIssue repo:"cockroach" user:"cockroachdb" is:issue is:open in:title label:"C-test-failure" sort:created-desc "cmd/roachtest: some-roachtest failed" label:branch-release-0.1: [github.Issue{Number:30, Title:"boom", Labels:[github.Label{URL:"fake", Name:"C-test-failure"} github.Label{URL:"fake", Name:...
pkg/cmd/internal/issues/testdata/post/failure-with-url-matching-and-related-issue.txt
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001754599215928465, 0.00017166875477414578, 0.00016664880968164653, 0.00017128614126704633, 0.00000312298902827024 ]
{ "id": 0, "code_window": [ " ParentID 0, ParentSchemaID 0: database \"defaultdb\" (50): processed\n", " ParentID 0, ParentSchemaID 0: database \"postgres\" (51): processed\n", " ParentID 52, ParentSchemaID 29: relation \"users\" (53): referenced database ID 52: referenced descriptor not found...
statement ok SET experimental_enable_unique_without_index_constraints = true statement ok CREATE TABLE test_kv(k INT PRIMARY KEY, v INT, w DECIMAL); CREATE UNIQUE INDEX test_v_idx ON test_kv(v); CREATE INDEX test_v_idx2 ON test_kv(v DESC) STORING(w); CREATE INDEX test_v_idx3 ON test_kv(w) STORING(v); CREATE TA...
pkg/sql/logictest/testdata/logic_test/dependencies
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001751040981616825, 0.00016951175348367542, 0.00016317021800205112, 0.0001704189198790118, 0.0000033402616281819064 ]
{ "id": 1, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicles\" (54): processed\n", " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_users\"\n", " ParentID 52, ParentSchemaID 29: relation \"...
debug doctor zipdir --verbose ---- debug doctor zipdir testdata/doctor/debugzip 21.11-52 --verbose reading testdata/doctor/debugzip/system.descriptor.txt reading testdata/doctor/debugzip/system.namespace.txt WARNING: errors occurred during the production of system.jobs.txt, contents may be missing or incomplete. readin...
pkg/cli/testdata/doctor/test_examine_zipdir_verbose
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.9944576025009155, 0.10318175703287125, 0.00020600168500095606, 0.0011755257146432996, 0.2971707880496979 ]
{ "id": 1, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicles\" (54): processed\n", " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_users\"\n", " ParentID 52, ParentSchemaID 29: relation \"...
// Copyright 2020 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/ui/workspaces/db-console/src/util/analytics/trackTerminate.tsx
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017951583140529692, 0.00017653295071795583, 0.00017389531421940774, 0.00017618767742533237, 0.000002307517888766597 ]
{ "id": 1, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicles\" (54): processed\n", " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_users\"\n", " ParentID 52, ParentSchemaID 29: relation \"...
pretty # # Generate code for interesting rule. # [Relational] define Select { # Input comment. Input RelExpr Filters FiltersExpr } [Relational, Join, JoinNonApply] define InnerJoin { Left RelExpr Right RelExpr On FiltersExpr } [Scalar, Bool, List] define Filters { } [Scalar, Bool, ListI...
pkg/sql/opt/optgen/cmd/optfmt/testdata/test
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017786974785849452, 0.00017261842731386423, 0.00016348386998288333, 0.00017237701104022563, 0.000002977836857098737 ]
{ "id": 1, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicles\" (54): processed\n", " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_users\"\n", " ParentID 52, ParentSchemaID 29: relation \"...
// Copyright 2017 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/util/fsm/doc.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001794389681890607, 0.00017095690418500453, 0.00016543194942642003, 0.00017029163427650928, 0.000004505441665969556 ]
{ "id": 2, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): processed\n", " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_rides\"\n", " ParentID 52, ParentSchema...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/migration/migrations/ensure_constraint_id_test.go
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.007629964500665665, 0.0007180050015449524, 0.00016343571769539267, 0.00017223868053406477, 0.00191744533367455 ]
{ "id": 2, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): processed\n", " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_rides\"\n", " ParentID 52, ParentSchema...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/util/log/trace_client_test.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017906841821968555, 0.00017241528257727623, 0.00016840978059917688, 0.00017212201782967895, 0.00000267729046754539 ]
{ "id": 2, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): processed\n", " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_rides\"\n", " ParentID 52, ParentSchema...
// Copyright 2017 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/kv/kvserver/batcheval/cmd_refresh_range.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00025433406699448824, 0.00017721173935569823, 0.00016423885244876146, 0.00017195970576722175, 0.000020856499759247527 ]
{ "id": 2, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"rides\" (55): processed\n", " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): constraint id was missing for constraint: FOREIGN KEY with name \"fk_city_ref_rides\"\n", " ParentID 52, ParentSchema...
// Copyright 2016 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/cli/examples.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017884709814097732, 0.000173564360011369, 0.00017025135457515717, 0.00017363969527650625, 0.0000024544390271330485 ]
{ "id": 3, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): processed\n", " ParentID 52, ParentSchemaID 29: relation \"promo_codes\" (57): referenced database ID 52: referenced descriptor not found\n", " ParentID 52, ParentSchemaID 29: relation \"pro...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/migration/migrations/ensure_constraint_id_test.go
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0038828605320304632, 0.00044836054439656436, 0.00016177038196474314, 0.00016700627747923136, 0.000953742244746536 ]
{ "id": 3, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): processed\n", " ParentID 52, ParentSchemaID 29: relation \"promo_codes\" (57): referenced database ID 52: referenced descriptor not found\n", " ParentID 52, ParentSchemaID 29: relation \"pro...
// Copyright 2019 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/storage/mvcc_incremental_iterator_test.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.000453155895229429, 0.00017261356697417796, 0.00016121465887408704, 0.0001703559246379882, 0.000025440107492613606 ]
{ "id": 3, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): processed\n", " ParentID 52, ParentSchemaID 29: relation \"promo_codes\" (57): referenced database ID 52: referenced descriptor not found\n", " ParentID 52, ParentSchemaID 29: relation \"pro...
// Copyright 2016 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/sem/tree/overload.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0003708941803779453, 0.00017061599646694958, 0.00015604721556883305, 0.0001686929608695209, 0.00002005200985877309 ]
{ "id": 3, "code_window": [ " ParentID 52, ParentSchemaID 29: relation \"vehicle_location_histories\" (56): processed\n", " ParentID 52, ParentSchemaID 29: relation \"promo_codes\" (57): referenced database ID 52: referenced descriptor not found\n", " ParentID 52, ParentSchemaID 29: relation \"pro...
# If you change this file, regenerate the certificate with # openssl req -new -x509 -sha256 -key testserver.key -out testserver.crt -days 3650 -config testserver_config.cnf # default_bits = 2048 distinguished_name = dn x509_extensions = san req_extensions = san extensions = san prompt ...
pkg/ccl/sqlproxyccl/testdata/testserver_config.cnf
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001688458287389949, 0.0001660445996094495, 0.00016324337047990412, 0.0001660445996094495, 0.0000028012291295453906 ]
{ "id": 4, "code_window": [ "\tdefer tc.Stopper().Stop(ctx)\n", "\tsqlDB := tc.ServerConn(0)\n", "\ttdb := sqlutils.MakeSQLRunner(sqlDB)\n", "\t// Create table with a primary key constraint.\n", "\ttdb.Exec(t, \"CREATE TABLE t(name int primary key)\")\n", "\t// Validate the comments on const...
debug doctor zipdir --verbose ---- debug doctor zipdir testdata/doctor/debugzip 21.11-52 --verbose reading testdata/doctor/debugzip/system.descriptor.txt reading testdata/doctor/debugzip/system.namespace.txt WARNING: errors occurred during the production of system.jobs.txt, contents may be missing or incomplete. readin...
pkg/cli/testdata/doctor/test_examine_zipdir_verbose
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017701431352179497, 0.0001731855154503137, 0.00016574456822127104, 0.00017508094606455415, 0.00000387161844628281 ]
{ "id": 4, "code_window": [ "\tdefer tc.Stopper().Stop(ctx)\n", "\tsqlDB := tc.ServerConn(0)\n", "\ttdb := sqlutils.MakeSQLRunner(sqlDB)\n", "\t// Create table with a primary key constraint.\n", "\ttdb.Exec(t, \"CREATE TABLE t(name int primary key)\")\n", "\t// Validate the comments on const...
// Copyright 2020 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/oidext/oidext.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017944342107512057, 0.0001709731441223994, 0.00016453258285764605, 0.0001700008288025856, 0.000005117177806823747 ]
{ "id": 4, "code_window": [ "\tdefer tc.Stopper().Stop(ctx)\n", "\tsqlDB := tc.ServerConn(0)\n", "\ttdb := sqlutils.MakeSQLRunner(sqlDB)\n", "\t// Create table with a primary key constraint.\n", "\ttdb.Exec(t, \"CREATE TABLE t(name int primary key)\")\n", "\t// Validate the comments on const...
// Copyright 2016 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/util/encoding/decimal_test.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0022496841847896576, 0.0002302622888237238, 0.00016409529780503362, 0.0001702490117168054, 0.00031804226455278695 ]
{ "id": 4, "code_window": [ "\tdefer tc.Stopper().Stop(ctx)\n", "\tsqlDB := tc.ServerConn(0)\n", "\ttdb := sqlutils.MakeSQLRunner(sqlDB)\n", "\t// Create table with a primary key constraint.\n", "\ttdb.Exec(t, \"CREATE TABLE t(name int primary key)\")\n", "\t// Validate the comments on const...
// Code generated by TestPretty. DO NOT EDIT. // GENERATED FILE DO NOT EDIT 1: - SELECT CASE WHEN 1 THEN 2 WHEN 3 THEN 4 ELSE NULL END
pkg/sql/sem/tree/testdata/pretty/case.align-only.golden.short
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017317170568276197, 0.00017284663044847548, 0.00017252154066227376, 0.00017284663044847548, 3.250825102441013e-7 ]
{ "id": 5, "code_window": [ "\t\t\"COMMENT ON CONSTRAINT \\\"t_pkey\\\" ON t IS 'primary_comment'\")\n", "\t// Validate that we have a constraint ID due to post deserialization logic\n", "\n", "\tdesc := desctestutils.TestingGetMutableExistingTableDescriptor(s.DB(), c, \"defaultdb\", \"t\")\n", ...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/migration/migrations/ensure_constraint_id_test.go
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.9984048008918762, 0.3577752411365509, 0.00016313631203956902, 0.0016831557732075453, 0.4748539924621582 ]
{ "id": 5, "code_window": [ "\t\t\"COMMENT ON CONSTRAINT \\\"t_pkey\\\" ON t IS 'primary_comment'\")\n", "\t// Validate that we have a constraint ID due to post deserialization logic\n", "\n", "\tdesc := desctestutils.TestingGetMutableExistingTableDescriptor(s.DB(), c, \"defaultdb\", \"t\")\n", ...
// Code generated by generate-staticcheck; DO NOT EDIT. //go:build bazel // +build bazel package sa4019 import ( util "github.com/cockroachdb/cockroach/pkg/testutils/lint/passes/staticcheck" "golang.org/x/tools/go/analysis" "honnef.co/go/tools/staticcheck" ) var Analyzer *analysis.Analyzer func init() { for _,...
build/bazelutil/staticcheckanalyzers/sa4019/analyzer.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017487934383098036, 0.0001744754408719018, 0.00017398552154190838, 0.00017456148634664714, 3.6993799312767806e-7 ]
{ "id": 5, "code_window": [ "\t\t\"COMMENT ON CONSTRAINT \\\"t_pkey\\\" ON t IS 'primary_comment'\")\n", "\t// Validate that we have a constraint ID due to post deserialization logic\n", "\n", "\tdesc := desctestutils.TestingGetMutableExistingTableDescriptor(s.DB(), c, \"defaultdb\", \"t\")\n", ...
// Copyright 2020 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/util/fast_int_set_large.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001781141327228397, 0.00017362250946462154, 0.00016913087165448815, 0.00017362250946462154, 0.000004491630534175783 ]
{ "id": 5, "code_window": [ "\t\t\"COMMENT ON CONSTRAINT \\\"t_pkey\\\" ON t IS 'primary_comment'\")\n", "\t// Validate that we have a constraint ID due to post deserialization logic\n", "\n", "\tdesc := desctestutils.TestingGetMutableExistingTableDescriptor(s.DB(), c, \"defaultdb\", \"t\")\n", ...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/colexec/colexecwindow/min_max_removable_agg_tmpl.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0004787520447280258, 0.00018772753537632525, 0.0001587389560882002, 0.0001701682631392032, 0.00007263065344886854 ]
{ "id": 6, "code_window": [ "\tdesc.PrimaryIndex.ConstraintID = 0\n", "\trequire.NoError(t, s.DB().Put(\n", "\t\tcontext.Background(),\n", "\t\tcatalogkeys.MakeDescMetadataKey(keys.SystemSQLCodec, desc.GetID()),\n" ], "labels": [ "add", "keep", "keep", "keep" ], "after_edit":...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/migration/migrations/ensure_constraint_id_test.go
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.7914980053901672, 0.06092498451471329, 0.00016475142911076546, 0.00019521817739587277, 0.20303046703338623 ]
{ "id": 6, "code_window": [ "\tdesc.PrimaryIndex.ConstraintID = 0\n", "\trequire.NoError(t, s.DB().Put(\n", "\t\tcontext.Background(),\n", "\t\tcatalogkeys.MakeDescMetadataKey(keys.SystemSQLCodec, desc.GetID()),\n" ], "labels": [ "add", "keep", "keep", "keep" ], "after_edit":...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/schemachanger/scplan/internal/opgen/opgen_in_foreign_key.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017694916459731758, 0.00017088169988710433, 0.00016498156765010208, 0.00017157923139166087, 0.000003921778443327639 ]
{ "id": 6, "code_window": [ "\tdesc.PrimaryIndex.ConstraintID = 0\n", "\trequire.NoError(t, s.DB().Put(\n", "\t\tcontext.Background(),\n", "\t\tcatalogkeys.MakeDescMetadataKey(keys.SystemSQLCodec, desc.GetID()),\n" ], "labels": [ "add", "keep", "keep", "keep" ], "after_edit":...
// Copyright 2017 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/storage/fs/temp_dir.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00029832060681656003, 0.0001798126904759556, 0.000165000616107136, 0.0001708117051748559, 0.00003128354364889674 ]
{ "id": 6, "code_window": [ "\tdesc.PrimaryIndex.ConstraintID = 0\n", "\trequire.NoError(t, s.DB().Put(\n", "\t\tcontext.Background(),\n", "\t\tcatalogkeys.MakeDescMetadataKey(keys.SystemSQLCodec, desc.GetID()),\n" ], "labels": [ "add", "keep", "keep", "keep" ], "after_edit":...
- Feature Name: Default Privileges - Status: in-progress - Start Date: 2021-05-20 - Authors: Richard Cai - RFC PR: [65794](https://github.com/cockroachdb/cockroach/pull/65794) - Cockroach Issue: [64613](https://github.com/cockroachdb/cockroach/issues/64613), [65604](https://github.com/cockroachdb/cockroach/issues/65604...
docs/RFCS/20210527_default_privileges.md
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001910999562824145, 0.00017055109492503107, 0.00016305374447256327, 0.00016666812007315457, 0.000008715878720977344 ]
{ "id": 7, "code_window": [ "\t))\n", "\t// Validate that the post serialization will recompute the constraint IDs\n", "\t// if they are missing.\n", "\tdesc = desctestutils.TestingGetMutableExistingTableDescriptor(s.DB(), c, \"defaultdb\", \"t\")\n", "\trequire.Equal(t, desc.PrimaryIndex.Constr...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/migration/migrations/ensure_constraint_id_test.go
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.998259961605072, 0.21286489069461823, 0.0001628599566174671, 0.0005718145403079689, 0.40356555581092834 ]
{ "id": 7, "code_window": [ "\t))\n", "\t// Validate that the post serialization will recompute the constraint IDs\n", "\t// if they are missing.\n", "\tdesc = desctestutils.TestingGetMutableExistingTableDescriptor(s.DB(), c, \"defaultdb\", \"t\")\n", "\trequire.Equal(t, desc.PrimaryIndex.Constr...
// Copyright 2018 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/opt/memo/expr.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00906977616250515, 0.0003702404210343957, 0.00015866132162045687, 0.00016893651627469808, 0.0009828436886891723 ]
{ "id": 7, "code_window": [ "\t))\n", "\t// Validate that the post serialization will recompute the constraint IDs\n", "\t// if they are missing.\n", "\tdesc = desctestutils.TestingGetMutableExistingTableDescriptor(s.DB(), c, \"defaultdb\", \"t\")\n", "\trequire.Equal(t, desc.PrimaryIndex.Constr...
// Copyright 2020 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/drop_schema.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00023689147201366723, 0.00017014624609146267, 0.00015904591418802738, 0.00016800095909275115, 0.000013464999938150868 ]
{ "id": 7, "code_window": [ "\t))\n", "\t// Validate that the post serialization will recompute the constraint IDs\n", "\t// if they are missing.\n", "\tdesc = desctestutils.TestingGetMutableExistingTableDescriptor(s.DB(), c, \"defaultdb\", \"t\")\n", "\trequire.Equal(t, desc.PrimaryIndex.Constr...
stmt_block ::= 'CREATE' 'TABLE' table_name '(' ( column_def ( ',' column_def )* ) ( 'CONSTRAINT' constraint_name | ) 'CHECK' '(' check_expr ')' ( table_constraints | ) ')'
docs/generated/sql/bnf/check_table_level.bnf
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0006708563305437565, 0.0006708563305437565, 0.0006708563305437565, 0.0006708563305437565, 0 ]
{ "id": 8, "code_window": [ "\t\tdesc.DescriptorProto(),\n", "\t))\n", "\t// Validate that the descriptor is invalid, since the constraint IDs\n", "\t// are missing.\n", "\ttdb.CheckQueryResults(t,\n" ], "labels": [ "keep", "keep", "keep", "replace", "keep" ], "after_...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/migration/migrations/ensure_constraint_id_test.go
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.4935075640678406, 0.038652632385492325, 0.00016531131404917687, 0.0009759831009432673, 0.12630148231983185 ]
{ "id": 8, "code_window": [ "\t\tdesc.DescriptorProto(),\n", "\t))\n", "\t// Validate that the descriptor is invalid, since the constraint IDs\n", "\t// are missing.\n", "\ttdb.CheckQueryResults(t,\n" ], "labels": [ "keep", "keep", "keep", "replace", "keep" ], "after_...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/kv/kvprober/kvprober_integration_test.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0002877223305404186, 0.0001743489847285673, 0.00016232601774390787, 0.0001679966226220131, 0.000023235059416037984 ]
{ "id": 8, "code_window": [ "\t\tdesc.DescriptorProto(),\n", "\t))\n", "\t// Validate that the descriptor is invalid, since the constraint IDs\n", "\t// are missing.\n", "\ttdb.CheckQueryResults(t,\n" ], "labels": [ "keep", "keep", "keep", "replace", "keep" ], "after_...
# With two out of five replicas remaining, check that replica with highest # range applied index is chosen regardless of replica storeID. # We have a 5-way replication and have two out of five nodes left so quorum # is lost. replication-data - StoreID: 1 RangeID: 1 StartKey: /Min EndKey: /Max Replicas: - { N...
pkg/kv/kvserver/loqrecovery/testdata/max_applied_voter_wins
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001739052531775087, 0.00017032136383932084, 0.00016753448289819062, 0.0001698472915450111, 0.000001582678919476166 ]
{ "id": 8, "code_window": [ "\t\tdesc.DescriptorProto(),\n", "\t))\n", "\t// Validate that the descriptor is invalid, since the constraint IDs\n", "\t// are missing.\n", "\ttdb.CheckQueryResults(t,\n" ], "labels": [ "keep", "keep", "keep", "replace", "keep" ], "after_...
// Copyright 2018 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/internal/rsg/rsg_test.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0006500583840534091, 0.00022416136926040053, 0.00016620430687908083, 0.00017345574451610446, 0.00012471849913708866 ]
{ "id": 9, "code_window": [ "\ttdb.CheckQueryResults(t,\n", "\t\t`SELECT strpos(desc_json, 'constraintId') > 0,\n", " strpos(desc_json, 'nextConstraintId') > 0\n", " FROM (\n", "\t\tSELECT jsonb_pretty(\n", "\t\t\t\tcrdb_internal.pb_to_json(\n" ], "labels": [ "keep", "repl...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/migration/migrations/ensure_constraint_id_test.go
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.8462963700294495, 0.06352663785219193, 0.0001649696205276996, 0.0006820012349635363, 0.21725063025951385 ]
{ "id": 9, "code_window": [ "\ttdb.CheckQueryResults(t,\n", "\t\t`SELECT strpos(desc_json, 'constraintId') > 0,\n", " strpos(desc_json, 'nextConstraintId') > 0\n", " FROM (\n", "\t\tSELECT jsonb_pretty(\n", "\t\t\t\tcrdb_internal.pb_to_json(\n" ], "labels": [ "keep", "repl...
// Copyright 2016 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/rowexec/mergejoiner.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00021756910427939147, 0.00017231676611118019, 0.0001634004875086248, 0.00017117575043812394, 0.000008851677193888463 ]
{ "id": 9, "code_window": [ "\ttdb.CheckQueryResults(t,\n", "\t\t`SELECT strpos(desc_json, 'constraintId') > 0,\n", " strpos(desc_json, 'nextConstraintId') > 0\n", " FROM (\n", "\t\tSELECT jsonb_pretty(\n", "\t\t\t\tcrdb_internal.pb_to_json(\n" ], "labels": [ "keep", "repl...
// Copyright 2018 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/catalog/catconstants/namespace.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017719584866426885, 0.00017070827016141266, 0.00016271360800601542, 0.0001722153538139537, 0.0000060076231420680415 ]
{ "id": 9, "code_window": [ "\ttdb.CheckQueryResults(t,\n", "\t\t`SELECT strpos(desc_json, 'constraintId') > 0,\n", " strpos(desc_json, 'nextConstraintId') > 0\n", " FROM (\n", "\t\tSELECT jsonb_pretty(\n", "\t\t\t\tcrdb_internal.pb_to_json(\n" ], "labels": [ "keep", "repl...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/catalog/descs/descriptor.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0003689505101647228, 0.00017545152513775975, 0.00016248987230937928, 0.00017019262304529548, 0.000030649291147710755 ]
{ "id": 10, "code_window": [ "\t\t[][]string{{clusterversion.ByKey(tabledesc.ConstraintIDsAddedToTableDescsVersion).String()}})\n", "\t// Validate the constraint IDs are populated.\n", "\t// Validate that the descriptor is invalid, since the constraint IDs\n", "\t// are missing.\n", "\ttdb.Check...
debug doctor zipdir --verbose ---- debug doctor zipdir testdata/doctor/debugzip 21.11-52 --verbose reading testdata/doctor/debugzip/system.descriptor.txt reading testdata/doctor/debugzip/system.namespace.txt WARNING: errors occurred during the production of system.jobs.txt, contents may be missing or incomplete. readin...
pkg/cli/testdata/doctor/test_examine_zipdir_verbose
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00021374155767261982, 0.00017585247405804694, 0.00016648363089188933, 0.00017318958998657763, 0.000012924869224661961 ]
{ "id": 10, "code_window": [ "\t\t[][]string{{clusterversion.ByKey(tabledesc.ConstraintIDsAddedToTableDescsVersion).String()}})\n", "\t// Validate the constraint IDs are populated.\n", "\t// Validate that the descriptor is invalid, since the constraint IDs\n", "\t// are missing.\n", "\ttdb.Check...
// Copyright 2017 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/sql/execinfra/metrics.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001990318123716861, 0.0001723345776554197, 0.00016375628183595836, 0.00017113328794948757, 0.000008280086149170529 ]
{ "id": 10, "code_window": [ "\t\t[][]string{{clusterversion.ByKey(tabledesc.ConstraintIDsAddedToTableDescsVersion).String()}})\n", "\t// Validate the constraint IDs are populated.\n", "\t// Validate that the descriptor is invalid, since the constraint IDs\n", "\t// are missing.\n", "\ttdb.Check...
CREATE INDEX test_fb ON test (f, b); CREATE UNIQUE INDEX test_f_unique ON test (f);
pkg/acceptance/compose/flyway/sql/V2__make_index.sql
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001736303820507601, 0.0001736303820507601, 0.0001736303820507601, 0.0001736303820507601, 0 ]
{ "id": 10, "code_window": [ "\t\t[][]string{{clusterversion.ByKey(tabledesc.ConstraintIDsAddedToTableDescsVersion).String()}})\n", "\t// Validate the constraint IDs are populated.\n", "\t// Validate that the descriptor is invalid, since the constraint IDs\n", "\t// are missing.\n", "\ttdb.Check...
// Copyright 2019 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/kv/bulk/kv_buf_test.go
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001767205394571647, 0.00017166847828775644, 0.0001674306986387819, 0.00017182351439259946, 0.0000027221290110901464 ]
{ "id": 11, "code_window": [ "\t\t\tfk.ConstraintID = nextConstraintID()\n", "\t\t}\n", "\t}\n", "\tfor i := range desc.OutboundFKs {\n", "\t\tfk := desc.OutboundFKs[i]\n", "\t\tif fk.ConstraintID == 0 {\n", "\t\t\tfk.ConstraintID = nextConstraintID()\n", "\t\t}\n", "\t}\n", ...
debug doctor zipdir --verbose ---- debug doctor zipdir testdata/doctor/debugzip 21.11-52 --verbose reading testdata/doctor/debugzip/system.descriptor.txt reading testdata/doctor/debugzip/system.namespace.txt WARNING: errors occurred during the production of system.jobs.txt, contents may be missing or incomplete. readin...
pkg/cli/testdata/doctor/test_examine_zipdir_verbose
1
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017648008360993117, 0.00017309670511167496, 0.00016898612375371158, 0.00017266999930143356, 0.000002563330099292216 ]
{ "id": 11, "code_window": [ "\t\t\tfk.ConstraintID = nextConstraintID()\n", "\t\t}\n", "\t}\n", "\tfor i := range desc.OutboundFKs {\n", "\t\tfk := desc.OutboundFKs[i]\n", "\t\tif fk.ConstraintID == 0 {\n", "\t\t\tfk.ConstraintID = nextConstraintID()\n", "\t\t}\n", "\t}\n", ...
statement ok CREATE TABLE a (a INT, b INT, c INT4, PRIMARY KEY (a, b)); INSERT INTO a SELECT g//2, g, g FROM generate_series(0,2000) g(g) # Mismatched constant type in projection. Not handled yet but should fall back # gracefully. query I SELECT (a + 1.0::DECIMAL)::INT FROM a LIMIT 1 ---- 1 # Mismatched column types ...
pkg/sql/logictest/testdata/logic_test/vectorize_unsupported
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017259229207411408, 0.0001669108314672485, 0.00015999564493540674, 0.00016820983728393912, 0.000003836402811430162 ]
{ "id": 11, "code_window": [ "\t\t\tfk.ConstraintID = nextConstraintID()\n", "\t\t}\n", "\t}\n", "\tfor i := range desc.OutboundFKs {\n", "\t\tfk := desc.OutboundFKs[i]\n", "\t\tif fk.ConstraintID == 0 {\n", "\t\t\tfk.ConstraintID = nextConstraintID()\n", "\t\t}\n", "\t}\n", ...
alter_zone_range_stmt ::= 'ALTER' 'RANGE' a_expr 'CONFIGURE' 'ZONE' 'USING' variable '=' 'COPY' 'FROM' 'PARENT' ( ( ',' variable '=' value | ',' variable '=' 'COPY' 'FROM' 'PARENT' ) )* | 'ALTER' 'RANGE' a_expr 'CONFIGURE' 'ZONE' 'USING' variable '=' value ( ( ',' variable '=' value | ',' variable '=' 'COPY' 'FROM' '...
docs/generated/sql/bnf/alter_zone_range_stmt.bnf
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.0001668343466008082, 0.0001668343466008082, 0.0001668343466008082, 0.0001668343466008082, 0 ]
{ "id": 11, "code_window": [ "\t\t\tfk.ConstraintID = nextConstraintID()\n", "\t\t}\n", "\t}\n", "\tfor i := range desc.OutboundFKs {\n", "\t\tfk := desc.OutboundFKs[i]\n", "\t\tif fk.ConstraintID == 0 {\n", "\t\t\tfk.ConstraintID = nextConstraintID()\n", "\t\t}\n", "\t}\n", ...
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
pkg/ui/workspaces/cluster-ui/src/util/appStats/appStats.fixture.ts
0
https://github.com/cockroachdb/cockroach/commit/0d8e15c112246a11db9d4e370b5e9bcfeac82aa8
[ 0.00017921942344401032, 0.0001732335367705673, 0.0001664242590777576, 0.0001732627279125154, 0.0000022139795419207076 ]
{ "id": 0, "code_window": [ "import (\n", "\t_ \"net/http/pprof\"\n", "\t\"time\"\n", "\n", "\t\"k8s.io/kubernetes/pkg/api\"\n", "\t\"k8s.io/kubernetes/pkg/api/unversioned\"\n", "\t\"k8s.io/kubernetes/pkg/apis/componentconfig\"\n" ], "labels": [ "keep", "keep", "keep", ...
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
cmd/kube-proxy/app/options/options.go
1
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.10657811909914017, 0.0123298866674304, 0.00017101816774811596, 0.0003109227982349694, 0.03166518732905388 ]
{ "id": 0, "code_window": [ "import (\n", "\t_ \"net/http/pprof\"\n", "\t\"time\"\n", "\n", "\t\"k8s.io/kubernetes/pkg/api\"\n", "\t\"k8s.io/kubernetes/pkg/api/unversioned\"\n", "\t\"k8s.io/kubernetes/pkg/apis/componentconfig\"\n" ], "labels": [ "keep", "keep", "keep", ...
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
pkg/credentialprovider/keyring.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.024052297696471214, 0.000998848001472652, 0.000162828917382285, 0.0001692171790637076, 0.00421124417334795 ]
{ "id": 0, "code_window": [ "import (\n", "\t_ \"net/http/pprof\"\n", "\t\"time\"\n", "\n", "\t\"k8s.io/kubernetes/pkg/api\"\n", "\t\"k8s.io/kubernetes/pkg/api/unversioned\"\n", "\t\"k8s.io/kubernetes/pkg/apis/componentconfig\"\n" ], "labels": [ "keep", "keep", "keep", ...
package netlink import ( "bytes" "encoding/binary" "fmt" "net" "syscall" "github.com/vishvananda/netlink/nl" ) var native = nl.NativeEndian() var lookupByDump = false var macvlanModes = [...]uint32{ 0, nl.MACVLAN_MODE_PRIVATE, nl.MACVLAN_MODE_VEPA, nl.MACVLAN_MODE_BRIDGE, nl.MACVLAN_MODE_PASSTHRU, nl.MA...
Godeps/_workspace/src/github.com/vishvananda/netlink/link_linux.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.0029848047997802496, 0.0002363675885135308, 0.00016237555246334523, 0.00017004874825943261, 0.0003338016977068037 ]
{ "id": 0, "code_window": [ "import (\n", "\t_ \"net/http/pprof\"\n", "\t\"time\"\n", "\n", "\t\"k8s.io/kubernetes/pkg/api\"\n", "\t\"k8s.io/kubernetes/pkg/api/unversioned\"\n", "\t\"k8s.io/kubernetes/pkg/apis/componentconfig\"\n" ], "labels": [ "keep", "keep", "keep", ...
/* Copyright 2016 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
pkg/client/typed/generated/legacy/unversioned/fake/fake_podtemplate.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.0016783798346295953, 0.00034574707387946546, 0.00016350179794244468, 0.00016849667008500546, 0.0004403612401802093 ]
{ "id": 1, "code_window": [ "\t\"k8s.io/kubernetes/pkg/apis/componentconfig\"\n", "\t\"k8s.io/kubernetes/pkg/kubelet/qos\"\n", "\t\"k8s.io/kubernetes/pkg/util\"\n", "\n" ], "labels": [ "add", "keep", "keep", "keep" ], "after_edit": [ "\t\"k8s.io/kubernetes/pkg/apis/compon...
/* Copyright 2015 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
pkg/apis/componentconfig/v1alpha1/defaults.go
1
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.03852083161473274, 0.0078424708917737, 0.0001692107180133462, 0.0001746473863022402, 0.015339180827140808 ]
{ "id": 1, "code_window": [ "\t\"k8s.io/kubernetes/pkg/apis/componentconfig\"\n", "\t\"k8s.io/kubernetes/pkg/kubelet/qos\"\n", "\t\"k8s.io/kubernetes/pkg/util\"\n", "\n" ], "labels": [ "add", "keep", "keep", "keep" ], "after_edit": [ "\t\"k8s.io/kubernetes/pkg/apis/compon...
node_modules/
docs/getting-started-guides/coreos/azure/.gitignore
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.0001716286496957764, 0.0001716286496957764, 0.0001716286496957764, 0.0001716286496957764, 0 ]
{ "id": 1, "code_window": [ "\t\"k8s.io/kubernetes/pkg/apis/componentconfig\"\n", "\t\"k8s.io/kubernetes/pkg/kubelet/qos\"\n", "\t\"k8s.io/kubernetes/pkg/util\"\n", "\n" ], "labels": [ "add", "keep", "keep", "keep" ], "after_edit": [ "\t\"k8s.io/kubernetes/pkg/apis/compon...
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. // Package ec2iface provides an interface for the Amazon Elastic Compute Cloud. package ec2iface import ( "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/service/ec2" ) // EC2API is the interface type for ec2.EC2. type EC2API interface { Acc...
Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/ec2/ec2iface/interface.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.000947029679082334, 0.0002607067581266165, 0.00016415900608990341, 0.00017916336946655065, 0.00017369749548379332 ]
{ "id": 1, "code_window": [ "\t\"k8s.io/kubernetes/pkg/apis/componentconfig\"\n", "\t\"k8s.io/kubernetes/pkg/kubelet/qos\"\n", "\t\"k8s.io/kubernetes/pkg/util\"\n", "\n" ], "labels": [ "add", "keep", "keep", "keep" ], "after_edit": [ "\t\"k8s.io/kubernetes/pkg/apis/compon...
<!-- BEGIN MUNGE: UNVERSIONED_WARNING --> <!-- BEGIN STRIP_FOR_RELEASE --> <img src="http://kubernetes.io/img/warning.png" alt="WARNING" width="25" height="25"> <img src="http://kubernetes.io/img/warning.png" alt="WARNING" width="25" height="25"> <img src="http://kubernetes.io/img/warning.png" alt="WARNING"...
docs/devel/update-release-docs.md
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.0028790761716663837, 0.0006815690430812538, 0.00016242993297055364, 0.0003536221047397703, 0.0007667795871384442 ]
{ "id": 2, "code_window": [ "\tMaster string\n", "\tKubeconfig string\n", "}\n", "\n", "func NewProxyConfig() *ProxyServerConfig {\n", "\treturn &ProxyServerConfig{\n" ], "labels": [ "keep", "keep", "keep", "keep", "add", "keep" ], "after_edi...
/* Copyright 2015 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
pkg/apis/componentconfig/v1alpha1/defaults.go
1
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.9715912342071533, 0.19449612498283386, 0.00017157367256004363, 0.0001772026007529348, 0.38854753971099854 ]
{ "id": 2, "code_window": [ "\tMaster string\n", "\tKubeconfig string\n", "}\n", "\n", "func NewProxyConfig() *ProxyServerConfig {\n", "\treturn &ProxyServerConfig{\n" ], "labels": [ "keep", "keep", "keep", "keep", "add", "keep" ], "after_edi...
package main import ( "github.com/elazarl/goproxy" "github.com/elazarl/goproxy/ext/image" "image" "log" "net/http" ) func main() { proxy := goproxy.NewProxyHttpServer() proxy.OnResponse().Do(goproxy_image.HandleImage(func(img image.Image, ctx *goproxy.ProxyCtx) image.Image { dx, dy := img.Bounds().Dx(), img....
Godeps/_workspace/src/github.com/elazarl/goproxy/examples/goproxy-upside-down-ternet/main.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.02357693389058113, 0.007972556166350842, 0.00016874121502041817, 0.00017199495050590485, 0.011033961549401283 ]
{ "id": 2, "code_window": [ "\tMaster string\n", "\tKubeconfig string\n", "}\n", "\n", "func NewProxyConfig() *ProxyServerConfig {\n", "\treturn &ProxyServerConfig{\n" ], "labels": [ "keep", "keep", "keep", "keep", "add", "keep" ], "after_edi...
// Copyright 2015 CoreOS, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
Godeps/_workspace/src/github.com/coreos/etcd/wal/walpb/record.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.000188481601071544, 0.00018006545724347234, 0.0001738603023113683, 0.0001778544974513352, 0.00000617046089246287 ]
{ "id": 2, "code_window": [ "\tMaster string\n", "\tKubeconfig string\n", "}\n", "\n", "func NewProxyConfig() *ProxyServerConfig {\n", "\treturn &ProxyServerConfig{\n" ], "labels": [ "keep", "keep", "keep", "keep", "add", "keep" ], "after_edi...
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements typechecking of expressions. package types import ( "fmt" "k8s.io/kubernetes/third_party/golang/go/ast" "k8s.io/kubernetes/third_pa...
third_party/golang/go/types/expr.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.0003430671931710094, 0.00017319784092251211, 0.00016460195183753967, 0.00017102941637858748, 0.000014739465768798254 ]
{ "id": 3, "code_window": [ "\treturn &ProxyServerConfig{\n", "\t\tKubeProxyConfiguration: componentconfig.KubeProxyConfiguration{\n", "\t\t\tBindAddress: \"0.0.0.0\",\n", "\t\t\tHealthzPort: 10249,\n", "\t\t\tHealthzBindAddress: \"127.0.0.1\",\n...
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
cmd/kube-proxy/app/options/options.go
1
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.40141743421554565, 0.05206490308046341, 0.00016183704428840429, 0.007070794701576233, 0.11750168353319168 ]
{ "id": 3, "code_window": [ "\treturn &ProxyServerConfig{\n", "\t\tKubeProxyConfiguration: componentconfig.KubeProxyConfiguration{\n", "\t\t\tBindAddress: \"0.0.0.0\",\n", "\t\t\tHealthzPort: 10249,\n", "\t\t\tHealthzBindAddress: \"127.0.0.1\",\n...
/* * * Copyright 2014, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
Godeps/_workspace/src/google.golang.org/grpc/transport/http2_server.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.010199576616287231, 0.0011626241030171514, 0.0001706563780317083, 0.00045251293340697885, 0.0019514664309099317 ]
{ "id": 3, "code_window": [ "\treturn &ProxyServerConfig{\n", "\t\tKubeProxyConfiguration: componentconfig.KubeProxyConfiguration{\n", "\t\t\tBindAddress: \"0.0.0.0\",\n", "\t\t\tHealthzPort: 10249,\n", "\t\t\tHealthzBindAddress: \"127.0.0.1\",\n...
#!/bin/bash # Copyright 2015 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
hack/grab-profiles.sh
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.008774437010288239, 0.001695159007795155, 0.000174850836629048, 0.00044637409155257046, 0.002583183813840151 ]
{ "id": 3, "code_window": [ "\treturn &ProxyServerConfig{\n", "\t\tKubeProxyConfiguration: componentconfig.KubeProxyConfiguration{\n", "\t\t\tBindAddress: \"0.0.0.0\",\n", "\t\t\tHealthzPort: 10249,\n", "\t\t\tHealthzBindAddress: \"127.0.0.1\",\n...
#!/bin/bash # Copyright 2014 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
hack/test-go.sh
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.008553529158234596, 0.0006604497320950031, 0.00016419454186689109, 0.0002631865500006825, 0.0014318343019112945 ]
{ "id": 4, "code_window": [ "\t\t\tif obj.OOMScoreAdj == nil {\n", "\t\t\t\ttemp := int32(qos.KubeProxyOOMScoreAdj)\n", "\t\t\t\tobj.OOMScoreAdj = &temp\n", "\t\t\t}\n", "\t\t\tif obj.IPTablesSyncPeriod.Duration == 0 {\n" ], "labels": [ "keep", "keep", "keep", "add", "kee...
/* Copyright 2015 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
pkg/apis/componentconfig/v1alpha1/defaults.go
1
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.9976248145103455, 0.39965540170669556, 0.00017757741443347186, 0.0030996513087302446, 0.48806652426719666 ]
{ "id": 4, "code_window": [ "\t\t\tif obj.OOMScoreAdj == nil {\n", "\t\t\t\ttemp := int32(qos.KubeProxyOOMScoreAdj)\n", "\t\t\t\tobj.OOMScoreAdj = &temp\n", "\t\t\t}\n", "\t\t\tif obj.IPTablesSyncPeriod.Duration == 0 {\n" ], "labels": [ "keep", "keep", "keep", "add", "kee...
package base import ( "github.com/rackspace/gophercloud" os "github.com/rackspace/gophercloud/openstack/cdn/v1/base" ) // Get retrieves the home document, allowing the user to discover the // entire API. func Get(c *gophercloud.ServiceClient) os.GetResult { return os.Get(c) } // Ping retrieves a ping to the serv...
Godeps/_workspace/src/github.com/rackspace/gophercloud/rackspace/cdn/v1/base/delegate.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.0001709030766505748, 0.00016925449017435312, 0.00016760590369813144, 0.00016925449017435312, 0.0000016485864762216806 ]
{ "id": 4, "code_window": [ "\t\t\tif obj.OOMScoreAdj == nil {\n", "\t\t\t\ttemp := int32(qos.KubeProxyOOMScoreAdj)\n", "\t\t\t\tobj.OOMScoreAdj = &temp\n", "\t\t\t}\n", "\t\t\tif obj.IPTablesSyncPeriod.Duration == 0 {\n" ], "labels": [ "keep", "keep", "keep", "add", "kee...
# HELP metric one # HELP metric two
Godeps/_workspace/src/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_12
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.00016762716404628009, 0.00016762716404628009, 0.00016762716404628009, 0.00016762716404628009, 0 ]
{ "id": 4, "code_window": [ "\t\t\tif obj.OOMScoreAdj == nil {\n", "\t\t\t\ttemp := int32(qos.KubeProxyOOMScoreAdj)\n", "\t\t\t\tobj.OOMScoreAdj = &temp\n", "\t\t\t}\n", "\t\t\tif obj.IPTablesSyncPeriod.Duration == 0 {\n" ], "labels": [ "keep", "keep", "keep", "add", "kee...
// Copyright 2014 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
Godeps/_workspace/src/github.com/google/cadvisor/container/raw/container_hints.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.0001786969369277358, 0.00017269716772716492, 0.00016551572480238974, 0.00017236238636542112, 0.0000041257881093770266 ]
{ "id": 5, "code_window": [ "\t\t\tif obj.IPTablesSyncPeriod.Duration == 0 {\n", "\t\t\t\tobj.IPTablesSyncPeriod = unversioned.Duration{5 * time.Second}\n", "\t\t\t}\n", "\t\t},\n", "\t)\n", "}" ], "labels": [ "keep", "replace", "keep", "keep", "keep", "keep" ],...
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
cmd/kube-proxy/app/options/options.go
1
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.011984506621956825, 0.002285551279783249, 0.00016866449732333422, 0.0002878934028558433, 0.004089080262929201 ]
{ "id": 5, "code_window": [ "\t\t\tif obj.IPTablesSyncPeriod.Duration == 0 {\n", "\t\t\t\tobj.IPTablesSyncPeriod = unversioned.Duration{5 * time.Second}\n", "\t\t\t}\n", "\t\t},\n", "\t)\n", "}" ], "labels": [ "keep", "replace", "keep", "keep", "keep", "keep" ],...
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
pkg/kubectl/resource_printer_test.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.012165510095655918, 0.00043539711623452604, 0.00016181651153601706, 0.00016878379392437637, 0.0012351549230515957 ]
{ "id": 5, "code_window": [ "\t\t\tif obj.IPTablesSyncPeriod.Duration == 0 {\n", "\t\t\t\tobj.IPTablesSyncPeriod = unversioned.Duration{5 * time.Second}\n", "\t\t\t}\n", "\t\t},\n", "\t)\n", "}" ], "labels": [ "keep", "replace", "keep", "keep", "keep", "keep" ],...
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
test/e2e/configmap.go
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.00017747418314684182, 0.00017186725744977593, 0.00016773508104961365, 0.00017137089162133634, 0.00000345909256793675 ]
{ "id": 5, "code_window": [ "\t\t\tif obj.IPTablesSyncPeriod.Duration == 0 {\n", "\t\t\t\tobj.IPTablesSyncPeriod = unversioned.Duration{5 * time.Second}\n", "\t\t\t}\n", "\t\t},\n", "\t)\n", "}" ], "labels": [ "keep", "replace", "keep", "keep", "keep", "keep" ],...
# iSCSI target container for testing. Inspired by https://github.com/rvykydal/dockerfile-iscsid * The container needs /lib/modules from the host to insert appropriate kernel modules for iscsi. This assumes that these modules are installed on the host! * The container needs to run with docker --privileged block....
test/images/volumes-tester/iscsi/README.md
0
https://github.com/kubernetes/kubernetes/commit/ee4e60d78cf00229d7aab8886657e70e0d1a1d59
[ 0.00016822874022182077, 0.00016661790141370147, 0.00016500706260558218, 0.00016661790141370147, 0.000001610838808119297 ]
{ "id": 0, "code_window": [ "apiVersion: apps/v1beta1\n", "kind: StatefulSet\n", "metadata:\n", " # This name uniquely identifies the StatefulSet\n", " name: minio\n", "spec:\n" ], "labels": [ "replace", "keep", "keep", "keep", "keep", "keep" ], "after_edit"...
apiVersion: apps/v1beta1 kind: StatefulSet metadata: # This name uniquely identifies the StatefulSet name: minio spec: serviceName: minio replicas: 4 selector: matchLabels: app: minio # has to match .spec.template.metadata.labels template: metadata: labels: app: minio # has to ma...
docs/orchestration/kubernetes/minio-distributed-statefulset.yaml
1
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.992804229259491, 0.1659001260995865, 0.00017060301615856588, 0.0005380421062000096, 0.36980289220809937 ]
{ "id": 0, "code_window": [ "apiVersion: apps/v1beta1\n", "kind: StatefulSet\n", "metadata:\n", " # This name uniquely identifies the StatefulSet\n", " name: minio\n", "spec:\n" ], "labels": [ "replace", "keep", "keep", "keep", "keep", "keep" ], "after_edit"...
/* * MinIO Cloud Storage, (C) 2018 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
cmd/storage-rest-server.go
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.0005633055698126554, 0.0001839455362642184, 0.00016025705554056913, 0.00017209560610353947, 0.00006429340282920748 ]
{ "id": 0, "code_window": [ "apiVersion: apps/v1beta1\n", "kind: StatefulSet\n", "metadata:\n", " # This name uniquely identifies the StatefulSet\n", " name: minio\n", "spec:\n" ], "labels": [ "replace", "keep", "keep", "keep", "keep", "keep" ], "after_edit"...
/* * MinIO Cloud Storage, (C) 2016, 2017 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
cmd/benchmark-utils_test.go
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.0001790988171705976, 0.00017105216102208942, 0.00016493328439537436, 0.00017119977565016598, 0.0000029089528652548324 ]
{ "id": 0, "code_window": [ "apiVersion: apps/v1beta1\n", "kind: StatefulSet\n", "metadata:\n", " # This name uniquely identifies the StatefulSet\n", " name: minio\n", "spec:\n" ], "labels": [ "replace", "keep", "keep", "keep", "keep", "keep" ], "after_edit"...
/* * MinIO Cloud Storage, (C) 2015, 2016, 2017, 2018 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
cmd/bucket-handlers.go
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.0005719896871596575, 0.00017693094559945166, 0.0001635445369174704, 0.00017092296911869198, 0.00004314452598919161 ]
{ "id": 1, "code_window": [ "apiVersion: extensions/v1beta1\n", "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n" ], "labels": [ "replace", "keep", "keep", "keep" ], "after_edit": [ "apiVersion: apps/v1\n" ], "file_path": "docs/...
apiVersion: extensions/v1beta1 kind: Deployment metadata: # This name uniquely identifies the Deployment name: minio-deployment spec: strategy: type: Recreate template: metadata: labels: # Label is used as selector in the service. app: minio spec: # Refer to the secret cr...
docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml
1
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.9731499552726746, 0.19478371739387512, 0.00016745766333770007, 0.00017227364878635854, 0.3891831040382385 ]
{ "id": 1, "code_window": [ "apiVersion: extensions/v1beta1\n", "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n" ], "labels": [ "replace", "keep", "keep", "keep" ], "after_edit": [ "apiVersion: apps/v1\n" ], "file_path": "docs/...
#!/bin/bash # # Mint (C) 2019 Minio, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
mint/run/core/healthcheck/run.sh
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.00017300025501754135, 0.0001720091822789982, 0.00017151053179986775, 0.00017151674546767026, 7.008022748777876e-7 ]
{ "id": 1, "code_window": [ "apiVersion: extensions/v1beta1\n", "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n" ], "labels": [ "replace", "keep", "keep", "keep" ], "after_edit": [ "apiVersion: apps/v1\n" ], "file_path": "docs/...
/* * MinIO Cloud Storage, (C) 2015, 2016, 2017 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
cmd/signature-v4-utils.go
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.00022850035747978836, 0.00017473135085310787, 0.00016526451508980244, 0.00016960503126028925, 0.000014105369700700976 ]
{ "id": 1, "code_window": [ "apiVersion: extensions/v1beta1\n", "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n" ], "labels": [ "replace", "keep", "keep", "keep" ], "after_edit": [ "apiVersion: apps/v1\n" ], "file_path": "docs/...
#!/bin/bash # # Mint (C) 2017 Minio, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
mint/run/core/aws-sdk-go/run.sh
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.0001716322440188378, 0.00017100076365750283, 0.0001698532869340852, 0.00017151674546767026, 8.127540809255152e-7 ]
{ "id": 2, "code_window": [ "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n", " name: minio-deployment\n", "spec:\n", " strategy:\n", " type: Recreate\n", " template:\n" ], "labels": [ "keep", "keep", "keep", "keep", ...
apiVersion: extensions/v1beta1 kind: Deployment metadata: # This name uniquely identifies the Deployment name: minio spec: strategy: # Specifies the strategy used to replace old Pods by new ones # Refer: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy type: Recreate te...
docs/orchestration/kubernetes/minio-standalone-deployment.yaml
1
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.12379837781190872, 0.01819298230111599, 0.00017528953321743757, 0.0005405530682764947, 0.04311489313840866 ]
{ "id": 2, "code_window": [ "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n", " name: minio-deployment\n", "spec:\n", " strategy:\n", " type: Recreate\n", " template:\n" ], "labels": [ "keep", "keep", "keep", "keep", ...
/* * MinIO Cloud Storage, (C) 2017 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
cmd/setup-type.go
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.00017525158182252198, 0.00017075767391361296, 0.00016393826808780432, 0.00017248601943720132, 0.000004569338670989964 ]
{ "id": 2, "code_window": [ "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n", " name: minio-deployment\n", "spec:\n", " strategy:\n", " type: Recreate\n", " template:\n" ], "labels": [ "keep", "keep", "keep", "keep", ...
/* * MinIO Cloud Storage (C) 2018 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
browser/app/js/buckets/BucketDropdown.js
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.00017710142128635198, 0.00016972070443443954, 0.00016173120820894837, 0.00016977899940684438, 0.000004068157068104483 ]
{ "id": 2, "code_window": [ "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n", " name: minio-deployment\n", "spec:\n", " strategy:\n", " type: Recreate\n", " template:\n" ], "labels": [ "keep", "keep", "keep", "keep", ...
/* * MinIO Cloud Storage, (C) 2019 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
pkg/lifecycle/and.go
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.00017806014511734247, 0.0001713903184281662, 0.00016281820717267692, 0.00017203972674906254, 0.0000061217783695610706 ]
{ "id": 3, "code_window": [ "apiVersion: extensions/v1beta1\n", "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n" ], "labels": [ "replace", "keep", "keep", "keep" ], "after_edit": [ "apiVersion: apps/v1\n" ], "file_path": "docs/...
apiVersion: extensions/v1beta1 kind: Deployment metadata: # This name uniquely identifies the Deployment name: minio spec: strategy: # Specifies the strategy used to replace old Pods by new ones # Refer: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy type: Recreate te...
docs/orchestration/kubernetes/minio-standalone-deployment.yaml
1
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.9341191649436951, 0.13513195514678955, 0.00016676961968187243, 0.0002816664637066424, 0.32620519399642944 ]
{ "id": 3, "code_window": [ "apiVersion: extensions/v1beta1\n", "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n" ], "labels": [ "replace", "keep", "keep", "keep" ], "after_edit": [ "apiVersion: apps/v1\n" ], "file_path": "docs/...
FROM golang:1.13-alpine ENV GOPATH /go ENV CGO_ENABLED 0 ENV GO111MODULE on RUN \ apk add --no-cache git && \ git clone https://github.com/minio/minio FROM alpine:3.9 LABEL maintainer="MinIO Inc <dev@min.io>" COPY dockerscripts/docker-entrypoint.sh /usr/bin/ ENV MINIO_UPDATE off ENV MINIO_ACCESS_KEY_FI...
Dockerfile.release
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.0001928014971781522, 0.00017623670282773674, 0.00016425168723799288, 0.00017394681344740093, 0.000011900477147719357 ]
{ "id": 3, "code_window": [ "apiVersion: extensions/v1beta1\n", "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n" ], "labels": [ "replace", "keep", "keep", "keep" ], "after_edit": [ "apiVersion: apps/v1\n" ], "file_path": "docs/...
#!/bin/bash -e # # Mint (C) 2017 Minio, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
mint/postinstall.sh
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.00017341163766104728, 0.00017092366761062294, 0.00016740657156333327, 0.0001719528081594035, 0.000002557283096393803 ]
{ "id": 3, "code_window": [ "apiVersion: extensions/v1beta1\n", "kind: Deployment\n", "metadata:\n", " # This name uniquely identifies the Deployment\n" ], "labels": [ "replace", "keep", "keep", "keep" ], "after_edit": [ "apiVersion: apps/v1\n" ], "file_path": "docs/...
/* * MinIO Cloud Storage, (C) 2017, 2018 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
cmd/encryption-v1_test.go
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.0005104067386128008, 0.0001941648661158979, 0.00016489476547576487, 0.00016932853031903505, 0.00006722319812979549 ]
{ "id": 4, "code_window": [ "metadata:\n", " # This name uniquely identifies the Deployment\n", " name: minio\n", "spec:\n", " strategy:\n", " # Specifies the strategy used to replace old Pods by new ones\n", " # Refer: https://kubernetes.io/docs/concepts/workloads/controllers/d...
apiVersion: extensions/v1beta1 kind: Deployment metadata: # This name uniquely identifies the Deployment name: minio-deployment spec: strategy: type: Recreate template: metadata: labels: # Label is used as selector in the service. app: minio spec: # Refer to the secret cr...
docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml
1
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.12627804279327393, 0.02542142942547798, 0.000174972417880781, 0.0002220262831542641, 0.05042831599712372 ]
{ "id": 4, "code_window": [ "metadata:\n", " # This name uniquely identifies the Deployment\n", " name: minio\n", "spec:\n", " strategy:\n", " # Specifies the strategy used to replace old Pods by new ones\n", " # Refer: https://kubernetes.io/docs/concepts/workloads/controllers/d...
## `minio-go` tests This directory serves as the location for Mint tests using `minio-go`. Top level `mint.sh` calls `run.sh` to execute tests. ## Adding new tests New tests are added in functional tests of minio-go. Please check https://github.com/minio/minio-go ## Running tests manually - Set environment variable...
mint/run/core/minio-go/README.md
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.00016825231432449073, 0.00016530805442016572, 0.0001623637945158407, 0.00016530805442016572, 0.0000029442599043250084 ]
{ "id": 4, "code_window": [ "metadata:\n", " # This name uniquely identifies the Deployment\n", " name: minio\n", "spec:\n", " strategy:\n", " # Specifies the strategy used to replace old Pods by new ones\n", " # Refer: https://kubernetes.io/docs/concepts/workloads/controllers/d...
/* * MinIO Cloud Storage, (C) 2018 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
pkg/policy/condition/binaryequalsfunc.go
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.0004957464407198131, 0.00019573650206439197, 0.00016467494424432516, 0.00017327515524812043, 0.00008338991756318137 ]
{ "id": 4, "code_window": [ "metadata:\n", " # This name uniquely identifies the Deployment\n", " name: minio\n", "spec:\n", " strategy:\n", " # Specifies the strategy used to replace old Pods by new ones\n", " # Refer: https://kubernetes.io/docs/concepts/workloads/controllers/d...
// +build linux /* * MinIO Cloud Storage, (C) 2017 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
pkg/mountinfo/mountinfo.go
0
https://github.com/minio/minio/commit/4f981a0b42dd35ccfca8fb9f21b058206402bcb6
[ 0.0001772196701494977, 0.0001694545935606584, 0.00016271235654130578, 0.0001689431956037879, 0.0000055574009820702486 ]
{ "id": 0, "code_window": [ " # one of always, never, when-maximised\n", " # this determines whether the git graph is rendered in the commits panel\n", " showGraph: 'when-maximised'\n", " skipHookPrefix: WIP\n", " autoFetch: true\n", " autoRefresh: true\n", " branchLogCmd: '...
package context import ( "github.com/jesseduffield/gocui" "github.com/jesseduffield/lazygit/pkg/commands/models" "github.com/jesseduffield/lazygit/pkg/gui/types" ) type LocalCommitsContext struct { *LocalCommitsViewModel *ViewportListContextTrait } var _ types.IListContext = (*LocalCommitsContext)(nil) func Ne...
pkg/gui/context/local_commits_context.go
1
https://github.com/jesseduffield/lazygit/commit/666180cfd02f7ff69faa7425caa5eef358955827
[ 0.0029935818165540695, 0.0005121869035065174, 0.00016755174146965146, 0.0002091269416268915, 0.0007702581351622939 ]
{ "id": 0, "code_window": [ " # one of always, never, when-maximised\n", " # this determines whether the git graph is rendered in the commits panel\n", " showGraph: 'when-maximised'\n", " skipHookPrefix: WIP\n", " autoFetch: true\n", " autoRefresh: true\n", " branchLogCmd: '...
0000000000000000000000000000000000000000 5d98350a913b48a35001ff9b54335f065b25fd7c CI <CI@example.com> 1648348611 +1100 commit (initial): myfile1 5d98350a913b48a35001ff9b54335f065b25fd7c 5b85aaf0806d1bc5830bb10291727f773c3402dc CI <CI@example.com> 1648348611 +1100 commit: myfile2 5b85aaf0806d1bc5830bb10291727f773c3402dc...
test/integration/pushWithCredentials/expected/repo/.git_keep/logs/refs/heads/master
0
https://github.com/jesseduffield/lazygit/commit/666180cfd02f7ff69faa7425caa5eef358955827
[ 0.00016255542868748307, 0.00016255542868748307, 0.00016255542868748307, 0.00016255542868748307, 0 ]
{ "id": 0, "code_window": [ " # one of always, never, when-maximised\n", " # this determines whether the git graph is rendered in the commits panel\n", " showGraph: 'when-maximised'\n", " skipHookPrefix: WIP\n", " autoFetch: true\n", " autoRefresh: true\n", " branchLogCmd: '...
d0ce4cb10cd926f646a08889b077a6d7eddd3534
test/integration/rememberCommitMessageAfterFail/expected/repo/.git_keep/refs/heads/master
0
https://github.com/jesseduffield/lazygit/commit/666180cfd02f7ff69faa7425caa5eef358955827
[ 0.00019225334108341485, 0.00019225334108341485, 0.00019225334108341485, 0.00019225334108341485, 0 ]
{ "id": 0, "code_window": [ " # one of always, never, when-maximised\n", " # this determines whether the git graph is rendered in the commits panel\n", " showGraph: 'when-maximised'\n", " skipHookPrefix: WIP\n", " autoFetch: true\n", " autoRefresh: true\n", " branchLogCmd: '...
test2
test/integration/commit/expected/repo/myfile2
0
https://github.com/jesseduffield/lazygit/commit/666180cfd02f7ff69faa7425caa5eef358955827
[ 0.00017498859961051494, 0.00017498859961051494, 0.00017498859961051494, 0.00017498859961051494, 0 ]
{ "id": 1, "code_window": [ "type LogConfig struct {\n", "\tOrder string `yaml:\"order\"` // one of date-order, author-date-order, topo-order\n", "\tShowGraph string `yaml:\"showGraph\"` // one of always, never, when-maximised\n", "}\n", "\n", "type CommitPrefixConfig struct {\n", ...
package context import ( "github.com/jesseduffield/gocui" "github.com/jesseduffield/lazygit/pkg/commands/models" "github.com/jesseduffield/lazygit/pkg/gui/types" ) type LocalCommitsContext struct { *LocalCommitsViewModel *ViewportListContextTrait } var _ types.IListContext = (*LocalCommitsContext)(nil) func Ne...
pkg/gui/context/local_commits_context.go
1
https://github.com/jesseduffield/lazygit/commit/666180cfd02f7ff69faa7425caa5eef358955827
[ 0.0036271612625569105, 0.0007061948417685926, 0.00017235234554391354, 0.00024122680770233274, 0.001002797158434987 ]
{ "id": 1, "code_window": [ "type LogConfig struct {\n", "\tOrder string `yaml:\"order\"` // one of date-order, author-date-order, topo-order\n", "\tShowGraph string `yaml:\"showGraph\"` // one of always, never, when-maximised\n", "}\n", "\n", "type CommitPrefixConfig struct {\n", ...
# Change from termbox to tcell Original GOCUI was written on top of [termbox](https://github.com/nsf/termbox-go) package. This document describes changes which were done to be able to use to [tcell/v2](https://github.com/gdamore/tcell) package. ## Attribute color Attribute type represents a terminal attribute like c...
vendor/github.com/jesseduffield/gocui/CHANGES_tcell.md
0
https://github.com/jesseduffield/lazygit/commit/666180cfd02f7ff69faa7425caa5eef358955827
[ 0.00017575579113326967, 0.00017002905951812863, 0.0001638315588934347, 0.00017026712885126472, 0.00000420040441895253 ]
{ "id": 1, "code_window": [ "type LogConfig struct {\n", "\tOrder string `yaml:\"order\"` // one of date-order, author-date-order, topo-order\n", "\tShowGraph string `yaml:\"showGraph\"` // one of always, never, when-maximised\n", "}\n", "\n", "type CommitPrefixConfig struct {\n", ...
package presentation import ( "os" "strings" "testing" "github.com/gookit/color" "github.com/jesseduffield/generics/set" "github.com/jesseduffield/lazygit/pkg/commands/git_commands" "github.com/jesseduffield/lazygit/pkg/commands/models" "github.com/jesseduffield/lazygit/pkg/utils" "github.com/stretchr/testif...
pkg/gui/presentation/commits_test.go
0
https://github.com/jesseduffield/lazygit/commit/666180cfd02f7ff69faa7425caa5eef358955827
[ 0.007913683541119099, 0.0006865162285976112, 0.00016582486568950117, 0.00022539033670909703, 0.001472946023568511 ]
{ "id": 1, "code_window": [ "type LogConfig struct {\n", "\tOrder string `yaml:\"order\"` // one of date-order, author-date-order, topo-order\n", "\tShowGraph string `yaml:\"showGraph\"` // one of always, never, when-maximised\n", "}\n", "\n", "type CommitPrefixConfig struct {\n", ...
{ "description": "This test verifies that merge conflicts resolved externally are recognised by lazygit and the user is prompted to continue", "speed": 10 }
test/integration/mergeConflictsResolvedExternally/test.json
0
https://github.com/jesseduffield/lazygit/commit/666180cfd02f7ff69faa7425caa5eef358955827
[ 0.00017432545428164303, 0.00017432545428164303, 0.00017432545428164303, 0.00017432545428164303, 0 ]