@param int $BitOffset
@param int|string $ValueMask
@param int|string $Value

@return void
354458
private function Set( $BitOffset, $ValueMask, $Value )
	{
		$this->Data = gmp_or(
			gmp_and( $this->Data, gmp_com( self::ShiftLeft( $ValueMask, $BitOffset ) ) ),
			self::ShiftLeft( gmp_and( $Value, $ValueMask ), $BitOffset )
		);
	}
1368686
public function offsetSet($offset, $value)
    {
        foreach ($this->observer as $observer) {
            if (strtolower($observer->getName()) === strtolower($offset)) {
                $this->observer->offsetSet($value);
            }
        }
    }
954458
public void set(ShortBitMask mask, boolean value) {
        this.flag = LogicUtil.setBit(this.flag, mask.getMask(), value);
    }
388143
def bitmask_scopes(bitmask)
      send("values_for_#{bitmask}").each do |value|
        scope value, send("with_#{bitmask}", value)
        scope "not_#{value}", send("without_#{bitmask}", value)
      end
    end
1238040
public function offsetSet($offset, $value) {
		if ($offset instanceOf Argument) {
			$offset = $offset->key;
		}

		$this->_parsed[$offset] = $value;
	}
795413
public function pause($bitmask = 0) : Int
    {
        if( ! empty($this->init) )
        {
            return curl_pause($this->init, Helper::toConstant($bitmask, 'CURLPAUSE_'));
        }

        return false;
    }
694365
public function set_xor(Bitmask $Binary)
   {
      if(!($Binary instanceof Bitmask)) return;
      $data = $Binary->get_raw();

      foreach($data as $Pos => $Byte)
         $this->data[$Pos] = @$this->data[$Pos] ^ $Byte;
   }
572201
public function setbit($key, $offset, $value) {
        $offset = (int) $offset;
        $value = (int) (bool) $value;
        try {
            $result = $this->getRedis()->setBit($key, $offset, $value);
            if ($result !== false) {
                return $result;
            }
            throw new ImpossibleValueException();
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }
439500
public static void set(long[] bits, int pos) {
    int offset = pos >> LONG_SHIFT;
    if (offset >= bits.length)
      throw new IndexOutOfBoundsException();
    bits[offset] |= 1L << pos;
  }
1181359
public function offsetSet($offset, $value)
    {
        //argument 1 must be scalar, null or bool
        Argument::i()->test(1, 'scalar', 'null', 'bool');
        
        $this->translate($offset, $value);
    }
1202096
public function offsetSet($offset, $value)
    {
        $this->checkTypeWrapper($value);

        parent::offsetSet($offset, $value);
    }
376480
public function setBit(int $offset, int $bit): int
    {
        return intval($this->handle->setBit($this->name, $offset, $bit));
    }
1237433
public function setBit($key, $offset, $value) {
        return $this->send(['setbit', $key, $offset, (int) $value]);
    }
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);
	}
584087
function setPrecision($bits)
    {
        $this->precision = $bits;
        if (MATH_BIGINTEGER_MODE != self::MODE_BCMATH) {
            $this->bitmask = new static(chr((1 << ($bits & 0x7)) - 1) . str_repeat(chr(0xFF), $bits >> 3), 256);
        } else {
            $this->bitmask = new static(bcpow('2', $bits, 0));
        }

        $temp = $this->_normalize($this);
        $this->value = $temp->value;
    }
40986
function setPrecision($bits)
    {
        $this->precision = $bits;
        if (MATH_BIGINTEGER_MODE != MATH_BIGINTEGER_MODE_BCMATH) {
            $this->bitmask = new Math_BigInteger(chr((1 << ($bits & 0x7)) - 1) . str_repeat(chr(0xFF), $bits >> 3), 256);
        } else {
            $this->bitmask = new Math_BigInteger(bcpow('2', $bits, 0));
        }

        $temp = $this->_normalize($this);
        $this->value = $temp->value;
    }
1373231
public function offsetSet($offset, $value)
    {
        $this->prepareCursor();
        $this->collectionCursor->offsetSet($offset, $value);
    }