Examples of offset()


Examples of codechicken.lib.vec.BlockCoord.offset()

                if (block.hasComparatorInputOverride())
                    return block.getComparatorInputOverride(gate.world(), pos.x, pos.y, pos.z, absDir^1);

                if (block.isNormalCube(gate.world(), pos.x, pos.y, pos.z))
                {
                    pos.offset(absDir);
                    block = gate.world().getBlock(pos.x, pos.y, pos.z);
                    if (block != null && block.hasComparatorInputOverride())
                        return block.getComparatorInputOverride(gate.world(), pos.x, pos.y, pos.z, absDir^1);
                }
            }
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.jol.info.FieldLayout.offset()

        int instanceSize;
        if (result.isEmpty()) {
            instanceSize = VMSupport.align(model.headerSize());
        } else {
            FieldLayout f = result.last();
            instanceSize = VMSupport.align(f.offset() + f.size());
        }
        return new ClassLayout(data, result, model.headerSize(), instanceSize, true);
    }

    @Override
View Full Code Here

Examples of com.fasterxml.storemate.store.util.BytesToStuff.offset()

        } else {
            compressedHash = 0;
            originalLength = -1;
        }
        final int metadataLength = reader.nextVInt();
        final int metadataOffset = reader.offset();

        reader.skip(metadataLength);
       
        final long storageLength = reader.nextVLong();
        final int payloadOffset = reader.offset();
View Full Code Here

Examples of com.google.api.ads.dfp.axis.utils.v201302.StatementBuilder.offset()

      // Set the custom targeting key ID to select from.
      statementBuilder.withBindVariableValue("customTargetingKeyId", customTargetingKeyId);

      // Default for total result set size and offset.
      int totalResultSetSize = 0;
      statementBuilder.offset(0);

      do {
        // Get custom targeting values by statement.
        CustomTargetingValuePage page = customTargetingService.getCustomTargetingValuesByStatement(
            statementBuilder.toStatement());
View Full Code Here

Examples of com.google.api.ads.dfp.axis.utils.v201306.StatementBuilder.offset()

      // Set the custom targeting key ID to select from.
      statementBuilder.withBindVariableValue("customTargetingKeyId", customTargetingKeyId);

      // Default for total result set size and offset.
      int totalResultSetSize = 0;
      statementBuilder.offset(0);

      do {
        // Get custom targeting values by statement.
        CustomTargetingValuePage page =
            customTargetingService.getCustomTargetingValuesByStatement(
View Full Code Here

Examples of com.google.api.ads.dfp.axis.utils.v201308.StatementBuilder.offset()

      // Set the activity group ID to select from.
      statementBuilder.withBindVariableValue("activityGroupId", activityGroupId);

      // Default for total result set size and offset.
      int totalResultSetSize = 0;
      statementBuilder.offset(0);

      do {
        // Get activities by statement.
        ActivityPage page =
            activityService.getActivitiesByStatement(statementBuilder.toStatement());
View Full Code Here

Examples of com.google.api.ads.dfp.axis.utils.v201311.StatementBuilder.offset()

      // Set the custom targeting key ID to select from.
      statementBuilder.withBindVariableValue("customTargetingKeyId", customTargetingKeyId);

      // Default for total result set size and offset.
      int totalResultSetSize = 0;
      statementBuilder.offset(0);

      do {
        // Get custom targeting values by statement.
        CustomTargetingValuePage page =
            customTargetingService.getCustomTargetingValuesByStatement(
View Full Code Here

Examples of com.google.appengine.api.datastore.FetchOptions.offset()

   
    if(state.isStateless()) {
      if(pag.isPaginating()){
        if(off.isActive()){
          gaeCtx.realOffset+=off.offset;
          fetchOptions.offset(gaeCtx.realOffset);
          off.passivate();
        }else {
          fetchOptions.offset(gaeCtx.realOffset);
        }
      }else {
View Full Code Here

Examples of com.google.appengine.api.datastore.FetchOptions.offset()

        if(off.isActive()){
          gaeCtx.realOffset+=off.offset;
          fetchOptions.offset(gaeCtx.realOffset);
          off.passivate();
        }else {
          fetchOptions.offset(gaeCtx.realOffset);
        }
      }else {
        // if stateless and not paginating, resets the realoffset to 0
        gaeCtx.realOffset = 0;
        if(off.isActive()){
View Full Code Here

Examples of com.google.appengine.api.datastore.FetchOptions.offset()

      }else {
        // if stateless and not paginating, resets the realoffset to 0
        gaeCtx.realOffset = 0;
        if(off.isActive()){
          gaeCtx.realOffset=off.offset;
          fetchOptions.offset(gaeCtx.realOffset);
          off.passivate();
        }
      }
     
      switch(fetchType.fetchType){
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.