Examples of raw()


Examples of cern.jet.random.engine.RandomEngine.raw()

      p0 = p;
      //for (k=pp.length; --k >=0; ) pp[k] = 0;
    }
    m = (my > 1.0) ? (int)my : 1;
    for(;;) {
      u = gen.raw();           // Step U. Uniform sample
      k = 0;
      if (u <= p0) return(k);
      if (llll != 0) {              // Step T. Table comparison
        i = (u > 0.458) ? Math.min(llll,m) : 1;
        for (k = i; k <=llll; k++) if (u <= pp[k]) return(k);
View Full Code Here

Examples of com.boundlessgeo.geoserver.json.JSONArr.raw()

                     url(req, "/stores/%s/%s/%s",wsName, store.getName(),r.getName())
                );
        }
       
        JSONArr keywords = new JSONArr();
        keywords.raw().addAll( r.keywordValues() );
        obj.put("keywords", keywords);
        proj(obj.putObject("proj"), r.getCRS(), r.getSRS());
        bbox( obj.putObject("bbox"), r );
       
        if (r instanceof FeatureTypeInfo) {
View Full Code Here

Examples of com.boundlessgeo.geoserver.json.JSONObj.raw()

                info.setEnabled(false);
            }
            store = info;
        }
        else {
            HashMap map = new HashMap(params.raw());
            Map resolved = ResourcePool.getParams(map, cat.getResourceLoader() );
            DataAccess dataStore = DataAccessFinder.getDataStore(resolved);           
            if( dataStore == null ){
                throw new IllegalArgumentException("Connection parameters incomplete (does not match an available data store, coverage store or wms store).");
            }
View Full Code Here

Examples of com.couchbase.client.java.bucket.BucketInfo.raw()

        BucketInfo info = bucket().bucketManager().info();

        assertEquals(BucketType.COUCHBASE, info.type());
        assertEquals(bucketName(), info.name());
        assertTrue(info.nodeCount() > 0);
        assertNotNull(info.raw());
    }

}
View Full Code Here

Examples of com.couchbase.client.java.cluster.ClusterInfo.raw()

    @Test
    public void shouldLoadInfo() {
        ClusterInfo info = clusterManager.info().toBlocking().single();

        assertNotNull(info);
        assertTrue(info.raw().getObject("storageTotals").getObject("ram").getLong("total") > 0);
    }

    @Test
    public void shouldInsertBucket() {
        BucketSettings settings = DefaultBucketSettings
View Full Code Here

Examples of com.jcabi.github.ReleaseAsset.raw()

            DatatypeConverter.parseBase64Binary(
                fetch
            )
        );
        MatcherAssert.assertThat(
            IOUtils.toString(asset.raw()),
            Matchers.is(IOUtils.toString(raw))
        );
        asset.remove();
    }
View Full Code Here

Examples of ign.middleman.helpers.WebClient.raw()

    @Test
    public void proxyTest() throws IOException {
        WebClient wc = new WebClient();
        Proxy via = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("localhost", port));
        WebResponse wr = wc.raw("GET", "http://localhost:" + port + "/ok", via, null);
        assertEquals(200, wr.getStatus());
    }

    @Test
    public void okTest() throws IOException {
View Full Code Here

Examples of jmt.engine.random.engine.RandomEngine.raw()

              //@author Stefano Omini
              //sets a random (very small) delay to mix the jobs
              //of different classes

              //mixRandomDelay = (randomEng.nextDouble()) * 0.00001;
              mixRandomDelay = (randomEng.raw()) * 0.00001;

              sendMe(job, mixRandomDelay);
              //end NEW

              //log.write(NetLog.LEVEL_DEBUG, job, this, NetLog.JOB_CREATED);
View Full Code Here

Examples of org.apache.hadoop.hbase.client.Result.raw()

          get.addFamily(family);
        } else {
          get.addColumn(family, qualifier);
        }
        Result result = table.get(get);
        return ThriftUtilities.cellFromHBase(result.raw());
      } catch (IOException e) {
        LOG.warn(e.getMessage(), e);
        throw new IOError(e.getMessage());
      }
    }
View Full Code Here

Examples of org.apache.hadoop.hbase.client.Result.raw()

        Get get = new Get(getBytes(row));
        addAttributes(get, attributes);
        get.addColumn(family, qualifier);
        get.setMaxVersions(numVersions);
        Result result = table.get(get);
        return ThriftUtilities.cellFromHBase(result.raw());
      } catch (IOException e) {
        LOG.warn(e.getMessage(), e);
        throw new IOError(e.getMessage());
      }
    }
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.