Array Access: Offset Set
13916
public function offsetSet($offset, $value)
    {
        $canonical = $this->canonical($offset);
        $this->headers[$canonical] = $value;
        $this->map[$canonical] = $offset;
    }
413989
public static  function set($offset, $value = '')
    {
        if (is_array($offset)) {
            foreach ($offset as $key => $segment) {
                self::$config[$key] = $segment;
            }
        } else {
            self::$config[$offset] = $value;
        }
    }
755971
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->data[] = $value;
        } else {
            $this->data[$offset] = $value;
        }

        $this->keys = array_keys($this->data);
    }
1090933
public function offsetSet($offset, $value)
	{
		// just to make sure the listKey exists
		$this->getListByKey();
		if (is_null($offset))
		{
			$this->info[$this->listKey][] = $value;
		}
		else
		{
			$this->info[$this->listKey][$offset] = $value;
		}
	}
471242
function &GetArrayLimit($nrows,$offset=-1)
  {
    if ($offset <= 0) {
      $rs =& $this->GetArray($nrows);
      return $rs;
    }
    $savem = $this->fetchMode;
    $this->fetchMode = ADODB_FETCH_NUM;
    $this->Move($offset);
    $this->fetchMode = $savem;

    if ($this->fetchMode & ADODB_FETCH_ASSOC) {
      $this->fields =& $this->GetRowAssoc();
    }

    $results = array();
    $cnt = 0;
    while (!$this->EOF && $nrows != $cnt) {
      $results[$cnt++] = $this->fields;
      $this->MoveNext();
    }

    return $results;
  }
1224575
public function offsetSet($offset, $value) {
		if(is_null($offset))
			$this->fields[] = $this->parseFields($value, count($this->fields));
		else
			$this->fields[$offset] = $this->parseFields($value, $offset);
	}
413479
public void getRow(int i, double[] array, int offset)
    {
        int n = cols;
        for (int j=0;j<n;j++)
        {
            array[j+offset] = get(i, j);
        }
    }
884560
public function offsetSet($offset, $value)
        {
            $get = $this->chaining
                ? 'chain'
                : 'current';
            $this->$get[$offset] = $value;
        }
285766
public function offsetSet($key, $value)
    {
        if (Arr::accessible($this->value)) {
            $this->value[$key] = $value;
        }
    }
339200
public function offsetSet($offset, $value) : void
    {
        $this->initialize();
        $this->collection->offsetSet($offset, $value);
    }
1009667
public function offsetUnset($offset)
    {
        $keys = is_array($offset) ? $offset : explode('.', $offset);
        if (!$keys) {
            return;
        }

        $name = array_shift($keys);

        if ($keys) {
            if (!array_key_exists($name, $this->_data)) {
                return false;
            }
            $value = $this->_data[$name];
            if ($value instanceof ArrayAccess) {
                $value->offsetUnset($keys);
            }
            return;
        }
        $this->_skipNext = (integer) $name === key($this->_data);

        if (!array_key_exists($name, $this->_data)) {
            return;
        }

        $value = $this->_data[$name];
        unset($this->_data[$name]);
        if ($value instanceof HasParentsInterface) {
            $value->unsetParent($this);
        }
        $this->_modified = true;
    }
1260670
public static void putIntBE(final byte[] array, final int offset, final int value) {
    array[offset + 3] = (byte) (value       );
    array[offset + 2] = (byte) (value >>>  8);
    array[offset + 1] = (byte) (value >>> 16);
    array[offset    ] = (byte) (value >>> 24);
  }
869525
def p_encaps_var_dollar_curly_array_offset(p):
    ''
    p[0] = ast.ArrayOffset(ast.Variable('$' + p[2], lineno=p.lineno(2)), p[4],
                           lineno=p.lineno(3))
539542
public function offsetUnset($offset)
    {
        $keys = explode($this->keySeparator, $offset);

        $keyCount = count($keys);

        $array = &$this->values;

        while ($keyCount > 1) {
            $key = array_shift($keys);

            if (isset($array[$key]) && is_array($array[$key])) {
                $array = &$array[$key];
            }

            --$keyCount;
        }

        unset($array[array_shift($keys)]);
    }
126075
public function offsetSet($offset, $value)
    {
        if (is_scalar($offset)) {
            $this->_data[$offset] = $value;
        } else {
            $this->_data[] = $value;
        }
    }
1235026
public function offsetSet($offset, $value)
    {
        if ($offset === null) {
            $this->values[] = $value;

            return;
        }

        $keys = explode($this->keySeparator, $offset);

        $keyCount = count($keys);

        $array = &$this->values;

        while ($keyCount > 1) {
            $key = array_shift($keys);

            if (!isset($array[$key]) || !is_array($array[$key])) {
                $array[$key] = [];
            }

            $array = &$array[$key];

            --$keyCount;
        }

        $array[array_shift($keys)] = $value;
    }
818090
public function offsetSet($offset, $value)
    {
        if (\is_string($offset) || \is_int($offset)) {
            $this->properties[$offset] = $value;
        }
    }