- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 2,189 for whet (0.02 sec)
-
src/test/java/jcifs/smb/SmbFileFilterTest.java
SmbFileFilter filter = f -> f.length() > 0; // negative size -> reject when(smbFile.length()).thenReturn(-1L); assertFalse(filter.accept(smbFile), "Negative size should be rejected"); verify(smbFile, times(1)).length(); // zero size -> reject reset(smbFile); when(smbFile.length()).thenReturn(0L); assertFalse(filter.accept(smbFile), "Zero size should be rejected");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
} // Error path: overlaps may throw a CIFSException per signature @Test @DisplayName("overlaps throws CIFSException when implementation fails") void overlapsThrowsCifsException() throws Exception { when(locator.overlaps(any())).thenThrow(new CIFSException("Simulated failure")); CIFSException ex = assertThrows(CIFSException.class, () -> locator.overlaps(other));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-other.md
compiling from source placeholder: validations: required: false - type: textarea id: what-happened attributes: label: Current Behaviour? description: Also tell us, what did you expect to happen? placeholder: Tell us what you see! value: "A bug happened!" render: shell validations: required: true - type: textarea id: code-to-reproduce attributes: label: Standalone code to
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Dec 29 22:28:29 UTC 2022 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
.inOrder(); } public void testCopyOf_array_empty() { /* * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's * useful in testing - when two things are the same then one can't have bugs the other doesn't. */ assertThat(ImmutableDoubleArray.copyOf(new double[0])) .isSameInstanceAs(ImmutableDoubleArray.of()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
tests/create_test.go
t.Fatalf("errors happened when query: %v", err) } else { CheckUser(t, newUser, u1) } type user struct { ID int `gorm:"primaryKey;->:false"` Name string Age int } var u2 user if results := DB.Create(&u2); results.Error != nil { t.Fatalf("errors happened when create: %v", results.Error) } else if results.RowsAffected != 1 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
void testWriteAndXWireFormatWithNonAndXCommand() { when(mockConfig.isUseBatching()).thenReturn(true); when(mockAndxCommand.getCommand()).thenReturn(0x42); when(mockAndxCommand.writeParameterWordsWireFormat(any(byte[].class), anyInt())).thenReturn(10); when(mockAndxCommand.writeBytesWireFormat(any(byte[].class), anyInt())).thenReturn(20);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/archive/tar/writer.go
return tw.writeRawHeader(blk, hdr.Size, hdr.Typeflag) } func (tw *Writer) writePAXHeader(hdr *Header, paxHdrs map[string]string) error { realName, realSize := hdr.Name, hdr.Size // TODO(dsnet): Re-enable this when adding sparse support. // See https://golang.org/issue/22735 /* // Handle sparse files. var spd sparseDatas var spb []byte if len(hdr.SparseHoles) > 0 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
*/ private var expires: Date? = null /** * Extension header set by OkHttp specifying the timestamp when the cached HTTP request was * first initiated. */ private var sentRequestMillis = 0L /** * Extension header set by OkHttp specifying the timestamp when the cached HTTP response was * first received. */ private var receivedResponseMillis = 0L
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaper.java
* "Foo<Bar>"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the * resulting XML document is parsed, the parser API will return this text as the original literal * string {@code "Foo<Bar>"}. * * <p>A {@code CharEscaper} instance is required to be stateless, and safe when used concurrently by * multiple threads. * * <p>Popular escapers are defined as constants in classes like {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
} @Test @DisplayName("Test complete wire format writing") void testCompleteWireFormatWriting() { when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO); when(mockFileInfo.encode(any(byte[].class), anyInt())).thenReturn(50); trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0)