Get default {@link PoolParams}.
351295
public static PoolParams get() {
    // This pool supports only one bucket size: DEFAULT_IO_BUFFER_SIZE
    SparseIntArray defaultBuckets = new SparseIntArray();
    defaultBuckets.put(DEFAULT_IO_BUFFER_SIZE, DEFAULT_BUCKET_SIZE);
    return new PoolParams(
        MAX_SIZE_SOFT_CAP,
        MAX_SIZE_HARD_CAP,
        defaultBuckets);
  }
726608
def _get_default_mr_params(cls):
    """"""
    cfg = cls(_lenient=True)
    mr_params = cfg._get_mr_params()
    mr_params["api_version"] = 0
    return mr_params
1017793
public java.util.List<PublicIpv4PoolRange> getPoolAddressRanges() {
        if (poolAddressRanges == null) {
            poolAddressRanges = new com.amazonaws.internal.SdkInternalList<PublicIpv4PoolRange>();
        }
        return poolAddressRanges;
    }
1374691
public MapperConfig[] getDefault() {

        MapperConfig executionStatsMapper = new MapperConfig();
        executionStatsMapper.setMapperClass("net.anotheria.extensions.php.mappers.impl.ExecutionStatsMapper");
        executionStatsMapper.setMapperId("ExecutionStatsMapper");

        MapperConfig serviceStatsMapper = new MapperConfig();
        serviceStatsMapper.setMapperClass("net.anotheria.extensions.php.mappers.impl.ServiceStatsMapper");
        serviceStatsMapper.setMapperId("ServiceStatsMapper");

        MapperConfig counterStatsMapper = new MapperConfig();
        counterStatsMapper.setMapperClass("net.anotheria.extensions.php.mappers.impl.CounterStatsMapper");
        counterStatsMapper.setMapperId("CounterStatsMapper");

        return new MapperConfig[]{
                executionStatsMapper, serviceStatsMapper, counterStatsMapper
        };

    }
1052900
public static PoolInfo getPoolInfo(
      Session session) {
    PoolInfo poolInfo = session.getPoolInfo();

    // If there is no explicit pool info set, take user name.
    if (poolInfo == null || poolInfo.getPoolName().equals("")) {
      poolInfo = new PoolInfo(DEFAULT_POOL_GROUP, session.getUserId());
    }

    if (!PoolInfo.isLegalPoolInfo(poolInfo)) {
      LOG.warn("Illegal pool info :" + poolInfo +
          " from session " + session.getSessionId());
      return DEFAULT_POOL_INFO;
    }
    return poolInfo;
  }
1171660
public synchronized SimpleSocketPoolImpl init(ClientSocketPoolParameters parameters) {
		if (!ServerUtil.checkHostAndPort(parameters.getHost(), parameters.getPort()))
			throw new IllegalArgumentException("Server host or port is null !");
		SimpleSocketPoolImpl self = new SimpleSocketPoolImpl();
		selfMap.put(parameters.getKey(), self);
		self.socketPool = new Hashtable<>(size);
		self.socketStatusArray = new boolean[size];
		// 初始化连接池
		log.debug("Initiation pool ......");
		buildThriftSocketPool(parameters);
		return self;
	}
307066
public V get(ResourceType type, PoolInfo poolInfo) {
    Map<PoolInfo, V> poolInfoMap = typePoolInfoMap.get(type);
    if (poolInfoMap == null) {
      return null;
    }
    return poolInfoMap.get(poolInfo);
  }
972879
protected List<String> defaultParameterTypes(Class<?>[] parameterTypes) {
        List<String> names = new ArrayList<>();
        for (int i = 0; i < parameterTypes.length; i++) {
            names.add("arg" + i);
        }
        return names;
    }
66918
protected Parameter[] createDefaultParameters(Class[] parameters) {
		Parameter[] componentParameters = new Parameter[parameters.length];
		for (int i = 0; i < parameters.length; i++) {
			componentParameters[i] = ComponentParameter.DEFAULT;
		}
		return componentParameters;
	}
179847
public final Collection<String> getParameters() {
        ArrayList<String> params = new ArrayList<String>();
        
        if( parameters == null ) {
            return params;
        }
        // we copy to guarantee that the caller does not screw up our internal storage
        params.addAll(Arrays.asList(parameters));
        return params;
    }
802225
def _get_default_retry_params():
  
  default = getattr(_thread_local_settings, 'default_retry_params', None)
  if default is None or not default.belong_to_current_request():
    return RetryParams()
  else:
    return copy.copy(default)
427244
public com.google.protobuf.ByteString
      getDefaultBucketBytes() {
    java.lang.Object ref = defaultBucket_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      defaultBucket_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }
935292
public PoolInfo getPoolInfo() {
    String poolNameProperty = get(IMPLICIT_POOL_PROPERTY, "user.name");
    String explicitPool =
        get(EXPLICIT_POOL_PROPERTY, get(poolNameProperty, "")).trim();
    String[] poolInfoSplitString = explicitPool.split("[.]");
    if (poolInfoSplitString != null && poolInfoSplitString.length == 2) {
      return new PoolInfo(poolInfoSplitString[0], poolInfoSplitString[1]);
    } else if (!explicitPool.isEmpty()) {
      return new PoolInfo(PoolGroupManager.DEFAULT_POOL_GROUP, explicitPool);
    } else {
      return PoolGroupManager.DEFAULT_POOL_INFO;
    }
  }
223922
public com.google.api.SystemParameters getSystemParameters() {
    return systemParameters_ == null ? com.google.api.SystemParameters.getDefaultInstance() : systemParameters_;
  }
596986
public String getDefaultFormsParam()
    {
        if (this.getScreenField().getParentScreen() != null)
            return ((ZScreenField)this.getScreenField().getParentScreen().getScreenFieldView()).getDefaultFormsParam();
        else
            return null;
    }
1324152
public static Map<FieldType, String> getDefaultAliases()
   {
      Map<FieldType, String> map = new HashMap<FieldType, String>();

      map.put(TaskField.DATE1, "Suspend Date");
      map.put(TaskField.DATE2, "Resume Date");
      map.put(TaskField.TEXT1, "Code");
      map.put(TaskField.TEXT2, "Activity Type");
      map.put(TaskField.TEXT3, "Status");
      map.put(TaskField.NUMBER1, "Primary Resource Unique ID");

      return map;
   }
395524
public java.util.List<DBParameterGroupStatus> getDBParameterGroups() {
        if (dBParameterGroups == null) {
            dBParameterGroups = new com.amazonaws.internal.SdkInternalList<DBParameterGroupStatus>();
        }
        return dBParameterGroups;
    }