- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 538 for small2 (0.08 sec)
-
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 (1) -
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) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
resetWithHole(); assertEquals(c, navigableSet.higher(a)); assertEquals(c, navigableSet.higher(b)); assertEquals(null, navigableSet.higher(c)); } /* * TODO(cpovirk): make "too small" and "too large" elements available for better navigation * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that * ContiguousSet's tests would no longer need to suppress them. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Verify we can acquire the tree tree.acquire(); successCount.incrementAndGet(); // Small delay to increase chance of race conditions Thread.yield(); } } catch (Exception e) { exceptions.add(e); } finally {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
## Order the parameters as you need, tricks { #order-the-parameters-as-you-need-tricks } /// tip This is probably not as important or necessary if you use `Annotated`. /// Here's a **small trick** that can be handy, but you won't need it often. If you want to: * declare the `q` query parameter without a `Query` nor any default value * declare the path parameter `item_id` using `Path`Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
Mall<Outdoor>.Shop<Grocery> shop) { return notSubtype(shop); } @TestSubtype public Mall<Outdoor>.Shop<Electronics> innerTypeDoesNotMatch_subtypeWithWildcard( Mall<Outdoor>.Shop<? extends Electronics> shop) { return notSubtype(shop); } @TestSubtype
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* allowed to be reclaimed if nobody is holding on to them. This is useful, for example, if one * wants to create a {@code Striped<Lock>} of many locks, but worries that in most cases only a * small portion of these would be in use. * * <p>Prior to this class, one might be tempted to use {@code Map<K, Lock>}, where {@code K} * represents the task. This maximizes concurrency by having each unique key mapped to a uniqueRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
cmd/object-handlers_test.go
// downloading is done. Data bytes are from DummyDataGen. objectInputs := []ObjectInput{ // // cases 0-3: small single part objects {"nothing", []int64{0}, make(map[string]string)}, {"small-0", []int64{11}, make(map[string]string)}, {"small-1", []int64{509}, make(map[string]string)}, {"small-2", []int64{5 * oneMiB}, make(map[string]string)}, // // // cases 4-7: multipart part objectsRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K 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) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
final 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 Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0)