- Sort Score
- Result 10 results
- Languages All
Results 1451 - 1460 of 1,571 for cause (0.08 sec)
-
android/guava/src/com/google/common/collect/ImmutableMap.java
/** * Returns a newly-created immutable map. The iteration order of the returned map is the order * in which entries were inserted into the builder, unless {@link #orderEntriesByValue} was * called, in which case entries are sorted by value. * * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
cmd/perf-tests.go
} // Reader to read random data. type netperfReader struct { n uint64 eof chan struct{} buf []byte } func (m *netperfReader) Read(b []byte) (int, error) { select { case <-m.eof: return 0, io.EOF default: } n := copy(b, m.buf) atomic.AddUint64(&m.n, uint64(n)) return n, nil } func netperf(ctx context.Context, duration time.Duration) madmin.NetperfNodeResult {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
There are some situations in where it's useful to be able to add custom headers to the HTTP error. For example, for some types of security. You probably won't need to use it directly in your code. But in case you needed it for an advanced scenario, you can add custom headers: {* ../../docs_src/handling_errors/tutorial002.py hl[14] *} ## Install custom exception handlers { #install-custom-exception-handlers }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
ci/devinfra/docker/windows2022/Dockerfile
# and part of it is mounted to the container during the container's creation. # # While the mount argument (`-v host_path:container_path`) still requires # `container_path` to be a legitimate C:\ path, in this case, 'C:\drive_t', # this symlink does allow for the convenience of passing unedited paths # to `docker exec` commands, e.g., 'T:\path', instead of 'C:\path', # without having to replace the drive letter with C:\ every time.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Jan 13 18:59:55 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
testData.add(createRelatedQuery("Java", new String[] { "Programming", "Tutorial" }, "")); mockBhv.setTestData(testData); relatedQueryHelper.load(); // Test case insensitive matching String[] results = relatedQueryHelper.getRelatedQueries("java"); assertEquals(2, results.length); assertEquals("Programming", results[0]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
* checked against the inputs under Bash in order to confirm that the two * forms are equivalent (though not necessarily minimal, though we hope this * to be the case). Thus, this test is more of a regression test. * * Rough instructions to regenerate the test outputs and verify correctness: * - Temporarily change this test: * --- Comment out assertEquals.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// Then assertEquals(4, read1); assertEquals(4, read2); } } @Nested @DisplayName("Edge case tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum buffer index") void testMaxBufferIndex() throws SMBProtocolDecodingException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
*/ public void testTestEqualsEqualsObjects() { equalsTester.addEqualityGroup(reference, equalObject1, equalObject2); equalsTester.testEquals(); } /** Test proper handling of case where an object is not equal to itself */ public void testNonReflexiveEquals() { Object obj = new NonReflexiveObject(); equalsTester.addEqualityGroup(obj); try { equalsTester.testEquals();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
if (expectEqual) { assertEquals(hA, hB); assertEquals(hA.hashCode(), hB.hashCode()); } else { assertNotEquals(hA, hB); } // Test negative case with different tree id handles SmbTreeHandleImpl tC = mock(SmbTreeHandleImpl.class); lenient().when(tC.acquire()).thenReturn(tC); lenient().when(tC.getTreeId()).thenReturn(treeId + 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
} @Test void toString_shouldReturnExpectedFormat_withNullAddrEntry() throws NoSuchFieldException, IllegalAccessException { // Set 'addrEntry' field to null for this test case Field addrEntryField = NameServicePacket.class.getDeclaredField("addrEntry"); addrEntryField.setAccessible(true); addrEntryField.set(nameQueryResponse, null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)