Holds the information about the part of text involved in the diff process
Text is represented as Object[]
because the diff engine is capable of handling more than plain ascci. In fact, arrays or lists of any type that implements {@link java.lang.Object#hashCode hashCode()} and{@link java.lang.Object#equals equals()} correctly can be subject todifferencing using this library.
@author
edu.umd.hooka.corpora.Chunk
entagged.audioformats.asf.data.Chunk
This class represents a chunk within asf streams.
Each chunk starts with a 16byte guid identifying the type. After that a number (represented by 8 bytes) follows which shows the size in bytes of the chunk. Finally there is the data of the chunk.
@author Christian Laireiter
m33.entities.Chunk
net.lightstone.model.Chunk
Represents a chunk of the map.
@author Graham Edgecombe
net.minecraft.server.Chunk
net.minecraft.server.v1_6_R1.Chunk
net.minecraft.src.Chunk
net.minecraft.world.chunk.Chunk
nexus.model.structs.Chunk
16x16 containers for Terrain
@author Lane Aasen
org.apache.commons.jrcs.diff.Chunk
Holds a information about a parrt of the text involved in a differencing or patching operation.
@version $Id: Chunk.java,v 1.4 2003/10/13 08:00:24 rdonkin Exp $
@author
Juanco Anez
@see Diff
@see Delta
org.apache.ctakes.typesystem.type.syntax.Chunk
org.apache.hadoop.chukwa.Chunk
A chunk is a sequence of bytes at a particular logical offset in a stream, and containing one or more "records". Chunks have various metadata, such as source, format, and pointers to record boundaries within the chunk.
org.apache.hadoop.hbase.regionserver.HeapMemStoreLAB.Chunk
org.apache.hadoop.hbase.regionserver.MemStoreLAB.Chunk
org.apache.poi.hdgf.chunks.Chunk
Base of all chunks, which hold data, flags etc
org.apache.poi.hsmf.datatypes.Chunk
org.apache.sling.servlets.post.impl.helper.Chunk
Chunk
enscapsulates all chunk upload attributes.
@since 2.3.4
org.apache.stanbol.enhancer.nlp.model.Chunk
org.apache.wicket.util.diff.Chunk
Holds a information about a part of the text involved in a differencing or patching operation.
@version $Id: Chunk.java,v 1.1 2006/03/12 00:24:21 juanca Exp $
@author
Juanco Anez
@see Diff
@see Delta
org.bukkit.Chunk
Represents a chunk of blocks
org.hive2hive.core.model.Chunk
Raw data part of a file that is added to the DHT
@author Nico
org.jberet.job.Chunk
3.org/2001/XMLSchema}anyType"> <sequence> <element name="reader" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemReader"/> <element name="processor" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemProcessor" minOccurs="0"/> <element name="writer" type="{http://xmlns.jcp.org/xml/ns/javaee}ItemWriter"/> <element name="checkpoint-algorithm" type="{http://xmlns.jcp.org/xml/ns/javaee}CheckpointAlgorithm" minOccurs="0"/> <element name="skippable-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/> <element name="retryable-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/> <element name="no-rollback-exception-classes" type="{http://xmlns.jcp.org/xml/ns/javaee}ExceptionClassFilter" minOccurs="0"/> </sequence> <attribute name="checkpoint-policy" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="item-count" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="time-limit" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="skip-limit" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="retry-limit" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
org.jberet.job.model.Chunk
org.luaj.vm2.ast.Chunk
org.prevayler.foundation.Chunk
org.spout.api.geo.cuboid.Chunk
org.suigeneris.jrcs.diff.delta.Chunk
org.syncany.chunk.Chunk
A chunk represent a certain part of a file. It is created during the deduplication process by a {@link Chunker}.
@author Philipp C. Heckel
org.terasology.world.chunks.Chunk
@author Immortius
org.tmatesoft.hg.internal.FileRenameHistory.Chunk
org.xtreemfs.babudb.pbrpc.GlobalTypes.Chunk
rakama.worldtools.data.Chunk
se.llbit.chunky.world.Chunk
This class represents a loaded or not-yet-loaded chunk in the world. If the chunk is not yet loaded the loadedLayer field is equal to -1.
@author Jesper Öqvist (jesper@llbit.se)
vavi.sound.smaf.chunk.Chunk
Chunk.
@author
Naohide Sano (nsano)
@version 0.00 041222 nsano initial version
water.fvec.Chunk
A compression scheme, over a chunk - a single array of bytes. The *actual vector header info is in the Vec struct - which contains info to find all the bytes of the distributed vector. This struct is basically a 1-entry chunk cache of the total vector. Subclasses of this abstract class implement (possibly empty) compression schemes.
| }
});
}
public void invalidateChunks(Vector3i pos) {
Chunk removed = chunkCache.remove(pos);
if (removed != null && !removed.isReady()) {
sortedReadyChunks.remove(removed);
}
}
|
| FileRenameHistory frh = new FileRenameHistory(originalChangesetIndex, df.getChangesetRevisionIndex(fileRevIndex));
if (frh.isOutOfRange(df, fileRevIndex)) {
return null;
}
frh.build(df, fileRevIndex);
Chunk c = frh.chunkAt(originalChangesetIndex);
if (c == null) {
// file rename history doesn't go deep up to changeset of interest
return null;
}
Path nameAtOrigin = c.file().getPath();
if (originals.contains(nameAtOrigin)) {
return nameAtOrigin;
}
return null;
}
|
| //
HgDataFile df = repo.getFileNode("d");
Assert.assertFalse(frh.isOutOfRange(df, 0));
frh.build(df, 0);
errorCollector.assertEquals(1, frh.chunks());
Chunk c = frh.iterate(NewToOld).iterator().next();
compareChunk("abandoned d(0)", c, new Object[] { "d", 0, 0, 4, 4 }, 0);
//
df = repo.getFileNode("a");
Assert.assertFalse(frh.isOutOfRange(df, 0));
frh.build(df, 0);
|
| return Chunk.getDefaultInstance();
}
@Override
public void processRequest(Request rq) {
Chunk req = (Chunk) rq.getRequestMessage();
assertEquals(fileName, req.getFileName());
assertEquals(offsetStart, req.getStart());
assertEquals(offsetEnd, req.getEnd());
rq.sendSuccess(ErrorCodeResponse.getDefaultInstance(),
ReusableBuffer.wrap(chunkResult.getBytes()));
}
});
|
| {
for(int z = 1; z < span - 1; z++)
{
for(int x = 1; x < span - 1; x++)
{
Chunk chunk = localChunks[x + z * span];
if(chunk == null)
continue;
if(relight_skip_boundaries && relight_isBoundary(x, z, span, localChunks))
|
|
for (ChunkPosition pos: buffer) {
int x = pos.x;
int z = pos.z;
Chunk chunk = world.getChunk(pos);
renderer.render(chunk, buffer, x, z);
if (highlightEnabled) {
chunk.renderHighlight(buffer, x, z,
hlBlock, hlColor);
}
if (selection.isSelected(pos)) {
buffer.fillRectAlpha(
view.chunkScale * (x - view.px0),
|
| return sequence;
}
/** */
static SmafFileFormat readFrom(InputStream is) throws InvalidSmafDataException, IOException {
Chunk chunk = Chunk.readFrom(is, null, true);
if (FileChunk.class.isInstance(chunk)) {
FileChunk fileChunk = FileChunk.class.cast(chunk);
SmafFileFormat sff = new SmafFileFormat(fileChunk.getSize());
sff.sequence = new SmafSequence(fileChunk);
return sff;
|
| final double[] _ds;
long _prev, _next;
Find( long row, double[] ds ) { _row = row; _ds = ds; _prev = -1; _next = Long.MAX_VALUE; }
@Override public void map( Chunk cs[] ) {
for( int col = 0; col<cs.length; col++ ) {
Chunk C = cs[col];
for( int row=0; row<C.len(); row++ ) {
if( C.at0(row) == _ds[col] || (C.isNA0(row) && Double.isNaN(_ds[col])) ) {
long r = C.start()+row;
if( r < _row ) { if( r > _prev ) _prev = r; }
else if( r > _row ) { if( r < _next ) _next = r; }
}
}
}
|
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.