- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 630 for small (0.04 sec)
-
guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
Random random = new Random(); int sizeRemaining = size; // TODO(kevinb): generate better test contents for multisets while (sizeRemaining > 0) { // The JVM will return interned values for small ints. Integer value = random.nextInt(1000) + 128; int count = min(random.nextInt(10) + 1, sizeRemaining); sizeRemaining -= count; hashMultiset.add(value, count);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
} @Override protected int doReceiveFragment ( byte[] buf ) throws IOException { if ( buf.length < getMaxRecv() ) { throw new IllegalArgumentException("buffer too small"); } int off = this.handle.recv(buf, 0, buf.length); if ( buf[ 0 ] != 5 || buf[ 1 ] != 0 ) { throw new IOException("Unexpected DCERPC PDU header"); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jan 26 11:51:07 UTC 2020 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java
// =================================================================================== // Small Helper // ============ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K bytes - Viewed (0) -
cmd/untar.go
name = trimLeadingSlash(path.Clean(name)) default: // ignore symlink'ed continue } if o.prefixAll != "" { name = pathJoin(o.prefixAll, name) } // Do small files async n++ if header.Size <= smallFileThreshold { asyncWriters <- struct{}{} b := poolBuf128k.Get().([]byte) if cap(b) < int(header.Size) { b = make([]byte, smallFileThreshold) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 6K bytes - Viewed (2) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
} protected void doReceiveFragment(byte[] buf, boolean isDirect) throws IOException { int off, flags, length; if (buf.length < max_recv) throw new IllegalArgumentException("buffer too small"); if (isStart && !isDirect) { // start of new frag, do trans off = in.read(buf, 0, 1024); } else { off = in.readDirect(buf, 0, buf.length); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
int dataStart = getHeaderStart() + dataOffset; if ( this.dataLength + this.outputBufferOffset > this.outputBuffer.length ) { throw new SMBProtocolDecodingException("Buffer to small for read response"); } System.arraycopy(buffer, dataStart, this.outputBuffer, this.outputBufferOffset, this.dataLength); bufferIndex = Math.max(bufferIndex, dataStart + this.dataLength);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 07:13:17 UTC 2018 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java
return redirect(getClass()); } // =================================================================================== // Small Helper // ============ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java
// =================================================================================== // Small Helper // ============ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
CONTRIBUTING.md
================= Thank you so much for wanting to contribute to Guava! Here are a few important things you should know about contributing: 1. API changes require discussion, use cases, etc. Code comes later. 2. Pull requests are great for small fixes for bugs, documentation, etc. 3. Pull requests are not merged directly into the master branch. 4. Code contributions require signing a Google CLA. API changes -----------
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 3.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
* * @author Osvaldo Doederlein */ public class ToStringHelperBenchmark { @Param({"0", "1", "5"}) int dataSize; @Param({"false", "true"}) boolean omitNulls; enum Dataset { SMALL { @Override void addEntries(MoreObjects.ToStringHelper helper) { helper .add(SHORT_NAME, 10) .addValue(10L) .add(SHORT_NAME, 3.14f) .addValue(3.14d)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (0)