buggy_function stringlengths 1 391k | fixed_function stringlengths 0 392k |
|---|---|
public boolean reject(Thread t) {
String threadName = t.getName();
if (threadName.contains("[" + MulticastChannel.SHARED_CHANNEL_NAME + "]")
|| threadName.contains("[" + ElasticsearchSingleNodeTest.nodeName() + "]")
|| threadName.contains("Keep-Alive-Timer")) {
... | public boolean reject(Thread t) {
String threadName = t.getName();
if (threadName.contains("[" + MulticastChannel.SHARED_CHANNEL_NAME + "]")
|| threadName.contains("[" + ElasticsearchSingleNodeTest.nodeName() + "]")
|| threadName.contains("Keep-Alive-Timer")) {
... |
public void run() {
Set<String> nodes = internalCluster().nodesInclude(index);
assertThat(nodes, Matchers.not(Matchers.emptyIterable()));
for (String node : nodes) {
IndicesService indicesService = internalCluster().getInstance(IndicesServi... | public void run() {
Set<String> nodes = internalCluster().nodesInclude(index);
assertThat(nodes, Matchers.not(Matchers.emptyIterable()));
for (String node : nodes) {
IndicesService indicesService = internalCluster().getInstance(IndicesServi... |
private ByteBuffer toByteBuffer (int byteCount, Buffer input) {
ByteBuffer result = null;
boolean convertWholeBuffer = (byteCount < 0);
if (input instanceof ByteBuffer) {
ByteBuffer input2 = (ByteBuffer)input;
if (convertWholeBuffer) {
byteCount = input2.limit();
}
result = ByteBuffer.allocate(by... | private String getPointerTypeName (int type) {
switch (type) {
case GL_BYTE:
return "GL_BYTE";
case GL_UNSIGNED_BYTE:
return "GL_UNSIGNED_BYTE";
case GL_SHORT:
return "GL_SHORT";
case GL_FIXED:
return "GL_FIXED";
case GL_FLOAT:
return "GL_FLOAT";
default:
return getHex(type);
}
}
B... |
private SimpleRect (int index, float x, float y, float width, float height) {
this.index = index;
this.x = x;
this.y = y;
this.height = height;
this.width = width;
}
}
| public float width;
SimpleRect (int index, float x, float y, float width, float height) {
this.index = index;
this.x = x;
this.y = y;
this.height = height;
this.width = width;
}
}
|
@Override public void toXContent(XContentBuilder builder, Params params) throws IOException {
if (fieldName == null) {
throw new SearchSourceBuilderException("field must be set on geo_distance facet for facet [" + name + "]");
}
if (entries.isEmpty()) {
throw new Sear... | @Override public void toXContent(XContentBuilder builder, Params params) throws IOException {
if (fieldName == null) {
throw new SearchSourceBuilderException("field must be set on geo_distance facet for facet [" + name + "]");
}
if (entries.isEmpty()) {
throw new Sear... |
public float getAxisAngle(Vector3 axis) {
//source : http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToAngle/
if (this.w > 1)
this.nor(); // if w>1 acos and sqrt will produce errors, this cant happen if quaternion is normalised
float angle = (float) (2.0 * Math.acos(th... | public float getAxisAngle(Vector3 axis) {
//source : http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToAngle/
if (this.w > 1)
this.nor(); // if w>1 acos and sqrt will produce errors, this cant happen if quaternion is normalised
float angle = (float) (2.0 * Math.acos(th... |
public SearchLookup lookup() {
// TODO: The types should take into account the parsing context in QueryParserContext...
if (searchLookup == null) {
searchLookup = new SearchLookup(mapperService(), fieldDataCache(), request.types());
}
return searchLookup;
}
| public SearchLookup lookup() {
// TODO: The types should take into account the parsing context in QueryParserContext...
if (searchLookup == null) {
searchLookup = new SearchLookup(mapperService(), fieldData(), request.types());
}
return searchLookup;
}
|
@Override public void setAnimation (String animation, float time) {
int len = subMeshes.length;
for(int i = 0; i < len; i++) {
KeyframedSubMesh subMesh = subMeshes[i];
KeyframedAnimation anim = subMesh.animations.get(animation);
if(anim == null) throw new IllegalArgumentException("No animation with name '... | @Override public void setAnimation (String animation, float time) {
int len = subMeshes.length;
for(int i = 0; i < len; i++) {
KeyframedSubMesh subMesh = subMeshes[i];
KeyframedAnimation anim = subMesh.animations.get(animation);
if(anim == null) throw new IllegalArgumentException("No animation with name '... |
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new EmptyDownloadTest(), config);
}
| protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
return new IOSApplication(new DownloadTest(), config);
}
|
public void create () {
lightManager = new LightManager(LIGHTS_NUM, LightQuality.FRAGMENT);
for (int i = 0; i < LIGHTS_NUM; i++) {
PointLight l = new PointLight();
l.position.set(MathUtils.random(6) - 3, 1 + MathUtils.random(6), MathUtils.random(6) - 3);
l.color.r = MathUtils.random();
l.color.b = Mat... | public void create () {
lightManager = new LightManager(LIGHTS_NUM, LightQuality.FRAGMENT);
for (int i = 0; i < LIGHTS_NUM; i++) {
PointLight l = new PointLight();
l.position.set(MathUtils.random(6) - 3, 1 + MathUtils.random(6), MathUtils.random(6) - 3);
l.color.r = MathUtils.random();
l.color.b = Mat... |
package com.badlogic.gdx.controllers.desktop;
package com.badlogic.gdx.controllers;
import java.awt.Frame;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import org.lwjgl.opengl.Displ... | package com.badlogic.gdx.controllers.desktop;
package com.badlogic.gdx.controllers.desktop;
import java.awt.Frame;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import org.lwjgl.open... |
@Override public void run() {
synchronized (mutex) {
boolean activeInactiveStatusChanges = false;
for (IndexService indexService : indicesService) {
for (IndexShard indexShard : indexService) {
long time = threadPool.estimat... | @Override public void run() {
synchronized (mutex) {
boolean activeInactiveStatusChanges = false;
for (IndexService indexService : indicesService) {
for (IndexShard indexShard : indexService) {
long time = threadPool.estimat... |
public static boolean isValid(final Event event) {
if (event == null)
return false;
final EventPayload payload = event.getPayload();
if (payload == null || EventPayload.class.equals(payload.getClass()))
return false;
final String type = event.getType();
... | public static boolean isValid(final Event event) {
if (event == null)
return false;
final EventPayload payload = event.getPayload();
if (payload == null || EventPayload.class.equals(payload.getClass()))
return false;
final String type = event.getType();
... |
@Override public void toXContent(XContentBuilder builder, Params params) throws IOException {
builder.startObject(name);
builder.field("_type", "stats");
builder.field("count", count);
builder.field("total", total);
builder.field("min", min);
builder.field("max", max)... | @Override public void toXContent(XContentBuilder builder, Params params) throws IOException {
builder.startObject(name);
builder.field("_type", "statistical");
builder.field("count", count);
builder.field("total", total);
builder.field("min", min);
builder.field("max"... |
@Override public void handleException(RemoteTransportException exp) {
logger.warn("[partial_cluster_shutdown]: received failed shutdown response from [{}]", exp, node);
latch.countDown();
}
... | @Override public void handleException(RemoteTransportException exp) {
logger.warn("[partial_cluster_shutdown]: received failed shutdown response from [{}]", exp, node);
latch.countDown();
}
... |
@Override public void toXContent(XContentBuilder builder, Params params) throws IOException {
builder.startObject(name);
builder.field("type", CONTENT_TYPE);
builder.field("path", pathType.name().toLowerCase());
builder.startObject("fields");
contentMapper.toXContent(builder... | @SuppressWarnings({"unchecked"}) @Override public XContentMapper.Builder parse(String name, Map<String, Object> node, ParserContext parserContext) throws MapperParsingException {
XContentAttachmentMapper.Builder builder = new XContentAttachmentMapper.Builder(name);
for (Map.Entry<String... |
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, new ByteBufferCache(settings));
/... | 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... |
@Inject public MmapFsStore(ShardId shardId, @IndexSettings Settings indexSettings, IndexStore indexStore, ByteBufferCache byteBufferCache) throws IOException {
super(shardId, indexSettings);
LockFactory lockFactory = buildLockFactory();
File location = ((FsIndexStore) indexStore).shardIndexL... | @Inject public MmapFsStore(ShardId shardId, @IndexSettings Settings indexSettings, IndexStore indexStore, ByteBufferCache byteBufferCache) throws IOException {
super(shardId, indexSettings, indexStore);
LockFactory lockFactory = buildLockFactory();
File location = ((FsIndexStore) indexStore)... |
@Inject public NioFsStore(ShardId shardId, @IndexSettings Settings indexSettings, IndexStore indexStore, ByteBufferCache byteBufferCache) throws IOException {
super(shardId, indexSettings);
LockFactory lockFactory = buildLockFactory();
File location = ((FsIndexStore) indexStore).shardIndexLo... | @Inject public NioFsStore(ShardId shardId, @IndexSettings Settings indexSettings, IndexStore indexStore, ByteBufferCache byteBufferCache) throws IOException {
super(shardId, indexSettings, indexStore);
LockFactory lockFactory = buildLockFactory();
File location = ((FsIndexStore) indexStore).... |
@Inject public SimpleFsStore(ShardId shardId, @IndexSettings Settings indexSettings, IndexStore indexStore, ByteBufferCache byteBufferCache) throws IOException {
super(shardId, indexSettings);
LockFactory lockFactory = buildLockFactory();
File location = ((FsIndexStore) indexStore).shardInde... | @Inject public SimpleFsStore(ShardId shardId, @IndexSettings Settings indexSettings, IndexStore indexStore, ByteBufferCache byteBufferCache) throws IOException {
super(shardId, indexSettings, indexStore);
LockFactory lockFactory = buildLockFactory();
File location = ((FsIndexStore) indexStor... |
protected Store createStore() throws IOException {
return new RamStore(shardId, EMPTY_SETTINGS);
}
| protected Store createStore() throws IOException {
return new RamStore(shardId, EMPTY_SETTINGS, null);
}
|
@BeforeMethod public void createIndexShard() throws IOException {
Settings settings = EMPTY_SETTINGS;
Environment environment = new Environment(settings);
ShardId shardId = new ShardId("test", 1);
AnalysisService analysisService = new AnalysisService(shardId.index());
MapperS... | @BeforeMethod public void createIndexShard() throws IOException {
Settings settings = EMPTY_SETTINGS;
Environment environment = new Environment(settings);
ShardId shardId = new ShardId("test", 1);
AnalysisService analysisService = new AnalysisService(shardId.index());
MapperS... |
public static Version parseAnalysisVersion(@IndexSettings Settings indexSettings, Settings settings, ESLogger logger) {
// check for explicit version on the specific analyzer component
String sVersion = settings.get("version");
if (sVersion != null) {
return Lucene.parseVersion(s... | public static Version parseAnalysisVersion(@IndexSettings Settings indexSettings, Settings settings, ESLogger logger) {
// check for explicit version on the specific analyzer component
String sVersion = settings.get("version");
if (sVersion != null) {
return Lucene.parseVersion(s... |
public EdgeNGramTokenFilterFactory(Index index, @IndexSettings Settings indexSettings, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.minGram = settings.getAsInt("min_gram", NGramTokenFilter.DEFAULT_MIN_NGRAM_SIZE);
this.maxGram = sett... | public EdgeNGramTokenFilterFactory(Index index, @IndexSettings Settings indexSettings, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.minGram = settings.getAsInt("min_gram", NGramTokenFilter.DEFAULT_MIN_NGRAM_SIZE);
this.maxGram = sett... |
public EdgeNGramTokenizerFactory(Index index, @IndexSettings Settings indexSettings, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.minGram = settings.getAsInt("min_gram", NGramTokenizer.DEFAULT_MIN_NGRAM_SIZE);
this.maxGram = settings... | public EdgeNGramTokenizerFactory(Index index, @IndexSettings Settings indexSettings, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.minGram = settings.getAsInt("min_gram", NGramTokenizer.DEFAULT_MIN_NGRAM_SIZE);
this.maxGram = settings... |
public NGramTokenizerFactory(Index index, @IndexSettings Settings indexSettings, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.minGram = settings.getAsInt("min_gram", NGramTokenizer.DEFAULT_MIN_NGRAM_SIZE);
this.maxGram = settings.get... | public NGramTokenizerFactory(Index index, @IndexSettings Settings indexSettings, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.minGram = settings.getAsInt("min_gram", NGramTokenizer.DEFAULT_MIN_NGRAM_SIZE);
this.maxGram = settings.get... |
public PatternAnalyzerProvider(Index index, @IndexSettings Settings indexSettings, Environment env, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
Version esVersion = indexSettings.getAsVersion(IndexMetaData.SETTING_VERSION_CREATED, org.elasticsea... | public PatternAnalyzerProvider(Index index, @IndexSettings Settings indexSettings, Environment env, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
Version esVersion = Version.indexCreated(indexSettings);
final CharArraySet defaultStopwords... |
public AnalyzerProvider create(String name, Settings settings) {
Version indexVersion = settings.getAsVersion(IndexMetaData.SETTING_VERSION_CREATED, Version.CURRENT);
if (!Version.CURRENT.equals(indexVersion)) {
PreBuiltAnalyzers preBuiltAnalyzers = PreBuiltAnalyzers.getOrDefault(name, n... | public AnalyzerProvider create(String name, Settings settings) {
Version indexVersion = Version.indexCreated(settings);
if (!Version.CURRENT.equals(indexVersion)) {
PreBuiltAnalyzers preBuiltAnalyzers = PreBuiltAnalyzers.getOrDefault(name, null);
if (preBuiltAnalyzers != null... |
public CharFilterFactory create(String name, Settings settings) {
Version indexVersion = settings.getAsVersion(IndexMetaData.SETTING_VERSION_CREATED, Version.CURRENT);
if (!Version.CURRENT.equals(indexVersion)) {
PreBuiltCharFilters preBuiltCharFilters = PreBuiltCharFilters.getOrDefault(... | public CharFilterFactory create(String name, Settings settings) {
Version indexVersion = Version.indexCreated(settings);
if (!Version.CURRENT.equals(indexVersion)) {
PreBuiltCharFilters preBuiltCharFilters = PreBuiltCharFilters.getOrDefault(name, null);
if (preBuiltCharFilter... |
public TokenFilterFactory create(String name, Settings settings) {
Version indexVersion = settings.getAsVersion(IndexMetaData.SETTING_VERSION_CREATED, Version.CURRENT);
if (!Version.CURRENT.equals(indexVersion)) {
PreBuiltTokenFilters preBuiltTokenFilters = PreBuiltTokenFilters.getOrDefa... | public TokenFilterFactory create(String name, Settings settings) {
Version indexVersion = Version.indexCreated(settings);
if (!Version.CURRENT.equals(indexVersion)) {
PreBuiltTokenFilters preBuiltTokenFilters = PreBuiltTokenFilters.getOrDefault(name, null);
if (preBuiltTokenF... |
public TokenizerFactory create(String name, Settings settings) {
Version indexVersion = settings.getAsVersion(IndexMetaData.SETTING_VERSION_CREATED, Version.CURRENT);
if (!Version.CURRENT.equals(indexVersion)) {
PreBuiltTokenizers preBuiltTokenizers = PreBuiltTokenizers.getOrDefault(name... | public TokenizerFactory create(String name, Settings settings) {
Version indexVersion = Version.indexCreated(settings);
if (!Version.CURRENT.equals(indexVersion)) {
PreBuiltTokenizers preBuiltTokenizers = PreBuiltTokenizers.getOrDefault(name, null);
if (preBuiltTokenizers != ... |
public StandardAnalyzerProvider(Index index, @IndexSettings Settings indexSettings, Environment env, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.esVersion = indexSettings.getAsVersion(IndexMetaData.SETTING_VERSION_CREATED, org.elasticsearch... | public StandardAnalyzerProvider(Index index, @IndexSettings Settings indexSettings, Environment env, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.esVersion = Version.indexCreated(indexSettings);
final CharArraySet defaultStopwords;
... |
public StandardHtmlStripAnalyzerProvider(Index index, @IndexSettings Settings indexSettings, Environment env, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.esVersion = indexSettings.getAsVersion(IndexMetaData.SETTING_VERSION_CREATED, org.ela... | public StandardHtmlStripAnalyzerProvider(Index index, @IndexSettings Settings indexSettings, Environment env, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.esVersion = Version.indexCreated(indexSettings);
final CharArraySet defaultSt... |
public TokenStream create(TokenStream tokenStream) {
final Version indexVersion = indexSettings.getAsVersion(IndexMetaData.SETTING_VERSION_CREATED, Version.CURRENT);
if ("arabic".equalsIgnoreCase(language)) {
return new ArabicStemFilter(tokenStream);
} else if ("armenian".equals... | public TokenStream create(TokenStream tokenStream) {
final Version indexVersion = Version.indexCreated(indexSettings);
if ("arabic".equalsIgnoreCase(language)) {
return new ArabicStemFilter(tokenStream);
} else if ("armenian".equalsIgnoreCase(language)) {
return new ... |
public Version indexCreatedVersion() {
if (indexSettings == null) {
return null;
}
return indexSettings.getAsVersion(IndexMetaData.SETTING_VERSION_CREATED, null);
}
}
| public Version indexCreatedVersion() {
if (indexSettings == null) {
return null;
}
return Version.indexCreated(indexSettings);
}
}
|
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeByte(replicationType.id());
out.writeByte(consistencyLevel.id());
out.writeSharedString(type);
out.writeString(id);
out.writeOptionalString(routing);
out.writeOptionalStrin... | public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeByte(replicationType.id());
out.writeByte(consistencyLevel.id());
out.writeSharedString(type);
out.writeString(id);
out.writeOptionalString(routing);
out.writeOptionalStrin... |
@Override public ParsedDocument parse(String type, String id, byte[] source, ParseListener listener) {
JsonParseContext jsonContext = cache.get().get();
if (type != null && !type.equals(this.type)) {
throw new MapperParsingException("Type mismatch, provide type [" + type + "] but mapper... | @Override public ParsedDocument parse(String type, String id, byte[] source, ParseListener listener) {
JsonParseContext jsonContext = cache.get().get();
if (type != null && !type.equals(this.type)) {
throw new MapperParsingException("Type mismatch, provide type [" + type + "] but mapper... |
public InternalAggregation buildAggregation(long owningBucketOrdinal) {
assert owningBucketOrdinal == 0;
List<InternalHistogram.Bucket> buckets = new ArrayList<>((int) bucketOrds.size());
for (long i = 0; i < bucketOrds.size(); i++) {
buckets.add(histogramFactory.createBucket(rou... | public InternalAggregation buildAggregation(long owningBucketOrdinal) {
assert owningBucketOrdinal == 0;
List<InternalHistogram.Bucket> buckets = new ArrayList<>((int) bucketOrds.size());
for (long i = 0; i < bucketOrds.size(); i++) {
buckets.add(histogramFactory.createBucket(rou... |
public SignificantLongTerms buildAggregation(long owningBucketOrdinal) {
assert owningBucketOrdinal == 0;
final int size = (int) Math.min(bucketOrds.size(), bucketCountThresholds.getShardSize());
long supersetSize = termsAggFactory.prepareBackground(context);
long subsetSize = numC... | public SignificantLongTerms buildAggregation(long owningBucketOrdinal) {
assert owningBucketOrdinal == 0;
final int size = (int) Math.min(bucketOrds.size(), bucketCountThresholds.getShardSize());
long supersetSize = termsAggFactory.prepareBackground(context);
long subsetSize = numC... |
private static DoubleTerms.Bucket convertToDouble(InternalTerms.Bucket bucket) {
final long term = bucket.getKeyAsNumber().longValue();
final double value = NumericUtils.sortableLongToDouble(term);
return new DoubleTerms.Bucket(value, bucket.docCount, bucket.aggregations, bucket.showDocCount... | private static DoubleTerms.Bucket convertToDouble(InternalTerms.Bucket bucket) {
final long term = bucket.getKeyAsNumber().longValue();
final double value = NumericUtils.sortableLongToDouble(term);
return new DoubleTerms.Bucket(value, bucket.docCount, bucket.aggregations, bucket.showDocCount... |
public InternalAggregation buildAggregation(long owningBucketOrdinal) {
assert owningBucketOrdinal == 0;
if (bucketCountThresholds.getMinDocCount() == 0 && (order != InternalOrder.COUNT_DESC || bucketOrds.size() < bucketCountThresholds.getRequiredSize())) {
// we need to fill-in the bla... | public InternalAggregation buildAggregation(long owningBucketOrdinal) {
assert owningBucketOrdinal == 0;
if (bucketCountThresholds.getMinDocCount() == 0 && (order != InternalOrder.COUNT_DESC || bucketOrds.size() < bucketCountThresholds.getRequiredSize())) {
// we need to fill-in the bla... |
public void streamResponse() throws Exception {
SignificanceHeuristicStreams.registerStream(MutualInformation.STREAM, MutualInformation.STREAM.getName());
SignificanceHeuristicStreams.registerStream(JLHScore.STREAM, JLHScore.STREAM.getName());
SignificanceHeuristicStreams.registerStream(GND.... | public void streamResponse() throws Exception {
SignificanceHeuristicStreams.registerStream(MutualInformation.STREAM, MutualInformation.STREAM.getName());
SignificanceHeuristicStreams.registerStream(JLHScore.STREAM, JLHScore.STREAM.getName());
SignificanceHeuristicStreams.registerStream(GND.... |
protected static long getCPtr(SWIGTYPE_p_PHY_ScalarType obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_PHY_ScalarType obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_bParse__btBulletFile obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_bParse__btBulletFile obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_ConvexH__HalfEdge_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_ConvexH__HalfEdge_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_Face_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_Face_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_GrahamVector3_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_GrahamVector3_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_Link_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_Link_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_Material_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_Material_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_Node_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_Node_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_bool_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_bool_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btBroadphaseInterface_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btBroadphaseInterface_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btBvhSubtreeInfo_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btBvhSubtreeInfo_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btCollisionObject_const_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btCollisionObject_const_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btConvexHullComputer__Edge_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btConvexHullComputer__Edge_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btDbvtNode_const_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btDbvtNode_const_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btDbvt__sStkNN_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btDbvt__sStkNN_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btDbvt__sStkNPS_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btDbvt__sStkNPS_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btFace_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btFace_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btIndexedMesh_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btIndexedMesh_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btPlane_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btPlane_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btQuantizedBvhNode_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btQuantizedBvhNode_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Anchor_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Anchor_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Cluster_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Cluster_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Joint_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Joint_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Note_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Note_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__RContact_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__RContact_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__SContact_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__SContact_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Tetra_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Tetra_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSolverConstraint_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSolverConstraint_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSparseSdfT_3_t__Cell_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btSparseSdfT_3_t__Cell_p_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btVector3_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btWheelInfo_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_btWheelInfo_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_float_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_float_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_int_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_int_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_unsigned_int_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAlignedObjectArrayT_unsigned_int_t obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAxisSweep3InternalT_unsigned_int_t__Handle obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAxisSweep3InternalT_unsigned_int_t__Handle obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btAxisSweep3InternalT_unsigned_short_t__Handle obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btAxisSweep3InternalT_unsigned_short_t__Handle obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btConvexCast__CastResult obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btConvexCast__CastResult obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btDbvt__IClone obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btDbvt__IClone obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btDbvt__ICollide obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btDbvt__ICollide obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btDbvt__IWriter obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btDbvt__IWriter obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btDbvt__sStkNPS obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btDbvt__sStkNPS obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btDiscreteCollisionDetectorInterface__Result obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btDiscreteCollisionDetectorInterface__Result obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btGImpactMeshShape obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btGImpactMeshShape obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btGjkEpaSolver2__sResults obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btGjkEpaSolver2__sResults obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btMatrix3x3 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btMatrix3x3 obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btMatrix3x3DoubleData obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btMatrix3x3DoubleData obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btMatrix3x3FloatData obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btMatrix3x3FloatData obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btMultiSapBroadphase__btMultiSapProxy obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btMultiSapBroadphase__btMultiSapProxy obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btSerializer obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btSerializer obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btSimplexSolverInterface obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btSimplexSolverInterface obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btSimulationIslandManager__IslandCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btSimulationIslandManager__IslandCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btSoftBody__AJoint__Specs obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btSoftBody__AJoint__Specs obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btSoftBody__Body obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btSoftBody__Body obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btSoftBody__Cluster obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btSoftBody__Cluster obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btSoftBody__Config obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btSoftBody__Config obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btSoftBody__ImplicitFn obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btSoftBody__ImplicitFn obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
protected static long getCPtr(SWIGTYPE_p_btSoftBody__Impulse obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
| public static long getCPtr(SWIGTYPE_p_btSoftBody__Impulse obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.