Return the {@code executionMask}.
547261
static int mask(Class<? extends ChannelHandler> clazz) {
        // Try to obtain the mask from the cache first. If this fails calculate it and put it in the cache for fast
        // lookup in the future.
        Map<Class<? extends ChannelHandler>, Integer> cache = MASKS.get();
        Integer mask = cache.get(clazz);
        if (mask == null) {
            mask = mask0(clazz);
            cache.put(clazz, mask);
        }
        return mask;
    }
1329709
public ExecutionResult withComplete() {
    return this.complete ? this : new ExecutionResult(result, failure, nonResult, waitNanos, true, success, successAll);
  }
1154085
private INDArray getMask() {
        // If no input is provided, no mask is used and null is returned
        if (inputIdx < 0) {
            return null;
        }

        final INDArray[] inputMaskArrays = graph.getInputMaskArrays();
        return (inputMaskArrays != null ? inputMaskArrays[inputIdx] : null);
    }
697521
public SockAddr getNetmask() {
		SockAddr sockAddr = null;
		if (this.netmask != null) {
			sockAddr = new SockAddr(this.netmask.getSaFamily().getValue(), this.netmask.getData());
		}
		return sockAddr;
	}
1022842
public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() {
    if (transformationCase_ == 3) {
      return (com.google.privacy.dlp.v2.CharacterMaskConfig) transformation_;
    }
    return com.google.privacy.dlp.v2.CharacterMaskConfig.getDefaultInstance();
  }
1105937
public String getMatchingAddress() {
        if (informationCollection.size() > 1)
            this.informationCollection = buildLocalInformation();

        List<String> list = getSubset(1);
        if (list.size() < 1)
            throw new ND4JIllegalStateException(
                            "Unable to find network interface matching requested mask: " + networkMask);

        if (list.size() > 1)
            log.warn("We have {} local IPs matching given netmask [{}]", list.size(), networkMask);

        return list.get(0);
    }
304180
private String getOverrideSignature(ExecutablePair method) {
    StringBuilder sb = new StringBuilder(ElementUtil.getName(method.element()));
    sb.append('(');
    for (TypeMirror pType : method.type().getParameterTypes()) {
      sb.append(typeUtil.getSignatureName(pType));
    }
    sb.append(')');
    return sb.toString();
  }
831198
def one_mask(self):
        """"""
        accum = 0
        for i in range(self.data.itemsize):
            accum += (0xAA << (i << 3))
        return accum
174148
public ExecutionResult execute(ExecutionInput executionInput) {
        try {
            return executeAsync(executionInput).join();
        } catch (CompletionException e) {
            if (e.getCause() instanceof RuntimeException) {
                throw (RuntimeException) e.getCause();
            } else {
                throw e;
            }
        }
    }
710377
public static Integer bitMask(List<Integer> param) {
        if (param != null && param.size() > 0) {
            int result = 0;
            for (Integer i : param) {
                result |= 1 << i;
            }
            return result;
        } else {
            return null;
        }
    }
341322
public static String get(ExecutableElement method) {
    StringBuilder result = new StringBuilder();
    AnnotationMirror qualifier = getQualifier(method.getAnnotationMirrors());
    if (qualifier != null) {
      qualifierToString(qualifier, result);
    }
    typeToString(method.getReturnType(), result, '$');
    return result.toString();
  }
986283
private void executeMask(final LogMsgGroup group) {
		if (masker != null) {
			if (group.getMsgs().size() > 0) {
				for (LogMsg logMsg : group.getMsgs()) {
					if (logMsg.getEx() != null) {
						executeMask(logMsg.getEx().getError());
					}
					logMsg.setData(masker.mask(logMsg.getData()));
					logMsg.setMsg(masker.mask(logMsg.getMsg()));
				}
			}
		}
	}
1064961
public String getNextMaskedLine() {
		if (!isNextLine()) {
			return null;
		}
		StringBuilder str = new StringBuilder();
		int tagWidth = getTagWidth(nextLine);
		for (int i = 0; i < tagWidth; ++i) {
			str.append(" ");
		}
		if (nextLine.length() > tagWidth) {
			str.append(nextLine.substring(tagWidth));
		}
		return str.toString();
	}
190196
public function getMaskDecoderByToolAndName(
        Tool $tool,
        $name,
        $executeQuery = true
    ) {
        return $this->maskRepo->findMaskDecoderByToolAndName(
            $tool,
            $name,
            $executeQuery
        );
    }
413772
public static Executor getDefaultExecutor() {
        Executor exec = null;

        Class<?> c = null;
        Field field = null;
        try {
            c = Class.forName("android.os.AsyncTask");
            field = c.getDeclaredField("sDefaultExecutor");
            field.setAccessible(true);
            exec = (Executor) field.get(null);
            field.setAccessible(false);
        } catch (IllegalArgumentException e) {
            e.printStackTrace();
            Log.e("IllegalArgumentException", e);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
            Log.e("ClassNotFoundException", e);
        } catch (NoSuchFieldException e) {
            e.printStackTrace();
            Log.e("NoSuchFieldException", e);
        } catch (IllegalAccessException e) {
            e.printStackTrace();
            Log.e("IllegalAccessException", e);
        }

        return exec;
    }
36861
public Resolution intercept(ExecutionContext executionContext)
			throws Exception
	{
		Resolution resolution;

		if (securityManager != null)
		{
			// Add the security manager to the request.
			// This is used (for example) by the security tag.
			executionContext.getActionBeanContext().getRequest().setAttribute(SecurityInterceptor.SECURITY_MANAGER,
                    securityManager);
			
			switch (executionContext.getLifecycleStage())
			{
				case BindingAndValidation:
				case CustomValidation:
					resolution = interceptBindingAndValidation(executionContext);
					break;
				case EventHandling:
					resolution = interceptEventHandling(executionContext);
					break;
				case ResolutionExecution:
					resolution = interceptResolutionExecution(executionContext);
					break;
				default: // Should not happen (see @Intercepts annotation on class)
					resolution = executionContext.proceed();
					break;
			}
		}
		else
		{
			// There is no security manager, so everything is allowed.

			resolution = executionContext.proceed();
		}

		return resolution;
	}
1304333
def get_run_on_node_mask():
    
    bitmask = libnuma.numa_get_run_node_mask()
    nodemask = nodemask_t()
    libnuma.copy_bitmask_to_nodemask(bitmask, byref(nodemask))
    libnuma.numa_bitmask_free(bitmask)

    return numa_nodemask_to_set(nodemask)