text
stringlengths
93
16.4k
id
stringlengths
20
40
metadata
dict
input_ids
listlengths
45
2.05k
attention_mask
listlengths
45
2.05k
complexity
int64
1
9
func TestUnfreeze(t *testing.T) { c, err := NewContainer(ContainerName) if err != nil { t.Errorf(err.Error()) } if err := c.Unfreeze(); err != nil { t.Errorf(err.Error()) } c.Wait(RUNNING, 30*time.Second) if !c.Running() { t.Errorf("Unfreezing the container failed...") } }
explode_data.jsonl/2768
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 123 }
[ 2830, 3393, 1806, 51638, 1155, 353, 8840, 836, 8, 341, 1444, 11, 1848, 1669, 1532, 4502, 75145, 675, 340, 743, 1848, 961, 2092, 341, 197, 3244, 13080, 3964, 6141, 2398, 197, 630, 743, 1848, 1669, 272, 10616, 51638, 2129, 1848, 961, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
4
func TestAccDataSourceSystemInformation_basic(t *testing.T) { resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, Providers: testAccProviders, Steps: []resource.TestStep{ { Config: testAccSystemInformationConfig(), Check: resource.ComposeTestCheckFunc( resource.TestCheck...
explode_data.jsonl/50015
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 282 }
[ 2830, 3393, 14603, 17173, 2320, 14873, 34729, 1155, 353, 8840, 836, 8, 341, 50346, 8787, 1155, 11, 5101, 31363, 515, 197, 197, 4703, 3973, 25, 220, 2915, 368, 314, 1273, 14603, 4703, 3973, 1155, 8, 1153, 197, 197, 37351, 25, 1273, 146...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestCloudHypervisorAddNetCheckEnpointTypes(t *testing.T) { assert := assert.New(t) tapPath := "/path/to/tap" validVeth := &VethEndpoint{} validVeth.NetPair.TapInterface.TAPIface.Name = tapPath type args struct { e Endpoint } // nolint: govet tests := []struct { name string args args wantEr...
explode_data.jsonl/68496
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 365 }
[ 2830, 3393, 16055, 39, 1082, 31396, 2212, 6954, 3973, 1702, 2768, 4173, 1155, 353, 8840, 836, 8, 341, 6948, 1669, 2060, 7121, 1155, 692, 3244, 391, 1820, 1669, 3521, 2343, 32429, 5523, 391, 1837, 56322, 53, 769, 1669, 609, 53, 769, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestTargetScrapeScrapeCancel(t *testing.T) { block := make(chan struct{}) server := httptest.NewServer( http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { <-block }), ) defer server.Close() serverURL, err := url.Parse(server.URL) if err != nil { panic(err) } ts := &targetScraper{ ...
explode_data.jsonl/56137
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 482 }
[ 2830, 3393, 6397, 3326, 19842, 3326, 19842, 9269, 1155, 353, 8840, 836, 8, 341, 47996, 1669, 1281, 35190, 2036, 6257, 692, 41057, 1669, 54320, 70334, 7121, 5475, 1006, 197, 28080, 89164, 18552, 3622, 1758, 37508, 11, 435, 353, 1254, 9659,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestInputWrapperSwap(t *testing.T) { ctx, done := context.WithTimeout(context.Background(), time.Second*30) defer done() conf := input.NewConfig() conf.Type = "generate" conf.Generate.Interval = "10ms" conf.Generate.Mapping = `root.name = "from root generate"` bMgr := bmock.NewManager() iWrapped, err :=...
explode_data.jsonl/51066
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 636 }
[ 2830, 3393, 2505, 11542, 46179, 1155, 353, 8840, 836, 8, 341, 20985, 11, 2814, 1669, 2266, 26124, 7636, 5378, 19047, 1507, 882, 32435, 9, 18, 15, 340, 16867, 2814, 2822, 67850, 1669, 1946, 7121, 2648, 741, 67850, 10184, 284, 330, 19366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestGetUsersByStatus(t *testing.T) { th := Setup(t) defer th.TearDown() team, appErr := th.App.CreateTeam(th.Context, &model.Team{ DisplayName: "dn_" + model.NewId(), Name: GenerateTestTeamName(), Email: th.GenerateTestEmail(), Type: model.TeamOpen, }) require.Nil(t, appErr, "fai...
explode_data.jsonl/47556
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1450 }
[ 2830, 3393, 1949, 7137, 1359, 2522, 1155, 353, 8840, 836, 8, 341, 70479, 1669, 18626, 1155, 340, 16867, 270, 836, 682, 4454, 2822, 197, 9196, 11, 906, 7747, 1669, 270, 5105, 7251, 14597, 24365, 9328, 11, 609, 2528, 65842, 515, 197, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestK8SServiceFileModeOctalToDecimalAssertions(t *testing.T) { t.Parallel() helmChartPath, err := filepath.Abs(filepath.Join("..", "charts", "k8s-service")) require.NoError(t, err) testCases := []string{ "800", // First digit greater than max (7) "080", // Second digit greater than max (7) "008", // ...
explode_data.jsonl/59764
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 546 }
[ 2830, 3393, 42, 23, 1220, 1017, 1703, 3636, 18053, 278, 1249, 11269, 90206, 1155, 353, 8840, 836, 8, 341, 3244, 41288, 7957, 741, 9598, 23162, 14488, 1820, 11, 1848, 1669, 26054, 33255, 34793, 22363, 95032, 497, 330, 36584, 497, 330, 74...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestUint(t *testing.T) { var args struct { Foo uint Ptr *uint } err := parse("--foo 7 --ptr 8", &args) require.NoError(t, err) assert.EqualValues(t, 7, args.Foo) assert.EqualValues(t, 8, *args.Ptr) }
explode_data.jsonl/12986
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 96 }
[ 2830, 3393, 21570, 1155, 353, 8840, 836, 8, 341, 2405, 2827, 2036, 341, 197, 12727, 2624, 2622, 198, 197, 197, 5348, 353, 2496, 198, 197, 532, 9859, 1669, 4715, 21549, 7975, 220, 22, 1177, 3505, 220, 23, 497, 609, 2116, 340, 17957, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestPrefetch(t *testing.T) { seed := time.Now().UnixNano() r := mrand.New(mrand.NewSource(seed)) for _, tc := range []struct { name string size int64 bufferSize int readOffset int64 expRead int }{ { name: "one byte", size: 1, bufferSize: 1, readOffset: 0, ...
explode_data.jsonl/51988
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1994 }
[ 2830, 3393, 29978, 2995, 1155, 353, 8840, 836, 8, 341, 197, 22602, 1669, 882, 13244, 1005, 55832, 83819, 2822, 7000, 1669, 296, 11335, 7121, 1255, 11335, 7121, 3608, 44163, 4390, 2023, 8358, 17130, 1669, 2088, 3056, 1235, 341, 197, 11609,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
7
func TestReconcile_TryToDeleteLVGWithVolume(t *testing.T) { var ( c = setup(t, node1ID, lvgCR1) req = ctrl.Request{NamespacedName: types.NamespacedName{Namespace: ns, Name: lvgCR1.Name}} ) lvgToDell := lvgCR1 lvgToDell.ObjectMeta.DeletionTimestamp = &v1.Time{Time: time.Now()} lvgToDell.ObjectMeta.Finalizers...
explode_data.jsonl/51720
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 363 }
[ 2830, 3393, 693, 40446, 457, 1139, 884, 64105, 40258, 38, 2354, 18902, 1155, 353, 8840, 836, 8, 341, 2405, 2399, 197, 1444, 256, 284, 6505, 1155, 11, 2436, 16, 915, 11, 326, 7239, 8973, 16, 340, 197, 24395, 284, 23743, 9659, 90, 798...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestInsecureMustBeBool(t *testing.T) { paramUri := fmt.Sprintf("localhost?user=test&pass=yep&insecure=foo") _, err := newHawkularSource(paramUri) if err == nil { t.Errorf("Expected error from newHawkularSource") } }
explode_data.jsonl/55849
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 89 }
[ 2830, 3393, 641, 25132, 31776, 3430, 11233, 1155, 353, 8840, 836, 8, 341, 36037, 13899, 1669, 8879, 17305, 445, 8301, 30, 872, 53538, 5, 6385, 29368, 747, 5, 258, 25132, 28, 7975, 1138, 197, 6878, 1848, 1669, 501, 39, 23397, 1276, 360...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestMasterIndex(t *testing.T) { bhInIdx1 := restic.NewRandomBlobHandle() bhInIdx2 := restic.NewRandomBlobHandle() bhInIdx12 := restic.BlobHandle{ID: restic.NewRandomID(), Type: restic.TreeBlob} blob1 := restic.PackedBlob{ PackID: restic.NewRandomID(), Blob: restic.Blob{ BlobHandle: bhInIdx1, Length:...
explode_data.jsonl/57821
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1411 }
[ 2830, 3393, 18041, 1552, 1155, 353, 8840, 836, 8, 341, 2233, 71, 641, 11420, 16, 1669, 2732, 292, 7121, 13999, 37985, 6999, 741, 2233, 71, 641, 11420, 17, 1669, 2732, 292, 7121, 13999, 37985, 6999, 741, 2233, 71, 641, 11420, 16, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
5
func TestCheckPointMultiple(t *testing.T) { setup() assert := require.New(t) r := strings.NewReader(` 2021-01-14T12:16:54.579+0800 INFO CheckPoint {"host": "172.16.5.140", "port": "22", "user": "tidb", "cmd": "test cmd", "sudo": false, "stdout": "success", "stderr": ""} 2021-01-14T12:17:32.222+0800 ...
explode_data.jsonl/27336
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 582 }
[ 2830, 3393, 3973, 2609, 32089, 1155, 353, 8840, 836, 8, 341, 84571, 2822, 6948, 1669, 1373, 7121, 1155, 340, 7000, 1669, 9069, 68587, 61528, 197, 197, 17, 15, 17, 16, 12, 15, 16, 12, 16, 19, 51, 16, 17, 25, 16, 21, 25, 20, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestSpanBuilderCanSplitSpan(t *testing.T) { defer leaktest.AfterTest(t)() ctx := context.TODO() params, _ := tests.CreateTestServerParams() s, sqlDB, kvDB := serverutils.StartServer(t, params) defer s.Stopper().Stop(ctx) execCfg := s.ExecutorConfig().(ExecutorConfig) tcs := []struct { sql st...
explode_data.jsonl/46902
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1411 }
[ 2830, 3393, 12485, 3297, 6713, 20193, 12485, 1155, 353, 8840, 836, 8, 341, 16867, 23352, 1944, 36892, 2271, 1155, 8, 741, 20985, 1669, 2266, 90988, 741, 25856, 11, 716, 1669, 7032, 7251, 2271, 5475, 4870, 741, 1903, 11, 5704, 3506, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
5
func TestTransformNestedMessages(t *testing.T) { schema := []byte(` syntax = "proto3"; package api.myapp; message Outer { // Level 0 int32 field_int32 = 1; message MiddleAA { // Level 1 string field_string = 1; message Inner { // Level 2 int64 ...
explode_data.jsonl/2065
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 538 }
[ 2830, 3393, 8963, 71986, 15820, 1155, 353, 8840, 836, 8, 341, 1903, 3416, 1669, 3056, 3782, 61528, 197, 1903, 13662, 284, 330, 15110, 18, 876, 197, 197, 1722, 6330, 12618, 676, 401, 197, 24753, 55197, 314, 1698, 442, 9395, 220, 15, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestKeyRevocation(t *testing.T) { kring, _ := ReadKeyRing(readerFromHex(revokedKeyHex)) // revokedKeyHex contains these keys: // pub 1024R/9A34F7C0 2014-03-25 [revoked: 2014-03-25] // sub 1024R/1BA3CD60 2014-03-25 [revoked: 2014-03-25] ids := []uint64{0xA401D9F09A34F7C0, 0x5CD3BE0A1BA3CD60} for _, id :...
explode_data.jsonl/14738
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 284 }
[ 2830, 3393, 1592, 36184, 2276, 1155, 353, 8840, 836, 8, 341, 197, 9855, 287, 11, 716, 1669, 4457, 1592, 43466, 21987, 3830, 20335, 5801, 85, 10823, 1592, 20335, 4390, 197, 322, 64346, 1592, 20335, 5610, 1493, 6894, 510, 197, 322, 6675, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
4
func TestBaseIndent(t *testing.T) { t.Parallel() // The testfile must not contain multi-line raw strings since those // are not indented (because their values must not change) and make // this test fail. const filename = "printer.go" src, err := ioutil.ReadFile(filename) if err != nil { panic(err) // error in ...
explode_data.jsonl/64603
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 475 }
[ 2830, 3393, 3978, 42729, 1155, 353, 8840, 836, 8, 341, 3244, 41288, 7957, 741, 197, 322, 576, 1273, 1192, 1969, 537, 6644, 7299, 8447, 7112, 9069, 2474, 1846, 198, 197, 322, 525, 537, 1257, 15864, 320, 27653, 862, 2750, 1969, 537, 229...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
6
func TestSubscribeStreamFlowControlOverflow(t *testing.T) { subscription := subscriptionPartition{"projects/123456/locations/us-central1-b/subscriptions/my-sub", 0} msg1 := seqMsgWithOffsetAndSize(56, 900) msg2 := seqMsgWithOffsetAndSize(57, 101) // Overflows ReceiveSettings.MaxOutstandingBytes = 1000 verifiers :=...
explode_data.jsonl/31644
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 331 }
[ 2830, 3393, 28573, 3027, 18878, 3273, 42124, 1155, 353, 8840, 836, 8, 341, 28624, 12124, 1669, 15142, 49978, 4913, 17161, 14, 16, 17, 18, 19, 20, 21, 14, 31309, 62431, 84081, 16, 1455, 37885, 29966, 34198, 17967, 497, 220, 15, 532, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestNodeAddressesByProviderID(t *testing.T) { ctrl := gomock.NewController(t) defer ctrl.Finish() cloud := GetTestCloud(ctrl) cloud.Config.UseInstanceMetadata = true metadataTemplate := `{"compute":{"name":"%s"},"network":{"interface":[{"ipv4":{"ipAddress":[{"privateIpAddress":"%s","publicIpAddress":"%s"}]},"...
explode_data.jsonl/60299
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1306 }
[ 2830, 3393, 1955, 52290, 1359, 5179, 915, 1155, 353, 8840, 836, 8, 341, 84381, 1669, 342, 316, 1176, 7121, 2051, 1155, 340, 16867, 23743, 991, 18176, 741, 197, 12361, 1669, 2126, 2271, 16055, 62100, 340, 197, 12361, 10753, 9046, 2523, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestAssociateAuditor(t *testing.T) { Convey("Associate auditor", t, func() { setup(MockRoute{"PUT", "/v2/organizations/bc7b4caf-f4b8-4d85-b126-0729b9351e56/auditors/user-guid", []string{associateOrgUserPayload}, "", 201, "", nil}, t) defer teardown() c := &Config{ ApiAddress: server.URL, Token: "...
explode_data.jsonl/4440
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 311 }
[ 2830, 3393, 95540, 52949, 1919, 1155, 353, 8840, 836, 8, 341, 93070, 5617, 445, 95540, 53306, 497, 259, 11, 2915, 368, 341, 197, 84571, 66436, 4899, 4913, 6221, 497, 3521, 85, 17, 14, 69253, 3470, 66, 22, 65, 19, 68796, 2220, 19, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestGitService_GetBlobRaw(t *testing.T) { client, mux, _, teardown := setup() defer teardown() mux.HandleFunc("/repos/o/r/git/blobs/s", func(w http.ResponseWriter, r *http.Request) { testMethod(t, r, "GET") testHeader(t, r, "Accept", "application/vnd.github.v3.raw") fmt.Fprint(w, `raw contents here`) }...
explode_data.jsonl/11496
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 259 }
[ 2830, 3393, 46562, 1860, 13614, 37985, 20015, 1155, 353, 8840, 836, 8, 341, 25291, 11, 59807, 11, 8358, 49304, 1669, 6505, 741, 16867, 49304, 2822, 2109, 2200, 63623, 4283, 68354, 20271, 7382, 60590, 3470, 68164, 2687, 497, 2915, 3622, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func Test_DrawingObjects_GetDocumentDrawingObjectByIndexWithoutNodePath(t *testing.T) { config := ReadConfiguration(t) client, ctx := PrepareTest(t, config) remoteDataFolder := remoteBaseTestDataFolder + "/DocumentElements/DrawingObjectss" localFile := "Common/test_multi_pages.docx" remoteFileName :...
explode_data.jsonl/60048
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 330 }
[ 2830, 3393, 1557, 1696, 11543, 13614, 7524, 37437, 1190, 1359, 1552, 26040, 1955, 1820, 1155, 353, 8840, 836, 8, 341, 262, 2193, 1669, 4457, 7688, 1155, 340, 262, 2943, 11, 5635, 1669, 31166, 2271, 1155, 11, 2193, 340, 262, 8699, 1043, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestBSTIterator(t *testing.T) { root := &TreeNode{ Val: 5, } root.Left = &TreeNode{ Val: 2, } root.Left.Left = &TreeNode{ Val: 1, } root.Right = &TreeNode{ Val: 8, } root.Right.Left = &TreeNode{ Val: 6, } root.Right.Left.Right = &TreeNode{ Val: 7, } root.Right.Right = &TreeNode{ Val: 9, ...
explode_data.jsonl/17524
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 355 }
[ 2830, 3393, 61006, 11951, 1155, 353, 8840, 836, 8, 341, 33698, 1669, 609, 26597, 515, 197, 197, 2208, 25, 220, 20, 345, 197, 532, 33698, 17978, 284, 609, 26597, 515, 197, 197, 2208, 25, 220, 17, 345, 197, 532, 33698, 17978, 17978, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
4
func TestOrderedMapOutputRegressions1102(t *testing.T) { t.Parallel() generateTestCase := filepath.Join(TEST_FIXTURE_GET_OUTPUT, "regression-1102") cleanupTerraformFolder(t, generateTestCase) cleanupTerragruntFolder(t, generateTestCase) stdout := bytes.Buffer{} stderr := bytes.Buffer{} command := fmt.Sprintf("...
explode_data.jsonl/10141
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 381 }
[ 2830, 3393, 54384, 2227, 5097, 693, 2483, 908, 16, 16, 15, 17, 1155, 353, 8840, 836, 8, 341, 3244, 41288, 7957, 741, 3174, 13220, 16458, 1669, 26054, 22363, 50320, 42635, 41486, 12702, 23981, 11, 330, 1580, 11185, 12, 16, 16, 15, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestRouter(t *testing.T) { router := New() routed := false router.Handle("GET", "/user/:name", func(ctx *fasthttp.RequestCtx) { routed = true want := map[string]string{"name": "gopher"} if ctx.UserValue("name") != want["name"] { t.Fatalf("wrong wildcard values: want %v, got %v", want["name"], ctx.Use...
explode_data.jsonl/42485
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 343 }
[ 2830, 3393, 9523, 1155, 353, 8840, 836, 8, 341, 67009, 1669, 1532, 2822, 7000, 18533, 1669, 895, 198, 67009, 31421, 445, 3806, 497, 3521, 872, 11315, 606, 497, 2915, 7502, 353, 9349, 1254, 9659, 23684, 8, 341, 197, 7000, 18533, 284, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestList(t *testing.T) { th.SetupHTTP() defer th.TeardownHTTP() fixtures.HandleListSuccessfully(t) serverId := "4d8c3732-a248-40ed-bebc-539a6ffd25c0" count := 0 err := List(client.ServiceClient(), serverId).EachPage(func(page pagination.Page) (bool, error) { count++ actual, err := volumeattach.ExtractVo...
explode_data.jsonl/34613
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 209 }
[ 2830, 3393, 852, 1155, 353, 8840, 836, 8, 341, 70479, 39820, 9230, 741, 16867, 270, 94849, 37496, 9230, 741, 1166, 941, 18513, 31421, 852, 35959, 1155, 340, 41057, 764, 1669, 330, 19, 67, 23, 66, 18, 22, 18, 17, 7409, 17, 19, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestSearch__fedwireSearchStateOnlyRequest(t *testing.T) { u, _ := url.Parse("https://moov.io/fed/wire/search?state=IA") req := readFEDSearchRequest(u) if req.State != "IA" { t.Errorf("req.State=%s", req.State) } if !req.stateOnly() { t.Errorf("req is not state only") } }
explode_data.jsonl/71099
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 120 }
[ 2830, 3393, 5890, 563, 51123, 35531, 5890, 1397, 7308, 1900, 1155, 353, 8840, 836, 8, 341, 10676, 11, 716, 1669, 2515, 8937, 445, 2428, 1110, 6355, 859, 4245, 6663, 291, 6324, 554, 23167, 30, 2454, 28, 5863, 1138, 24395, 1669, 1349, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestStepInParked(t *testing.T) { if runtime.GOOS == "freebsd" { t.SkipNow() } runTest(t, "parallel_next", func(client *daptest.Client, fixture protest.Fixture) { runDebugSessionWithBPs(t, client, "launch", // Launch func() { client.LaunchRequest("exec", fixture.Path, !stopOnEntry) }, // Set ...
explode_data.jsonl/17339
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 336 }
[ 2830, 3393, 8304, 641, 47, 42061, 1155, 353, 8840, 836, 8, 341, 743, 15592, 97574, 3126, 621, 330, 10593, 51835, 1, 341, 197, 3244, 57776, 7039, 741, 197, 532, 56742, 2271, 1155, 11, 330, 46103, 11257, 497, 2915, 12805, 353, 91294, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestGuildMarshal(t *testing.T) { data, err := ioutil.ReadFile("testdata/guild/guild1.json") check(err, t) v := Guild{} err = httd.Unmarshal(data, &v) check(err, t) }
explode_data.jsonl/55140
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 81 }
[ 2830, 3393, 72574, 55438, 1155, 353, 8840, 836, 8, 341, 8924, 11, 1848, 1669, 43144, 78976, 445, 92425, 4846, 1498, 4846, 1498, 16, 4323, 1138, 25157, 3964, 11, 259, 692, 5195, 1669, 32492, 16094, 9859, 284, 34323, 1296, 38097, 2592, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
1
func TestReadme(t *testing.T) { // Create a new cache. (1) expiration is how long complcache // keeps a value until it is evicted. (2) fill controls // how long GetOrCreate waits for a new value to be available // before failing with a time out. (3) gc is the time between // garbage collection which cleans up expi...
explode_data.jsonl/51367
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 403 }
[ 2830, 3393, 4418, 2660, 1155, 353, 8840, 836, 8, 341, 197, 322, 4230, 264, 501, 6500, 13, 320, 16, 8, 31692, 374, 1246, 1293, 4581, 9360, 198, 197, 322, 13598, 264, 897, 3080, 432, 374, 3637, 12770, 13, 320, 17, 8, 5155, 11574, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestJSONLines(t *testing.T) { jsonStr := ` true false {"name":"tom"} [1,2,3,4,5] {"name":"janet"} null 12930.1203 ` paths := []string{"..#", "..0", "..2.name", "..#.name", "..6", "..7"} ress := []string{"7", "true", "tom", `["tom","janet"]`, "12930.1203", ""} for i, path := range paths { res := Get(jsonStr,...
explode_data.jsonl/43453
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 442 }
[ 2830, 3393, 5370, 16794, 1155, 353, 8840, 836, 8, 341, 30847, 2580, 1669, 22074, 1866, 198, 3849, 198, 4913, 606, 3252, 37401, 16707, 58, 16, 11, 17, 11, 18, 11, 19, 11, 20, 921, 4913, 606, 3252, 22838, 295, 16707, 2921, 198, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestMultiChownWithRecur(t *testing.T) { fileName := []string{ recursiveDirRoot + "/chown1.txt", recursiveDirRoot + "/chown2.txt", recursiveDirRoot + "/chown3.txt", } err := Touch(fileName) if err != nil { panic(err) } t.Cleanup(func() { _ = RemoveWithRecur(dirRoot) }) if !Exists(fileName) { ...
explode_data.jsonl/34181
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 191 }
[ 2830, 3393, 20358, 1143, 779, 2354, 693, 2352, 1155, 353, 8840, 836, 8, 341, 17661, 675, 1669, 3056, 917, 515, 197, 197, 49512, 6184, 8439, 488, 3521, 331, 779, 16, 3909, 756, 197, 197, 49512, 6184, 8439, 488, 3521, 331, 779, 17, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestScFinishedEv(t *testing.T) { tests := []testFields{ { name: "no blocks", steps: []pcFsmMakeStateValues{ { currentState: &params{height: 100, items: []pcBlock{}, blocksSynced: 100}, event: scFinishedEv{}, wantState: &params{height: 100, items: []pcBlock{}, blocksSynced: 100}, wan...
explode_data.jsonl/30584
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 560 }
[ 2830, 3393, 3326, 24890, 34112, 1155, 353, 8840, 836, 8, 341, 78216, 1669, 3056, 1944, 8941, 515, 197, 197, 515, 298, 11609, 25, 330, 2152, 10010, 756, 298, 18388, 7124, 25, 3056, 3992, 37, 3563, 8078, 1397, 6227, 515, 571, 197, 515, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestResolveConstIntWithIdentWithBadCon(t *testing.T) { obj := ast.Object{Kind: ast.Con} expr := ast.Ident{Obj: &obj} _, err := resolveConstInt(&expr) if err == nil { t.Error("should have received error because expr.Obj.Decl == nil") } obj.Decl = 0 _, err = resolveConstInt(&expr) if err == nil { t.Erro...
explode_data.jsonl/33718
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 145 }
[ 2830, 3393, 56808, 19167, 1072, 2354, 28301, 2354, 17082, 1109, 1155, 353, 8840, 836, 8, 341, 22671, 1669, 11763, 8348, 90, 10629, 25, 11763, 4801, 532, 8122, 649, 1669, 11763, 6444, 306, 90, 5261, 25, 609, 2295, 532, 197, 6878, 1848, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestServer_OperationGroups(t *testing.T) { log.SetOutput(ioutil.Discard) defer func() { log.SetOutput(os.Stdout) _ = os.RemoveAll(filepath.Join(".", "restapi")) _ = os.RemoveAll(filepath.Join(".", "search")) _ = os.RemoveAll(filepath.Join(".", "tasks")) }() gen, err := testAppGenerator(t, "../fixtures...
explode_data.jsonl/3789
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 820 }
[ 2830, 3393, 5475, 2232, 91774, 22173, 1155, 353, 8840, 836, 8, 341, 6725, 4202, 5097, 1956, 30158, 909, 47560, 340, 16867, 2915, 368, 341, 197, 6725, 4202, 5097, 9638, 83225, 340, 197, 197, 62, 284, 2643, 84427, 34793, 22363, 64217, 330...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestSetter(t *testing.T) { allcoin.Set("ShitCoin", "SHIT COIN") if !allcoin.Exist("ShitCoin") { t.Fatal("ShitCoin was added in previous step, but it cannot find it") } }
explode_data.jsonl/74136
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 72 }
[ 2830, 3393, 44294, 1155, 353, 8840, 836, 8, 341, 50960, 7160, 4202, 445, 2016, 275, 41180, 497, 330, 8590, 952, 7284, 687, 5130, 743, 753, 541, 7160, 5121, 380, 445, 2016, 275, 41180, 899, 341, 197, 3244, 26133, 445, 2016, 275, 41180,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
2
func TestNewWResourceithOptions(t *testing.T) { a := memattrs.New() k, v := "foo", "bar" MustSet(context.Background(), a, k, v, t) uid := memuid.NewFromString(resUID) r, err := NewResource(resType, resName, resGroup, resVersion, resKind, resNsd, WithUID(uid), WithDOTID(testDOTID), WithAttrs(a)) if err != nil { ...
explode_data.jsonl/38889
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 336 }
[ 2830, 3393, 3564, 54, 4783, 410, 3798, 1155, 353, 8840, 836, 8, 341, 11323, 1669, 1833, 20468, 7121, 741, 16463, 11, 348, 1669, 330, 7975, 497, 330, 2257, 698, 9209, 590, 1649, 5378, 19047, 1507, 264, 11, 595, 11, 348, 11, 259, 692,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
6
func TestInitializeShouldCreateRoot(t *testing.T) { extraMountPoints := []*MountPoint{} extraDirectories := []string{} dir := filepath.Join(tmpDir, "TestInitializeShouldCreateRoot") chroot := NewChroot(dir, isExistingDir) err := chroot.Initialize(emptyPath, extraDirectories, extraMountPoints) assert.NoError(t, ...
explode_data.jsonl/38790
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 229 }
[ 2830, 3393, 9928, 14996, 4021, 8439, 1155, 353, 8840, 836, 8, 341, 8122, 2172, 16284, 11411, 1669, 29838, 16284, 2609, 16094, 8122, 2172, 56397, 1669, 3056, 917, 31483, 48532, 1669, 26054, 22363, 10368, 6184, 11, 330, 2271, 9928, 14996, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestCharptrToString(t *testing.T) { ctx := log.Testing(t) ctx = database.Put(ctx, database.NewInMemory(ctx)) s := api.NewStateWithEmptyAllocator(device.Little32) cb := CommandBuilder{Thread: 0, Arena: s.Arena} expected := "ħęľĺő ŵōřŀď" err := api.MutateCmds(ctx, s, nil, nil, cb.CmdCharptrToString(p(0x1234)...
explode_data.jsonl/61061
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 220 }
[ 2830, 3393, 4768, 3505, 5870, 1155, 353, 8840, 836, 8, 341, 20985, 1669, 1487, 8787, 287, 1155, 340, 20985, 284, 4625, 39825, 7502, 11, 4625, 7121, 641, 10642, 7502, 1171, 1903, 1669, 6330, 7121, 1397, 2354, 3522, 42730, 17848, 1214, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestGetBroadcastCommand_OfflineFlag(t *testing.T) { clientCtx := client.Context{}.WithOffline(true) clientCtx = clientCtx.WithTxConfig(simapp.MakeTestEncodingConfig().TxConfig) cmd := authcli.GetBroadcastCommand() _ = testutil.ApplyMockIODiscardOutErr(cmd) cmd.SetArgs([]string{fmt.Sprintf("--%s=true", flags....
explode_data.jsonl/82091
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 146 }
[ 2830, 3393, 1949, 43362, 4062, 94377, 1056, 12135, 1155, 353, 8840, 836, 8, 341, 25291, 23684, 1669, 2943, 9328, 46391, 2354, 52563, 3715, 340, 25291, 23684, 284, 2943, 23684, 26124, 31584, 2648, 47760, 676, 50133, 2271, 14690, 2648, 1005, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestLoadingConfigurationFailure(t *testing.T) { os.Clearenv() mustSetEnv(t, "INSIGHTS_RESULTS_SMART_PROXY_CONFIG_FILE", "non existing file") err := conf.LoadConfiguration("") assert.Contains(t, err.Error(), `fatal error config file: Config File "non existing file" Not Found in`) }
explode_data.jsonl/61898
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 96 }
[ 2830, 3393, 8578, 7688, 17507, 1155, 353, 8840, 836, 8, 341, 25078, 727, 273, 9151, 85, 2822, 2109, 590, 1649, 14359, 1155, 11, 330, 9557, 4631, 50, 76015, 28845, 2992, 59065, 12568, 8087, 497, 330, 6280, 6350, 1034, 5130, 9859, 1669, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestCouchDBResultsIterator_Value_Internal(t *testing.T) { t.Run("Fail to get value from rows", func(t *testing.T) { iterator := &couchDBResultsIterator{ resultRows: &mockRows{}, } value, err := iterator.Value() require.EqualError(t, err, `failure while scanning result rows: mockRows ScanDoc always fai...
explode_data.jsonl/72591
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 130 }
[ 2830, 3393, 34, 3026, 3506, 9801, 11951, 27867, 37238, 1155, 353, 8840, 836, 8, 341, 3244, 16708, 445, 19524, 311, 633, 897, 504, 6978, 497, 2915, 1155, 353, 8840, 836, 8, 341, 197, 197, 6854, 1669, 609, 66, 3026, 3506, 9801, 11951, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestMarshalUnmarshalTaskASMResource(t *testing.T) { expectedCredentialsParameter := "secret-id" expectedRegion := "us-west-2" expectedExecutionCredentialsID := "credsid" task := &Task{ Arn: "test", ResourcesMapUnsafe: make(map[string][]taskresource.TaskResource), Containers: []*apicontai...
explode_data.jsonl/37232
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 855 }
[ 2830, 3393, 55438, 1806, 27121, 6262, 52584, 4783, 1155, 353, 8840, 836, 8, 1476, 42400, 27025, 4971, 1669, 330, 20474, 12897, 698, 42400, 14091, 1669, 330, 355, 37602, 12, 17, 698, 42400, 20294, 27025, 915, 1669, 330, 85734, 307, 1837, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestEntry_SelectSnapLeft(t *testing.T) { e, window := setupSelection(t, false) defer teardownImageTest(window) c := window.Canvas() assert.Equal(t, 1, e.CursorRow) assert.Equal(t, 5, e.CursorColumn) typeKeys(e, keyShiftLeftUp, fyne.KeyLeft) assert.Equal(t, 1, e.CursorRow) assert.Equal(t, 2, e.CursorColum...
explode_data.jsonl/12359
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 182 }
[ 2830, 3393, 5874, 58073, 61871, 5415, 1155, 353, 8840, 836, 8, 341, 7727, 11, 3241, 1669, 6505, 11177, 1155, 11, 895, 340, 16867, 49304, 1906, 2271, 15906, 340, 1444, 1669, 3241, 54121, 2822, 6948, 12808, 1155, 11, 220, 16, 11, 384, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestCapabilities(t *testing.T) { const uid = 343 const gid = 2401 for _, conf := range configs(all) { t.Logf("Running test with conf: %+v", conf) spec := testutil.NewSpecWithArgs("sleep", "100") // We generate files in the host temporary directory. spec.Mounts = append(spec.Mounts, specs.Mount{ De...
explode_data.jsonl/48923
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1088 }
[ 2830, 3393, 55315, 1155, 353, 8840, 836, 8, 341, 4777, 14617, 284, 220, 18, 19, 18, 198, 4777, 45863, 284, 220, 17, 19, 15, 16, 271, 2023, 8358, 2335, 1669, 2088, 42309, 20388, 8, 341, 197, 3244, 98954, 445, 18990, 1273, 448, 2335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
9
func TestCapability_ProfileToCapability(t *testing.T) { assert := assert.New(t) caps := []Capability{Capability_Unused, Capability_ProfileH264Baseline, Capability_ProfileH264Main, Capability_ProfileH264High, Capability_ProfileH264ConstrainedHigh} // iterate through lpms-defined profiles to ensure all are accounted ...
explode_data.jsonl/74084
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 270 }
[ 2830, 3393, 63746, 77294, 1249, 63746, 1155, 353, 8840, 836, 8, 341, 6948, 1669, 2060, 7121, 1155, 340, 1444, 2625, 1669, 3056, 63746, 90, 63746, 40687, 2591, 11, 98551, 77294, 39, 17, 21, 19, 64611, 11, 98551, 77294, 39, 17, 21, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestAnnotationMatcher(t *testing.T) { variations := []string{ "// swagger", " swagger", "swagger", " * swagger", } known := []string{ "meta", "route", "model", "parameters", "strfmt", "response", "enum", "default", } for _, variation := range variations { for _, tpe := range known {...
explode_data.jsonl/65952
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 175 }
[ 2830, 3393, 19711, 37554, 1155, 353, 8840, 836, 8, 341, 2405, 17144, 1669, 3056, 917, 515, 197, 197, 1, 322, 60823, 756, 197, 197, 1, 60823, 756, 197, 197, 1, 74755, 756, 197, 197, 1, 353, 60823, 756, 197, 532, 197, 5278, 1669, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestStoreBalance(t *testing.T) { amount1 := decimal.New(232, 0) amount2 := decimal.New(232, 0) bal := []model.BalanceForAddress{ { Address: "bchtest:qpncl685d5eys3tj4vykrhw4507fcuas9scm4qd70e", PropertyID: 1, BalanceAvailable: &amount1, //PendingPos: 9900, //PendingNeg: ...
explode_data.jsonl/57801
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 366 }
[ 2830, 3393, 6093, 21190, 1155, 353, 8840, 836, 8, 341, 197, 6045, 16, 1669, 12122, 7121, 7, 17, 18, 17, 11, 220, 15, 340, 197, 6045, 17, 1669, 12122, 7121, 7, 17, 18, 17, 11, 220, 15, 340, 2233, 278, 1669, 3056, 2528, 1785, 4978...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestGiteaCreateFile(t *testing.T) { client := giteaClient{} ctx := context.Context{} author := config.CommitAuthor{} repo := Repo{} content := []byte{} path := "" message := "" file := client.CreateFile(&ctx, author, repo, content, path, message) assert.Nil(t, file) }
explode_data.jsonl/23620
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 106 }
[ 2830, 3393, 38, 632, 64, 4021, 1703, 1155, 353, 8840, 836, 8, 341, 25291, 1669, 342, 632, 64, 2959, 16094, 20985, 1669, 2266, 9328, 16094, 197, 3094, 1669, 2193, 53036, 7133, 16094, 17200, 5368, 1669, 71509, 16094, 27751, 1669, 3056, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestBeatEventV0(t *testing.T) { for _, tc := range eventV0Tests { t.Run(tc.name, func(t *testing.T) { reg := monitoring.NewRegistry() p, err := NewFromConfig(Config{Tag: tc.name, Source: header + tc.source + footer}, reg) if err != nil { t.Fatal(err) } evt, err := p.Run(testEvent()) if t...
explode_data.jsonl/73408
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 348 }
[ 2830, 3393, 43658, 1556, 53, 15, 1155, 353, 8840, 836, 8, 341, 2023, 8358, 17130, 1669, 2088, 1538, 53, 15, 18200, 341, 197, 3244, 16708, 44415, 2644, 11, 2915, 1155, 353, 8840, 836, 8, 341, 298, 37013, 1669, 16558, 7121, 15603, 2822,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestDeleteIntervalById(t *testing.T) { tests := []struct { name string request *http.Request dbMock interfaces.DBClient scMock interfaces.SchedulerQueueClient expectedStatus int }{ { name: "OK", request: createDeleteRequest(ID, TestId), dbMoc...
explode_data.jsonl/51573
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 796 }
[ 2830, 3393, 6435, 10256, 2720, 1155, 353, 8840, 836, 8, 341, 78216, 1669, 3056, 1235, 341, 197, 11609, 1843, 914, 198, 197, 23555, 286, 353, 1254, 9659, 198, 197, 20939, 11571, 260, 24099, 22537, 2959, 198, 197, 29928, 11571, 260, 24099...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestDomain_Renew(t *testing.T) { t.Run("success renew from config", func(t *testing.T) { testCtx, _ := testCtx.CacheContext() ex := NewDomain(testCtx, testKeeper, testDomain) ex.Renew() newDom := new(types.Domain) ok := testKeeper.DomainStore(testCtx).Read(testDomain.PrimaryKey(), newDom) if !ok { ...
explode_data.jsonl/16620
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 376 }
[ 2830, 3393, 13636, 2568, 268, 365, 1155, 353, 8840, 836, 8, 341, 3244, 16708, 445, 5630, 13873, 504, 2193, 497, 2915, 1155, 353, 8840, 836, 8, 341, 197, 18185, 23684, 11, 716, 1669, 1273, 23684, 46130, 1972, 741, 197, 8122, 1669, 1532...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestServiceBrokerExist(t *testing.T) { // GIVEN require.NoError(t, v1beta1.AddToScheme(scheme.Scheme)) cli := fake.NewFakeClientWithScheme(scheme.Scheme, &v1beta1.ServiceBroker{ ObjectMeta: meta_v1.ObjectMeta{ Name: fixBrokerName(), Namespace: fixDestNs(), }}) sut := NewBrokersFacade(cli, fixWo...
explode_data.jsonl/24162
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 202 }
[ 2830, 3393, 1860, 65545, 25613, 1155, 353, 8840, 836, 8, 341, 197, 322, 89836, 198, 17957, 35699, 1155, 11, 348, 16, 19127, 16, 1904, 1249, 28906, 1141, 8058, 92719, 1171, 86448, 1669, 12418, 7121, 52317, 2959, 2354, 28906, 1141, 8058, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestPhotopeaPSDFail(t *testing.T) { Debug = &testLogger{t} testOne(testImage{ Name: "PSD(Photopea)", PSD: "photopea.psd", }, t) }
explode_data.jsonl/50817
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 70 }
[ 2830, 3393, 10463, 375, 64, 5012, 5262, 604, 1155, 353, 8840, 836, 8, 341, 34424, 284, 609, 1944, 7395, 90, 83, 532, 18185, 3966, 8623, 1906, 515, 197, 21297, 25, 330, 5012, 35, 97619, 375, 64, 15752, 197, 197, 5012, 35, 25, 220, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
1
func TestErrorToleranceRoundsToZero(t *testing.T) { // FIXME Can't test this until can pass tolerance in // if err != ErrorToleranceRoundsToZero { // t.Error("Expecting", ErrorToleranceRoundsToZero, "but got", err) // } }
explode_data.jsonl/66844
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 77 }
[ 2830, 3393, 1454, 51, 31661, 49, 3095, 1249, 17999, 1155, 353, 8840, 836, 8, 341, 197, 322, 27475, 2980, 944, 1273, 419, 3080, 646, 1494, 24098, 304, 198, 197, 322, 421, 1848, 961, 4600, 51, 31661, 49, 3095, 1249, 17999, 341, 197, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestSserviceWin_NewDaemon(t *testing.T) { ss := NewSService(&Option{}) d, err := ss.NewDaemon("test", "", "") assert.Nil(t, err) dc, _ := daem.New("test", "", "") assert.IsType(t, d, dc) }
explode_data.jsonl/8291
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 90 }
[ 2830, 3393, 50, 7936, 16970, 39582, 89177, 1155, 353, 8840, 836, 8, 341, 34472, 1669, 1532, 1220, 1017, 2099, 5341, 37790, 2698, 11, 1848, 1669, 10870, 7121, 89177, 445, 1944, 497, 7342, 14676, 6948, 59678, 1155, 11, 1848, 340, 87249, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
1
func TestServer_RSTStream_Unblocks_Header_Write(t *testing.T) { // Run this test a bunch, because it doesn't always // deadlock. But with a bunch, it did. n := 50 if testing.Short() { n = 5 } for i := 0; i < n; i++ { testServer_RSTStream_Unblocks_Header_Write(t) } }
explode_data.jsonl/71645
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 110 }
[ 2830, 3393, 5475, 64093, 3027, 40687, 21928, 71353, 31825, 1155, 353, 8840, 836, 8, 341, 197, 322, 6452, 419, 1273, 264, 15493, 11, 1576, 432, 3171, 944, 2677, 198, 197, 322, 93345, 13, 1988, 448, 264, 15493, 11, 432, 1521, 624, 9038,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestSeekAndReadWithRetries(t *testing.T) { mockCtrl := gomock.NewController(t) hdfsReader := NewMockReadSeekCloser(mockCtrl) hdfsAccessor := NewMockHdfsAccessor(mockCtrl) ftHdfsReader := NewFaultTolerantHdfsReader("/path/to/file", hdfsReader, hdfsAccessor, atMost2Attempts()) var err error var nr int // Per...
explode_data.jsonl/23313
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 538 }
[ 2830, 3393, 39350, 3036, 4418, 2354, 12020, 4019, 1155, 353, 8840, 836, 8, 341, 77333, 15001, 1669, 342, 316, 1176, 7121, 2051, 1155, 340, 9598, 34378, 5062, 1669, 1532, 11571, 4418, 39350, 51236, 799, 30389, 15001, 340, 9598, 34378, 2988...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestReplaceFooterLinks(t *testing.T) { inputText := `# Resource: aws_lambda_function Provides a Lambda Function resource. Lambda allows you to trigger execution of code in response to events in AWS, enabling serverless backend solutions. The Lambda Function itself includes source code and runtime configuration....
explode_data.jsonl/33535
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 472 }
[ 2830, 3393, 23107, 19445, 24089, 1155, 353, 8840, 836, 8, 341, 22427, 1178, 1669, 1565, 2, 11765, 25, 31521, 51884, 9174, 271, 197, 49022, 264, 44521, 5712, 5101, 13, 44521, 6147, 498, 311, 8183, 11320, 315, 2038, 304, 2033, 311, 4357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestGuildEmbed(t *testing.T) { res := []byte("{\"enabled\":true,\"channel_id\":\"41771983444115456\"}") expects := []byte("{\"enabled\":true,\"channel_id\":41771983444115456}") // convert to struct guildEmbed := GuildEmbed{} err := unmarshal(res, &guildEmbed) if err != nil { t.Error(err) } // back to j...
explode_data.jsonl/55144
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 215 }
[ 2830, 3393, 72574, 25486, 1155, 353, 8840, 836, 8, 341, 10202, 1669, 3056, 3782, 99141, 15868, 11693, 1866, 52318, 10119, 842, 23488, 19, 16, 22, 22, 16, 24, 23, 18, 19, 19, 19, 16, 16, 20, 19, 20, 21, 2105, 14451, 8122, 7973, 166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
4
func TestDefaultEventFilterFunc(t *testing.T) { event := makeEvent("end-of-world", "it was fun", makeObjectReference("Pod", "pod1", "other")) if DefaultEventFilterFunc(&event) { t.Fatalf("DefaultEventFilterFunc should always return false") } }
explode_data.jsonl/59125
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 81 }
[ 2830, 3393, 3675, 1556, 5632, 9626, 1155, 353, 8840, 836, 8, 341, 28302, 1669, 1281, 1556, 445, 408, 8668, 30084, 497, 330, 275, 572, 2464, 497, 1281, 1190, 8856, 445, 23527, 497, 330, 39073, 16, 497, 330, 1575, 5455, 743, 7899, 1556,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestPortForward(t *testing.T) { testKubelet := newTestKubelet(t) kubelet := testKubelet.kubelet fakeRuntime := testKubelet.fakeRuntime podName := "podFoo" podNamespace := "nsFoo" podID := types.UID("12345678") fakeRuntime.PodList = []*kubecontainer.Pod{ { ID: podID, Name: podName, Na...
explode_data.jsonl/43323
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 538 }
[ 2830, 3393, 7084, 25925, 1155, 353, 8840, 836, 8, 341, 18185, 42, 3760, 1149, 1669, 501, 2271, 42, 3760, 1149, 1155, 340, 16463, 3760, 1149, 1669, 1273, 42, 3760, 1149, 5202, 3760, 1149, 198, 1166, 726, 15123, 1669, 1273, 42, 3760, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
5
func TestFilesystemVersion_ZFSFilesystemVersion(t *testing.T) { empty := &FilesystemVersion{} _, err:= empty.ZFSFilesystemVersion() assert.Error(t, err) dateInvalid := &FilesystemVersion{Creation: "foobar"} _, err = dateInvalid.ZFSFilesystemVersion() assert.Error(t, err) }
explode_data.jsonl/44345
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 99 }
[ 2830, 3393, 1703, 8948, 5637, 12302, 8485, 1703, 8948, 5637, 1155, 353, 8840, 836, 8, 1476, 197, 3194, 1669, 609, 1703, 8948, 5637, 16094, 197, 6878, 1848, 14209, 4287, 13476, 8485, 1703, 8948, 5637, 741, 6948, 6141, 1155, 11, 1848, 692...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestCreateGetDeleteOpenIDConnectSession(t *testing.T) { t.Parallel() for k, m := range fositeStores { t.Run(fmt.Sprintf("case=%s", k), TestHelperCreateGetDeleteOpenIDConnectSession(m)) } }
explode_data.jsonl/54417
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 74 }
[ 2830, 3393, 4021, 1949, 6435, 5002, 915, 14611, 5283, 1155, 353, 8840, 836, 8, 341, 3244, 41288, 7957, 741, 2023, 595, 11, 296, 1669, 2088, 48390, 632, 69026, 341, 197, 3244, 16708, 28197, 17305, 445, 5638, 7846, 82, 497, 595, 701, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
2
func TestChatSrvStellarUI(t *testing.T) { useRemoteMock = false defer func() { useRemoteMock = true }() ctc := makeChatTestContext(t, "TestChatSrvStellarUI", 3) defer ctc.cleanup() users := ctc.users() delay := 2 * time.Second //uid := users[0].User.GetUID().ToBytes() listener := newServerChatListener() ctc.a...
explode_data.jsonl/63722
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1865 }
[ 2830, 3393, 15672, 50, 10553, 623, 26880, 2275, 1155, 353, 8840, 836, 8, 341, 41819, 24703, 11571, 284, 895, 198, 16867, 2915, 368, 314, 990, 24703, 11571, 284, 830, 50746, 89216, 66, 1669, 1281, 15672, 2271, 1972, 1155, 11, 330, 2271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestRetriesOnFailures(t *testing.T) { agentInfo := &testAgentInfo{} settings := &fleetGatewaySettings{ Duration: 5 * time.Second, Backoff: backoffSettings{Init: 100 * time.Millisecond, Max: 5 * time.Second}, } t.Run("When the gateway fails to communicate with the checkin API we will retry", withGateway...
explode_data.jsonl/80448
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1028 }
[ 2830, 3393, 12020, 4019, 1925, 19524, 1413, 1155, 353, 8840, 836, 8, 341, 197, 8092, 1731, 1669, 609, 1944, 16810, 1731, 16094, 62930, 1669, 609, 72698, 40709, 6086, 515, 197, 10957, 2017, 25, 220, 20, 353, 882, 32435, 345, 197, 197, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestGetDbUrl(t *testing.T) { assert.Equal(t, "localhost", DBUrl()) os.Setenv("MONGOHQ_URL", "abc") assert.Equal(t, "abc", DBUrl()) cleanEnv() }
explode_data.jsonl/18077
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 67 }
[ 2830, 3393, 1949, 7994, 2864, 1155, 353, 8840, 836, 8, 1476, 6948, 12808, 1155, 11, 330, 8301, 497, 5952, 2864, 12367, 25078, 4202, 3160, 445, 44, 7539, 46761, 48, 8000, 497, 330, 13683, 5130, 6948, 12808, 1155, 11, 330, 13683, 497, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
1
func TestIndexEditorConcurrency(t *testing.T) { format := types.Format_Default db, err := dbfactory.MemFactory{}.CreateDB(context.Background(), format, nil, nil) require.NoError(t, err) colColl := schema.NewColCollection( schema.NewColumn("pk", 0, types.IntKind, true), schema.NewColumn("v1", 1, types.IntKind, f...
explode_data.jsonl/27205
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1416 }
[ 2830, 3393, 1552, 9410, 79611, 1155, 353, 8840, 836, 8, 341, 59416, 1669, 4494, 9978, 60336, 198, 20939, 11, 1848, 1669, 2927, 21618, 1321, 336, 4153, 46391, 4021, 3506, 5378, 19047, 1507, 3561, 11, 2092, 11, 2092, 340, 17957, 35699, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestIssue325(t *testing.T) { // nil pointer dereference when evaluating interfaces to function pointers protest.AllowRecording(t) withTestProcess("testvariables2", t, func(p *proc.Target, fixture protest.Fixture) { assertNoError(p.Continue(), t, "Continue()") iface2fn1v := evalVariable(p, t, "iface2fn1") ...
explode_data.jsonl/56232
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 186 }
[ 2830, 3393, 42006, 18, 17, 20, 1155, 353, 8840, 836, 8, 341, 197, 322, 2092, 7445, 25277, 2202, 979, 37563, 24099, 311, 729, 27454, 198, 197, 776, 1944, 29081, 52856, 1155, 340, 46948, 2271, 7423, 445, 1944, 18616, 17, 497, 259, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestExecuteTask(t *testing.T) { err := action.RegisterExecutor(ActionTypeTestProcessorMockup, new(executorMockupForProcessorTest)) assert.NoError(t, err) err = RegisterProcessor(TaskTypeTestProcessorMockup1, new(processorMockupForProcessorTest1)) assert.NoError(t, err) err = RegisterProcessor(TaskTypeTestPro...
explode_data.jsonl/45101
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 527 }
[ 2830, 3393, 17174, 6262, 1155, 353, 8840, 836, 8, 341, 9859, 1669, 1917, 19983, 25255, 21905, 929, 2271, 22946, 11571, 454, 11, 501, 46896, 4831, 11571, 454, 2461, 22946, 2271, 1171, 6948, 35699, 1155, 11, 1848, 692, 9859, 284, 8451, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestTChannelLoggerLeveledMethods(t *testing.T) { withLogger(zap.DebugLevel, func(logger tchannel.Logger, logs *observer.ObservedLogs) { tests := []struct { method func(string) methodf func(string, ...interface{}) expectedLevel zapcore.Level }{ {method: logger.Debug, expectedLevel: zap...
explode_data.jsonl/22079
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 446 }
[ 2830, 3393, 51, 9629, 7395, 2304, 93964, 17856, 1155, 353, 8840, 836, 8, 341, 46948, 7395, 13174, 391, 20345, 4449, 11, 2915, 37833, 259, 10119, 12750, 11, 18422, 353, 30730, 8382, 1279, 2771, 51053, 8, 341, 197, 78216, 1669, 3056, 1235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestPrivateCalico(t *testing.T) { runTestAWS(t, "privatecalico.example.com", "privatecalico", "v1alpha1", true, 1, true) runTestAWS(t, "privatecalico.example.com", "privatecalico", "v1alpha2", true, 1, true) }
explode_data.jsonl/25369
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 85 }
[ 2830, 3393, 16787, 8851, 3955, 1155, 353, 8840, 836, 8, 341, 56742, 2271, 36136, 1155, 11, 330, 1996, 5416, 3955, 7724, 905, 497, 330, 1996, 5416, 3955, 497, 330, 85, 16, 7141, 16, 497, 830, 11, 220, 16, 11, 830, 340, 56742, 2271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestFromASCII85(t *testing.T) { type args struct { r io.Reader } tests := []struct { name string args args want string }{ { name: "TestOne", args: args{r: strings.NewReader("<+oue+DGm>Df0B:+CQC7ATMq")}, want: "This is only a test", }, } for _, tt := range tests { t.Run(tt.name, func(t ...
explode_data.jsonl/46460
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 246 }
[ 2830, 3393, 3830, 56450, 23, 20, 1155, 353, 8840, 836, 8, 341, 13158, 2827, 2036, 341, 197, 7000, 6399, 47431, 198, 197, 532, 78216, 1669, 3056, 1235, 341, 197, 11609, 914, 198, 197, 31215, 2827, 198, 197, 50780, 914, 198, 197, 59403,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestMigrate(t *testing.T) { s := &Stub{} d, err := s.Open("") if err != nil { t.Fatal(err) } stubMigrations := source.NewMigrations() stubMigrations.Append(&source.Migration{Version: 1, Direction: source.Up, Identifier: "CREATE 1"}) stubMigrations.Append(&source.Migration{Version: 1, Direction: source.Do...
explode_data.jsonl/11807
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 252 }
[ 2830, 3393, 44, 34479, 1155, 353, 8840, 836, 8, 341, 1903, 1669, 609, 33838, 16094, 2698, 11, 1848, 1669, 274, 12953, 31764, 743, 1848, 961, 2092, 341, 197, 3244, 26133, 3964, 340, 197, 630, 18388, 392, 44, 17824, 1669, 2530, 7121, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestPodDelete(t *testing.T) { c, _ := newTestClient(t) podAddAndUpdateTest(t, c, c.handlePodAdd) assert.Equal(t, len(c.Pods), 3) assert.Equal(t, c.Pods["1.1.1.1"].Address, "1.1.1.1") // delete empty IP pod c.handlePodDelete(&api_v1.Pod{}) // delete non-existent IP pod := &api_v1.Pod{} pod.Status.PodIP =...
explode_data.jsonl/56847
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 892 }
[ 2830, 3393, 23527, 6435, 1155, 353, 8840, 836, 8, 341, 1444, 11, 716, 1669, 501, 2271, 2959, 1155, 340, 3223, 347, 2212, 56365, 2271, 1155, 11, 272, 11, 272, 10132, 23527, 2212, 340, 6948, 12808, 1155, 11, 2422, 1337, 1069, 29697, 701...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestSpanCountWithEmpty(t *testing.T) { assert.EqualValues(t, 0, Traces{orig: &otlptrace.TracesData{ ResourceSpans: []*otlptrace.ResourceSpans{{}}, }}.SpanCount()) assert.EqualValues(t, 0, Traces{orig: &otlptrace.TracesData{ ResourceSpans: []*otlptrace.ResourceSpans{ { InstrumentationLibrarySpans: []*...
explode_data.jsonl/79476
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 302 }
[ 2830, 3393, 12485, 2507, 2354, 3522, 1155, 353, 8840, 836, 8, 341, 6948, 12808, 6227, 1155, 11, 220, 15, 11, 1163, 2434, 90, 4670, 25, 609, 354, 75, 3505, 578, 8240, 2434, 1043, 515, 197, 79487, 6406, 596, 25, 29838, 354, 75, 3505, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestHandleDeleteServiceInstanceSuccess(t *testing.T) { ctx := context.Background() getServiceClassFn := refs.NewFakeServiceClassGetterFunc(&data.ServiceClass{}, nil) getServiceBrokerFn := refs.NewFakeServiceBrokerGetterFunc(&data.ServiceBroker{}, nil) deprovisioner := fake.NewDeprovisioner() lifecycler := &fa...
explode_data.jsonl/72431
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 257 }
[ 2830, 3393, 6999, 6435, 1860, 2523, 7188, 1155, 353, 8840, 836, 8, 341, 20985, 1669, 2266, 19047, 741, 10366, 1860, 1957, 24911, 1669, 43143, 7121, 52317, 1860, 1957, 31485, 9626, 2099, 691, 13860, 1957, 22655, 2092, 340, 10366, 1860, 655...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestSStx(t *testing.T) { var sstx = dcrutil.NewTx(sstxMsgTx) sstx.SetTree(wire.TxTreeStake) sstx.SetIndex(0) err := stake.CheckSStx(sstx.MsgTx()) if err != nil { t.Errorf("CheckSStx: unexpected err: %v", err) } if !stake.IsSStx(sstx.MsgTx()) { t.Errorf("IsSStx claimed a valid sstx is invalid") } // ...
explode_data.jsonl/70506
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 753 }
[ 2830, 3393, 50, 623, 87, 1155, 353, 8840, 836, 8, 341, 2405, 274, 267, 87, 284, 294, 5082, 1314, 7121, 31584, 1141, 267, 87, 6611, 31584, 340, 1903, 267, 87, 4202, 6533, 3622, 554, 81362, 6533, 623, 726, 340, 1903, 267, 87, 4202, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
5
func TestGitCommandCommit(t *testing.T) { type scenario struct { testName string command func(string, ...string) *exec.Cmd getGlobalGitConfig func(string) (string, error) test func(*exec.Cmd, error) } scenarios := []scenario{ { "Commit using gpg", func(cmd string, ...
explode_data.jsonl/38369
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 765 }
[ 2830, 3393, 46562, 4062, 33441, 1155, 353, 8840, 836, 8, 341, 13158, 15048, 2036, 341, 197, 18185, 675, 1843, 914, 198, 197, 45566, 310, 2915, 3609, 11, 2503, 917, 8, 353, 11748, 64512, 198, 197, 10366, 11646, 46562, 2648, 2915, 3609, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestGetAndCheckRefs(t *testing.T) { type expected struct { baseSHA string headSHAs []string err string } for _, tc := range []struct { name string baseSHAGetter RefGetter headSHAGetters []RefGetter expected expected }{ { name: "Basic", baseSHAGetter: goodS...
explode_data.jsonl/41059
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1020 }
[ 2830, 3393, 1949, 3036, 3973, 82807, 1155, 353, 8840, 836, 8, 341, 13158, 3601, 2036, 341, 197, 24195, 33145, 220, 914, 198, 197, 46081, 8590, 2121, 3056, 917, 198, 197, 9859, 414, 914, 198, 197, 630, 2023, 8358, 17130, 1669, 2088, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
7
func TestReflect_notptr(t *testing.T) { var v, actual int = 42, 0 b := make([]byte, 8) lex.PutInt(b, v) lex.Reflect(b, actual) assert.Equal(t, 0, actual) }
explode_data.jsonl/50154
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 74 }
[ 2830, 3393, 72789, 7913, 3505, 1155, 353, 8840, 836, 8, 341, 2405, 348, 11, 5042, 526, 284, 220, 19, 17, 11, 220, 15, 271, 2233, 1669, 1281, 10556, 3782, 11, 220, 23, 340, 197, 2571, 39825, 1072, 1883, 11, 348, 692, 197, 2571, 183...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
1
func TestFetchOrder(t *testing.T) { t.Parallel() if !areTestAPIKeysSet() { t.Skip("API keys required but not set, skipping test") } _, err := b.FetchOrder("4477045999") if err != nil { t.Error(err) } _, err = b.FetchOrder("696969") if err == nil { t.Error(err) } }
explode_data.jsonl/33155
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 124 }
[ 2830, 3393, 20714, 4431, 1155, 353, 8840, 836, 8, 341, 3244, 41288, 7957, 741, 743, 753, 546, 2271, 7082, 8850, 1649, 368, 341, 197, 3244, 57776, 445, 7082, 6894, 2567, 714, 537, 738, 11, 42659, 1273, 1138, 197, 532, 197, 6878, 1848, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
4
func TestSaveYAML(t *testing.T) { filename1 := "./util_test.yaml" object1 := map[string]int{"a":2} filename2 := "./unknown_directory/util_test.yaml" // cleanup routine defer func() { os.Remove(filename1) }() // save yaml from non existing file err := SaveYAML(filename1, &object1) if err != nil...
explode_data.jsonl/52980
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 205 }
[ 2830, 3393, 8784, 56, 31102, 1155, 353, 8840, 836, 8, 341, 220, 3899, 16, 1669, 5924, 1314, 4452, 33406, 698, 220, 1633, 16, 256, 1669, 2415, 14032, 63025, 4913, 64, 788, 17, 532, 220, 3899, 17, 1669, 5924, 16088, 14846, 22610, 4452, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestUnmarshalBinarySet(t *testing.T) { input := []byte(`{ "BS": ["AAEqQQ==", "AAEqQQ=="] }`) var av DynamoDBAttributeValue err := json.Unmarshal(input, &av) assert.Nil(t, err) assert.Equal(t, DataTypeBinarySet, av.DataType()) assert.Equal(t, 2, len(av.BinarySet())) assert.Equal(t, "AAEqQQ==", base64.StdEn...
explode_data.jsonl/61695
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 167 }
[ 2830, 3393, 1806, 27121, 21338, 1649, 1155, 353, 8840, 836, 8, 341, 22427, 1669, 3056, 3782, 5809, 90, 330, 7347, 788, 4383, 6029, 27312, 48026, 418, 497, 330, 6029, 27312, 48026, 418, 1341, 335, 63, 692, 2405, 1822, 71813, 3506, 78554,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestPreventDestroyOverride(t *testing.T) { t.Parallel() cleanupTerraformFolder(t, TEST_FIXTURE_PREVENT_DESTROY_OVERRIDE) assert.NoError(t, runTerragruntCommand(t, fmt.Sprintf("terragrunt apply -auto-approve --terragrunt-working-dir %s", TEST_FIXTURE_PREVENT_DESTROY_OVERRIDE), os.Stdout, os.Stderr)) assert.No...
explode_data.jsonl/10105
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 204 }
[ 2830, 3393, 4703, 684, 14245, 2177, 1155, 353, 8840, 836, 8, 341, 3244, 41288, 7957, 2822, 1444, 60639, 51, 13886, 627, 13682, 1155, 11, 13602, 42635, 41486, 17427, 6784, 79400, 49372, 692, 6948, 35699, 1155, 11, 1598, 51402, 68305, 3850,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestSelectParallel(t *testing.T) { if TestDisableDatabase { t.SkipNow() } ctx, cancel := context.WithTimeout(context.Background(), TestContextTimeout) stmt, err := TestDB.PrepareContext(ctx, "select :1 from dual") cancel() if err != nil { t.Fatal("prepare error:", err) } var waitGroup sync.WaitGroup ...
explode_data.jsonl/75729
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 460 }
[ 2830, 3393, 3379, 16547, 1155, 353, 8840, 836, 8, 341, 743, 3393, 25479, 5988, 341, 197, 3244, 57776, 7039, 741, 197, 630, 20985, 11, 9121, 1669, 2266, 26124, 7636, 5378, 19047, 1507, 3393, 1972, 7636, 340, 55822, 11, 1848, 1669, 3393, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
7
func TestHilbert(t *testing.T) { t.Skip("skipping for gccgo--no importer") // generate source src := program(*H, *out) if *out != "" { os.WriteFile(*out, src, 0666) return } // parse source fset := token.NewFileSet() f, err := parser.ParseFile(fset, "hilbert.go", src, 0) if err != nil { t.Fatal(err) }...
explode_data.jsonl/39826
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 227 }
[ 2830, 3393, 39, 321, 9160, 1155, 353, 8840, 836, 8, 341, 3244, 57776, 445, 4886, 5654, 369, 50917, 3346, 313, 2152, 62561, 5130, 197, 322, 6923, 2530, 198, 41144, 1669, 2025, 4071, 39, 11, 353, 411, 340, 743, 353, 411, 961, 1591, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
4
func TestBuildCodeInSubdir(t *testing.T) { folder := testlib.Mktmp(t) subdir := filepath.Join(folder, "bar") err := os.Mkdir(subdir, 0o755) require.NoError(t, err) writeGoodMain(t, subdir) config := config.Project{ Builds: []config.Build{ { ID: "foo", Env: []string{"GO111MODULE=off"}, Dir:...
explode_data.jsonl/54142
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 344 }
[ 2830, 3393, 11066, 2078, 641, 3136, 3741, 1155, 353, 8840, 836, 8, 341, 1166, 2018, 1669, 1273, 2740, 1321, 74, 5173, 1155, 340, 28624, 3741, 1669, 26054, 22363, 33929, 11, 330, 2257, 1138, 9859, 1669, 2643, 1321, 12438, 10624, 3741, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestStructureMarshalJSONObject(t *testing.T) { cases := []struct { in *Structure out []byte err error }{ {&Structure{Format: "csv"}, []byte(`{"errCount":0,"format":"csv","qri":"st:0"}`), nil}, {&Structure{Format: "csv", Qri: KindStructure.String()}, []byte(`{"errCount":0,"format":"csv","qri":"st:0"}`)...
explode_data.jsonl/16442
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 501 }
[ 2830, 3393, 22952, 55438, 23596, 1155, 353, 8840, 836, 8, 341, 1444, 2264, 1669, 3056, 1235, 341, 197, 17430, 220, 353, 22952, 198, 197, 13967, 3056, 3782, 198, 197, 9859, 1465, 198, 197, 59403, 197, 197, 90, 5, 22952, 90, 4061, 25, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
4
func TestJvString(t *testing.T) { jv := jq.JvFromString("test") defer jv.Free() str, err := jv.String() if err != nil { t.Errorf("error when converting jv into string: %s", err) } if str != "test" { t.Errorf(`jvFromString("test") got: %s, want: test`, str) } if jv.ToGoVal() != "test" { t.Errorf(`jvFromS...
explode_data.jsonl/38754
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 174 }
[ 2830, 3393, 41, 85, 703, 1155, 353, 8840, 836, 8, 341, 12428, 85, 1669, 44648, 3503, 85, 44491, 445, 1944, 1138, 16867, 502, 85, 52229, 2822, 11355, 11, 1848, 1669, 502, 85, 6431, 741, 743, 1848, 961, 2092, 341, 197, 3244, 13080, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
4
func TestGetDestinationServicesFromTrafficTarget(t *testing.T) { assert := tassert.New(t) mockCtrl := gomock.NewController(t) defer mockCtrl.Finish() mockKubeController := k8s.NewMockController(mockCtrl) mockEndpointProvider := endpoint.NewMockProvider(mockCtrl) mc := MeshCatalog{ kubeController: mockKube...
explode_data.jsonl/69770
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 654 }
[ 2830, 3393, 1949, 33605, 11025, 3830, 87229, 6397, 1155, 353, 8840, 836, 8, 341, 6948, 1669, 259, 2207, 7121, 1155, 340, 77333, 15001, 1669, 342, 316, 1176, 7121, 2051, 1155, 340, 16867, 7860, 15001, 991, 18176, 2822, 77333, 42, 3760, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestVolumeSnapshotCreateAction(t *testing.T) { var args []string args = append(args, "bd5b12a8-a101-11e7-941e-d77981b584d8") volumeSnapshotCreateAction(volumeSnapshotCreateCommand, args) }
explode_data.jsonl/13553
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 75 }
[ 2830, 3393, 18902, 15009, 4021, 2512, 1155, 353, 8840, 836, 8, 341, 2405, 2827, 3056, 917, 198, 31215, 284, 8737, 7356, 11, 330, 8940, 20, 65, 16, 17, 64, 23, 7409, 16, 15, 16, 12, 16, 16, 68, 22, 12, 24, 19, 16, 68, 1737, 22,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestValueAssignmentMalformed(t *testing.T) { t.Parallel() data := `{ concat: ["http://", [get_attribute, get_property]: [HOST, public_ip_address], ":", get_property: [SELF, port] ]}` va := ValueAssignment{} err := yaml.Unmarshal([]byte(data), &va) log.Printf("%v", err) require.Error(t, err) }
explode_data.jsonl/64269
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 123 }
[ 2830, 3393, 1130, 41613, 29600, 10155, 1155, 353, 8840, 836, 8, 341, 3244, 41288, 7957, 741, 8924, 1669, 53692, 33720, 25, 4383, 1254, 1110, 497, 508, 455, 16791, 11, 633, 16638, 5669, 508, 28687, 11, 584, 10385, 6744, 1125, 330, 12147,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestReplaceBool(t *testing.T) { v := &Value{data: []bool{bool(true), bool(true), bool(true), bool(true), bool(true), bool(true)}} rawArr := v.MustBoolSlice() replaced := v.ReplaceBool(func(index int, val bool) bool { if index < len(rawArr)-1 { return rawArr[index+1] } return rawArr[0] }) replaced...
explode_data.jsonl/23406
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 304 }
[ 2830, 3393, 23107, 11233, 1155, 353, 8840, 836, 8, 1476, 5195, 1669, 609, 1130, 90, 691, 25, 3056, 2641, 90, 2641, 3715, 701, 1807, 3715, 701, 1807, 3715, 701, 1807, 3715, 701, 1807, 3715, 701, 1807, 3715, 9139, 630, 76559, 8838, 1669...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
2
func TestTxnCoordSenderCleanupOnAborted(t *testing.T) { defer leaktest.AfterTest(t)() defer log.Scope(t).Close(t) s := createTestDB(t) defer s.Stop() ctx := context.Background() // Create a transaction with intent at "a". key := roachpb.Key("a") txn1 := kv.NewTxn(ctx, s.DB, 0 /* gatewayNodeID */) if err := tx...
explode_data.jsonl/76887
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 419 }
[ 2830, 3393, 31584, 77, 19437, 20381, 67335, 1925, 5830, 13595, 1155, 353, 8840, 836, 8, 341, 16867, 23352, 1944, 36892, 2271, 1155, 8, 741, 16867, 1487, 77940, 1155, 568, 7925, 1155, 340, 1903, 1669, 1855, 2271, 3506, 1155, 340, 16867, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
5
func TestConnectionSSL(t *testing.T) { if testing.Short() { t.Skip("skipping test in short mode.") } ircnick1 := randStr(8) irccon := IRC(ircnick1, "IRCTestSSL") debugTest(irccon) irccon.UseTLS = true irccon.TLSConfig = &tls.Config{InsecureSkipVerify: true} irccon.AddCallback("001", func(e *Event) { irccon.Jo...
explode_data.jsonl/63357
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 249 }
[ 2830, 3393, 4526, 22594, 1155, 353, 8840, 836, 8, 341, 743, 7497, 55958, 368, 341, 197, 3244, 57776, 445, 4886, 5654, 1273, 304, 2805, 3856, 13053, 197, 532, 197, 2437, 20406, 16, 1669, 10382, 2580, 7, 23, 340, 197, 2437, 443, 1669, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestQueueSmoke(t *testing.T) { bctx, bcancel := context.WithCancel(context.Background()) defer bcancel() session, err := mgo.DialWithTimeout("mongodb://localhost:27017", time.Second) require.NoError(t, err) defer session.Close() client, err := mongo.NewClient(options.Client().ApplyURI("mongodb://localhost:...
explode_data.jsonl/68524
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 1457 }
[ 2830, 3393, 7554, 76880, 1155, 353, 8840, 836, 8, 341, 2233, 3773, 11, 17916, 4949, 1669, 2266, 26124, 9269, 5378, 19047, 2398, 16867, 17916, 4949, 2822, 25054, 11, 1848, 1669, 296, 3346, 98462, 2354, 7636, 445, 37197, 1110, 8301, 25, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
1
func TestIsAttributeValue(t *testing.T) { tests := []struct { in rune expect bool }{ {'å', true}, {'A', true}, {'"', false}, {'\'', false}, {'=', false}, {'<', false}, {'>', false}, {'`', false}, } for _, tt := range tests { got := isUnquotedAttributeValue(tt.in) if tt.expect != got { ...
explode_data.jsonl/80446
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 193 }
[ 2830, 3393, 3872, 78554, 1155, 353, 8840, 836, 8, 341, 78216, 1669, 3056, 1235, 341, 197, 17430, 257, 63499, 198, 197, 24952, 1807, 198, 197, 59403, 197, 197, 13608, 3785, 516, 830, 1583, 197, 197, 13608, 32, 516, 830, 1583, 197, 197,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
3
func TestAPIPutObjectPartHandlerStreaming(t *testing.T) { defer DetectTestLeak(t)() ExecObjectLayerAPITest(t, testAPIPutObjectPartHandlerStreaming, []string{"NewMultipart", "PutObjectPart"}) }
explode_data.jsonl/10709
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 67 }
[ 2830, 3393, 7082, 19103, 1190, 5800, 3050, 76509, 1155, 353, 8840, 836, 8, 341, 16867, 33287, 2271, 2304, 585, 1155, 8, 741, 197, 10216, 1190, 9188, 2537, 952, 477, 1155, 11, 1273, 7082, 19103, 1190, 5800, 3050, 76509, 11, 3056, 917, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
1
func TestMatToImage(t *testing.T) { mat1 := NewMatWithSize(101, 102, MatTypeCV8UC3) defer mat1.Close() img, err := mat1.ToImage() if err != nil { t.Errorf("TestToImage %v.", err) } if img.Bounds().Dx() != 102 { t.Errorf("TestToImage incorrect width got %d.", img.Bounds().Dx()) } if img.Bounds().Dy() != 1...
explode_data.jsonl/81756
{ "file_path": "/home/dung/Study/Code/Cross_test_gen/training_dataset/dedup_data/clean_data_go/data/explode_data.jsonl", "token_count": 378 }
[ 2830, 3393, 11575, 1249, 1906, 1155, 353, 8840, 836, 8, 341, 59874, 16, 1669, 1532, 11575, 2354, 1695, 7, 16, 15, 16, 11, 220, 16, 15, 17, 11, 6867, 929, 19589, 23, 5459, 18, 340, 16867, 5517, 16, 10421, 2822, 39162, 11, 1848, 166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
7