Returns the coordination geometry of the given name.
        :param name: The name of the coordination geometry.
502484
def get_geometry_from_name(self, name):
        
        for gg in self.cg_list:
            if gg.name == name or name in gg.alternative_names:
                return gg
        raise LookupError(
            'No coordination geometry found with name "{name}"'.format(
                name=name))
9815
def getx(self, name, *args):
        
        return lib.zargs_getx(self._as_parameter_, name, *args)
300438
def gauge(self, name):
        
        with self._lock:
            if name not in self._gauges:
                if self._registry._ignore_patterns and any(
                    pattern.match(name) for pattern in self._registry._ignore_patterns
                ):
                    gauge = noop_metric
                else:
                    gauge = Gauge(name)
                self._gauges[name] = gauge
            return self._gauges[name]
1100398
def get(self, name):
        
        parameter = next((p for p in self.parameters if p.name == name), None)
        if parameter is None:
            raise LookupError("Cannot find parameter '" + name + "'.")
        return parameter
380677
@SuppressWarnings("unchecked")
    public <T> T getNamedObject(String name) {
        return (T)_named.get(name);
    }
65232
def named(self, name):
        ''''''
        name = self.serialize(name)
        return self.get_by('name', name)
403045
private static String getWorkerMetricName(String name) {
    String result = CACHED_METRICS.get(name);
    if (result != null) {
      return result;
    }
    return CACHED_METRICS.computeIfAbsent(name,
        n -> getMetricNameWithUniqueId(InstanceType.WORKER, name));
  }
462209
public static AsmMetric find(String name) {
        for (AsmMetricRegistry registry : allRegistries) {
            AsmMetric metric = registry.getMetric(name);
            if (metric != null) {
                return metric;
            }
        }
        return null;
    }
980049
def get_not_implemented_geometries(self, coordination=None,
                                       returned='mp_symbol'):
        
        geom = list()
        if coordination is None:
            for gg in self.cg_list:
                if gg.points is None:
                    if returned == 'cg':
                        geom.append(gg)
                    elif returned == 'mp_symbol':
                        geom.append(gg.mp_symbol)
        else:
            for gg in self.cg_list:
                if gg.get_coordination_number() == coordination and gg.points is None:
                    if returned == 'cg':
                        geom.append(gg)
                    elif returned == 'mp_symbol':
                        geom.append(gg.mp_symbol)
        return geom
986849
def get_body(name):
    

    body = Pck()[name]
    body.propagate = lambda date: get_orbit(name, date)
    return body
80379
public TopologyMaster.MetricsCacheLocation getMetricsCacheLocation(String topologyName) {
    return awaitResult(delegate.getMetricsCacheLocation(null, topologyName));
  }
932946
def get_geometry_from_IUCr_symbol(self, IUCr_symbol):
        
        for gg in self.cg_list:
            if gg.IUCr_symbol == IUCr_symbol:
                return gg
        raise LookupError(
            'No coordination geometry found with IUCr symbol "{symbol}"'.format(
                symbol=IUCr_symbol))
1145227
def get_var_shape(self, name):
        
        rank = self.get_var_rank(name)
        name = create_string_buffer(name)
        arraytype = ndpointer(dtype='int32',
                              ndim=1,
                              shape=(MAXDIMS, ),
                              flags='F')
        shape = np.empty((MAXDIMS, ), dtype='int32', order='F')
        self.library.get_var_shape.argtypes = [c_char_p, arraytype]
        self.library.get_var_shape(name, shape)
        return tuple(shape[:rank])
255009
public static function getConstantByName($name)
    {
        switch (strtolower($name)) {
            case 'default':
                return self::DEF;
            break;

            case 'rect':
                return self::RECT;
            break;

            case 'circle':
                return self::CIRCLE;
            break;

            case 'poly':
                return self::POLY;
            break;

            case 'ellipse':
                return self::ELLIPSE;
            break;

            default:
                return false;
            break;
        }
    }
119639
private final Object getObject(String name)
   {
      Object result = m_map.get(name);
      return (result);
   }
812111
def get_tensors_by_names(names):
    
    ret = []
    G = tfv1.get_default_graph()
    for n in names:
        opn, varn = get_op_tensor_name(n)
        ret.append(G.get_tensor_by_name(varn))
    return ret
371259
def get_aggregation(self, name):
        '''
        
        '''
        agg = self.aggregations[name]
        if 'buckets' in agg:
            return agg['buckets']
        else:
            return agg