- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 292 for Small (0.04 sec)
-
cmd/server-rlimit.go
return err } _, vssLimit, err := sys.GetMaxMemoryLimit() if err != nil { return err } if vssLimit > 0 && vssLimit < humanize.GiByte { logger.Info("WARNING: maximum virtual memory limit (%s) is too small for 'go runtime', please consider setting `ulimit -v` to unlimited", humanize.IBytes(vssLimit)) } if ctx.MemLimit > 0 { debug.SetMemoryLimit(int64(ctx.MemLimit)) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Jul 02 15:09:36 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(0, result); } @Test @DisplayName("Test writeParametersWireFormat with small buffer throws ArrayIndexOutOfBoundsException") void testWriteParametersWireFormatSmallBuffer() { netShareEnum = new NetShareEnum(realConfig); // Buffer too small for the full parameters (need at least 19 bytes) byte[] dst = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
byte[] copiedData = Arrays.copyOfRange(outputBuffer, 0, dataLength); assertArrayEquals(testData, copiedData); } @Test @DisplayName("Should throw exception when output buffer too small") void testReadBytesWireFormatBufferTooSmall() throws Exception { // Given byte[] smallOutputBuffer = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
// Reserved (2 bytes, LE) == 0 assertEquals(0, SMBUtil.readInt2(buf, offset + 2)); } @Test @DisplayName("writeBytesWireFormat throws when buffer too small") void writeBytesWireFormat_throwsIfInsufficientSpace() { // Arrange Smb2LogoffRequest req = newRequest(); byte[] tiny = new byte[3]; // less than 4 bytes available // Act/Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K 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 <= xioutil.MediumBlock { asyncWriters <- struct{}{} bufp := xioutil.ODirectPoolMedium.Get() b := (*bufp)[:header.Size]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() } internal fun checkDuration( name: String, duration: Duration, ): Int { check(!duration.isNegative()) { "$name < 0" } val millis = duration.inWholeMilliseconds require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || !duration.isPositive()) { "$name too small" } return millis.toInt() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
ComponentUtil.setFessConfig(new MockFessConfig() { @Override public Integer getCookieSearchParameterMaxLengthAsInteger() { return 10; // Very small limit } }); String longValue = "a".repeat(1000); getMockRequest().setParameter("q", longValue); searchHelper.storeSearchParameters();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; import jcifs.Configuration; /** * Unit tests for {@link SmbComQueryInformation}. The class is very small and * mainly focuses on serialising a command header that contains a file name. * <p> * Because most of the logic lives in {@link jcifs.internal.smb1.ServerMessageBlock}
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0)