LLM4Code-memtune
Collection
Collection for the paper titled "How Much Do Code Language Models Remember? An Investigation on Data Extraction Attacks before and after Fine-tuning" • 17 items • Updated
file_name stringlengths 7 60 | file_path stringlengths 63 220 | content stringlengths 954 292k | file_size int64 954 292k | language stringclasses 1
value | extension stringclasses 1
value | repo_name stringlengths 8 75 | repo_stars int64 8 21.2k | repo_forks int64 0 3.21k | repo_open_issues int64 0 1.54k | repo_created_at stringlengths 20 20 | repo_pushed_at stringlengths 20 20 | sha stringlengths 64 64 | near_dups_stkv2_idx sequencelengths 0 0 | input_ids sequencelengths 325 1.02k | attention_mask sequencelengths 1 1 | n_tok int64 325 1.02k | sample sequencelengths 300 300 | hash int64 -9,217,187,865,942,657,000 9,220,665,241B | uniques_1 bool 1
class | uniques_2 bool 1
class | uniques_3 bool 1
class | uniques_g3 bool 1
class | sample_query sequencelengths 100 100 | hash_sq int64 -9,165,591,567,420,961,000 9,187,754,742B | uniques bool 1
class | prefix_250 stringlengths 276 2.18k | prefix_200 stringlengths 230 1.78k | prefix_150 stringlengths 180 1.4k | prefix_100 stringlengths 110 917 | suffix stringlengths 57 504 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FileOutputStreamAdapter.java | /FileExtraction/Java_unseen/husonlab_megan-ce/src/megan/io/FileOutputStreamAdapter.java | /*
* FileOutputStreamAdapter.java Copyright (C) 2024 Daniel H. Huson
*
* (Some files contain contributions from other authors, who are then mentioned separately.)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the ... | 2,692 | Java | .java | husonlab/megan-ce | 62 | 21 | 18 | 2016-05-09T10:55:38Z | 2024-02-22T23:23:42Z | 43edd8f3f7ae40a0e5e216b8fa8187bdce5eec06840d49f6827e6ff4cd4f6051 | [] | [
1127,
222,
338,
37000,
4433,
51,
1874,
2657,
327,
72,
46,
244,
55,
53,
55,
57,
32649,
696,
51,
696,
371,
286,
222,
338,
222,
338,
327,
7313,
2293,
4814,
25194,
664,
1623,
14656,
49,
6574,
904,
1636,
14554,
25028,
7475,
222,
338,
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,... | 624 | [
244,
2819,
341,
222,
338,
6994,
6153,
5062,
1196,
456,
1851,
4261,
51,
222,
338,
222,
338,
2469,
1414,
1178,
6589,
331,
1948,
451,
341,
6994,
6153,
5062,
1196,
222,
338,
7979,
642,
477,
3477,
51,
244,
1691,
666,
49,
2337,
350,
544,
... | -5,135,551,200,280,734,000 | true | false | false | false | [
986,
120,
299,
556,
16900,
8783,
45,
909,
37000,
45,
781,
490,
44206,
100,
3382,
312,
310,
2764,
299,
244,
53,
64,
303,
339,
465,
1041,
294,
338,
4389,
294,
338,
376,
588,
303,
581,
37000,
4433,
45,
991,
822,
49,
1922,
5507,
46,
... | -8,046,125,004,911,504,000 | true | See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package megan.io;
import java.io.*;
/**
* file output wrapper
* Daniel Huson, 6.2009
*/
public class FileOut... | licenses/>.
*/
package megan.io;
import java.io.*;
/**
* file output wrapper
* Daniel Huson, 6.2009
*/
public class FileOutputStreamAdapter implements IOutput {
private static final int BUFFER_SIZE = 8192;
private final BufferedOutputStream outs;
private long position;
/**
* constructor
... | {
private static final int BUFFER_SIZE = 8192;
private final BufferedOutputStream outs;
private long position;
/**
* constructor
*
*/
public FileOutputStreamAdapter(File file) throws FileNotFoundException {
outs = new BufferedOutputStream(new FileOutputStream(file), BUFFER_SIZE... | outs = new BufferedOutputStream(new FileOutputStream(file), BUFFER_SIZE);
position = 0;
}
/**
* constructor
*
*/
public FileOutputStreamAdapter(File file, boolean append) throws FileNotFoundException {
outs = new BufferedOutputStream(new FileOutputStream(file, append), BUFFER_S... | getPosition() {
return position;
}
/**
* get current length of file
*
* @return length
*/
public long length() {
return position;
}
/**
* seek, not supported
* |
ActionRunDo.java | /FileExtraction/Java_unseen/lishangwl_yichujifa/app/src/main/java/esqeee/xieqing/com/eeeeee/action/ActionRunDo.java | package esqeee.xieqing.com.eeeeee.action;
import com.yicu.yichujifa.GlobalContext;
import java.util.HashMap;
import esqeee.xieqing.com.eeeeee.bean.JSONBean;
import esqeee.xieqing.com.eeeeee.doAction.Base;
import esqeee.xieqing.com.eeeeee.doAction.api.App;
import esqeee.xieqing.com.eeeeee.doAction.api.Array;
import e... | 7,169 | Java | .java | lishangwl/yichujifa | 60 | 30 | 3 | 2023-04-06T11:51:16Z | 2023-04-06T15:43:42Z | c67c17ed9595c305a23a6a51594b6c251fd04bc7fb0deca732572a73c5602007 | [] | [
1337,
2834,
118,
17506,
51,
125,
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1160,
64,
222,
222,
485,
785,
51,
126,
41003,
51,
126,
1211,
9646,
37365,
51,
4470,
1237,
64,
222,
222,
485,
1401,
51,
1058,
51,
8263,
64,
222,
222,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
1306,
64,
222,
485,
2834,
118,
17506,
51,
125,
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1428,
1728,
51,
1256,
51,
1280,
64,
222,
485,
2834,
118,
17506,
51,
125,
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1428,
1728,
51,
... | 4,832,389,744,547,261,000 | true | false | false | false | [
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1428,
1728,
51,
1256,
51,
1530,
64,
222,
485,
2834,
118,
17506,
51,
125,
1093,
118,
318,
51,
527,
51,
25909,
1310,
51,
1428,
1728,
51,
1256,
51,
5371,
64,
222,
485,
2834,
118,
17506,
... | 2,417,562,655,413,605,400 | true | App;
import esqeee.xieqing.com.eeeeee.doAction.api.Array;
import esqeee.xieqing.com.eeeeee.doAction.api.Assgin;
import esqeee.xieqing.com.eeeeee.doAction.api.Auto;
import esqeee.xieqing.com.eeeeee.doAction.api.Bule;
import esqeee.xieqing.com.eeeeee.doAction.api.Click;
import esqeee.xieqing.com.eeeeee.doAction.api.Click... | import esqeee.xieqing.com.eeeeee.doAction.api.Auto;
import esqeee.xieqing.com.eeeeee.doAction.api.Bule;
import esqeee.xieqing.com.eeeeee.doAction.api.Click;
import esqeee.xieqing.com.eeeeee.doAction.api.ClickText;
import esqeee.xieqing.com.eeeeee.doAction.api.Color;
import esqeee.xieqing.com.eeeeee.doAction.api.Conditi... | eee.xieqing.com.eeeeee.doAction.api.Click;
import esqeee.xieqing.com.eeeeee.doAction.api.ClickText;
import esqeee.xieqing.com.eeeeee.doAction.api.Color;
import esqeee.xieqing.com.eeeeee.doAction.api.Condition;
import esqeee.xieqing.com.eeeeee.doAction.api.Dialog;
import esqeee.xieqing.com.eeeeee.doAction.api.Encrypt;
i... | ieqing.com.eeeeee.doAction.api.Color;
import esqeee.xieqing.com.eeeeee.doAction.api.Condition;
import esqeee.xieqing.com.eeeeee.doAction.api.Dialog;
import esqeee.xieqing.com.eeeeee.doAction.api.Encrypt;
import esqeee.xieqing.com.eeeeee | .doAction.api.Fast;
import esqeee.xieqing.com.eeeeee.doAction.api.File;
import esqeee.xieqing.com.eeeeee.doAction. |
ABTestingServiceTest.java | /FileExtraction/Java_unseen/todoroo_astrid/tests/src/com/todoroo/astrid/service/ABTestingServiceTest.java | /**
* Copyright (c) 2012 Todoroo Inc
*
* See the file "LICENSE" for the full license governing this code.
*/
package com.todoroo.astrid.service;
import com.todoroo.andlib.data.TodorooCursor;
import com.todoroo.andlib.service.Autowired;
import com.todoroo.andlib.sql.Order;
import com.todoroo.andlib.sql.Query;
impor... | 3,831 | Java | .java | todoroo/astrid | 1,076 | 691 | 14 | 2010-05-22T20:26:39Z | 2020-01-30T20:16:21Z | c9317d75c605c74064a6b19f8686f20884e52f499bd9580172a680d017df2b62 | [] | [
1350,
222,
338,
2657,
327,
104,
46,
244,
55,
53,
54,
55,
28818,
290,
623,
6367,
222,
338,
222,
338,
2819,
341,
822,
332,
4106,
39,
456,
341,
3559,
3553,
5139,
477,
1361,
51,
222,
588,
222,
1337,
785,
51,
10197,
290,
623,
51,
223... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 985 | [
485,
785,
51,
10197,
290,
623,
51,
22375,
333,
51,
13974,
51,
1336,
1024,
1167,
8924,
64,
222,
485,
785,
51,
10197,
290,
623,
51,
22375,
333,
51,
624,
51,
1336,
1024,
1167,
64,
222,
485,
785,
51,
10197,
290,
623,
51,
22375,
333,
... | -4,984,972,391,152,324,000 | true | false | false | false | [
465,
581,
782,
913,
4158,
4694,
1167,
18104,
1259,
365,
320,
310,
913,
4694,
5015,
45,
1886,
49,
878,
312,
303,
339,
465,
964,
782,
913,
4694,
5015,
45,
4412,
556,
1259,
49,
1922,
25220,
1259,
46,
320,
310,
913,
5766,
45,
909,
125... | -1,762,339,727,393,467,000 | true | import com.todoroo.astrid.dao.ABTestEventDao;
import com.todoroo.astrid.data.ABTestEvent;
import com.todoroo.astrid.service.abtesting.ABChooser;
import com.todoroo.astrid.service.abtesting.ABTests;
import com.todoroo.astrid.test.DatabaseTestCase;
public class ABTestingServiceTest extends DatabaseTestCase {
@Autow... | ABChooser;
import com.todoroo.astrid.service.abtesting.ABTests;
import com.todoroo.astrid.test.DatabaseTestCase;
public class ABTestingServiceTest extends DatabaseTestCase {
@Autowired ABTestEventDao abTestEventDao;
@Autowired ABChooser abChooser;
@Autowired ABTests abTests;
public void testReportIni... |
@Autowired ABTestEventDao abTestEventDao;
@Autowired ABChooser abChooser;
@Autowired ABTests abTests;
public void testReportInitialEventNewUser() {
testInitialEvents(true, false);
}
public void testReportInitialEventExistingUser() {
testInitialEvents(false, true);
}
... |
public void testReportInitialEventExistingUser() {
testInitialEvents(false, true);
}
private void testInitialEvents(boolean newUser, boolean activatedUser) {
testInterval(newUser, activatedUser, 0);
}
public void testIntervalEventWithShortIntervalNewUser() {
testIntervalE... | (false, true);
}
public void testIntervalEventWithLongIntervalNewUser() {
testIntervalEventWithLongInterval(true, false);
}
public void testIntervalEventWithLongIntervalExistingUser() {
testInterval |
TransformXMLInterceptor_Test.java | /FileExtraction/Java_unseen/BorderTech_wcomponents/wcomponents-core/src/test/java/com/github/bordertech/wcomponents/container/TransformXMLInterceptor_Test.java | package com.github.bordertech.wcomponents.container;
import com.github.bordertech.wcomponents.AbstractWComponentTestCase;
import com.github.bordertech.wcomponents.RenderContext;
import com.github.bordertech.wcomponents.UIContext;
import com.github.bordertech.wcomponents.WContainer;
import com.github.bordertech.wcompon... | 11,840 | Java | .java | BorderTech/wcomponents | 20 | 19 | 111 | 2015-03-10T02:59:08Z | 2024-05-09T06:05:12Z | 0460957083cc51f6c421d334cc8be98d724a6403e5c2fe08640188fc10b94be8 | [] | [
1337,
785,
51,
951,
51,
3489,
6646,
51,
124,
3545,
51,
2646,
64,
222,
222,
485,
785,
51,
951,
51,
3489,
6646,
51,
124,
3545,
51,
5597,
92,
1735,
7246,
64,
222,
485,
785,
51,
951,
51,
3489,
6646,
51,
124,
3545,
51,
3135,
1237,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
320,
376,
221,
1081,
51,
4558,
492,
376,
221,
4879,
5741,
39031,
51,
12998,
15070,
492,
222,
221,
130,
499,
221,
1350,
376,
338,
15135,
708,
341,
22978,
1976,
7572,
1429,
341,
1275,
7725,
821,
6414,
986,
51,
376,
588,
222,
221,
69,
... | 4,977,524,717,120,023,000 | true | false | false | false | [
4468,
2319,
45,
881,
2299,
49,
4839,
312,
376,
221,
3285,
51,
4993,
459,
5741,
1414,
666,
545,
21698,
1429,
1275,
4881,
821,
4666,
5041,
411,
11685,
5741,
39031,
51,
3780,
100,
5741,
49,
4668,
51,
1285,
312,
222,
221,
130,
499,
221,... | -1,027,225,083,193,646,800 | true | {
Config.reset();
TransformXMLTestHelper.reloadTransformer();
}
/**
* Ensure that the interceptor does nothing when the user agent string opts out.
*/
@Test
public void testPaintWithUserAgentOverride() {
MyComponent testUI = new MyComponent(TransformXMLTestHelper.TEST_XML);
Config.getInstance().setPro... | WithUserAgentOverride() {
MyComponent testUI = new MyComponent(TransformXMLTestHelper.TEST_XML);
Config.getInstance().setProperty(ConfigurationProperties.THEME_CONTENT_PATH, "");
TransformXMLTestHelper.reloadTransformer();
Map<String, String> headers = new HashMap<String, String>();
headers.put("User-Agent", ... | ();
Map<String, String> headers = new HashMap<String, String>();
headers.put("User-Agent", "Mozilla/5.0 Firefox/26.0 wcnoxslt");
TestResult actual = generateOutput(testUI, headers);
Assert.assertEquals("XML should not be transformed when useragent string flag present", TransformXMLTestHelper.TEST_XML, actual.re... | generateOutput(testUI, headers);
Assert.assertEquals("XML should not be transformed when useragent string flag present", TransformXMLTestHelper.TEST_XML, actual.result);
}
/**
* Ensure that the interceptor does nothing as long as the controlling property is disabled.
*/
@Test
public void testPaintWhileEnabl... | );
Config.getInstance().setProperty(ConfigurationProperties.THEME_CONTENT_PATH, "set");
TransformXMLTestHelper.reloadTransformer();
TestResult actual = generateOutput(testUI);
Assert.assertEquals("XML should be |
JDDNode.java | /FileExtraction/Java_unseen/prismmodelchecker_prism/prism/src/jdd/JDDNode.java | //==============================================================================
//
// Copyright (c) 2002-
// Authors:
// * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford, formerly University of Birmingham)
// * Christian von Essen <christian.vonessen@imag.fr> (VERIMAG)
// * Joachim Klein <klein@tcs.... | 4,958 | Java | .java | prismmodelchecker/prism | 145 | 65 | 54 | 2016-01-05T09:46:26Z | 2024-03-27T18:31:12Z | bbebfd33cc6fa47158c4a5f637ef1542192f3261e4142953327483f3f524a388 | [] | [
20037,
18480,
222,
325,
221,
222,
325,
221,
10585,
327,
104,
46,
244,
55,
53,
53,
55,
50,
222,
325,
221,
36330,
63,
222,
325,
221,
47,
493,
808,
27004,
284,
350,
27928,
51,
587,
4797,
69,
527,
4809,
51,
1290,
51,
348,
51,
3434,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
222,
942,
462,
990,
2936,
1230,
222,
128,
222,
221,
2072,
1964,
8417,
64,
3038,
221,
325,
7565,
4457,
327,
18472,
46,
222,
221,
5332,
924,
7565,
1922,
493,
11686,
100,
1640,
5476,
45,
3239,
14713,
312,
222,
221,
5332,
924,
7565,
648... | 3,271,562,224,513,457,000 | true | false | false | false | [
130,
222,
221,
130,
499,
221,
1350,
376,
338,
37293,
4389,
664,
331,
493,
105,
1230,
4964,
51,
376,
338,
719,
8108,
49,
391,
640,
331,
990,
2936,
1230,
664,
331,
4964,
49,
376,
338,
813,
990,
2936,
51,
1768,
724,
1230,
941,
376,
... | -6,862,543,772,319,436,000 | true |
public class JDDNode
{
private long ptr;
// native methods (jni)
protected static native boolean DDN_IsConstant(long dd);
protected static native int DDN_GetIndex(long dd);
protected static native double DDN_GetValue(long dd);
protected static native long DDN_GetThen(long dd);
protected static native long DDN... | dd);
protected static native double DDN_GetValue(long dd);
protected static native long DDN_GetThen(long dd);
protected static native long DDN_GetElse(long dd);
static
{
try {
System.loadLibrary("jdd");
}
catch (UnsatisfiedLinkError e) {
System.out.println(e);
System.exit(1);
}
}
/**
* Prot... | {
try {
System.loadLibrary("jdd");
}
catch (UnsatisfiedLinkError e) {
System.out.println(e);
System.exit(1);
}
}
/**
* Protected constructor from a DdNode pointer.
* In general, to get a JDDNode from a pointer,
* use JDD.ptrToNode().
*/
protected JDDNode(long p)
{
ptr = p;
}
public ... | }
}
/**
* Protected constructor from a DdNode pointer.
* In general, to get a JDDNode from a pointer,
* use JDD.ptrToNode().
*/
protected JDDNode(long p)
{
ptr = p;
}
public long ptr()
{
return ptr;
}
public boolean isConstant()
{
return DDN_ | IsConstant(ptr);
}
public int getIndex()
{
return DDN_GetIndex(ptr);
}
public double getValue()
{
if (DebugJDD.debug |
NotesManager.java | /FileExtraction/Java_unseen/sbs20_filenotes-android/app/src/main/java/sbs20/filenotes/model/NotesManager.java | package sbs20.filenotes.model;
import java.io.File;
import java.util.Date;
import java.util.List;
import sbs20.filenotes.ServiceManager;
import sbs20.filenotes.R;
import sbs20.filenotes.storage.FileSystemService;
public class NotesManager {
private FileSystemService storage;
private Note selectedNote;
private ... | 5,111 | Java | .java | sbs20/filenotes-android | 10 | 5 | 5 | 2016-01-07T15:40:24Z | 2018-08-14T21:49:47Z | 3853572cb4eaa985a494d935aa587027c633a06f9f129f0f20d4ea5bf11b4c0d | [] | [
1337,
328,
3904,
55,
53,
51,
5049,
291,
8365,
51,
1184,
64,
222,
222,
485,
1401,
51,
735,
51,
991,
64,
222,
485,
1401,
51,
1058,
51,
1563,
64,
222,
485,
1401,
51,
1058,
51,
739,
64,
222,
222,
485,
328,
3904,
55,
53,
51,
5049,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
492,
310,
477,
51,
8903,
299,
556,
5857,
2272,
492,
310,
477,
51,
316,
3663,
299,
920,
64,
303,
339,
499,
221,
2072,
782,
43313,
5232,
45,
5232,
6013,
46,
320,
376,
221,
597,
51,
4358,
5232,
299,
6013,
64,
222,
221,
130,
222,
22... | 4,983,961,059,280,856,000 | true | false | false | false | [
312,
343,
339,
310,
339,
603,
461,
3300,
64,
303,
339,
499,
221,
942,
5857,
2272,
640,
11440,
365,
320,
376,
221,
620,
477,
51,
8903,
64,
222,
221,
130,
465,
964,
782,
4009,
991,
13650,
5232,
45,
991,
822,
49,
5857,
6013,
46,
32... | 3,098,153,080,429,572,000 | true | ();
this.notes = new NoteCollection();
this.isChanged = false;
}
private void setSelectedNote(Note note) {
this.selectedNote = note;
}
public Note getSelectedNote() {
return this.selectedNote;
}
public NoteCollection search(String query) {
Logger.debug(this, "search()");
... | () {
return this.selectedNote;
}
public NoteCollection search(String query) {
Logger.debug(this, "search()");
NoteCollection results = new NoteCollection();
for (Note note : this.notes) {
if (note.getName()
.toLowerCase()
.contains(query... | notes) {
if (note.getName()
.toLowerCase()
.contains(query.toLowerCase()) ||
this.storedContent(note)
.toLowerCase()
.contains(query.toLowerCase())) {
results.add(note);
}
}
... | );
}
}
return results;
}
public NoteCollection getNotes() {
return this.notes;
}
private void mergeFileIntoNote(File file, Note note) {
note.setTextSummary(this.storage.fileSummaryAsString(file));
note.setSize(file.length());
note.setLastModified(new Da... | String name) {
for (File file : files) {
if (name.equals(file.getName())) {
return true;
}
}
return false;
}
public void readAllFromStorage() {
Logger |
Transporter.java | /FileExtraction/Java_unseen/MatterOverdrive_MatterOverdrive-Legacy-Edition/src/main/java/matteroverdrive/compat/modules/waila/provider/Transporter.java | /*
* This file is part of Matter Overdrive
* Copyright (C) 2018, Horizon Studio <contact@hrznstudio.com>, All rights reserved.
*
* Matter Overdrive is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either ... | 2,343 | Java | .java | MatterOverdrive/MatterOverdrive-Legacy-Edition | 34 | 10 | 1 | 2018-02-08T21:50:42Z | 2018-10-14T13:04:11Z | 5306ca8ea15dcbf4534b6f8f1b1389b62a29e8164a3c9b4c67b1ef2be2a3c377 | [] | [
1127,
222,
338,
1369,
822,
458,
1760,
451,
5876,
410,
9878,
13872,
222,
338,
2657,
327,
72,
46,
244,
55,
53,
54,
61,
49,
696,
25357,
9394,
350,
5559,
69,
3943,
9241,
13086,
51,
527,
2731,
3381,
4760,
5225,
51,
222,
338,
222,
338,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 599 | [
13872,
51,
20894,
51,
9618,
284,
51,
41760,
7105,
10003,
284,
64,
222,
485,
364,
2217,
51,
6010,
3279,
51,
124,
626,
102,
51,
1256,
51,
27358,
626,
102,
1081,
1985,
64,
222,
485,
364,
2217,
51,
6010,
3279,
51,
124,
626,
102,
51,
... | 1,386,205,289,048,081,400 | true | false | false | false | [
9794,
22069,
49,
457,
92,
626,
102,
1081,
1985,
1377,
46,
320,
310,
18891,
2234,
2713,
299,
22069,
51,
390,
41760,
492,
603,
434,
327,
538,
5118,
18891,
2234,
7105,
10003,
284,
46,
320,
343,
18891,
2234,
7105,
10003,
284,
11350,
284,
... | 3,584,061,662,690,199,600 | true | drive.machines.transporter.TileEntityMachineTransporter;
import mcp.mobius.waila.api.IWailaConfigHandler;
import mcp.mobius.waila.api.IWailaDataAccessor;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.text.TextFormatting;
import java.util.List;
/**
* @autho... | Accessor;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.text.TextFormatting;
import java.util.List;
/**
* @author shadowfacts
*/
public class Transporter implements IWailaBodyProvider {
@Override
public List<String> getWailaBody(ItemStack itemSta... | @author shadowfacts
*/
public class Transporter implements IWailaBodyProvider {
@Override
public List<String> getWailaBody(ItemStack itemStack, List<String> currenttip, IWailaDataAccessor accessor, IWailaConfigHandler config) {
TileEntity te = accessor.getTileEntity();
if (te instanceof Tile... | Accessor accessor, IWailaConfigHandler config) {
TileEntity te = accessor.getTileEntity();
if (te instanceof TileEntityMachineTransporter) {
TileEntityMachineTransporter transporter = (TileEntityMachineTransporter) te;
TransportLocation location = transporter.getSelectedLocatio... | (String.format("%sDestination s: %s X:%d Y:%d Z:%d", TextFormatting.YELLOW, TextFormatting.WHITE, location.pos.getX(), location.pos.getY(), location.pos.getZ()));
|
ProjectExpectedStudyDTO.java | /FileExtraction/Java_unseen/CCAFS_MARLO/marlo-web/src/main/java/org/cgiar/ccafs/marlo/rest/dto/ProjectExpectedStudyDTO.java | /*****************************************************************
* This file is part of Managing Agricultural Research for Learning &
* Outcomes Platform (MARLO).
* MARLO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Soft... | 7,112 | Java | .java | CCAFS/MARLO | 8 | 8 | 286 | 2016-05-11T18:52:21Z | 2024-05-08T21:14:43Z | df157d5abba774556c74e8459d39b4318c3105b7ba38171317460a88a13dd5e5 | [] | [
18200,
47,
222,
338,
1369,
822,
458,
1760,
451,
4795,
4892,
418,
791,
10259,
5413,
18687,
456,
14421,
568,
222,
338,
4322,
3772,
120,
11329,
327,
28159,
1323,
566,
222,
338,
507,
802,
1323,
458,
3760,
2951,
63,
863,
902,
14081,
580,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
332,
17143,
1884,
1701,
1701,
411,
2764,
299,
244,
54,
54,
46,
353,
964,
1701,
65,
17143,
1884,
8723,
67,
13408,
1884,
739,
64,
736,
496,
29245,
45,
8903,
299,
332,
47629,
347,
15019,
1014,
1168,
411,
2764,
299,
244,
54,
53,
46,
3... | 3,260,393,002,759,096,000 | true | false | false | false | [
8886,
496,
29245,
45,
8903,
299,
332,
12055,
327,
1862,
21766,
49,
5500,
49,
2791,
16635,
5742,
2764,
299,
244,
54,
57,
46,
353,
964,
26166,
8723,
11311,
64,
8886,
496,
29245,
45,
8903,
299,
332,
12055,
828,
411,
2764,
299,
244,
54,... | 7,940,745,857,860,520,000 | true | "Quantification List List", position = 11)
private List<QuantificationDTO> quantificationList;
@ApiModelProperty(notes = "Contributing innovations list", position = 10)
private List<ProjectExpectedStudyInnovationDTO> innovationCodeList;
@ApiModelProperty(notes = "Contributing policies list", position = 3)
... | InnovationDTO> innovationCodeList;
@ApiModelProperty(notes = "Contributing policies list", position = 3)
private List<ProjectExpectedStudyPolicyDTO> policiesCodeList;
@ApiModelProperty(notes = "Aditional link list", position = 4)
private List<ProjectExpectedStudyLinkDTO> links;
@ApiModelProperty(notes = "... | ", position = 4)
private List<ProjectExpectedStudyLinkDTO> links;
@ApiModelProperty(notes = "Contributing milestone list", position = 13)
private List<ProjectExpectedStudyMilestoneDTO> milestonesList;
@ApiModelProperty(notes = "phase (POWB, AR, UpKeep)", position = 14)
private PhaseDTO phase;
@ApiModel... |
@ApiModelProperty(notes = "phase (POWB, AR, UpKeep)", position = 14)
private PhaseDTO phase;
@ApiModelProperty(notes = "phase id", position = 14)
private Long phaseID;
public List<CountryDTO> getCountries() {
return countries;
}
public List<CrpProgramDTO> getFlagshipsList() {
return flagsh... | getGeographicScopes() {
return geographicScopes;
}
public Long getId() {
return id;
}
public List<ProjectExpectedStudyInnovationDTO> getInnovationCodeList() {
return innovationCodeList |
SculkSpreadTicker.java | /FileExtraction/Java_unseen/FrozenBlock_WilderWild/src/main/java/net/frozenblock/wilderwild/entity/SculkSpreadTicker.java | /*
* Copyright 2023-2024 FrozenBlock
* This file is part of Wilder Wild.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) an... | 2,666 | Java | .java | FrozenBlock/WilderWild | 78 | 20 | 8 | 2022-04-16T10:36:16Z | 2024-05-08T01:38:23Z | 330db67bab4f354f23bb1e95f5690929c8524dff083c4c747b1f7a9bd6b05b69 | [] | [
1127,
222,
338,
2657,
244,
55,
53,
55,
56,
50,
55,
53,
55,
57,
525,
13277,
2246,
222,
338,
1369,
822,
458,
1760,
451,
643,
1331,
643,
771,
51,
222,
338,
222,
338,
1369,
3477,
458,
3760,
2951,
64,
863,
902,
14081,
580,
480,
52,
... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 774 | [
341,
9850,
708,
580,
1118,
545,
6386,
49,
222,
338,
1294,
4213,
2979,
9345,
64,
2895,
4462,
341,
4506,
14319,
451,
222,
338,
7934,
575,
8114,
4800,
418,
7848,
7763,
51,
244,
2819,
341,
6994,
222,
338,
16227,
6153,
5062,
1196,
456,
1... | 3,797,254,256,326,099,000 | true | false | false | false | [
21960,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
2675,
51,
2671,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
2675,
51,
1540,
51,
2391,
6627,
88,
1023,
839,
64,
222,
485,
3723,
51,
8654,
51,
5879,
51,
22563,
51,
5985,
56,
64,
... | -5,990,618,094,154,235,000 | true | the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this pr... | should have received a copy of the GNU Lesser General Public License
* along with this program; if not, see <https://www.gnu.org/licenses/>.
*/
package net.frozenblock.wilderwild.entity;
import net.frozenblock.lib.entity.api.SilentTicker;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
im... |
import net.frozenblock.lib.entity.api.SilentTicker;
import net.minecraft.core.BlockPos;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.SculkSpreader;
import net.minecraft.world.phys.Vec3;
import org.jet... | EntityType;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.SculkSpreader;
import net.minecraft.world.phys.Vec3;
import org.jetbrains.annotations.NotNull;
public class SculkSpreadTicker extends SilentTicker {
public final SculkSpreader sculkSpreader;
public SculkSpreadTicker(@NotNull... | @NotNull Level level) {
super(entityType, level);
this.sculkSpreader = SculkSpreader.createLevelSpreader();
}
public SculkSpreadTicker(@ |
LocalRemoteLinkTest.java | /FileExtraction/Java_unseen/hartwigmedical_hmftools/esvee/src/test/java/com/hartwig/hmftools/esvee/assembly/LocalRemoteLinkTest.java | package com.hartwig.hmftools.esvee.assembly;
import static com.hartwig.hmftools.common.genome.region.Orientation.FORWARD;
import static com.hartwig.hmftools.common.genome.region.Orientation.REVERSE;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.BND;
import static com.hartwig.hmftools.common.sv.Str... | 7,531 | Java | .java | hartwigmedical/hmftools | 176 | 53 | 13 | 2016-01-26T15:03:29Z | 2024-05-09T06:18:58Z | 0aff442ecc0bd1bea7e5f9e75cf6256948829e0f642b1915412ae7cffc761a0f | [] | [
1337,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
326,
606,
106,
51,
14314,
64,
222,
222,
485,
924,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
2297,
51,
27582,
51,
3436,
51,
13986,
51,
33115,
64,
222,
485,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
521,
124,
384,
51,
109,
10599,
4303,
51,
326,
606,
106,
51,
14314,
64,
222,
222,
485,
924,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
2297,
51,
27582,
51,
3436,
51,
13986,
51,
33115,
64,
222,
485,
924,
785,
51,
109,
... | -6,396,524,076,657,140,000 | true | false | false | false | [
51,
2297,
51,
881,
51,
21950,
32384,
51,
1424,
87,
100,
54,
64,
222,
485,
924,
785,
51,
109,
521,
124,
384,
51,
109,
10599,
4303,
51,
2297,
51,
881,
51,
21950,
32384,
51,
1424,
87,
100,
55,
64,
222,
485,
924,
785,
51,
109,
521... | -7,542,814,705,116,227,000 | true | artwig.hmftools.esvee.assembly;
import static com.hartwig.hmftools.common.genome.region.Orientation.FORWARD;
import static com.hartwig.hmftools.common.genome.region.Orientation.REVERSE;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.BND;
import static com.hartwig.hmftools.common.sv.StructuralVarian... | mftools.common.genome.region.Orientation.REVERSE;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.BND;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.DEL;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.DUP;
import static com.hartwig.hmftools.common.test.GeneTes... | mftools.common.sv.StructuralVariantType.DEL;
import static com.hartwig.hmftools.common.sv.StructuralVariantType.DUP;
import static com.hartwig.hmftools.common.test.GeneTestUtils.CHR_1;
import static com.hartwig.hmftools.common.test.GeneTestUtils.CHR_2;
import static com.hartwig.hmftools.esvee.TestUtils.READ_ID_GENERATO... | .common.test.GeneTestUtils.CHR_1;
import static com.hartwig.hmftools.common.test.GeneTestUtils.CHR_2;
import static com.hartwig.hmftools.esvee.TestUtils.READ_ID_GENERATOR;
import static com.hartwig.hmftools.esvee.TestUtils.REF_BASES_200;
import static com. | hartwig.hmftools.esvee.TestUtils.cloneRead;
import static com.hartwig.hmftools.esvee.TestUtils.createAssembly;
import static com.hartwig |
LinePlot.java | /FileExtraction/Java_unseen/mleoking_PhET/simulations-java/common/charts/src/edu/colorado/phet/common/charts/LinePlot.java | // Copyright 2002-2011, University of Colorado
/*
* CVS Info -
* Filename : $Source$
* Branch : $Name$
* Modified by : $Author:samreid $
* Revision : $Revision:14669 $
* Date modified : $Date:2007-04-17 02:12:41 -0500 (Tue, 17 Apr 2007) $
*/
package edu.colorado.phet.common.charts;
import java.awt.BasicStroke... | 5,551 | Java | .java | mleoking/PhET | 18 | 10 | 0 | 2016-05-19T01:58:46Z | 2016-05-19T03:51:45Z | 1619b11247c6ae761a34bba1eafdd5db5e1f84fd7ed61fc477c679005567d0aa | [] | [
325,
2657,
244,
55,
53,
53,
55,
50,
55,
53,
54,
54,
49,
11451,
451,
5459,
2619,
222,
222,
1127,
222,
338,
409,
5775,
12450,
449,
222,
338,
38005,
518,
417,
2044,
41,
222,
338,
23721,
518,
417,
577,
41,
222,
338,
13124,
829,
518,... | [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,... | 1,024 | [
10237,
4749,
23903,
45,
640,
1735,
1046,
8108,
1233,
49,
10085,
49,
16870,
1110,
310,
1035,
23903,
45,
317,
10237,
4749,
23903,
1110,
603,
1035,
1947,
6843,
492,
303,
339,
465,
453,
2672,
3147,
303,
453,
8275,
1758,
303,
453,
2672,
31... | -8,652,238,626,724,049,000 | true | false | false | false | [
338,
496,
772,
1989,
294,
588,
303,
581,
782,
758,
14212,
1530,
45,
5459,
1989,
848,
320,
310,
317,
10237,
4749,
23903,
51,
489,
36703,
45,
1989,
1110,
303,
339,
465,
453,
2672,
3147,
303,
453,
31671,
23903,
4753,
303,
453,
2672,
31... | -9,043,049,934,694,770,000 | true | hetShapeGraphic( getComponent(), generalPath, stroke, paint );
addGraphic( phetShapeGraphic );
addAllPoints();
}
//----------------------------------------------------------------------------
// Accessors
//----------------------------------------------------------------------------
... | used to stroke the plot.
*
* @param stroke
*/
public void setStroke( Stroke stroke ) {
phetShapeGraphic.setStroke( stroke );
}
/**
* Sets the Color used to stroke the plot.
*
* @param color
*/
public void setBorderColor( Color color ) {
phetShapeGraph... | plot.
*
* @param color
*/
public void setBorderColor( Color color ) {
phetShapeGraphic.setBorderColor( color );
}
/**
* Sets the Color used to stroke the plot.
*
* @param color
*/
public void setStrokeColor( Color color ) {
phetShapeGraphic.setBorderC... | * @param color
*/
public void setStrokeColor( Color color ) {
phetShapeGraphic.setBorderColor( color );
}
//----------------------------------------------------------------------------
// DataSetGraphic implementation
//-----------------------------------------------------------------... |
//----------------------------------------------------------------------------
// DataSet.Observer implementation
//----------------------------------------------------------------------------
/**
* Called when the associated data set is cleared.
* Clients should not call this method direct... |
This dataset consists of the attack samples used for the paper "How Much Do Code Language Models Remember? An Investigation on Data Extraction Attacks before and after Fine-tuning"
We have two splits:
fine-tuning attack, which consists of selected samples coming from the fine-tuning setpre-training attack, which consists of selected samples coming from the TheStack-v2 on the Java sectionWe have different splits depending on the duplication rate of the samples:
d1 the samples inside the training set are uniqued2 the samples inside the training set are present two timesd3 the samples inside the training set are present three timesdg3 the samples inside the training set are present more than three times