/* (non-Javadoc)
@see java.util.concurrent.BlockingQueue#put(java.lang.Object)
330543
@Override
	public void put(E e) throws InterruptedException {
		if (sizeLimit > 0){
	        final ReentrantLock lock = this.sizeLimitLock;
	        lock.lockInterruptibly();
	        try {
	            try {
	                while (size() >= sizeLimit)
	                    withinSizeLimit.await();
	            } catch (InterruptedException ie) {
	            	withinSizeLimit.signal(); // propagate to non-interrupted thread
	                throw ie;
	            }
	            queue.put(e);
	        } finally {
	            lock.unlock();
	        }
		}else{
			queue.put(e);
		}
	}
1331180
public Object put(Object name, Object value) 
    {
        return super.put(name,LazyList.add(null,value));
    }
1082520
void put(final AbstractBatchEntry batchEntry) {
    try {
        this.queue.put(batchEntry);
    } catch (InterruptedException e) {
        throw new RuntimeException(e);
    }
    if (this.queue.size() >= this.actions) {
      this.scheduler.submit(new Runnable() {
        @Override
        public void run() {
          write();
        }
      });
    }
  }
181779
public Token put(Object key,
                     Token value,
                     Transaction transaction)
                    throws ObjectManagerException
    {
        throw new UnsupportedOperationException();
    }
68237
public static Object put(String key, Object value) {
        return value == null ? CONTEXT.remove(key) : CONTEXT.put(key, value);
    }
496498
@Override
	public synchronized Object putIfAbsent(Object key, Object value) {		
		Cache cache = manager.getCache(ehcacheConf.getPredefinedCacheName());
		if (!cache.isKeyInCache(key)){
			Element element = new Element(key, value);
			cache.put(element);
		}
		Element e = (Element)cache.get(key);
		return e.getObjectValue();

	}
513118
@Override
  public void add(Object obj) {
    lock.writeLock().lock();
    try {
      populated = true;
      this.queueActionLocked(DeltaType.Added, obj);
    } finally {
      lock.writeLock().unlock();
    }
  }
1006607
public final void put(String key, int value)
  {

    if ((m_firstFree + 1) >= m_mapSize)
    {
      m_mapSize += m_blocksize;

      String newMap[] = new String[m_mapSize];

      System.arraycopy(m_map, 0, newMap, 0, m_firstFree + 1);

      m_map = newMap;

      int newValues[] = new int[m_mapSize];

      System.arraycopy(m_values, 0, newValues, 0, m_firstFree + 1);

      m_values = newValues;
    }

    m_map[m_firstFree] = key;
    m_values[m_firstFree] = value;

    m_firstFree++;
  }
457727
public void put(Object key, Object value)
    {
        keyTable.put(key, value);
        valueTable.put(value, key);
    }
949550
@Override
	public void put(String key, Object obj) {

		cache.put(new Element(key, obj));
	}
911138
public final void set(String key, Object value) {
		try {
			this.mutex.acquire();
			if (value == null) {
				this.valueMap.remove(key);
			} else {
				this.valueMap.put(key, value);
			}
		} finally {
			try {
				this.mutex.release();
			} catch (Exception ignore) {
			}
		}
	}
1126736
@Override
    public Object put(ChronoElement<?> key, Object value) {

        Object obj = super.put(key, value);

        if (
            (key == null)
            || (obj == null)
            || obj.equals(value)
        ) {
            return obj;
        } else {
            throw new AmbivalentValueException(key);
        }

    }
1176493
@Override
    public void put(String key, JSONObject value) throws KeeperException, InterruptedException {
        try {
            m_zk.create(ZKUtil.joinZKPath(m_rootNode, key), value.toString().getBytes(Constants.UTF8ENCODING),
                    Ids.OPEN_ACL_UNSAFE, CreateMode.PERSISTENT);
        } catch (KeeperException.NodeExistsException e) {
            m_zk.setData(ZKUtil.joinZKPath(m_rootNode, key), value.toString().getBytes(Constants.UTF8ENCODING), -1);
        }
    }
515589
public JSONObject put(String key, int value) throws JSONException {
        put(key, Integer.valueOf(value));
        return this;
    }
438821
@Override
  public Collection<V> put(K key, Collection<V> value) {
    throw new UnsupportedOperationException();
  }
269709
def put(self, event, *args, **kwargs):
        
        self._queue.put((event, args, kwargs))
873746
public final Object put(Object key, Object value) {
        return internalData.put(key, value);
    }