Return the broadcast scope for a given name

@param name
name
@return broadcast scope or null if not found
559679
public IBroadcastScope getBroadcastScope(String name) {
        return (IBroadcastScope) children.getBasicScope(ScopeType.BROADCAST, name);
    }
1128454
@Override
	public Service getService(String name) {
		Service service = null;
		long stamp = lock.tryOptimisticRead();
		if (stamp != 0) {
			try {
				service = services.get(name);
			} catch (Exception modified) {
				stamp = 0;
			}
		}
		if (!lock.validate(stamp) || stamp == 0) {
			stamp = lock.readLock();
			try {
				service = services.get(name);
			} finally {
				lock.unlockRead(stamp);
			}
		}
		if (service == null) {
			throw new ServiceNotFoundError(nodeID, name);
		}
		return service;
	}
1020971
public List<String> getUsersForRole(String name) {
        try {
            return model.model.get("g").get("g").rm.getUsers(name);
        } catch (Error e) {
            if (!e.getMessage().equals("error: name does not exist")) {
                throw e;
            }
        }
        return null;
    }
96458
public ChannelInfo getChannel(String name) {
    final URI uri = uriWithPath("./channels/" + encodePathSegment(name));
    return this.rt.getForObject(uri, ChannelInfo.class);
  }
109221
public IScope getScope(String name) {
        IBasicScope child = children.getBasicScope(ScopeType.UNDEFINED, name);
        log.debug("Child of {}: {}", this.name, child);
        if (child != null) {
            if (child instanceof IScope) {
                return (IScope) child;
            }
            log.warn("Requested scope: {} is not of IScope type: {}", name, child.getClass().getName());
        }
        return null;
    }
1252782
public String getCookie(String name) {
		Cookie c = requestCookies.get().get(name);
		return c == null ? null : c.getValue();
	}
286496
public Object get(final String name) {
        Object bean = this.beans.get(name);
        if (bean != null) {
            return bean;
        }
        return resolveBeanIfAbsent(name);
    }
938226
public Clazz<?> FindClazz( String name )
	{
		if( clazzz == null )
			return null;

		for( Clazz<?> c : clazzz.values() )
			if( c.getClassName().equals( name ) )
				return c;

		return null;
	}
1249226
public String getParameterValue(String name) {
        NodeList parms = node.getChildNodes();

        for (int i = 0; i < parms.getLength(); i++) {
            Element parm = (Element) parms.item(i);
            if (parm.getTagName().equals(Constants.ELM_PARAMETER)) {
                String parmName = parm.getAttribute(Constants.ATT_NAME);
                if (parmName.equals(name)) {
                    return parm.getAttribute(Constants.ATT_VALUE);
                }
            }
        }
        // if we get here then neither the fragment  nor the channel definition
        // provided this parameter
        return null;
    }
851948
def get_by_name(self, name):
        
        scopes = self._client.get_all()
        result = [x for x in scopes if x['name'] == name]
        return result[0] if result else None
376890
public Frame frame(String name)
    {
        if (frameMap==null)
            return null;
        return (Frame) frameMap.get(name);
    }
462209
public static AsmMetric find(String name) {
        for (AsmMetricRegistry registry : allRegistries) {
            AsmMetric metric = registry.getMetric(name);
            if (metric != null) {
                return metric;
            }
        }
        return null;
    }
383886
public List<Watcher> getWatchers(String name){
        synchronized(watchers){

            if (watchers.containsKey(name)) {
                Set<Watcher> set = watchers.get(name);
                if(set.size() > 0){
                    return new ArrayList<Watcher>(set);
                }
            }
        }
        return null;
    }
914880
public final SgField findFieldByName(final String name) {
        if (name == null) {
            throw new IllegalArgumentException("The argument 'name' cannot be null!");
        }
        for (int i = 0; i < fields.size(); i++) {
            final SgField field = fields.get(i);
            if (field.getName().equals(name)) {
                return field;
            }
        }
        return null;
    }
104588
public <T> T get(String name){
        Map<String,Object> m = getMap(name);
        if(m!=null)
            return (T)m.get(name);
        return null;
    }
714633
function(name) {
            for (var i = 0; i < this.objects.length; i++) {
                if (this.objects[i].name === name) {
                    return this.objects[i];
                }
            }
            return null;
        }
412656
public String get(String name) {
        Parameter param = parameters.get(name);
        if (param != null)
            return param.value;
        else
            return null;
    }