Examples of Bytes


Examples of com.caucho.config.types.Bytes

  private Alarm _alarm = new WeakAlarm(this);
  private boolean _isActive;

  public AccessLog()
  {
    setRolloverSize(new Bytes(ROLLOVER_SIZE));
  }
View Full Code Here

Examples of dovetaildb.bytes.Bytes

        ranges.add(new Range(prefix, null, null, true, true));
      }
    }
    @Override
    public void handleAtomic(Bytes prefix, Bytes suffix, Object value) {
      Bytes term = new CompoundBytes(prefix,sencode(value));
      ranges.add(new Range(term, ArrayBytes.EMPTY_BYTES, ArrayBytes.EMPTY_BYTES, true, true));
    }
View Full Code Here

Examples of net.openhft.lang.io.Bytes

    public LongWrapper() {
    }

    @Override
    public void writeExternal(ObjectOutput out) throws IOException {
        Bytes b = (Bytes) out;
        b.writeInt48(l);
    }
View Full Code Here

Examples of objot.util.Bytes

  public int getParamN()
  {
    if (paramN < 0)
    {
      Bytes desc = cons.getUtf(descCi);
      paramN = getParamN(desc);
      paramLocalN = getParamLocalN(desc);
      returnType = getReturnTypeChar(desc);
    }
    return paramN;
View Full Code Here

Examples of org.apache.cassandra.stress.generate.values.Bytes

                    return new Strings(name, config);
                case BIGINT:
                case COUNTER:
                    return new Longs(name, config);
                case BLOB:
                    return new Bytes(name, config);
                case BOOLEAN:
                    return new Booleans(name, config);
                case DECIMAL:
                case DOUBLE:
                    return new Doubles(name, config);
View Full Code Here

Examples of org.apache.hadoop.hbase.util.Bytes

  /**
   * @param key The key.
   * @return The value.
   */
  public byte[] getValue(byte[] key) {
    Bytes ibw = values.get(new Bytes(key));
    if (ibw == null)
      return null;
    return ibw.get();
  }
View Full Code Here

Examples of org.apache.lucene.search.FieldCache.Bytes

   
    final FieldCache cache = FieldCache.DEFAULT;
    cache.purgeAllCaches();
    assertEquals(0, cache.getCacheEntries().length);
   
    Bytes bytes = cache.getBytes(ar, "bogusbytes", true);
    assertEquals(0, bytes.get(0));

    Shorts shorts = cache.getShorts(ar, "bogusshorts", true);
    assertEquals(0, shorts.get(0));
   
    Ints ints = cache.getInts(ar, "bogusints", true);
View Full Code Here

Examples of org.apache.lucene.search.FieldCache.Bytes

   
    final FieldCache cache = FieldCache.DEFAULT;
    cache.purgeAllCaches();
    assertEquals(0, cache.getCacheEntries().length);
   
    Bytes bytes = cache.getBytes(ar, "bogusbytes", true);
    assertEquals(0, bytes.get(0));

    Shorts shorts = cache.getShorts(ar, "bogusshorts", true);
    assertEquals(0, shorts.get(0));
   
    Ints ints = cache.getInts(ar, "bogusints", true);
View Full Code Here

Examples of org.apache.lucene.search.FieldCache.Bytes

   
    final FieldCache cache = FieldCache.DEFAULT;
    cache.purgeAllCaches();
    assertEquals(0, cache.getCacheEntries().length);
   
    Bytes bytes = cache.getBytes(ar, "bogusbytes", true);
    assertEquals(0, bytes.get(0));

    Shorts shorts = cache.getShorts(ar, "bogusshorts", true);
    assertEquals(0, shorts.get(0));
   
    Ints ints = cache.getInts(ar, "bogusints", true);
View Full Code Here

Examples of org.apache.lucene.search.FieldCache.Bytes

   
    final FieldCache cache = FieldCache.DEFAULT;
    cache.purgeAllCaches();
    assertEquals(0, cache.getCacheEntries().length);
   
    Bytes bytes = cache.getBytes(ar, "bogusbytes", true);
    assertEquals(0, bytes.get(0));

    Shorts shorts = cache.getShorts(ar, "bogusshorts", true);
    assertEquals(0, shorts.get(0));
   
    Ints ints = cache.getInts(ar, "bogusints", true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.