- Sort Score
- Num 10 results
- Language All
Results 1511 - 1520 of 2,683 for SIZE (0.04 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
public void testRemovePresent() { assertTrue(multimap().remove(k0(), v0())); assertFalse(multimap().containsEntry(k0(), v0())); expectMissing(e0()); assertEquals(getNumElements() - 1, multimap().size()); assertGet(k0(), ImmutableList.of()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS}) public void testRemoveNullKeyPresent() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
public void testRemovePresent() { assertTrue(multimap().remove(k0(), v0())); assertFalse(multimap().containsEntry(k0(), v0())); expectMissing(e0()); assertEquals(getNumElements() - 1, multimap().size()); assertGet(k0(), ImmutableList.of()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS}) public void testRemoveNullKeyPresent() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.7K bytes - Click Count (0) -
schema/schema_helper_test.go
} else { tests.AssertObjEqual(t, parsedField, f, "Name", "DBName", "BindNames", "DataType", "PrimaryKey", "AutoIncrement", "Creatable", "Updatable", "Readable", "HasDefaultValue", "DefaultValue", "NotNull", "Unique", "Comment", "Size", "Precision", "TagSettings") if f.DBName != "" { if field, ok := s.FieldsByDBName[f.DBName]; !ok || parsedField != field { t.Errorf("schema %v failed to look up field with dbname %v", s, f.DBName) } }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
fileStandardInfo.decode(buffer, 0, buffer.length); assertEquals(expectedEndOfFile, fileStandardInfo.getSize()); } @Test @DisplayName("Test size method returns 22") void testSize() { assertEquals(22, fileStandardInfo.size()); } @Test @DisplayName("Test decode with valid data") void testDecodeWithValidData() throws SMBProtocolDecodingException { // Prepare test data
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
recordNameField.setAccessible(true); assertNotNull(recordNameField.get(response)); // Verify macAddress is initialized with correct size Field macAddressField = NodeStatusResponse.class.getDeclaredField("macAddress"); macAddressField.setAccessible(true); byte[] macAddress = (byte[]) macAddressField.get(response);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
val synStream = peer.takeFrame() assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS) var data = peer.takeFrame() assertThat(data.data!!.size).isEqualTo(peer.maxOutboundDataLength()) data = peer.takeFrame() assertThat(data.data!!.size).isEqualTo(1) } @Test fun pushPromiseStream() { // Write the mocking script. peer.sendFrame().settings(Settings()) peer.acceptFrame() // ACK
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
public void testSerialization() { Multimap<String, Integer> multimap = createMultimap(); SerializableTester.reserializeAndAssert(multimap); assertEquals(multimap.size(), SerializableTester.reserialize(multimap).size()); SerializableTester.reserializeAndAssert(multimap.get("foo")); LenientSerializableTester.reserializeAndAssertLenient(multimap.keySet());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
if (this.outputBuffer != null) { if (outputCount > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Output length exceeds buffer size"); } System.arraycopy(buffer, outputOffset, this.outputBuffer, 0, outputCount); } else if (this.outputData != null) { this.outputData.decode(buffer, outputOffset, outputCount);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
// GWT's ConcurrentHashMap is a wrapper around HashMap, but it rejects null keys, which matches // the behaviour of the non-GWT implementation of newConcurrentHashSet(). // On the other hand HashSet might be better for code size if apps aren't // already using Collections.newSetFromMap and ConcurrentHashMap. return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
* Get the file change time * * @return the changeTime */ public final long getChangeTime() { return this.changeTime; } /** * Get the file allocation size * * @return the allocationSize */ public final long getAllocationSize() { return this.allocationSize; } /** * Get the end of file position *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0)