- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 559 for Cases (0.36 sec)
-
android/guava/src/com/google/common/base/Predicate.java
* * <p><b>Warning: do not depend</b> on the behavior of this method. * * <p>Historically, {@code Predicate} instances in this library have implemented this method to * recognize certain cases where distinct {@code Predicate} instances would in fact behave * identically. However, as code migrates to {@code java.util.function}, that behavior will * disappear. It is best not to depend on it. */ @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 15:22:00 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
List<TermQuery> queryList = SuggestUtil.getTermQueryList(null, fields); assertNotNull(queryList); assertEquals(0, queryList.size()); } // Additional tests for createSuggestTextId boundary cases @Test public void testCreateSuggestTextIdBoundaryExactly445() { // Create text that encodes to exactly 445 characters // Base64 encoding increases size by ~4/3, so original size should be ~333 bytes
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
void testCaseSensitivity() { // Given String upperCase = "SERVER"; String lowerCase = "server"; String mixedCase = "Server"; // Test different cases when(mockNetbiosName.getName()).thenReturn(upperCase); assertEquals(upperCase, mockNetbiosName.getName()); when(mockNetbiosName.getName()).thenReturn(lowerCase);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
nil, nil, }, // Test - 4 - parse the chunk reader properly. { bufio.NewReader(readers[3]), nil, []byte("1000"), []byte("111123333333333333334444211"), }, } // Valid test cases for each chunk line. for i, tt := range testCases { chunkSize, chunkSignature, err := readChunkLine(tt.reader) if err != tt.expectedErr { t.Errorf("Test %d: Expected %s, got %s", i+1, tt.expectedErr, err) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo"); assertEquals(1, ex.runCount); } // Error cases public void testSameThreadExecutionException() { SettableFuture<String> f = SettableFuture.create(); Exception e = new IllegalArgumentException("foo not found"); MockCallback callback = new MockCallback(e);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
private static boolean isProxyOfSameInterfaces(Object arg, Class<?> proxyClass) { return proxyClass.isInstance(arg) // Equal proxy instances should mostly be instance of proxyClass // Under some edge cases (such as the proxy of JDK types serialized and then deserialized) // the proxy type may not be the same. // We first check isProxyClass() so that the common case of comparing with non-proxy objects
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertEquals(8, serverData.encryptionKey.length); assertEquals(16, serverData.guid.length); } /** * Test edge cases for numeric fields */ @Test @DisplayName("Test edge cases for numeric fields") public void testNumericFieldsEdgeCases() { // Test maximum values for int fields serverData.sflags2 = Integer.MAX_VALUE;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
internal/logger/audit.go
// We hold the lock, so we cannot call reqInfo.GetTagsMap(). tags := make(map[string]any, len(reqInfo.tags)) for _, t := range reqInfo.tags { tags[t.Key] = t.Val } entry.Tags = tags // ignore cases for ttfb when its zero. if timeToFirstByte != 0 { entry.API.TimeToFirstByte = strconv.FormatInt(timeToFirstByte.Nanoseconds(), 10) + "ns" entry.API.TimeToFirstByteInNS = strconv.FormatInt(timeToFirstByte.Nanoseconds(), 10)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
// Then assertEquals(443, httpsPort); assertEquals(80, httpPort); assertNotEquals(httpsPort, httpPort); } } @Nested @DisplayName("Edge Cases") class EdgeCaseTests { @Test @DisplayName("Should handle reflection access to protected method") void testProtectedMethodAccess() throws Exception { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/en/docs/how-to/extending-openapi.md
# Extending OpenAPI { #extending-openapi } There are some cases where you might need to modify the generated OpenAPI schema. In this section you will see how. ## The normal process { #the-normal-process } The normal (default) process, is as follows. A `FastAPI` application (instance) has an `.openapi()` method that is expected to return the OpenAPI schema.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.4K bytes - Viewed (0)