- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 280 for caps (0.02 sec)
-
guava/src/com/google/common/collect/BiMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
int n = handle.sendrecv(out, 1, 10, in, 128); // Assert assertEquals(42, n); ArgumentCaptor<Smb2IoctlRequest> cap = ArgumentCaptor.forClass(Smb2IoctlRequest.class); verify(tree).send(cap.capture(), eq(RequestParam.NO_RETRY)); assertNotNull(cap.getValue()); // captured request should be present } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
int written = trans2QueryFSInfo.writeParametersWireFormat(buffer, 0); // Should write 2 bytes: information level assertEquals(2, written); // Check information level (SMB_INFO_ALLOCATION maps to 0x0001) int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0001, actualInfoLevel); } @Test @DisplayName("Test writeParametersWireFormat with FS_SIZE_INFO")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertEquals(6, written); // Check FID int actualFid = SMBUtil.readInt2(buffer, 0); assertEquals(TEST_FID, actualFid); // Check information level (FILE_BASIC_INFO maps to 0x0101) int actualInfoLevel = SMBUtil.readInt2(buffer, 2); assertEquals(0x0101, actualInfoLevel); // Check reserved bytes (should be 0) int reserved = SMBUtil.readInt2(buffer, 4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB"))); // Act + Assert: the code maps this case to SmbUnsupportedOperationException assertThrows(SmbUnsupportedOperationException.class, () -> SmbEnumerationUtil.doEnum(parent, "*", 0, null, null)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
} switch msgp.UnsafeString(field) { case "r": var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "Results") return } if cap(z.Results) >= int(zb0002) { z.Results = (z.Results)[:zb0002] } else { z.Results = make([]int, zb0002) } for za0001 := range z.Results { z.Results[za0001], err = dc.ReadInt()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 152K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
func metaDataPoolGet() []byte { return metaDataPool.Get()[:0] } // metaDataPoolPut will put an unused small buffer back into the pool. func metaDataPoolPut(buf []byte) { if cap(buf) >= metaDataReadDefault && cap(buf) < metaDataReadDefault*4 { metaDataPool.Put(buf) } } // readXLMetaNoData will load the metadata, but skip data segments. // This should only be used when data is never interesting.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 65.6K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
int actual = findNtStatusOrMinusOne(dosCode); // Assert assertEquals(expectedNtStatus, actual, "Mapping must match table entry"); } @Test @DisplayName("Edge: zero DOS code maps to zero NTSTATUS") void zeroCodeMapsToZero() { // Act int actual = findNtStatusOrMinusOne(0x00000000); // Assert assertEquals(0x00000000, actual); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0)