code stringlengths 130 281k | code_dependency stringlengths 182 306k |
|---|---|
public class class_name {
@Nonnull
public static <T extends OWLObject> List<T> sortOptionally(@Nonnull Collection<T> toReturn) {
List<T> list = new ArrayList<>(toReturn);
try {
Collections.sort(list);
} catch (IllegalArgumentException e) {
// catch possible sorting m... | public class class_name {
@Nonnull
public static <T extends OWLObject> List<T> sortOptionally(@Nonnull Collection<T> toReturn) {
List<T> list = new ArrayList<>(toReturn);
try {
Collections.sort(list); // depends on control dependency: [try], data = [none]
} catch (IllegalArgumen... |
public class class_name {
public ClientConnectionTimings build() {
if (socketConnectStartTimeMicros > 0 && !socketConnectEndSet) {
logger.warn("Should call socketConnectEnd() if socketConnectStart() was invoked.");
}
if (pendingAcquisitionStartTimeMicros > 0 && !pendingAcquisitionEn... | public class class_name {
public ClientConnectionTimings build() {
if (socketConnectStartTimeMicros > 0 && !socketConnectEndSet) {
logger.warn("Should call socketConnectEnd() if socketConnectStart() was invoked."); // depends on control dependency: [if], data = [none]
}
if (pendingA... |
public class class_name {
public void set(double x, double y, double z) {
assert Vector3D.isUnitVector(x, y, z) : AssertMessages.normalizedParameters(0, 1, 2);
if ((x != getX() || y != getY() || z != getZ()) && !isBound()) {
final Vector3dfx v = super.get();
v.set(x, y, z);
fireValueChangedEvent();
}
}... | public class class_name {
public void set(double x, double y, double z) {
assert Vector3D.isUnitVector(x, y, z) : AssertMessages.normalizedParameters(0, 1, 2);
if ((x != getX() || y != getY() || z != getZ()) && !isBound()) {
final Vector3dfx v = super.get();
v.set(x, y, z); // depends on control dependency: ... |
public class class_name {
@Override
public void visitInnerClass(String name, String outerName, String innerName, int access) {
// Make sure the class is annotated.
ensureAnnotated();
if (name.equals(getClassInternalName())) {
StringBuilder sb = new StringBuilder();
... | public class class_name {
@Override
public void visitInnerClass(String name, String outerName, String innerName, int access) {
// Make sure the class is annotated.
ensureAnnotated();
if (name.equals(getClassInternalName())) {
StringBuilder sb = new StringBuilder();
... |
public class class_name {
public void loadTopology() {
if (fake) {
getView().updateHosts(deriveGroups(generateFakeDomain()), hostIndex);
} else {
Outcome<FunctionContext> outcome = new Outcome<FunctionContext>() {
@Override
public void onFailure(f... | public class class_name {
public void loadTopology() {
if (fake) {
getView().updateHosts(deriveGroups(generateFakeDomain()), hostIndex); // depends on control dependency: [if], data = [none]
} else {
Outcome<FunctionContext> outcome = new Outcome<FunctionContext>() {
... |
public class class_name {
public static void swap(
final byte[] data, final int start, final int end,
final byte[] otherData, final int otherStart
) {
for (int i = end - start; --i >= 0;) {
final boolean temp = get(data, i + start);
set(data, i + start, get(otherData, otherStart + i));
set(otherData, o... | public class class_name {
public static void swap(
final byte[] data, final int start, final int end,
final byte[] otherData, final int otherStart
) {
for (int i = end - start; --i >= 0;) {
final boolean temp = get(data, i + start);
set(data, i + start, get(otherData, otherStart + i)); // depends on contr... |
public class class_name {
public void setList(String fieldName, List<?> value) {
if (value == null) {
// list默认允许传入null
return;
}
fieldList.add(fieldName);
statementParameter.setList(value);
} } | public class class_name {
public void setList(String fieldName, List<?> value) {
if (value == null) {
// list默认允许传入null
return;
// depends on control dependency: [if], data = [none]
}
fieldList.add(fieldName);
statementParameter.setList(value);
} } |
public class class_name {
private void visitParentExpression(AbstractFunctionExpression parentExpr) {
if (nextFunctionBodyStart == null) {
nextFunctionBodyStart = parentExpr;
}
if (currentFunctionName != null) {
updateCurrentFunction(parentExpr);
} else {
... | public class class_name {
private void visitParentExpression(AbstractFunctionExpression parentExpr) {
if (nextFunctionBodyStart == null) {
nextFunctionBodyStart = parentExpr; // depends on control dependency: [if], data = [none]
}
if (currentFunctionName != null) {
upd... |
public class class_name {
public static MultivaluedMap<String, String> decodeMatrix(String pathSegment, boolean decode) {
// EMODB-MODIFICATION Replaced with EmoMultivaluedMap implementation
MultivaluedMap<String, String> matrixMap = EmoMultivaluedMap.create();
// Skip over path segment
... | public class class_name {
public static MultivaluedMap<String, String> decodeMatrix(String pathSegment, boolean decode) {
// EMODB-MODIFICATION Replaced with EmoMultivaluedMap implementation
MultivaluedMap<String, String> matrixMap = EmoMultivaluedMap.create();
// Skip over path segment
... |
public class class_name {
private static Collection difference(Collection first, Collection second){
if (first == null) {
return EMPTY_LIST;
}
if (second == null) {
return first;
}
Collection difference = new ArrayList<>(first);
for (Object curr... | public class class_name {
private static Collection difference(Collection first, Collection second){
if (first == null) {
return EMPTY_LIST; // depends on control dependency: [if], data = [none]
}
if (second == null) {
return first; // depends on control dependency: [if... |
public class class_name {
@Override
public AnnotationDefinition convert(BELAnnotationDefinition bad) {
if (bad == null) {
return null;
}
AnnotationDefinition ad = CommonModelFactory.getInstance()
.createAnnotationDefinition(bad.getName());
switch (bad.ge... | public class class_name {
@Override
public AnnotationDefinition convert(BELAnnotationDefinition bad) {
if (bad == null) {
return null; // depends on control dependency: [if], data = [none]
}
AnnotationDefinition ad = CommonModelFactory.getInstance()
.createAnnot... |
public class class_name {
public final void setHeaderProperties(Properties headerProperties)
{
this.headerProperties=null;
if(headerProperties!=null)
{
this.headerProperties=new Properties();
this.headerProperties.putAll(headerProperties);
}
} } | public class class_name {
public final void setHeaderProperties(Properties headerProperties)
{
this.headerProperties=null;
if(headerProperties!=null)
{
this.headerProperties=new Properties(); // depends on control dependency: [if], data = [none]
this.headerProperties... |
public class class_name {
public BufferedString toBufferedString() {
if (_skipped.length == 0)
return _bufferedString;
byte[] buf = MemoryManager.malloc1(_bufferedString._len - _skipped.length); // Length of the buffer window minus skipped chars
int copyStart = _bufferedString._of... | public class class_name {
public BufferedString toBufferedString() {
if (_skipped.length == 0)
return _bufferedString;
byte[] buf = MemoryManager.malloc1(_bufferedString._len - _skipped.length); // Length of the buffer window minus skipped chars
int copyStart = _bufferedString._of... |
public class class_name {
public static BaseUserInfo doAuthentication(String name,String password){
BaseUserInfo userInfo = getInstance().decisionProvider.validateUser(name, password);
UserSession session = getCurrentSession(false);
session.update(userInfo, getInstance().decisionProvider.sessionExpireIn());
... | public class class_name {
public static BaseUserInfo doAuthentication(String name,String password){
BaseUserInfo userInfo = getInstance().decisionProvider.validateUser(name, password);
UserSession session = getCurrentSession(false);
session.update(userInfo, getInstance().decisionProvider.sessionExpireIn());
... |
public class class_name {
private boolean grow() {
if (_growCapacity <= 0)
return false;
_tailLock.lock();
try {
_headLock.lock();
try {
final int head = _indexes[HEAD_OFFSET];
final int tail = _indexes[TAIL_OFFSET];
... | public class class_name {
private boolean grow() {
if (_growCapacity <= 0)
return false;
_tailLock.lock();
try {
_headLock.lock(); // depends on control dependency: [try], data = [none]
try {
final int head = _indexes[HEAD_OFFSET];
... |
public class class_name {
private UserDetailsService getUserDetailsService(H http) {
if (this.userDetailsService == null) {
this.userDetailsService = http.getSharedObject(UserDetailsService.class);
}
if (this.userDetailsService == null) {
throw new IllegalStateException("userDetailsService cannot be null. ... | public class class_name {
private UserDetailsService getUserDetailsService(H http) {
if (this.userDetailsService == null) {
this.userDetailsService = http.getSharedObject(UserDetailsService.class); // depends on control dependency: [if], data = [none]
}
if (this.userDetailsService == null) {
throw new Ille... |
public class class_name {
@Nonnull
public List<OutputWriter> getEffectiveOutputWriters() {
// Google Guava predicates would be nicer but we don't include guava to ease embeddability
List<OutputWriter> result = new ArrayList<OutputWriter>(embeddedJmxTrans.getOutputWriters().size() + outputWriters.si... | public class class_name {
@Nonnull
public List<OutputWriter> getEffectiveOutputWriters() {
// Google Guava predicates would be nicer but we don't include guava to ease embeddability
List<OutputWriter> result = new ArrayList<OutputWriter>(embeddedJmxTrans.getOutputWriters().size() + outputWriters.si... |
public class class_name {
public DescribeRegionsRequest withRegionNames(String... regionNames) {
if (this.regionNames == null) {
setRegionNames(new com.amazonaws.internal.SdkInternalList<String>(regionNames.length));
}
for (String ele : regionNames) {
this.regionNames.ad... | public class class_name {
public DescribeRegionsRequest withRegionNames(String... regionNames) {
if (this.regionNames == null) {
setRegionNames(new com.amazonaws.internal.SdkInternalList<String>(regionNames.length)); // depends on control dependency: [if], data = [none]
}
for (Strin... |
public class class_name {
public Input withSupplementalImps(String... supplementalImps) {
if (this.supplementalImps == null) {
setSupplementalImps(new java.util.ArrayList<String>(supplementalImps.length));
}
for (String ele : supplementalImps) {
this.supplementalImps.add... | public class class_name {
public Input withSupplementalImps(String... supplementalImps) {
if (this.supplementalImps == null) {
setSupplementalImps(new java.util.ArrayList<String>(supplementalImps.length)); // depends on control dependency: [if], data = [none]
}
for (String ele : sup... |
public class class_name {
protected void registerServant()
{
if (ivRemoteObjectWrapper != null)
{
// synchronized on the remote Wrapper to set the isRemoteRegistered flag
synchronized (ivRemoteObjectWrapper)
{
if (!isRemoteRegistered)
... | public class class_name {
protected void registerServant()
{
if (ivRemoteObjectWrapper != null)
{
// synchronized on the remote Wrapper to set the isRemoteRegistered flag
synchronized (ivRemoteObjectWrapper) // depends on control dependency: [if], data = [(ivRemoteObjectWrap... |
public class class_name {
public void marshall(ListCertificateAuthoritiesRequest listCertificateAuthoritiesRequest, ProtocolMarshaller protocolMarshaller) {
if (listCertificateAuthoritiesRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
... | public class class_name {
public void marshall(ListCertificateAuthoritiesRequest listCertificateAuthoritiesRequest, ProtocolMarshaller protocolMarshaller) {
if (listCertificateAuthoritiesRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
... |
public class class_name {
public void marshall(SignedObject signedObject, ProtocolMarshaller protocolMarshaller) {
if (signedObject == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(signedObject.get... | public class class_name {
public void marshall(SignedObject signedObject, ProtocolMarshaller protocolMarshaller) {
if (signedObject == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(signedObject.get... |
public class class_name {
protected void upload(final String text, final ProgressListener progressListener, ResponseListener responseListener) {
if (text == null || text.length() == 0) {
if (responseListener != null) {
responseListener.onFailure(null, new IllegalArgumentException("T... | public class class_name {
protected void upload(final String text, final ProgressListener progressListener, ResponseListener responseListener) {
if (text == null || text.length() == 0) {
if (responseListener != null) {
responseListener.onFailure(null, new IllegalArgumentException("T... |
public class class_name {
public void marshall(RenderingEngine renderingEngine, ProtocolMarshaller protocolMarshaller) {
if (renderingEngine == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(renderi... | public class class_name {
public void marshall(RenderingEngine renderingEngine, ProtocolMarshaller protocolMarshaller) {
if (renderingEngine == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(renderi... |
public class class_name {
public Object getControlValue()
{
Container container = this.getParent();
if (container instanceof JCalendarDualField)
container = container.getParent();
if (container instanceof JTable)
{ // Always
JTable jtable = (JTable)containe... | public class class_name {
public Object getControlValue()
{
Container container = this.getParent();
if (container instanceof JCalendarDualField)
container = container.getParent();
if (container instanceof JTable)
{ // Always
JTable jtable = (JTable)containe... |
public class class_name {
@Override
public DeleteMethodOutcome deleteByUrl(String theUrl, List<DeleteConflict> deleteConflicts, RequestDetails theRequest) {
StopWatch w = new StopWatch();
Set<Long> resourceIds = myMatchResourceUrlService.processMatchUrl(theUrl, myResourceType);
if (resourceIds.size() > 1) {
... | public class class_name {
@Override
public DeleteMethodOutcome deleteByUrl(String theUrl, List<DeleteConflict> deleteConflicts, RequestDetails theRequest) {
StopWatch w = new StopWatch();
Set<Long> resourceIds = myMatchResourceUrlService.processMatchUrl(theUrl, myResourceType);
if (resourceIds.size() > 1) {
... |
public class class_name {
public static Object convertValue(final Object value, final Class<?> convertType) {
if (null == value) {
return convertNullValue(convertType);
}
if (value.getClass() == convertType) {
return value;
}
if (value instanceof Number)... | public class class_name {
public static Object convertValue(final Object value, final Class<?> convertType) {
if (null == value) {
return convertNullValue(convertType); // depends on control dependency: [if], data = [none]
}
if (value.getClass() == convertType) {
return... |
public class class_name {
@SuppressWarnings("resource")
public String getLogText() {
try {
String logFilePath = getLogFilePath();
byte[] logData = CmsFileUtil.readFully(new FileInputStream(logFilePath));
return new String(logData, "UTF-8");
} catch (IOException ... | public class class_name {
@SuppressWarnings("resource")
public String getLogText() {
try {
String logFilePath = getLogFilePath();
byte[] logData = CmsFileUtil.readFully(new FileInputStream(logFilePath));
return new String(logData, "UTF-8"); // depends on control depende... |
public class class_name {
private static Adapter tryAdapter( Class adapterClass, Object externalContext )
{
try
{
Adapter sa = ( Adapter ) adapterClass.newInstance();
try
{
AdapterContext context = new AdapterContext( externalContext );
... | public class class_name {
private static Adapter tryAdapter( Class adapterClass, Object externalContext )
{
try
{
Adapter sa = ( Adapter ) adapterClass.newInstance();
try
{
AdapterContext context = new AdapterContext( externalContext );
... |
public class class_name {
public <A, D> Map<K, D> grouping(Collector<? super V, A, D> downstream) {
Function<Entry<K, V>, K> keyMapper = Entry::getKey;
Collector<Entry<K, V>, ?, D> mapping = Collectors.mapping(Entry::getValue, downstream);
if (isParallel() && downstream.characteristics().con... | public class class_name {
public <A, D> Map<K, D> grouping(Collector<? super V, A, D> downstream) {
Function<Entry<K, V>, K> keyMapper = Entry::getKey;
Collector<Entry<K, V>, ?, D> mapping = Collectors.mapping(Entry::getValue, downstream);
if (isParallel() && downstream.characteristics().con... |
public class class_name {
private static InternetHeaders getManifestProperties(File manifest) {
final InternetHeaders result = new InternetHeaders();
if (null == manifest) {
LOGGER.debug("Manifest file not found.");
} else {
try (InputStream in = new BufferedInputStream(... | public class class_name {
private static InternetHeaders getManifestProperties(File manifest) {
final InternetHeaders result = new InternetHeaders();
if (null == manifest) {
LOGGER.debug("Manifest file not found."); // depends on control dependency: [if], data = [none]
} else {
... |
public class class_name {
public static String ptb2Text(String ptbText) {
StringBuilder sb = new StringBuilder(ptbText.length()); // probably an overestimate
PTB2TextLexer lexer = new PTB2TextLexer(new StringReader(ptbText));
try {
for (String token; (token = lexer.next()) != null; ) {
s... | public class class_name {
public static String ptb2Text(String ptbText) {
StringBuilder sb = new StringBuilder(ptbText.length()); // probably an overestimate
PTB2TextLexer lexer = new PTB2TextLexer(new StringReader(ptbText));
try {
for (String token; (token = lexer.next()) != null; ) {
s... |
public class class_name {
public String findTypeWithMatchingNamespace(String prefix) {
prefix = prefix + ".";
// This must be sorted so that errors are deterministic, or we'll break integration tests.
for (String name : getAllSortedTypeNames()) {
if (name.startsWith(prefix)) {
return name;
... | public class class_name {
public String findTypeWithMatchingNamespace(String prefix) {
prefix = prefix + ".";
// This must be sorted so that errors are deterministic, or we'll break integration tests.
for (String name : getAllSortedTypeNames()) {
if (name.startsWith(prefix)) {
return name; //... |
public class class_name {
private JCExpression bracketsOpt(JCExpression t,
List<JCAnnotation> annotations) {
List<JCAnnotation> nextLevelAnnotations = typeAnnotationsOpt();
if (token.kind == LBRACKET) {
int pos = token.pos;
nextToken();
t = bracketsOptCo... | public class class_name {
private JCExpression bracketsOpt(JCExpression t,
List<JCAnnotation> annotations) {
List<JCAnnotation> nextLevelAnnotations = typeAnnotationsOpt();
if (token.kind == LBRACKET) {
int pos = token.pos;
nextToken(); // depends on control depende... |
public class class_name {
public ExclusionPreview withScopes(Scope... scopes) {
if (this.scopes == null) {
setScopes(new java.util.ArrayList<Scope>(scopes.length));
}
for (Scope ele : scopes) {
this.scopes.add(ele);
}
return this;
} } | public class class_name {
public ExclusionPreview withScopes(Scope... scopes) {
if (this.scopes == null) {
setScopes(new java.util.ArrayList<Scope>(scopes.length)); // depends on control dependency: [if], data = [none]
}
for (Scope ele : scopes) {
this.scopes.add(ele); /... |
public class class_name {
private void deliverMasterYieldResponse(int fromPlayer, boolean yielded) {
for (final MasterHandoffListener listener : getMasterHandoffListeners()) {
try {
listener.yieldResponse(fromPlayer, yielded);
} catch (Throwable t) {
logg... | public class class_name {
private void deliverMasterYieldResponse(int fromPlayer, boolean yielded) {
for (final MasterHandoffListener listener : getMasterHandoffListeners()) {
try {
listener.yieldResponse(fromPlayer, yielded); // depends on control dependency: [try], data = [none]
... |
public class class_name {
public boolean computeDirect( DMatrixRMaj A ) {
initPower(A);
boolean converged = false;
for( int i = 0; i < maxIterations && !converged; i++ ) {
// q0.print();
CommonOps_DDRM.mult(A,q0,q1);
double s = NormOps_DDRM.nor... | public class class_name {
public boolean computeDirect( DMatrixRMaj A ) {
initPower(A);
boolean converged = false;
for( int i = 0; i < maxIterations && !converged; i++ ) {
// q0.print();
CommonOps_DDRM.mult(A,q0,q1); // depends on control dependency: [for]... |
public class class_name {
private static <T> Method getGetter(Class<T> clazz, Field f){
String getterName = "get" + StringUtils.capitalize(f.getName());
Method getter = null;
try {
getter = clazz.getMethod(getterName);
} catch (Exception e) {
logger.debug(getterName + " doesn't exist!",e);
}
return g... | public class class_name {
private static <T> Method getGetter(Class<T> clazz, Field f){
String getterName = "get" + StringUtils.capitalize(f.getName());
Method getter = null;
try {
getter = clazz.getMethod(getterName); // depends on control dependency: [try], data = [none]
} catch (Exception e) {
logger.... |
public class class_name {
public static Set<Class<?>> scanForAnnotatedClassesFromSet(final File directory,
final String packagePath, final Set<Class<? extends Annotation>> annotationClasses)
throws ClassNotFoundException
{
final Set<Class<?>> foundClasses = new HashSet<>();
if (!directory.exists())
{
ret... | public class class_name {
public static Set<Class<?>> scanForAnnotatedClassesFromSet(final File directory,
final String packagePath, final Set<Class<? extends Annotation>> annotationClasses)
throws ClassNotFoundException
{
final Set<Class<?>> foundClasses = new HashSet<>();
if (!directory.exists())
{
ret... |
public class class_name {
private void internalUpdateJobStateAndResult(final JobInstance job) {
transactionTemplate.execute(new TransactionCallbackWithoutResult() {
protected void doInTransactionWithoutResult(TransactionStatus status) {
jobInstanceDao.updateStateAndResult(job);
... | public class class_name {
private void internalUpdateJobStateAndResult(final JobInstance job) {
transactionTemplate.execute(new TransactionCallbackWithoutResult() {
protected void doInTransactionWithoutResult(TransactionStatus status) {
jobInstanceDao.updateStateAndResult(job);
... |
public class class_name {
@SuppressWarnings({ "rawtypes", "unchecked" })
private GeoResults<?> buildGeoResults(final ArangoCursor<?> cursor) {
final List<GeoResult<?>> list = new LinkedList<>();
cursor.forEachRemaining(o -> {
final GeoResult<?> geoResult = buildGeoResult(o);
if (geoResult != null) {
lis... | public class class_name {
@SuppressWarnings({ "rawtypes", "unchecked" })
private GeoResults<?> buildGeoResults(final ArangoCursor<?> cursor) {
final List<GeoResult<?>> list = new LinkedList<>();
cursor.forEachRemaining(o -> {
final GeoResult<?> geoResult = buildGeoResult(o);
if (geoResult != null) {
lis... |
public class class_name {
public EClass getIfcEvaporativeCoolerType() {
if (ifcEvaporativeCoolerTypeEClass == null) {
ifcEvaporativeCoolerTypeEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI)
.getEClassifiers().get(211);
}
return ifcEvaporativeCoolerTypeEClass;
} } | public class class_name {
public EClass getIfcEvaporativeCoolerType() {
if (ifcEvaporativeCoolerTypeEClass == null) {
ifcEvaporativeCoolerTypeEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI)
.getEClassifiers().get(211);
// depends on control dependency: [if], data = [non... |
public class class_name {
public void marshall(SamplingTargetDocument samplingTargetDocument, ProtocolMarshaller protocolMarshaller) {
if (samplingTargetDocument == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarsha... | public class class_name {
public void marshall(SamplingTargetDocument samplingTargetDocument, ProtocolMarshaller protocolMarshaller) {
if (samplingTargetDocument == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarsha... |
public class class_name {
@Override
public String[] getParameterValues(String name) {
if (m_escaper != null) {
return m_escaper.escape(name, m_parameters.get(name));
} else {
return m_parameters.get(name);
}
} } | public class class_name {
@Override
public String[] getParameterValues(String name) {
if (m_escaper != null) {
return m_escaper.escape(name, m_parameters.get(name)); // depends on control dependency: [if], data = [none]
} else {
return m_parameters.get(name); // depends on ... |
public class class_name {
public static SoyValue minus(SoyValue operand0, SoyValue operand1) {
if (operand0 instanceof IntegerData && operand1 instanceof IntegerData) {
return IntegerData.forValue(operand0.longValue() - operand1.longValue());
} else {
return FloatData.forValue(operand0.numberValue(... | public class class_name {
public static SoyValue minus(SoyValue operand0, SoyValue operand1) {
if (operand0 instanceof IntegerData && operand1 instanceof IntegerData) {
return IntegerData.forValue(operand0.longValue() - operand1.longValue()); // depends on control dependency: [if], data = [none]
} else {... |
public class class_name {
protected String getFormattedNodeXml(final Node nodeToConvert, boolean formatXml) {
String formattedNodeXml;
try {
final int numberOfBlanksToIndent = formatXml ? 2 : -1;
final Transformer transformer = createXmlTransformer(numberOfBlanksToIndent);
... | public class class_name {
protected String getFormattedNodeXml(final Node nodeToConvert, boolean formatXml) {
String formattedNodeXml;
try {
final int numberOfBlanksToIndent = formatXml ? 2 : -1;
final Transformer transformer = createXmlTransformer(numberOfBlanksToIndent);
... |
public class class_name {
public V remove (K key) {
int hashCode = key.hashCode();
int index = hashCode & mask;
if (key.equals(keyTable[index])) {
keyTable[index] = null;
V oldValue = valueTable[index];
valueTable[index] = null;
size--;
return oldValue;
}
index = hash2(hashCode);
... | public class class_name {
public V remove (K key) {
int hashCode = key.hashCode();
int index = hashCode & mask;
if (key.equals(keyTable[index])) {
keyTable[index] = null;
// depends on control dependency: [if], data = [none]
V oldValue = valueTable[index];
valueTable[index] = null;
// depends on ... |
public class class_name {
public ListVerifiedEmailAddressesResult withVerifiedEmailAddresses(String... verifiedEmailAddresses) {
if (this.verifiedEmailAddresses == null) {
setVerifiedEmailAddresses(new com.amazonaws.internal.SdkInternalList<String>(verifiedEmailAddresses.length));
}
... | public class class_name {
public ListVerifiedEmailAddressesResult withVerifiedEmailAddresses(String... verifiedEmailAddresses) {
if (this.verifiedEmailAddresses == null) {
setVerifiedEmailAddresses(new com.amazonaws.internal.SdkInternalList<String>(verifiedEmailAddresses.length)); // depends on con... |
public class class_name {
private PsiClass getPsiClassFromContext(AnActionEvent e) {
PsiFile psiFile = e.getData(LangDataKeys.PSI_FILE);
Editor editor = e.getData(PlatformDataKeys.EDITOR);
if (psiFile == null || editor == null) {
return null;
}
int offset = editor.getCaretModel().getOf... | public class class_name {
private PsiClass getPsiClassFromContext(AnActionEvent e) {
PsiFile psiFile = e.getData(LangDataKeys.PSI_FILE);
Editor editor = e.getData(PlatformDataKeys.EDITOR);
if (psiFile == null || editor == null) {
return null; // depends on control dependency: [if], data = [none... |
public class class_name {
@Override
public AtomicValue evaluate() {
boolean satisfiesCond = false;
for (AbsAxis axis : mVars) {
while (axis.hasNext()) {
if (mSatisfy.hasNext()) {
// condition is satisfied for this item -> expression is
... | public class class_name {
@Override
public AtomicValue evaluate() {
boolean satisfiesCond = false;
for (AbsAxis axis : mVars) {
while (axis.hasNext()) {
if (mSatisfy.hasNext()) {
// condition is satisfied for this item -> expression is
... |
public class class_name {
protected String getSeparatorPlusAffinityToken(String sessId) {
StringBuffer separatorPlusAffToken = new StringBuffer();
String affToken = _store.getAffinityToken(sessId, _sessCtx.getAppName());
if (affToken == null) { // store has not overridden token impl
... | public class class_name {
protected String getSeparatorPlusAffinityToken(String sessId) {
StringBuffer separatorPlusAffToken = new StringBuffer();
String affToken = _store.getAffinityToken(sessId, _sessCtx.getAppName());
if (affToken == null) { // store has not overridden token impl
... |
public class class_name {
@Override
public Promise<Void> put(@Nullable T value) {
assert put == null;
if (exception == null) {
if (take != null) {
SettablePromise<T> take = this.take;
this.take = null;
take.set(value);
return Promise.complete();
}
this.value = value;
this.put = new Se... | public class class_name {
@Override
public Promise<Void> put(@Nullable T value) {
assert put == null;
if (exception == null) {
if (take != null) {
SettablePromise<T> take = this.take;
this.take = null; // depends on control dependency: [if], data = [none]
take.set(value); // depends on control depe... |
public class class_name {
String indent(String s)
{
if (count > 0)
{ // don't bother indenting if the level is zero
StringBuilder sb = new StringBuilder();
sb.append("\n");
sb.append(getIndentation());
StringBuilder r = new StringBuilder();
r.append(getIndentation());
r.append(s.replaceAll("\n",... | public class class_name {
String indent(String s)
{
if (count > 0)
{ // don't bother indenting if the level is zero
StringBuilder sb = new StringBuilder();
sb.append("\n"); // depends on control dependency: [if], data = [none]
sb.append(getIndentation()); // depends on control dependency: [if], data = [n... |
public class class_name {
public void setIdpIdentifiers(java.util.Collection<String> idpIdentifiers) {
if (idpIdentifiers == null) {
this.idpIdentifiers = null;
return;
}
this.idpIdentifiers = new java.util.ArrayList<String>(idpIdentifiers);
} } | public class class_name {
public void setIdpIdentifiers(java.util.Collection<String> idpIdentifiers) {
if (idpIdentifiers == null) {
this.idpIdentifiers = null; // depends on control dependency: [if], data = [none]
return; // depends on control dependency: [if], data = [none]
}
... |
public class class_name {
public static int fromBinary(boolean[] binary)
{
Check.notNull(binary);
int number = 0;
for (final boolean current : binary)
{
number = number << 1 | boolToInt(current);
}
return number;
} } | public class class_name {
public static int fromBinary(boolean[] binary)
{
Check.notNull(binary);
int number = 0;
for (final boolean current : binary)
{
number = number << 1 | boolToInt(current);
// depends on control dependency: [for], data = [current]
... |
public class class_name {
public Object getValue(final Object targetObj) {
ArgUtils.notNull(targetObj, "targetObj");
if(targetGetter.isPresent()) {
try {
return targetGetter.get().invoke(targetObj);
} catch (IllegalAccessException | Illeg... | public class class_name {
public Object getValue(final Object targetObj) {
ArgUtils.notNull(targetObj, "targetObj");
if(targetGetter.isPresent()) {
try {
return targetGetter.get().invoke(targetObj);
// depends on control dependency: [try], data = [no... |
public class class_name {
private void getStrings(HashSet<String> strHashSet, SearchCondition searchCondition, String searchConditionString, String prefixString, SimpleMDAGNode node)
{
int transitionSetBegin = node.getTransitionSetBeginIndex();
int onePastTransitionSetEnd = transitionSetBegin + nod... | public class class_name {
private void getStrings(HashSet<String> strHashSet, SearchCondition searchCondition, String searchConditionString, String prefixString, SimpleMDAGNode node)
{
int transitionSetBegin = node.getTransitionSetBeginIndex();
int onePastTransitionSetEnd = transitionSetBegin + nod... |
public class class_name {
public void marshall(OrderByElement orderByElement, ProtocolMarshaller protocolMarshaller) {
if (orderByElement == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(orderByEle... | public class class_name {
public void marshall(OrderByElement orderByElement, ProtocolMarshaller protocolMarshaller) {
if (orderByElement == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(orderByEle... |
public class class_name {
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalPureXbase.g:1219:2: (kw= '&&' )
// InternalPur... | public class class_name {
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// InternalPureXbase.g:1219:2: (kw= '&&' )
// InternalPur... |
public class class_name {
public void marshall(DeleteProvisioningArtifactRequest deleteProvisioningArtifactRequest, ProtocolMarshaller protocolMarshaller) {
if (deleteProvisioningArtifactRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
... | public class class_name {
public void marshall(DeleteProvisioningArtifactRequest deleteProvisioningArtifactRequest, ProtocolMarshaller protocolMarshaller) {
if (deleteProvisioningArtifactRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
... |
public class class_name {
public void implicitDoubleStep( int x1 , int x2 ) {
if( printHumps )
System.out.println("Performing implicit double step");
// compute the wilkinson shift
double z11 = A.get(x2 - 1, x2 - 1);
double z12 = A.get(x2 - 1, x2);
double z21 = A.g... | public class class_name {
public void implicitDoubleStep( int x1 , int x2 ) {
if( printHumps )
System.out.println("Performing implicit double step");
// compute the wilkinson shift
double z11 = A.get(x2 - 1, x2 - 1);
double z12 = A.get(x2 - 1, x2);
double z21 = A.g... |
public class class_name {
public Asset open(final String fileName, AccessMode mode) {
synchronized (mLock) {
LOG_FATAL_IF(mAssetPaths.isEmpty(), "No assets added to AssetManager");
String8 assetName = new String8(kAssetsRoot);
assetName.appendPath(fileName);
/*
* For each top-level ... | public class class_name {
public Asset open(final String fileName, AccessMode mode) {
synchronized (mLock) {
LOG_FATAL_IF(mAssetPaths.isEmpty(), "No assets added to AssetManager");
String8 assetName = new String8(kAssetsRoot);
assetName.appendPath(fileName);
/*
* For each top-level ... |
public class class_name {
public static void startLiveValidation(final Object target, final View formContainer, final IValidationCallback callback) {
if (formContainer == null) {
throw new IllegalArgumentException("form container view cannot be null");
}
if (target == null) {
throw new IllegalArgumentExcep... | public class class_name {
public static void startLiveValidation(final Object target, final View formContainer, final IValidationCallback callback) {
if (formContainer == null) {
throw new IllegalArgumentException("form container view cannot be null");
}
if (target == null) {
throw new IllegalArgumentExcep... |
public class class_name {
public static boolean ensureZeros(ByteBuffer byteBuffer, int position, int count) throws IOException {
if(count<0) throw new IllegalArgumentException("count<0: "+count);
boolean modified = false;
/*
byte[] buff = BufferManager.getBytes();
try {
while(count>BufferManager.BUFFER_SI... | public class class_name {
public static boolean ensureZeros(ByteBuffer byteBuffer, int position, int count) throws IOException {
if(count<0) throw new IllegalArgumentException("count<0: "+count);
boolean modified = false;
/*
byte[] buff = BufferManager.getBytes();
try {
while(count>BufferManager.BUFFER_SI... |
public class class_name {
private void processAssignments() throws SQLException
{
List<Row> rows = getRows("select * from zscheduleitem where zproject=? and z_ent=? order by zorderinactivity", m_projectID, m_entityMap.get("Assignment"));
for (Row row : rows)
{
Task task = m_project.getTas... | public class class_name {
private void processAssignments() throws SQLException
{
List<Row> rows = getRows("select * from zscheduleitem where zproject=? and z_ent=? order by zorderinactivity", m_projectID, m_entityMap.get("Assignment"));
for (Row row : rows)
{
Task task = m_project.getTas... |
public class class_name {
public long getSortDate() {
long result = getDateLastModified();
if (m_related != null) {
for (CmsPublishResource rel : m_related) {
result = Math.max(result, rel.getSortDate());
}
}
return result;
} } | public class class_name {
public long getSortDate() {
long result = getDateLastModified();
if (m_related != null) {
for (CmsPublishResource rel : m_related) {
result = Math.max(result, rel.getSortDate()); // depends on control dependency: [for], data = [rel]
}
... |
public class class_name {
public void marshall(DescribeEC2InstanceLimitsRequest describeEC2InstanceLimitsRequest, ProtocolMarshaller protocolMarshaller) {
if (describeEC2InstanceLimitsRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
tr... | public class class_name {
public void marshall(DescribeEC2InstanceLimitsRequest describeEC2InstanceLimitsRequest, ProtocolMarshaller protocolMarshaller) {
if (describeEC2InstanceLimitsRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
tr... |
public class class_name {
public void process(Queue<String> argq, T state) {
while (!argq.isEmpty()) {
String nextArg = argq.peek();
if (nextArg.startsWith("--")) {
argq.remove();
String key = nextArg.substring(2);
Command<? super T> option = options.get(key);
if (option... | public class class_name {
public void process(Queue<String> argq, T state) {
while (!argq.isEmpty()) {
String nextArg = argq.peek();
if (nextArg.startsWith("--")) {
argq.remove(); // depends on control dependency: [if], data = [none]
String key = nextArg.substring(2);
Command<? ... |
public class class_name {
public EClass getIfcFlowController() {
if (ifcFlowControllerEClass == null) {
ifcFlowControllerEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI)
.getEClassifiers().get(240);
}
return ifcFlowControllerEClass;
} } | public class class_name {
public EClass getIfcFlowController() {
if (ifcFlowControllerEClass == null) {
ifcFlowControllerEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI)
.getEClassifiers().get(240);
// depends on control dependency: [if], data = [none]
}
return ifcF... |
public class class_name {
public void track( T image ) {
// configure the different regions based on size
region0.set( region );
region1.set( region );
region2.set( region );
region0.width *= 1-scaleChange;
region0.height *= 1-scaleChange;
region2.width *= 1+scaleChange;
region2.height *= 1+scaleCh... | public class class_name {
public void track( T image ) {
// configure the different regions based on size
region0.set( region );
region1.set( region );
region2.set( region );
region0.width *= 1-scaleChange;
region0.height *= 1-scaleChange;
region2.width *= 1+scaleChange;
region2.height *= 1+scaleCh... |
public class class_name {
private void returnScratchData(Buffer buffer) {
Callback<ScratchData> callback = getFirstCallback(BeanMessageID.BT_GET_SCRATCH);
if (callback != null) {
callback.onResult(ScratchData.fromPayload(buffer));
}
} } | public class class_name {
private void returnScratchData(Buffer buffer) {
Callback<ScratchData> callback = getFirstCallback(BeanMessageID.BT_GET_SCRATCH);
if (callback != null) {
callback.onResult(ScratchData.fromPayload(buffer)); // depends on control dependency: [if], data = [none]
... |
public class class_name {
@SuppressWarnings("unchecked")
static <P> LightMetaProperty<P> of(
MetaBean metaBean,
Field field,
MethodHandles.Lookup lookup,
String propertyName,
int constructorIndex) {
MethodHandle getter;
try {
... | public class class_name {
@SuppressWarnings("unchecked")
static <P> LightMetaProperty<P> of(
MetaBean metaBean,
Field field,
MethodHandles.Lookup lookup,
String propertyName,
int constructorIndex) {
MethodHandle getter;
try {
... |
public class class_name {
private void twoWayMergeInternal(final ReservoirItemsSketch<T> sketchIn,
final boolean isModifiable) {
if (sketchIn.getN() <= sketchIn.getK()) {
twoWayMergeInternalStandard(sketchIn);
} else if (gadget_.getN() < gadget_.getK()) {
// merge... | public class class_name {
private void twoWayMergeInternal(final ReservoirItemsSketch<T> sketchIn,
final boolean isModifiable) {
if (sketchIn.getN() <= sketchIn.getK()) {
twoWayMergeInternalStandard(sketchIn); // depends on control dependency: [if], data = [none]
} else... |
public class class_name {
static public byte[] pack(byte[] unpacked) {
if (unpacked == null) {
return null;
}
int packedLen = unpacked.length - (unpacked.length / 8);
//byte[] out = new byte[(int)Math.ceil((unpacked.length * 7) / 8f)];
byte[] packed = new byte[packe... | public class class_name {
static public byte[] pack(byte[] unpacked) {
if (unpacked == null) {
return null; // depends on control dependency: [if], data = [none]
}
int packedLen = unpacked.length - (unpacked.length / 8);
//byte[] out = new byte[(int)Math.ceil((unpacked.leng... |
public class class_name {
@Override
@SuppressWarnings("StringSplitter")
public boolean incrementToken() throws IOException {
final ArrayDeque<String> tokens = getTokens();
final CharTermAttribute termAtt = getTermAtt();
if (tokens.isEmpty() && input.incrementToken()) {
final... | public class class_name {
@Override
@SuppressWarnings("StringSplitter")
public boolean incrementToken() throws IOException {
final ArrayDeque<String> tokens = getTokens();
final CharTermAttribute termAtt = getTermAtt();
if (tokens.isEmpty() && input.incrementToken()) {
final... |
public class class_name {
public final K getKey(int index) {
if (index < 0 || index >= this.size) {
return null;
}
@SuppressWarnings("unchecked")
K result = (K) this.data[index << 1];
return result;
} } | public class class_name {
public final K getKey(int index) {
if (index < 0 || index >= this.size) {
return null; // depends on control dependency: [if], data = [none]
}
@SuppressWarnings("unchecked")
K result = (K) this.data[index << 1];
return result;
} } |
public class class_name {
public StorageConnector withDomains(String... domains) {
if (this.domains == null) {
setDomains(new java.util.ArrayList<String>(domains.length));
}
for (String ele : domains) {
this.domains.add(ele);
}
return this;
} } | public class class_name {
public StorageConnector withDomains(String... domains) {
if (this.domains == null) {
setDomains(new java.util.ArrayList<String>(domains.length)); // depends on control dependency: [if], data = [none]
}
for (String ele : domains) {
this.domains.a... |
public class class_name {
@Override
public void start(final VortexThreadPool vortexThreadPool) {
final Vector<Integer> inputVector = new Vector<>();
for (int i = 0; i < dimension; i++) {
inputVector.add(i);
}
final List<VortexFuture<Integer>> futures = new ArrayList<>();
final AddOneFuncti... | public class class_name {
@Override
public void start(final VortexThreadPool vortexThreadPool) {
final Vector<Integer> inputVector = new Vector<>();
for (int i = 0; i < dimension; i++) {
inputVector.add(i); // depends on control dependency: [for], data = [i]
}
final List<VortexFuture<Integer>>... |
public class class_name {
private void addColumnFamilyToTable(String tableName, String columnFamilyName) throws IOException
{
HColumnDescriptor cfDesciptor = new HColumnDescriptor(columnFamilyName);
try
{
if (admin.tableExists(tableName))
{
// Befor... | public class class_name {
private void addColumnFamilyToTable(String tableName, String columnFamilyName) throws IOException
{
HColumnDescriptor cfDesciptor = new HColumnDescriptor(columnFamilyName);
try
{
if (admin.tableExists(tableName))
{
// Befor... |
public class class_name {
public boolean checkInputMessageNumbering(SccpConnectionImpl conn, SequenceNumber sendSequenceNumber,
SequenceNumber receiveSequenceNumber) throws Exception {
if (sendSequenceNumber != null) {
if (expectingFirstMessageInputAfte... | public class class_name {
public boolean checkInputMessageNumbering(SccpConnectionImpl conn, SequenceNumber sendSequenceNumber,
SequenceNumber receiveSequenceNumber) throws Exception {
if (sendSequenceNumber != null) {
if (expectingFirstMessageInputAfte... |
public class class_name {
@Override
public int compare(Float lhs, Float rhs) {
dbc.precondition(lhs != null, "null double (lhs) on StrictOrderingFloatComparator");
dbc.precondition(rhs != null, "null double (rhs) on StrictOrderingFloatComparator");
if (lhs < rhs) {
return Order.... | public class class_name {
@Override
public int compare(Float lhs, Float rhs) {
dbc.precondition(lhs != null, "null double (lhs) on StrictOrderingFloatComparator");
dbc.precondition(rhs != null, "null double (rhs) on StrictOrderingFloatComparator");
if (lhs < rhs) {
return Order.... |
public class class_name {
private static List<String> splitVersion(String s) {
//TODO improve performance by removing regex.
final Pattern pattern = Pattern.compile("^([\\d]+?)(.*)$");
final String[] splitString = s.split("(\\.|:-)");
final List<String> res = new ArrayList<>();
... | public class class_name {
private static List<String> splitVersion(String s) {
//TODO improve performance by removing regex.
final Pattern pattern = Pattern.compile("^([\\d]+?)(.*)$");
final String[] splitString = s.split("(\\.|:-)");
final List<String> res = new ArrayList<>();
... |
public class class_name {
public void accept(final SignatureVisitor v) {
String signature = this.signature;
int len = signature.length();
int pos;
char c;
if (signature.charAt(0) == '<') {
pos = 2;
do {
int end = signature.indexOf(':', po... | public class class_name {
public void accept(final SignatureVisitor v) {
String signature = this.signature;
int len = signature.length();
int pos;
char c;
if (signature.charAt(0) == '<') {
pos = 2; // depends on control dependency: [if], data = [none]
do... |
public class class_name {
public TranslateTextRequest withTerminologyNames(String... terminologyNames) {
if (this.terminologyNames == null) {
setTerminologyNames(new java.util.ArrayList<String>(terminologyNames.length));
}
for (String ele : terminologyNames) {
this.termi... | public class class_name {
public TranslateTextRequest withTerminologyNames(String... terminologyNames) {
if (this.terminologyNames == null) {
setTerminologyNames(new java.util.ArrayList<String>(terminologyNames.length)); // depends on control dependency: [if], data = [none]
}
for (S... |
public class class_name {
public static INDArray max(INDArray x, INDArray y, INDArray z, int... dimensions) {
if(dimensions == null) {
Preconditions.checkArgument(Arrays.equals(x.shape(),y.shape()),getFormattedShapeErrorMessageXy(x,y));
Preconditions.checkArgument(Arrays.equals(x.shape(... | public class class_name {
public static INDArray max(INDArray x, INDArray y, INDArray z, int... dimensions) {
if(dimensions == null) {
Preconditions.checkArgument(Arrays.equals(x.shape(),y.shape()),getFormattedShapeErrorMessageXy(x,y)); // depends on control dependency: [if], data = [none]
... |
public class class_name {
@Override
public void eventPostCommitAdd(Transaction transaction) throws SevereMessageStoreException
{
super.eventPostCommitAdd(transaction);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
... | public class class_name {
@Override
public void eventPostCommitAdd(Transaction transaction) throws SevereMessageStoreException
{
super.eventPostCommitAdd(transaction);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
... |
public class class_name {
private static Map<ColorRgba, Collection<TileRef>> convertToColorKey(Map<TileRef, ColorRgba> tiles)
{
final Map<ColorRgba, Collection<TileRef>> colors = new HashMap<>();
for (final Map.Entry<TileRef, ColorRgba> entry : tiles.entrySet())
{
final C... | public class class_name {
private static Map<ColorRgba, Collection<TileRef>> convertToColorKey(Map<TileRef, ColorRgba> tiles)
{
final Map<ColorRgba, Collection<TileRef>> colors = new HashMap<>();
for (final Map.Entry<TileRef, ColorRgba> entry : tiles.entrySet())
{
final C... |
public class class_name {
@Override
public int select(int j) {
long leftover = Util.toUnsignedLong(j);
for (int i = 0; i < this.highLowContainer.size(); i++) {
Container c = this.highLowContainer.getContainerAtIndex(i);
int thiscard = c.getCardinality();
if (thiscard > leftover) {
i... | public class class_name {
@Override
public int select(int j) {
long leftover = Util.toUnsignedLong(j);
for (int i = 0; i < this.highLowContainer.size(); i++) {
Container c = this.highLowContainer.getContainerAtIndex(i);
int thiscard = c.getCardinality();
if (thiscard > leftover) {
i... |
public class class_name {
public boolean exists(String id) {
if (id == null) {
throw new IllegalArgumentException("id cannot be null");
}
if (_knownMissingIds.contains(id)) {
return false;
}
if (documentsById.getValue(id) != null) {
return t... | public class class_name {
public boolean exists(String id) {
if (id == null) {
throw new IllegalArgumentException("id cannot be null");
}
if (_knownMissingIds.contains(id)) {
return false; // depends on control dependency: [if], data = [none]
}
if (docu... |
public class class_name {
public static MethodHandle constructorMethodHandle(StandardErrorCode errorCode, Class<?> clazz, Class<?>... parameterTypes)
{
try {
return MethodHandles.lookup().unreflectConstructor(clazz.getConstructor(parameterTypes));
}
catch (IllegalAccessException... | public class class_name {
public static MethodHandle constructorMethodHandle(StandardErrorCode errorCode, Class<?> clazz, Class<?>... parameterTypes)
{
try {
return MethodHandles.lookup().unreflectConstructor(clazz.getConstructor(parameterTypes)); // depends on control dependency: [try], data =... |
public class class_name {
@Override
public EClass getIfcExternalSpatialElement() {
if (ifcExternalSpatialElementEClass == null) {
ifcExternalSpatialElementEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI)
.getEClassifiers().get(246);
}
return ifcExternalSpatialElementEC... | public class class_name {
@Override
public EClass getIfcExternalSpatialElement() {
if (ifcExternalSpatialElementEClass == null) {
ifcExternalSpatialElementEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI)
.getEClassifiers().get(246);
// depends on control dependency: [if], d... |
public class class_name {
public List<IAtomType> readAtomTypes(IChemObjectBuilder builder) {
List<IAtomType> isotopes = new ArrayList<IAtomType>();
try {
parser.setFeature("http://xml.org/sax/features/validation", false);
logger.info("Deactivated validation");
} catch (S... | public class class_name {
public List<IAtomType> readAtomTypes(IChemObjectBuilder builder) {
List<IAtomType> isotopes = new ArrayList<IAtomType>();
try {
parser.setFeature("http://xml.org/sax/features/validation", false);
logger.info("Deactivated validation"); // depends on cont... |
public class class_name {
public AnnotationMetadata buildForMethod(T element) {
final AnnotationMetadata existing = MUTATED_ANNOTATION_METADATA.get(element);
if (existing != null) {
return existing;
} else {
DefaultAnnotationMetadata annotationMetadata = new DefaultAnnot... | public class class_name {
public AnnotationMetadata buildForMethod(T element) {
final AnnotationMetadata existing = MUTATED_ANNOTATION_METADATA.get(element);
if (existing != null) {
return existing; // depends on control dependency: [if], data = [none]
} else {
DefaultAn... |
public class class_name {
@CommandArgument
public void adduser(
@OptionArgument("username") String username,
@OptionArgument("password") String password,
@OptionArgument("roles") String roles) {
if (users.containsKey(username)) {
System.err.println(String.format("User '%s' already exists... | public class class_name {
@CommandArgument
public void adduser(
@OptionArgument("username") String username,
@OptionArgument("password") String password,
@OptionArgument("roles") String roles) {
if (users.containsKey(username)) {
System.err.println(String.format("User '%s' already exists... |
public class class_name {
public void marshall(DescribeEndpointRequest describeEndpointRequest, ProtocolMarshaller protocolMarshaller) {
if (describeEndpointRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMar... | public class class_name {
public void marshall(DescribeEndpointRequest describeEndpointRequest, ProtocolMarshaller protocolMarshaller) {
if (describeEndpointRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMar... |
public class class_name {
public static Resource computeTotalResourceChange(TopologyAPI.Topology topology,
Map<String, Integer> componentChanges,
Resource defaultInstanceResources,
... | public class class_name {
public static Resource computeTotalResourceChange(TopologyAPI.Topology topology,
Map<String, Integer> componentChanges,
Resource defaultInstanceResources,
... |
public class class_name {
private boolean checkChildren(JsonSimple response, JsonSimple data,
String thisOid, String thisPid, boolean sendRequests,
String childOid, String childId, String curatedPid)
throws TransactionException {
boolean isReady = true;
boolean saveData = false;
log.debug("Checking Chi... | public class class_name {
private boolean checkChildren(JsonSimple response, JsonSimple data,
String thisOid, String thisPid, boolean sendRequests,
String childOid, String childId, String curatedPid)
throws TransactionException {
boolean isReady = true;
boolean saveData = false;
log.debug("Checking Chi... |
public class class_name {
public void addProjectResource(String resourceName) {
if ((m_throwable != null) || (m_projectName == null)) {
return;
}
if (m_projectResources == null) {
m_projectResources = new ArrayList<String>();
}
m_projectResources.add(res... | public class class_name {
public void addProjectResource(String resourceName) {
if ((m_throwable != null) || (m_projectName == null)) {
return; // depends on control dependency: [if], data = [none]
}
if (m_projectResources == null) {
m_projectResources = new ArrayList<S... |
public class class_name {
public final EObject ruleJvmFormalParameter() throws RecognitionException {
EObject current = null;
Token lv_extension_0_0=null;
Token otherlv_2=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_parameterType_3_0 = null;
enterRul... | public class class_name {
public final EObject ruleJvmFormalParameter() throws RecognitionException {
EObject current = null;
Token lv_extension_0_0=null;
Token otherlv_2=null;
AntlrDatatypeRuleToken lv_name_1_0 = null;
EObject lv_parameterType_3_0 = null;
enterRul... |
public class class_name {
@Override
public Tuple getNext() throws IOException
{
try {
if (reader == null || !reader.nextKeyValue()) {
return null;
}
final Object value = reader.getCurrentValue();
if (value instanceof SmileEnvelopeEvent) ... | public class class_name {
@Override
public Tuple getNext() throws IOException
{
try {
if (reader == null || !reader.nextKeyValue()) {
return null;
}
final Object value = reader.getCurrentValue();
if (value instanceof SmileEnvelopeEvent) ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.