buggy_function stringlengths 1 391k | fixed_function stringlengths 0 392k |
|---|---|
protected void masterOperation(final IndicesExistsRequest request, final ClusterState state, final ActionListener<IndicesExistsResponse> listener) throws ElasticsearchException {
boolean exists;
try {
// Similar as the previous behaviour, but now also aliases and wildcards are supported.... | protected void masterOperation(final IndicesExistsRequest request, final ClusterState state, final ActionListener<IndicesExistsResponse> listener) throws ElasticsearchException {
boolean exists;
try {
// Similar as the previous behaviour, but now also aliases and wildcards are supported.... |
protected void masterOperation(final TypesExistsRequest request, final ClusterState state, final ActionListener<TypesExistsResponse> listener) throws ElasticsearchException {
String[] concreteIndices = state.metaData().concreteIndices(request.indices(), request.indicesOptions());
if (concreteIndices... | protected void masterOperation(final TypesExistsRequest request, final ClusterState state, final ActionListener<TypesExistsResponse> listener) throws ElasticsearchException {
String[] concreteIndices = state.metaData().concreteIndices(request.indicesOptions(), request.indices());
if (concreteIndices... |
protected void doExecute(PutMappingRequest request, ActionListener<PutMappingResponse> listener) {
request.indices(clusterService.state().metaData().concreteIndices(request.indices(), request.indicesOptions()));
super.doExecute(request, listener);
}
| protected void doExecute(PutMappingRequest request, ActionListener<PutMappingResponse> listener) {
request.indices(clusterService.state().metaData().concreteIndices(request.indicesOptions(), request.indices()));
super.doExecute(request, listener);
}
|
protected void masterOperation(GetSettingsRequest request, ClusterState state, ActionListener<GetSettingsResponse> listener) throws ElasticsearchException {
request.indices(state.metaData().concreteIndices(request.indices(), request.indicesOptions()));
ImmutableOpenMap.Builder<String, Settings> inde... | protected void masterOperation(GetSettingsRequest request, ClusterState state, ActionListener<GetSettingsResponse> listener) throws ElasticsearchException {
request.indices(state.metaData().concreteIndices(request.indicesOptions(), request.indices()));
ImmutableOpenMap.Builder<String, Settings> inde... |
protected void doExecute(UpdateSettingsRequest request, ActionListener<UpdateSettingsResponse> listener) {
request.indices(clusterService.state().metaData().concreteIndices(request.indices(), request.indicesOptions()));
super.doExecute(request, listener);
}
| protected void doExecute(UpdateSettingsRequest request, ActionListener<UpdateSettingsResponse> listener) {
request.indices(clusterService.state().metaData().concreteIndices(request.indicesOptions(), request.indices()));
super.doExecute(request, listener);
}
|
protected void doExecute(DeleteWarmerRequest request, ActionListener<DeleteWarmerResponse> listener) {
// update to concrete indices
request.indices(clusterService.state().metaData().concreteIndices(request.indices(), request.indicesOptions()));
super.doExecute(request, listener);
}
| protected void doExecute(DeleteWarmerRequest request, ActionListener<DeleteWarmerResponse> listener) {
// update to concrete indices
request.indices(clusterService.state().metaData().concreteIndices(request.indicesOptions(), request.indices()));
super.doExecute(request, listener);
}
|
protected void resolveRequest(ClusterState state, GetRequest request) {
if (request.realtime == null) {
request.realtime = this.realtime;
}
// update the routing (request#index here is possibly an alias)
request.routing(state.metaData().resolveIndexRouting(request.routing... | protected void resolveRequest(ClusterState state, GetRequest request) {
if (request.realtime == null) {
request.realtime = this.realtime;
}
// update the routing (request#index here is possibly an alias)
request.routing(state.metaData().resolveIndexRouting(request.routing... |
protected boolean resolveRequest(ClusterState state, IndexRequest request, ActionListener<IndexResponse> indexResponseActionListener) {
MetaData metaData = clusterService.state().metaData();
String aliasOrIndex = request.index();
request.index(metaData.concreteIndex(request.index()));
... | protected boolean resolveRequest(ClusterState state, IndexRequest request, ActionListener<IndexResponse> indexResponseActionListener) {
MetaData metaData = clusterService.state().metaData();
String aliasOrIndex = request.index();
request.index(metaData.concreteSingleIndex(request.index()));
... |
protected void doExecute(SearchRequest searchRequest, ActionListener<SearchResponse> listener) {
// optimize search type for cases where there is only one shard group to search on
if (optimizeSingleShard && searchRequest.searchType() != SCAN && searchRequest.searchType() != COUNT) {
try ... | protected void doExecute(SearchRequest searchRequest, ActionListener<SearchResponse> listener) {
// optimize search type for cases where there is only one shard group to search on
if (optimizeSingleShard && searchRequest.searchType() != SCAN && searchRequest.searchType() != COUNT) {
try ... |
protected final void masterOperation(final Request request, final ClusterState state, final ActionListener<Response> listener) throws ElasticsearchException {
String[] concreteIndices = state.metaData().concreteIndices(request.indices(), request.indicesOptions());
request.indices(concreteIndices);
... | protected final void masterOperation(final Request request, final ClusterState state, final ActionListener<Response> listener) throws ElasticsearchException {
String[] concreteIndices = state.metaData().concreteIndices(request.indicesOptions(), request.indices());
request.indices(concreteIndices);
... |
protected boolean resolveRequest(ClusterState state, Request request, ActionListener<Response> listener) {
request.index(state.metaData().concreteIndex(request.index()));
return true;
}
| protected boolean resolveRequest(ClusterState state, Request request, ActionListener<Response> listener) {
request.index(state.metaData().concreteSingleIndex(request.index()));
return true;
}
|
protected void resolveRequest(ClusterState state, Request request) {
request.index(state.metaData().concreteIndex(request.index()));
}
| protected void resolveRequest(ClusterState state, Request request) {
request.index(state.metaData().concreteSingleIndex(request.index()));
}
|
protected void resolveRequest(ClusterState state, TermVectorRequest request) {
// update the routing (request#index here is possibly an alias)
request.routing(state.metaData().resolveIndexRouting(request.routing(), request.index()));
request.index(state.metaData().concreteIndex(request.index... | protected void resolveRequest(ClusterState state, TermVectorRequest request) {
// update the routing (request#index here is possibly an alias)
request.routing(state.metaData().resolveIndexRouting(request.routing(), request.index()));
request.index(state.metaData().concreteSingleIndex(request... |
protected boolean resolveRequest(ClusterState state, UpdateRequest request, ActionListener<UpdateResponse> listener) {
MetaData metaData = clusterService.state().metaData();
String aliasOrIndex = request.index();
request.routing((metaData.resolveIndexRouting(request.routing(), aliasOrIndex))... | protected boolean resolveRequest(ClusterState state, UpdateRequest request, ActionListener<UpdateResponse> listener) {
MetaData metaData = clusterService.state().metaData();
String aliasOrIndex = request.index();
request.routing((metaData.resolveIndexRouting(request.routing(), aliasOrIndex))... |
protected boolean matchesIndices(String currentIndex, String... indices) {
final String[] concreteIndices = clusterService.state().metaData().concreteIndices(indices, IndicesOptions.lenientExpandOpen());
for (String index : concreteIndices) {
if (Regex.simpleMatch(index, currentIndex)) {... | protected boolean matchesIndices(String currentIndex, String... indices) {
final String[] concreteIndices = clusterService.state().metaData().concreteIndices(IndicesOptions.lenientExpandOpen(), indices);
for (String index : concreteIndices) {
if (Regex.simpleMatch(index, currentIndex)) {... |
protected ShardSuggestResponse shardOperation(ShardSuggestRequest request) throws ElasticSearchException {
IndexService indexService = indicesService.indexServiceSafe(request.index());
IndexShard indexShard = indexService.shardSafe(request.shardId());
final Engine.Searcher searcher = indexSh... | protected ShardSuggestResponse shardOperation(ShardSuggestRequest request) throws ElasticSearchException {
IndexService indexService = indicesService.indexServiceSafe(request.index());
IndexShard indexShard = indexService.shardSafe(request.shardId());
final Engine.Searcher searcher = indexSh... |
public FacetExecutor parse(String facetName, XContentParser parser, SearchContext context) throws IOException {
String field = null;
int size = 10;
int shardSize = -1;
String[] fieldsNames = null;
ImmutableSet<BytesRef> excluded = ImmutableSet.of();
String regex = nu... | public FacetExecutor parse(String facetName, XContentParser parser, SearchContext context) throws IOException {
String field = null;
int size = 10;
int shardSize = -1;
String[] fieldsNames = null;
ImmutableSet<BytesRef> excluded = ImmutableSet.of();
String regex = nu... |
public void draw (SpriteBatch batch, float parentAlpha) {
final BitmapFont font = style.font;
final Color fontColor = disabled ? style.disabledFontColor : style.fontColor;
final Drawable selection = style.selection;
final Drawable cursorPatch = style.cursor;
final Drawable background = style.background;
C... | public void draw (SpriteBatch batch, float parentAlpha) {
final BitmapFont font = style.font;
final Color fontColor = disabled ? style.disabledFontColor : style.fontColor;
final Drawable selection = style.selection;
final Drawable cursorPatch = style.cursor;
final Drawable background = style.background;
C... |
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
config.useAccelerometer = false;
return new IOSApplication(new Benchmark3DTest(), config);
}
| protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
config.useAccelerometer = false;
return new IOSApplication(new DownloadTest(), config);
}
|
@Override protected void draw (SpriteBatch batch, float parentAlpha) {
if (region.getTexture() != null) {
batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);
if (scaleX == 0 && scaleY == 0 && rotation == 0)
batch.draw(region, x, y, width, height);
else
batch.draw(region, x, y, originX,... | @Override protected void draw (SpriteBatch batch, float parentAlpha) {
if (region.getTexture() != null) {
batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);
if (scaleX == 1 && scaleY == 1 && rotation == 0)
batch.draw(region, x, y, width, height);
else
batch.draw(region, x, y, originX,... |
public enum Touchable {
/** All input events will be received by the actor and any children. */
enabled,
/** No input events will be received by the actor or any children. */
disabled,
/** No input events will be received by the actor, but children will still receive events. Note that events on the children will
... | public enum Touchable {
/** All input events will be received by the actor and any children. */
enabled,
/** No input events will be received by the actor or any children. */
disabled,
/** No input events will be received by the actor, but children will still receive events. Note that events on the children will
... |
public void testRepoApi() throws Exception {
RepositoryService service = new RepositoryService();
for (Repository repo : service.getRepositories("defunkt")) {
Log.d(TAG, repo.getName() + " Watchers: " + repo.getWatchers());
}
}
| public void testRepoApi() throws Exception {
RepositoryService service = new RepositoryService();
for (Repository repo : service.getRepositories("git")) {
Log.d(TAG, repo.getName() + " Watchers: " + repo.getWatchers());
}
}
|
public static void main (String[] args) throws Exception {
// generate C/C++ code
new NativeCodeGenerator().generate("src", "bin", "jni");
// Flags to accomodate SWIG generated code
String cppFlags = "";
// SWIG doesn't emit strict aliasing compliant code
cppFlags += " -fno-strict-aliasing";
// SWIG di... | public static void main (String[] args) throws Exception {
// generate C/C++ code
new NativeCodeGenerator().generate("src", "bin", "jni");
// Flags to accomodate SWIG generated code
String cppFlags = "";
// SWIG doesn't emit strict aliasing compliant code
cppFlags += " -fno-strict-aliasing";
// SWIG di... |
public void actionPerformed (ActionEvent event) {
chart.setExpanded(!chart.isExpanded());
boolean expanded = chart.isExpanded();
GridBagLayout layout = (GridBagLayout)getContentPanel().getLayout();
GridBagConstraints chartConstraints = layout.getConstraints(chart);
GridBagConstraints expandButton... | public void actionPerformed (ActionEvent event) {
chart.setExpanded(!chart.isExpanded());
boolean expanded = chart.isExpanded();
GridBagLayout layout = (GridBagLayout)getContentPanel().getLayout();
GridBagConstraints chartConstraints = layout.getConstraints(chart);
GridBagConstraints expandButton... |
public Matrix4 toMatrix4(final Matrix4 out) {
out.idt();
out.translate(translation);
out.rotate(rotation);
out.scale(scale.x, scale.y, scale.z);
return out;
}
| public Matrix4 toMatrix4(final Matrix4 out) {
out.idt();
out.translate(translation);
out.rotate(rotation);
out.scl(scale);
return out;
}
|
public void create () {
ObjLoader objLoader = new ObjLoader();
model = objLoader.loadModel(Gdx.files.internal("data/cube.obj"));
BoundingBox bbox = new BoundingBox();
model.calculateBoundingBox(bbox);
Gdx.app.log("ObjTest", "obj bounds: " + bbox);
texture = new Texture(Gdx.files.internal("data/badlo... | public void create () {
ObjLoader objLoader = new ObjLoader();
model = objLoader.loadModel(Gdx.files.internal("data/cube.obj"));
BoundingBox bbox = new BoundingBox();
model.getBoundingBox(bbox);
Gdx.app.log("ObjTest", "obj bounds: " + bbox);
texture = new Texture(Gdx.files.internal("data/badlogic.jp... |
@Test public void simpleUpdateNumberOfReplicasTests() throws Exception {
logger.info("Running Cluster Health");
ClusterHealthResponse clusterHealth = client1.admin().cluster().prepareHealth().setWaitForGreenStatus().execute().actionGet();
logger.info("Done Cluster Health, status " + clusterH... | @Test public void simpleUpdateNumberOfReplicasTests() throws Exception {
logger.info("Running Cluster Health");
ClusterHealthResponse clusterHealth = client1.admin().cluster().prepareHealth().setWaitForGreenStatus().execute().actionGet();
logger.info("Done Cluster Health, status " + clusterH... |
private void sendPingRequest(int id) {
synchronized (sendMutex) {
try {
HandlesStreamOutput out = CachedStreamOutput.cachedHandlesBytes();
out.writeInt(id);
clusterName.writeTo(out);
nodesProvider.nodes().localNode().writeTo(out);
... | private void sendPingRequest(int id) {
synchronized (sendMutex) {
try {
HandlesStreamOutput out = CachedStreamOutput.cachedHandlesBytes();
out.writeInt(id);
clusterName.writeTo(out);
nodesProvider.nodes().localNode().writeTo(out);
... |
public Table addCell(Object value, String attributes) {
if (!inHeaders) {
if (currentCells.size() == headers.size()) {
throw new ElasticSearchIllegalArgumentException("can't add more cells to a row than the header");
}
}
Map<String, String> mAttr;
... | public Table addCell(Object value, String attributes) {
if (!inHeaders) {
if (currentCells.size() == headers.size()) {
throw new ElasticSearchIllegalArgumentException("can't add more cells to a row than the header");
}
}
Map<String, String> mAttr;
... |
public ActionRequestValidationException validate() {
ActionRequestValidationException validationException = super.validate();
if (type == null) {
validationException = addValidationError("type is missing", validationException);
}
if (id == null) {
validationEx... | public ActionRequestValidationException validate() {
ActionRequestValidationException validationException = super.validate();
if (type == null) {
validationException = addValidationError("type is missing", validationException);
}
if (id == null) {
validationEx... |
@Override protected String executor() {
return ThreadPool.Names.CACHED;
}
| @Override protected String executor() {
return ThreadPool.Names.MANAGEMENT;
}
|
@Override protected String executor() {
return ThreadPool.Names.CACHED;
}
| @Override protected String executor() {
return ThreadPool.Names.INDEX;
}
|
@Override protected String executor() {
return ThreadPool.Names.CACHED;
}
| @Override protected String executor() {
return ThreadPool.Names.MERGE;
}
|
@Override public void execute(SearchContext context) throws ElasticSearchException {
if (context.highlight() == null) {
return;
}
FragListBuilder fragListBuilder = new SimpleFragListBuilder();
FragmentsBuilder fragmentsBuilder;
if (context.highlight().scoreOrdere... | @Override public void execute(SearchContext context) throws ElasticSearchException {
if (context.highlight() == null) {
return;
}
FragListBuilder fragListBuilder = new SimpleFragListBuilder();
FragmentsBuilder fragmentsBuilder;
if (context.highlight().scoreOrdere... |
protected BoostFieldMapper(String name, String indexName, int precisionStep, Field.Index index, Field.Store store,
float boost, boolean omitNorms, IndexOptions indexOptions,
Float nullValue) {
super(new Names(name, indexName, indexName, name), pr... | protected BoostFieldMapper(String name, String indexName, int precisionStep, Field.Index index, Field.Store store,
float boost, boolean omitNorms, IndexOptions indexOptions,
Float nullValue) {
super(new Names(name, indexName, indexName, name), pr... |
public static void main (String[] argv) {
new JoglApplication(new KeyframedModelViewer("data/knight.md2", "data/knight.jpg"), "KeframedModel Viewer", 800, 480, false);
}
| public static void main (String[] argv) {
new JoglApplication(new KeyframedModelViewer("data/models/knight.md2", "data/models/knight.jpg"), "KeframedModel Viewer", 800, 480, false);
}
|
public void startRecovery(final StartRecoveryRequest request, final InternalIndexShard indexShard, final RecoveryListener listener) {
try {
indexShard.recovering("from " + request.sourceNode());
} catch (IllegalIndexShardStateException e) {
// that's fine, since we might be c... | public void startRecovery(final StartRecoveryRequest request, final InternalIndexShard indexShard, final RecoveryListener listener) {
try {
indexShard.recovering("from " + request.sourceNode());
} catch (IllegalIndexShardStateException e) {
// that's fine, since we might be c... |
public static String VERSION = "0.6";
} | public static String VERSION = "0.61";
} |
static public void toFloat (short[] src, int offsetSrc, float[] dst, int offsetDst, int numBytes) {
float scale = 1.0f / Short.MAX_VALUE;
for (int i = offsetSrc, ii = offsetDst; i < numBytes; i++, ii++)
dst[ii] = src[i] * scale;
}
| static public void toFloat (short[] src, int offsetSrc, float[] dst, int offsetDst, int numBytes) {
float scale = 1.0f / Short.MAX_VALUE;
for (int i = offsetSrc, ii = offsetDst; i < numBytes; i++, ii++)
dst[i] = src[ii] * scale;
}
|
public void rotateAround (Vector3 point, Vector3 axis, float angle) {
tmpVec.set(point);
tmpVec.sub(position);
translate(tmpVec);
rotate(axis, angle);
tmpVec.rotate(axis, angle);
translate(tmpVec.mul(-1));
}
| public void rotateAround (Vector3 point, Vector3 axis, float angle) {
tmpVec.set(point);
tmpVec.sub(position);
translate(tmpVec);
rotate(axis, angle);
tmpVec.rotate(axis, angle);
translate(tmpVec.set(-tmpVec.x, -tmpVec.y, -tmpVec.z));
}
|
protected NumberFieldMapper(Names names, int precisionStep, @Nullable String fuzzyFactor,
Field.Index index, Field.Store store,
float boost, boolean omitNorms, boolean omitTermFreqAndPositions,
NamedAnalyzer indexAnalyze... | protected NumberFieldMapper(Names names, int precisionStep, @Nullable String fuzzyFactor,
Field.Index index, Field.Store store,
float boost, boolean omitNorms, boolean omitTermFreqAndPositions,
NamedAnalyzer indexAnalyze... |
protected void configure() {
}
@Provides
IssueService issueService(GitHubClient client) {
return new IssueService(client);
}
@Provides
PullRequestService pullRequestService(GitHubClient client) {
return new PullRequestService(client);
}
@Provides
UserService us... | protected void configure() {
}
@Provides
IssueService issueService(GitHubClient client) {
return new IssueService(client);
}
@Provides
PullRequestService pullRequestService(GitHubClient client) {
return new PullRequestService(client);
}
@Provides
UserService us... |
public boolean hasConcreteIndex(String index) {
return aliasAndIndexToIndexMap2.get(index) != null;
}
| public boolean hasConcreteIndex(String index) {
return aliasAndIndexToIndexMap2.containsKey(index);
}
|
@Override protected ShardStatus shardOperation(IndexShardStatusRequest request) throws ElasticSearchException {
InternalIndexService indexService = (InternalIndexService) indicesService.indexServiceSafe(request.index());
InternalIndexShard indexShard = (InternalIndexShard) indexService.shard(request... | @Override protected ShardStatus shardOperation(IndexShardStatusRequest request) throws ElasticSearchException {
InternalIndexService indexService = (InternalIndexService) indicesService.indexServiceSafe(request.index());
InternalIndexShard indexShard = (InternalIndexShard) indexService.shard(request... |
public PostingsFormatProvider get(String name) throws ElasticSearchIllegalArgumentException {
PostingsFormatProvider provider = providers.get(name);
if (name == null) {
throw new ElasticSearchIllegalArgumentException("failed to find postings_format [" + name + "]");
}
ret... | public PostingsFormatProvider get(String name) throws ElasticSearchIllegalArgumentException {
PostingsFormatProvider provider = providers.get(name);
if (provider == null) {
throw new ElasticSearchIllegalArgumentException("failed to find postings_format [" + name + "]");
}
... |
public DashboardIssueViewHolder(View v, AvatarHelper helper, int maxNumberCount) {
super(v, helper, maxNumberCount);
repoText = (TextView) v.findViewById(id.tv_issue_repo_name);
((TextView) v.findViewById(id.tv_comment_icon)).setTypeface(TypefaceHelper.getOctocons(v.getContext()));
}
| public DashboardIssueViewHolder(View v, AvatarHelper helper, int maxNumberCount) {
super(v, helper, maxNumberCount);
repoText = (TextView) v.findViewById(id.tv_issue_repo_name);
TypefaceHelper.setOctocons((TextView) v.findViewById(id.tv_comment_icon));
}
|
public synchronized void recover() throws IndexShardGatewayRecoveryException, IgnoreGatewayRecoveryException {
if (recovered.compareAndSet(false, true)) {
if (!indexShard.routingEntry().primary()) {
throw new ElasticSearchIllegalStateException("Trying to recover when the shard is... | public synchronized void recover() throws IndexShardGatewayRecoveryException, IgnoreGatewayRecoveryException {
if (recovered.compareAndSet(false, true)) {
if (!indexShard.routingEntry().primary()) {
throw new ElasticSearchIllegalStateException("Trying to recover when the shard is... |
public synchronized void load (String sharedLibName) {
if (loadedLibraries.contains(sharedLibName)) return;
boolean isWindows = System.getProperty("os.name").contains("Windows");
boolean isLinux = System.getProperty("os.name").contains("Linux");
boolean isMac = System.getProperty("os.name").contains("Mac");
... | public synchronized void load (String sharedLibName) {
if (loadedLibraries.contains(sharedLibName)) return;
boolean isWindows = System.getProperty("os.name").contains("Windows");
boolean isLinux = System.getProperty("os.name").contains("Linux");
boolean isMac = System.getProperty("os.name").contains("Mac");
... |
@Override public Query parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
XContentParser parser = parseContext.parser();
float boost = 1.0f;
List<SpanQuery> clauses = newArrayList();
String currentFieldName = null;
XContentParser.Token token;... | @Override public Query parse(QueryParseContext parseContext) throws IOException, QueryParsingException {
XContentParser parser = parseContext.parser();
float boost = 1.0f;
List<SpanQuery> clauses = newArrayList();
String currentFieldName = null;
XContentParser.Token token;... |
public Gdx2DPixmap(ByteBuffer buffer, long[] nativeData) {
pixelPtr = buffer;
if(pixelPtr == null)
throw new IllegalArgumentException("couldn't load pixmap");
System.arraycopy(nativeData, 0, this.nativeData, 0, 4);
this.basePtr = nativeData[0];
this.width = (int)nativeData[1];
this.height = (int)nati... | public Gdx2DPixmap(ByteBuffer buffer, long[] nativeData) {
pixelPtr = buffer;
if(pixelPtr == null)
throw new IllegalArgumentException("couldn't load pixmap");
System.arraycopy(nativeData, 0, Gdx2DPixmap.nativeData, 0, 4);
this.basePtr = nativeData[0];
this.width = (int)nativeData[1];
this.height = (i... |
public void renameFile(DirectoryService directoryService, String from, String to) throws IOException {
Directory directory = getDirectory(from);
if (nameDirMapping.putIfAbsent(to, directory) != null) {
throw new IOException("Can't rename file from " + from
+ " to: " +... | public void renameFile(DirectoryService directoryService, String from, String to) throws IOException {
Directory directory = getDirectory(from);
if (nameDirMapping.putIfAbsent(to, directory) != null) {
throw new IOException("Can't rename file from " + from
+ " to: " +... |
public BloomFilterPostingsFormatProvider(@IndexSettings Settings indexSettings, @Nullable Map<String, Factory> postingFormatFactories, @Assisted String name, @Assisted Settings postingsFormatSettings) {
super(name);
this.delegate = Helper.lookup(indexSettings, postingsFormatSettings.get("delegate"),... | public BloomFilterPostingsFormatProvider(@IndexSettings Settings indexSettings, @Nullable Map<String, Factory> postingFormatFactories, @Assisted String name, @Assisted Settings postingsFormatSettings) {
super(name);
this.delegate = Helper.lookup(indexSettings, postingsFormatSettings.get("delegate"),... |
public static void main(String[] args) throws Exception {
System.setProperty("es.logger.prefix", "");
int numberOfIndices = 100;
int numberOfDocs = 100;
Settings settings = ImmutableSettings.settingsBuilder()
.put("index.shard.check_on_startup", false)
... | public static void main(String[] args) throws Exception {
System.setProperty("es.logger.prefix", "");
int numberOfIndices = 100;
int numberOfDocs = 100;
Settings settings = ImmutableSettings.settingsBuilder()
.put("index.shard.check_on_startup", false)
... |
public void parse(XContentParser parser, SearchContext context) throws Exception {
byte[] filterSource = parser.binaryValue();
XContentParser fSourceParser = XContentFactory.xContent(filterSource).createParser(filterSource);
try {
ParsedFilter filter = context.queryParserService(... | public void parse(XContentParser parser, SearchContext context) throws Exception {
byte[] filterSource = parser.binaryValue();
XContentParser fSourceParser = XContentFactory.xContent(filterSource).createParser(filterSource);
try {
ParsedFilter filter = context.queryParserService(... |
public void testSearchFilter() throws Exception {
createIndex("test");
client().admin().cluster().prepareHealth().setWaitForEvents(Priority.LANGUID).setWaitForGreenStatus().execute().actionGet();
client().admin().cluster().prepareHealth().setWaitForEvents(Priority.LANGUID).setWaitForGreenSt... | public void testSearchFilter() throws Exception {
createIndex("test");
client().admin().cluster().prepareHealth().setWaitForEvents(Priority.LANGUID).setWaitForGreenStatus().execute().actionGet();
client().admin().cluster().prepareHealth().setWaitForEvents(Priority.LANGUID).setWaitForGreenSt... |
public void testGeoDistanceFilter() throws IOException {
double lat = 40.720611;
double lon = -73.998776;
XContentBuilder mapping = JsonXContent.contentBuilder()
.startObject()
.startObject("location")
.startObject("properties")
... | public void testGeoDistanceFilter() throws IOException {
double lat = 40.720611;
double lon = -73.998776;
XContentBuilder mapping = JsonXContent.contentBuilder()
.startObject()
.startObject("location")
.startObject("properties")
... |
public void testParsingMultipleShapes() throws IOException {
String mapping = XContentFactory.jsonBuilder()
.startObject()
.startObject("type1")
.startObject("properties")
.startObject("location1")
.field("type", "geo_shape")
... | public void testParsingMultipleShapes() throws IOException {
String mapping = XContentFactory.jsonBuilder()
.startObject()
.startObject("type1")
.startObject("properties")
.startObject("location1")
.field("type", "geo_shape")
... |
public void testRandomSorting() throws ElasticSearchException, IOException, InterruptedException, ExecutionException {
int numberOfShards = between(1, 10);
Random random = getRandom();
prepareCreate("test")
.setSettings(ImmutableSettings.builder().put("index.number_of_shards"... | public void testRandomSorting() throws ElasticSearchException, IOException, InterruptedException, ExecutionException {
int numberOfShards = between(1, 10);
Random random = getRandom();
prepareCreate("test")
.setSettings(ImmutableSettings.builder().put("index.number_of_shards"... |
public void moveFromPrimary() {
if (!primary) {
throw new IllegalShardRoutingStateException(this, "Already primary, can't move to backup");
}
primary = false;
}
| public void moveFromPrimary() {
if (!primary) {
throw new IllegalShardRoutingStateException(this, "Already primary, can't move to replica");
}
primary = false;
}
|
@Test public void testBackupElectionToPrimaryWhenPrimaryCanBeAllocatedToAnotherNode() {
ShardsRoutingStrategy strategy = new ShardsRoutingStrategy();
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder()
.put(newIndexMetaDataBuilder("test")... | @Test public void testBackupElectionToPrimaryWhenPrimaryCanBeAllocatedToAnotherNode() {
ShardsRoutingStrategy strategy = new ShardsRoutingStrategy();
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder()
.put(newIndexMetaDataBuilder("test")... |
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
config.useAccelerometer = false;
return new IOSApplication(new DownloadTest(), config);
}
| protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
config.useAccelerometer = false;
return new IOSApplication(new Box2DTestCollection(), config);
}
|
protected GwtFileHandle (Preloader preloader, String fileName, FileType type) {
if (type != FileType.Internal) throw new GdxRuntimeException("FileType '" + type + "' Not supported in GWT backend");
this.preloader = preloader;
this.file = fileName.replace('\\', '/');
this.type = type;
}
| protected GwtFileHandle (Preloader preloader, String fileName, FileType type) {
if (type != FileType.Internal && type != FileType.Classpath) throw new GdxRuntimeException("FileType '" + type + "' Not supported in GWT backend");
this.preloader = preloader;
this.file = fileName.replace('\\', '/');
this.type = ty... |
public FileHandle getFileHandle (String path, FileType type) {
if (type != FileType.Internal) throw new GdxRuntimeException("FileType '" + type + "' not supported in GWT backend");
return new GwtFileHandle(preloader, path, type);
}
@Override
public FileHandle classpath (String path) {
throw new GdxRuntimeExc... | public FileHandle getFileHandle (String path, FileType type) {
if (type != FileType.Internal) throw new GdxRuntimeException("FileType '" + type + "' not supported in GWT backend");
return new GwtFileHandle(preloader, path, type);
}
@Override
public FileHandle classpath (String path) {
return new GwtFileHandl... |
public String glGetActiveUniform (int program, int index, IntBuffer size, Buffer type) {
// FIXME this is less than ideal of course...
IntBuffer typeTmp = BufferUtils.createIntBuffer(2);
String name = GL20.glGetActiveUniform(program, index, 256, typeTmp);
size.put(typeTmp.get(0));
if (type instanceof IntBuff... | public String glGetActiveUniform (int program, int index, IntBuffer size, Buffer type) {
// FIXME this is less than ideal of course...
IntBuffer typeTmp = BufferUtils.createIntBuffer(2);
String name = GL20.glGetActiveUniform(program, index, 256, typeTmp);
size.put(typeTmp.get(0));
if (type instanceof IntBuff... |
public void error (AssetDescriptor asset, Throwable throwable);
} | public void error (String fileName, Class type, Throwable throwable);
} |
private void handleTaskError (Throwable t) {
log.error("Error loading asset.", t);
if (tasks.isEmpty()) throw new GdxRuntimeException(t);
// pop the faulty task from the stack
AssetLoadingTask task = tasks.pop();
AssetDescriptor assetDesc = task.assetDesc;
// remove all dependencies
if (task.dependenc... | private void handleTaskError (Throwable t) {
log.error("Error loading asset.", t);
if (tasks.isEmpty()) throw new GdxRuntimeException(t);
// pop the faulty task from the stack
AssetLoadingTask task = tasks.pop();
AssetDescriptor assetDesc = task.assetDesc;
// remove all dependencies
if (task.dependenc... |
public void begin () {
for(int i = 0; i < count; i++) {
textures[i].reset();
if(weights != null) weights[i] = 0;
}
}
| public void begin () {
for(int i = 0; i < count; i++) {
textures[i].texture = null;
if(weights != null) weights[i] = 0;
}
}
|
private void focusChanged (FocusEvent event) {
Stage stage = getStage();
if (isModal && stage != null && stage.getRoot().getChildren().size > 0
&& stage.getRoot().getChildren().peek() == Dialog.this) { // Dialog is top most actor.
Actor newFocusedActor = event.getRelatedActor();
if (newFocused... | private void focusChanged (FocusEvent event) {
Stage stage = getStage();
if (isModal && stage != null && stage.getRoot().getChildren().size > 0
&& stage.getRoot().getChildren().peek() == Dialog.this) { // Dialog is top most actor.
Actor newFocusedActor = event.getRelatedActor();
if (newFocused... |
public static void main (String[] args) throws Exception {
String JNI_DIR = "jni";
String LIBS_DIR = "libs";
// generate C/C++ code
new NativeCodeGenerator().generate("src", "bin", JNI_DIR, new String[] {"**/*"}, null);
String[] excludeCpp = { "android/**" };
// generate build scripts, for win32 onl... | public static void main (String[] args) throws Exception {
String JNI_DIR = "jni";
String LIBS_DIR = "libs";
// generate C/C++ code
new NativeCodeGenerator().generate("src", "bin", JNI_DIR, new String[] {"**/*"}, null);
String[] excludeCpp = { "android/**" };
// generate build scripts, for win32 onl... |
public static final List<Class<? extends GdxTest>> tests = new ArrayList<Class<? extends GdxTest>>(Arrays.asList(
AnimationTest.class, AccelerometerTest.class, ActionTest.class, ActionSequenceTest.class, LetterBoxTest3.class,
GroupTest.class, AlphaTest.class, AtlasIssueTest.class, AssetManagerTest.class, FilterPer... | public static final List<Class<? extends GdxTest>> tests = new ArrayList<Class<? extends GdxTest>>(Arrays.asList(
AnimationTest.class, AccelerometerTest.class, ActionTest.class, ActionSequenceTest.class, LetterBoxTest3.class,
GroupTest.class, AlphaTest.class, AtlasIssueTest.class, AssetManagerTest.class, FilterPer... |
public int compareTo(Text text) {
return this.text.compareTo(text.string());
}
| public int compareTo(Text text) {
return UTF8SortedAsUnicodeComparator.utf8SortedAsUnicodeSortOrder.compare(bytes(), text.bytes());
}
|
@Test public void testClusterConcurrentRebalance() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder()
.put("cluster.routing.allocation.concurrent_recoveries", 10)
.put("cluster.routing.allocation.allow_rebalance", "always")
.put("cluster.rout... | @Test public void testClusterConcurrentRebalance() {
AllocationService strategy = new AllocationService(settingsBuilder()
.put("cluster.routing.allocation.concurrent_recoveries", 10)
.put("cluster.routing.allocation.allow_rebalance", "always")
.put("cluster.ro... |
@Test public void testElectReplicaAsPrimaryDuringRelocation() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder()
... | @Test public void testElectReplicaAsPrimaryDuringRelocation() {
AllocationService strategy = new AllocationService(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder()... |
@Test public void testBackupElectionToPrimaryWhenPrimaryCanBeAllocatedToAnotherNode() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaData ... | @Test public void testBackupElectionToPrimaryWhenPrimaryCanBeAllocatedToAnotherNode() {
AllocationService strategy = new AllocationService(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaDat... |
@Test public void testPrimaryNotRelocatedWhileBeingRecoveredFrom() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder()
.put("cluster.routing.allocation.node_concurrent_recoveries", 10)
.put("cluster.routing.allocation.node_initial_primaries_recoveries", 10)
... | @Test public void testPrimaryNotRelocatedWhileBeingRecoveredFrom() {
AllocationService strategy = new AllocationService(settingsBuilder()
.put("cluster.routing.allocation.node_concurrent_recoveries", 10)
.put("cluster.routing.allocation.node_initial_primaries_recoveries", 10)... |
@Test public void testRebalanceOnlyAfterAllShardsAreActive() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder()
.put("cluster.routing.allocation.concurrent_recoveries", 10)
.put("cluster.routing.allocation.allow_rebalance", "always")
.put("cl... | @Test public void testRebalanceOnlyAfterAllShardsAreActive() {
AllocationService strategy = new AllocationService(settingsBuilder()
.put("cluster.routing.allocation.concurrent_recoveries", 10)
.put("cluster.routing.allocation.allow_rebalance", "always")
.put("... |
@Test public void testBackupIsAllocatedAfterPrimary() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder()
... | @Test public void testBackupIsAllocatedAfterPrimary() {
AllocationService strategy = new AllocationService(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder()
... |
@Test public void simple() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder().put("cluster.routing.allocation.allow_rebalance", ClusterRebalanceNodeAllocation.ClusterRebalanceType.ALWAYS.toString()).build());
MetaData metaData = newMetaDataBuilder()
.put(newIndexMe... | @Test public void simple() {
AllocationService strategy = new AllocationService(settingsBuilder().put("cluster.routing.allocation.allow_rebalance", ClusterRebalanceNodeAllocation.ClusterRebalanceType.ALWAYS.toString()).build());
MetaData metaData = newMetaDataBuilder()
.put(newIndex... |
@Test public void testSingleIndexFirstStartPrimaryThenBackups() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder()... | @Test public void testSingleIndexFirstStartPrimaryThenBackups() {
AllocationService strategy = new AllocationService(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder... |
@Test public void testSingleIndexFirstStartPrimaryThenBackups() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder()
.put("cluster.routing.allocation.node_concurrent_recoveries", 10)
.put("cluster.routing.allocation.node_initial_primaries_recoveries", 10)
... | @Test public void testSingleIndexFirstStartPrimaryThenBackups() {
AllocationService strategy = new AllocationService(settingsBuilder()
.put("cluster.routing.allocation.node_concurrent_recoveries", 10)
.put("cluster.routing.allocation.node_initial_primaries_recoveries", 10)
... |
@Test public void testUpdateNumberOfReplicas() {
ShardsAllocation strategy = new ShardsAllocation(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder()
... | @Test public void testUpdateNumberOfReplicas() {
AllocationService strategy = new AllocationService(settingsBuilder().put("cluster.routing.allocation.concurrent_recoveries", 10).build());
logger.info("Building initial routing table");
MetaData metaData = newMetaDataBuilder()
... |
public RefreshStats refresh() {
return this.refreshStats;
}
| public RefreshStats refresh() {
return this.refresh();
}
|
static private Pattern minimalPattern = Pattern.compile("[a-zA-Z_$][^:}\\], ]*");
| static private Pattern minimalPattern = Pattern.compile("[a-zA-Z0-9_$][^:}\\], ]*");
|
static public boolean isAssignableFrom (Class c1, Class c2) {
Type c1Type = ReflectionCache.getType(c1);
Type c2Type = ReflectionCache.getType(c2);
return c1Type.isAssignableFrom(c2Type);
}
| static public boolean isAssignableFrom (Class c1, Class c2) {
Type c1Type = ReflectionCache.getType(c1);
Type c2Type = ReflectionCache.getType(c2);
return c2Type.isAssignableFrom(c1Type);
}
|
public static final String VERSION = "0.9.9";
} | public static String VERSION = "0.9.9";
} |
public TextureRegion getRegion (String name) {
TextureRegion region = optional(name, TextureRegion.class);
if (region != null) return region;
Texture texture = optional(name, Texture.class);
if (texture == null) throw new GdxRuntimeException("No TextureRegion or Texture registered with name: " + name);
regi... | public TextureRegion getRegion (String name) {
TextureRegion region = optional(name, TextureRegion.class);
if (region != null) return region;
Texture texture = optional(name, Texture.class);
if (texture == null) throw new GdxRuntimeException("No TextureRegion or Texture registered with name: " + name);
regi... |
public static final List<Class<? extends GdxTest>> tests = new ArrayList<Class<? extends GdxTest>>(Arrays.asList(
AnimationTest.class, AccelerometerTest.class, ActionTest.class, ActionSequenceTest.class,
GroupTest.class, AlphaTest.class, AtlasIssueTest.class, AssetManagerTest.class, FilterPerformanceTest.class,
... | public static final List<Class<? extends GdxTest>> tests = new ArrayList<Class<? extends GdxTest>>(Arrays.asList(
AnimationTest.class, AccelerometerTest.class, ActionTest.class, ActionSequenceTest.class,
GroupTest.class, AlphaTest.class, AtlasIssueTest.class, AssetManagerTest.class, FilterPerformanceTest.class,
... |
public JvmStats state() {
return JvmStats.jvmStats();
}
} | public JvmStats stats() {
return JvmStats.jvmStats();
}
} |
@Override public synchronized ProcessStats processStats() {
Sigar sigar = sigarService.sigar();
ProcessStats stats = new ProcessStats();
stats.timestamp = System.currentTimeMillis();
try {
ProcCpu cpu = sigar.getProcCpu(sigar.getPid());
stats.cpu = new Proces... | @Override public synchronized ProcessStats processStats() {
Sigar sigar = sigarService.sigar();
ProcessStats stats = new ProcessStats();
stats.timestamp = System.currentTimeMillis();
try {
ProcCpu cpu = sigar.getProcCpu(sigar.getPid());
stats.cpu = new Proces... |
@Override public String toString() {
long bytes = bytes();
double value = bytes;
String suffix = "b";
if (bytes >= SizeUnit.C3) {
value = gbFrac();
suffix = "g";
} else if (bytes >= SizeUnit.C2) {
value = mbFrac();
suffix = "m";... | @Override public String toString() {
long bytes = bytes();
double value = bytes;
String suffix = "";
if (bytes >= SizeUnit.C3) {
value = gbFrac();
suffix = "g";
} else if (bytes >= SizeUnit.C2) {
value = mbFrac();
suffix = "m";
... |
public static String getPath(final Reference ref) {
if (ref == null)
return null;
String name = ref.getRef();
if (!TextUtils.isEmpty(name) && name.startsWith(PREFIX_REFS))
return name.substring(PREFIX_REFS.length());
else
return null;
}
| public static String getPath(final Reference ref) {
if (ref == null)
return null;
String name = ref.getRef();
if (!TextUtils.isEmpty(name) && name.startsWith(PREFIX_REFS))
return name.substring(PREFIX_REFS.length());
else
return name;
}
|
public static String VERSION = "0.9.4";
} | public static String VERSION = "0.9.5";
} |
public static void main(String[] args) throws Exception {
ShardId shardId = new ShardId(new Index("index"), 1);
Settings settings = EMPTY_SETTINGS;
// Store store = new RamStore(shardId, settings);
Store store = new ByteBufferStore(shardId, settings, null, new ByteBufferCache(setting... | public static void main(String[] args) throws Exception {
ShardId shardId = new ShardId(new Index("index"), 1);
Settings settings = EMPTY_SETTINGS;
// Store store = new RamStore(shardId, settings);
Store store = new ByteBufferStore(shardId, settings, null, new ByteBufferCache(setting... |
public BitmapFontCache (BitmapFont font) {
this(font, true);
}
| public BitmapFontCache (BitmapFont font) {
this(font, font.usesIntegerPositions());
}
|
protected String models[] = new String[] {"car.obj", "cube.obj", "scene.obj", "scene2.obj", "wheel.obj", "g3d/invaders.g3dj",
"g3d/head.g3db", "g3d/knight.g3dj", "g3d/knight.g3db", "g3d/monkey.g3db", "g3d/ship.obj", "g3d/shapes/cube_1.0x1.0.g3dj",
"g3d/shapes/cube_1.5x1.5.g3dj", "g3d/shapes/sphere.g3dj", "g3d/shap... | protected String models[] = new String[] {"car.obj", "cube.obj", "scene.obj", "scene2.obj", "wheel.obj", "g3d/invaders.g3dj",
"g3d/head.g3db", "g3d/knight.g3dj", "g3d/knight.g3db", "g3d/ship.obj", "g3d/shapes/cube_1.0x1.0.g3dj",
"g3d/shapes/cube_1.5x1.5.g3dj", "g3d/shapes/sphere.g3dj", "g3d/shapes/teapot.g3dj", "g... |
public void respond(CollisionPacket packet, float displacementDistance)
{
if( packet.getNearestDistance() == 0 )
{
System.out.println( "embedded: " + packet.position.dst(packet.intersectionPoint) + ", " + packet.plane );
float distance = packet.plane.distance(packet.position);
packet.position.add(pa... | public void respond(CollisionPacket packet, float displacementDistance)
{
if( packet.getNearestDistance() == 0 )
{
// System.out.println( "embedded: " + packet.position.dst(packet.intersectionPoint) + ", " + packet.plane );
float distance = packet.plane.distance(packet.position);
packet.position.a... |
private boolean upgrade = OptimizeRequest.Defaults.UPGRADE;
ShardOptimizeRequest() {
}
ShardOptimizeRequest(ShardId shardId, OptimizeRequest request) {
super(shardId, request);
waitForMerge = request.waitForMerge();
maxNumSegments = request.maxNumSegments();
onlyExpunge... | private boolean upgrade = OptimizeRequest.Defaults.UPGRADE;
ShardOptimizeRequest() {
}
ShardOptimizeRequest(ShardId shardId, OptimizeRequest request) {
super(shardId, request);
waitForMerge = request.waitForMerge();
maxNumSegments = request.maxNumSegments();
onlyExpunge... |
public static void disposeUnsafeByteBuffer(ByteBuffer buffer) {
int size = 0;
synchronized(unsafeBuffers) {
if(!unsafeBuffers.removeValue(buffer, true))
throw new IllegalArgumentException("buffer not allocated with newUnsafeByteBuffer or already disposed");
}
allocatedUnsafe -= size;
freeMemory(buffe... | public static void disposeUnsafeByteBuffer(ByteBuffer buffer) {
int size = buffer.capacity();
synchronized(unsafeBuffers) {
if(!unsafeBuffers.removeValue(buffer, true))
throw new IllegalArgumentException("buffer not allocated with newUnsafeByteBuffer or already disposed");
}
allocatedUnsafe -= size;
f... |
public void glGenBuffers (int n, int[] buffers, int offset) {
for (int i = offset; i < offset + n; i++)
buffers[offset] = GL15.glGenBuffers();
}
| public void glGenBuffers (int n, int[] buffers, int offset) {
for (int i = offset; i < offset + n; i++)
buffers[i] = GL15.glGenBuffers();
}
|
public ListStyle (BitmapFont font, Color fontColorSelected, Color fontColorUnselected, NinePatch selectedPatch) {
this.font = font;
this.fontColorSelected.set(fontColorSelected);
this.fontColorUnselected.set(this.fontColorUnselected);
this.selectedPatch = selectedPatch;
}
}
| public ListStyle (BitmapFont font, Color fontColorSelected, Color fontColorUnselected, NinePatch selectedPatch) {
this.font = font;
this.fontColorSelected.set(fontColorSelected);
this.fontColorUnselected.set(fontColorUnselected);
this.selectedPatch = selectedPatch;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.