repo
stringlengths
1
191
file
stringlengths
23
351
code
stringlengths
0
5.32M
file_length
int64
0
5.32M
avg_line_length
float64
0
2.9k
max_line_length
int64
0
288k
extension_type
stringclasses
1 value
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/BitVectorBase.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
5,518
22.28692
97
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/BitVectorIntSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
12,850
27.749441
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/BitVectorIntSetFactory.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,672
25.555556
86
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/BitVectorRepository.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
3,294
30.084906
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/Bits.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
2,049
29.147059
97
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/DebuggingMutableIntSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
10,150
26.141711
99
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/DebuggingMutableIntSetFactory.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
3,067
28.219048
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/EmptyIntSet.java
/* * Copyright (c) 2011 - IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM...
1,761
18.577778
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/FixedSizeBitVector.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
8,503
24.234421
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/IBinaryNaturalRelation.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,130
25.928571
82
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/IntIterator.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
640
28.136364
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/IntPair.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,229
19.163934
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/IntSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,837
28.645161
81
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/IntSetAction.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
465
24.888889
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/IntSetUtil.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
8,708
32.625483
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/IntVector.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
597
25
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/IntegerUnionFind.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
3,042
23.942623
99
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/LongIterator.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
639
28.090909
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/LongSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,663
28.714286
81
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/LongSetAction.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
467
25
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/LongSetUtil.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
7,023
31.82243
99
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MultiModalIntVector.java
/* * Copyright (c) 2009 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM C...
8,171
30.430769
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableIntSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,263
23.307692
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableIntSetFactory.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
625
26.217391
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableLongSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
972
23.948718
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableLongSetFactory.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
656
26.375
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableMapping.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
4,533
23.775956
96
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableSharedBitVectorIntSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
31,474
29.647517
129
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableSharedBitVectorIntSetFactory.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
2,097
34.559322
92
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableSparseIntSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
12,940
24.524655
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableSparseIntSetFactory.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,759
27.852459
94
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableSparseLongSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
9,123
24.415042
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/MutableSparseLongSetFactory.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,798
27.555556
77
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/NumberUtility.java
/* * Copyright (c) 2009 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM C...
756
25.103448
84
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/OffsetBitVector.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
12,317
23.011696
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/OffsetOrdinalSetMapping.java
/* * Copyright (c) 2007 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM C...
2,119
24.238095
96
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/OrdinalSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
5,778
25.75463
99
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/OrdinalSetMapping.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,365
28.06383
97
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/SemiSparseMutableIntSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
21,268
27.320905
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/SemiSparseMutableIntSetFactory.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,681
26.57377
84
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/SimpleIntVector.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
2,968
23.741667
80
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/SparseIntSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
13,878
25.0394
98
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/SparseIntVector.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
2,449
26.840909
99
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/SparseLongIntVector.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
2,285
27.222222
99
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/SparseLongSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
12,482
25.060543
97
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/TunedMutableSparseIntSet.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,259
25.808511
97
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/TunedSimpleIntVector.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,018
25.815789
85
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/intset/TwoLevelIntVector.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
2,795
25.628571
93
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/io/CommandLine.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
2,058
29.731343
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/io/FileUtil.java
/* * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementa...
5,698
30.142077
99
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/io/JavaHome.java
package com.ibm.wala.util.io; public class JavaHome { public static void main(String[] args) { System.err.println(System.getProperty("java.home")); } }
162
17.111111
56
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/io/RtJar.java
package com.ibm.wala.util.io; import com.ibm.wala.util.PlatformUtil; import com.ibm.wala.util.collections.ArrayIterator; import com.ibm.wala.util.collections.FilterIterator; import com.ibm.wala.util.collections.MapIterator; import java.io.File; import java.io.IOException; import java.nio.file.Paths; import java.util.I...
1,555
26.785714
93
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/io/Streams.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,118
27.692308
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/io/TemporaryFile.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,979
27.285714
85
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/math/Factorial.java
/* * This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html. * * This file is a derivative of code released by the University of * California under t...
3,093
35.4
99
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/math/Logs.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * */ /* * This file in...
3,132
33.054348
78
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/math/LongUtil.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
525
25.3
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/perf/Stopwatch.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,316
22.517857
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/perf/StopwatchGC.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
2,667
28.318681
98
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/processes/BasicLauncher.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
2,089
28.027778
97
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/processes/JavaLauncher.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
8,771
28.24
99
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/processes/Launcher.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
10,019
26.377049
95
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/tables/Query.java
/* * Copyright (c) 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM C...
2,779
29.888889
89
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/tables/StringTable.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
5,907
29.931937
96
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/tables/Table.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
4,983
28.844311
98
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/viz/DotUtil.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
8,671
28.903448
100
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/viz/NodeDecorator.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
609
28.047619
72
java
WALA
WALA-master/util/src/main/java/com/ibm/wala/util/viz/PDFViewLauncher.java
/* * Copyright (c) 2002 - 2006 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * ...
1,964
21.329545
94
java
WALA
WALA-master/util/src/test/java/com/ibm/wala/util/test/BasicGraphTest.java
/* * Copyright (c) 2021 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Manu ...
1,253
32
85
java
GBST
GBST-master/gbst_src/dmlc-core/tracker/yarn/src/main/java/org/apache/hadoop/yarn/dmlc/ApplicationMaster.java
package org.apache.hadoop.yarn.dmlc; import java.io.File; import java.io.IOException; import java.nio.ByteBuffer; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.Collection; import java.util.Collections; import org.apache.commons.logging.Log; import org.apache.commons.logging.Log...
27,065
38.226087
136
java
GBST
GBST-master/gbst_src/dmlc-core/tracker/yarn/src/main/java/org/apache/hadoop/yarn/dmlc/Client.java
package org.apache.hadoop.yarn.dmlc; import java.io.File; import java.io.IOException; import java.nio.ByteBuffer; import java.util.Collections; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.fs.Path; import org.apache.hadoop.fs.FileSt...
14,107
39.193732
96
java
GBST
GBST-master/gbst_src/dmlc-core/tracker/yarn/src/main/java/org/apache/hadoop/yarn/dmlc/TaskRecord.java
package org.apache.hadoop.yarn.dmlc; import org.apache.hadoop.yarn.api.records.Container; import org.apache.hadoop.yarn.client.api.AMRMClient.ContainerRequest; /** * data structure to hold the task information */ public class TaskRecord { // task id of the task public int taskId = 0; // role of current ...
888
30.75
69
java
repositoryminer
repositoryminer-master/repositoryminer-pmd/src/main/java/org/repositoryminer/pmd/cpd/RepositoryMinerCPD.java
package org.repositoryminer.pmd.cpd; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.bson.Document; import org.repositoryminer.RepositoryMinerException; import org.repositoryminer.domain.Commit; import org.repositoryminer.plugin.SnapshotAnalysisPlugin; import org.repositorymi...
1,582
26.77193
75
java
repositoryminer
repositoryminer-master/repositoryminer-pmd/src/main/java/org/repositoryminer/pmd/cpd/CPDConfig.java
package org.repositoryminer.pmd.cpd; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.repositoryminer.pmd.cpd.model.Language; public class CPDConfig { private int tokensThreshold = 100; private Set<Language> languages = new HashSet<>(Arrays.asList(Language.JAVA)); public CPDCo...
791
20.405405
79
java
repositoryminer
repositoryminer-master/repositoryminer-pmd/src/main/java/org/repositoryminer/pmd/cpd/CPDExecutor.java
package org.repositoryminer.pmd.cpd; import java.io.File; import java.io.IOException; import java.math.BigDecimal; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Set; import org.apache.commons.io.FilenameUtils; imp...
3,320
28.651786
90
java
repositoryminer
repositoryminer-master/repositoryminer-pmd/src/main/java/org/repositoryminer/pmd/cpd/persistence/CPDDAO.java
package org.repositoryminer.pmd.cpd.persistence; import java.util.List; import org.bson.Document; import org.bson.conversions.Bson; import org.repositoryminer.persistence.GenericDAO; import com.mongodb.client.model.Filters; public class CPDDAO extends GenericDAO { private static final String COLLECTION_NAME = "pm...
611
21.666667
67
java
repositoryminer
repositoryminer-master/repositoryminer-pmd/src/main/java/org/repositoryminer/pmd/cpd/model/Language.java
package org.repositoryminer.pmd.cpd.model; public enum Language { JAVA; }
78
10.285714
42
java
repositoryminer
repositoryminer-master/repositoryminer-pmd/src/main/java/org/repositoryminer/pmd/cpd/model/Match.java
package org.repositoryminer.pmd.cpd.model; import java.util.ArrayList; import java.util.List; import org.bson.Document; public class Match { private int tokenCount; private Language language; private List<Occurrence> occurrence; public Match(int tokenCount, Language language, List<Occurrence> occurrence) { t...
1,354
19.530303
79
java
repositoryminer
repositoryminer-master/repositoryminer-pmd/src/main/java/org/repositoryminer/pmd/cpd/model/Occurrence.java
package org.repositoryminer.pmd.cpd.model; import java.util.ArrayList; import java.util.List; import org.bson.Document; public class Occurrence { private String filename; private long filehash; private int beginLine; private int lineCount; private double duplicationPercentage; private String sourceCodeSlice; ...
1,840
19.455556
74
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/RepositoryExtractor.java
package org.repositoryminer; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.bson.Document; import org.bson.types.ObjectId; import org.repositoryminer.domain.Commit; import org.repositoryminer.domain.Develop...
3,363
29.306306
86
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/RepositoryMinerException.java
package org.repositoryminer; /** * Catch-all type for internal exceptions thrown by RepositoryMiner. */ public class RepositoryMinerException extends RuntimeException{ private static final long serialVersionUID = 1L; public RepositoryMinerException(String message){ super(message); } public RepositoryMinerE...
467
19.347826
69
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/IncrementalRepositoryExtractor.java
package org.repositoryminer; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.bson.Document; import org.repositoryminer.domain.Commit; import org.repositoryminer.domain.Developer; import org.repositoryminer.do...
3,676
29.89916
100
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/RepositoryMiner.java
package org.repositoryminer; import java.io.IOException; import org.repositoryminer.domain.SCMType; import org.repositoryminer.persistence.RepositoryDAO; /** * The front-end class to perform the repository data extraction. */ public class RepositoryMiner { private String key; private String path; private Strin...
1,639
17.222222
80
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/util/StringUtils.java
package org.repositoryminer.util; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.zip.CRC32; import java.util.zip.Checksum; import org.repositoryminer.RepositoryMinerException; /** * Contains some utilities operations for strings. */ public class StringUtils { ...
1,321
23.943396
76
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/util/RMFileUtils.java
package org.repositoryminer.util; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.apache.commons.io.FileUtils; import org.apache.commons.io.FilenameUtils; import org.apache.commons.io.filefilter.DirectoryFileFilter; import org...
4,378
27.620915
119
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/plugin/MiningPlugin.java
package org.repositoryminer.plugin; import org.bson.Document; import org.repositoryminer.RepositoryMiner; import org.repositoryminer.RepositoryMinerException; import org.repositoryminer.domain.Repository; import org.repositoryminer.persistence.RepositoryDAO; /** * This extension point is interesting for plugins that...
1,043
25.1
78
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/plugin/SnapshotAnalysisPlugin.java
package org.repositoryminer.plugin; import java.io.IOException; import org.bson.Document; import org.bson.types.ObjectId; import org.repositoryminer.RepositoryMinerException; import org.repositoryminer.domain.SCMType; import org.repositoryminer.persistence.RepositoryDAO; import org.repositoryminer.scm.ISCM; import or...
2,259
28.736842
109
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/domain/ReferenceType.java
package org.repositoryminer.domain; /** * Represents the types of references to a commit. */ public enum ReferenceType { TAG, BRANCH; }
142
13.3
50
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/domain/SCMType.java
package org.repositoryminer.domain; /** * Represents the types of SCM. */ public enum SCMType { GIT; public static SCMType parse(String name) { if (name == null || name.length() == 0) { return null; } for (SCMType scm : values()) { if (scm.name().equals(name)) { return scm; } } retur...
335
13
43
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/domain/Reference.java
package org.repositoryminer.domain; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.bson.Document; import org.bson.types.ObjectId; /** * Represents a reference to a commit (e.g. branches and tags). */ public class Reference { private ObjectId id; private ObjectId repository;...
2,904
19.173611
97
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/domain/Change.java
package org.repositoryminer.domain; import java.util.ArrayList; import java.util.List; import org.bson.Document; /** * Represents a change made in a commit. */ public class Change { private String newPath; private String oldPath; private int linesAdded; private int linesRemoved; private ChangeType type; /*...
2,354
20.216216
99
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/domain/Commit.java
package org.repositoryminer.domain; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.bson.Document; import org.bson.types.ObjectId; /** * Represents a commit. */ public class Commit { private ObjectId id; private String hash; private Developer author; private Developer comm...
4,197
21.449198
117
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/domain/ChangeType.java
package org.repositoryminer.domain; /** * Represents the types of changes made in a file during a commit. */ public enum ChangeType { ADD, COPY, MODIFY, RENAME, DELETE; }
176
16.7
66
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/domain/Repository.java
package org.repositoryminer.domain; import java.util.List; import org.bson.Document; import org.bson.types.ObjectId; /** * Represents a SCM repository. */ public class Repository { private ObjectId id; private String key; private String name; private String path; private SCMType scm; private String descript...
2,382
18.858333
102
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/domain/Developer.java
package org.repositoryminer.domain; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.bson.Document; /** * Represents the developer signature. */ public class Developer { private String name; private String email; /** * Converts documents to developers. * * @pa...
2,728
18.775362
87
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/persistence/ReferenceDAO.java
package org.repositoryminer.persistence; import java.util.Arrays; import java.util.Date; import java.util.List; import org.bson.Document; import org.bson.conversions.Bson; import org.bson.types.ObjectId; import org.repositoryminer.domain.ReferenceType; import com.mongodb.client.model.Filters; /** * This class hand...
3,668
25.586957
109
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/persistence/GenericDAO.java
package org.repositoryminer.persistence; import java.util.ArrayList; import java.util.List; import org.bson.Document; import org.bson.conversions.Bson; import org.bson.types.ObjectId; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoCursor; import com.mongodb.client.model.Filters; import com...
4,316
22.983333
84
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/persistence/RepositoryDAO.java
package org.repositoryminer.persistence; import java.util.List; import org.bson.Document; import org.bson.conversions.Bson; import org.bson.types.ObjectId; import com.mongodb.client.model.Filters; /** * This class handles rm_repository collection. */ public class RepositoryDAO extends GenericDAO { private stati...
1,392
22.610169
87
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/persistence/CommitDAO.java
package org.repositoryminer.persistence; import java.util.List; import org.bson.Document; import org.bson.conversions.Bson; import org.bson.types.ObjectId; import com.mongodb.BasicDBObject; import com.mongodb.client.MongoCursor; import com.mongodb.client.model.Filters; /** * This class handles rm_commit collection...
2,058
24.7375
81
java
repositoryminer
repositoryminer-master/repositoryminer-core/src/main/java/org/repositoryminer/persistence/MongoConnection.java
package org.repositoryminer.persistence; import org.bson.Document; import com.mongodb.MongoClient; import com.mongodb.MongoClientURI; import com.mongodb.client.MongoCollection; /** * This class handles MongoDB database connection. */ public class MongoConnection { private static class LazyHelper { private stat...
1,334
20.532258
80
java