- Sort Score
- Num 10 results
- Language All
Results 1041 - 1050 of 1,287 for Expected (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
try { matchAllQueryCommand.execute(context, query, boost); fail("Should throw IllegalArgumentException for negative boost"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("negative [boost] are not allowed")); } } @Test public void test_execute_multipleInvocations() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
} private static void assertErrorMessage(Throwable e, String message) { // TODO(kevinb): use a Truth assertion here if (!e.getMessage().contains(message)) { fail("expected <" + e.getMessage() + "> to contain <" + message + ">"); } } /** * Test class with valid equals and hashCode methods. Testers created with instances of this class * should always pass. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java
// ============ /** * Verify the CRUD mode. * @param crudMode The CRUD mode. * @param expectedMode The expected mode. * @param dictId The dictionary ID. */ protected void verifyCrudMode(final int crudMode, final int expectedMode, final String dictId) { if (crudMode != expectedMode) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
char c2 = seq.charAt(index); if (Character.isLowSurrogate(c2)) { return Character.toCodePoint(c1, c2); } throw new IllegalArgumentException( "Expected low surrogate but got char '" + c2 + "' with value " + (int) c2 + " at index " + index + " in '"
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 24 04:06:11 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
// ============ /** * Verify the CRUD mode. * @param crudMode The CRUD mode. * @param expectedMode The expected mode. * @param dictId The dictionary ID. */ protected void verifyCrudMode(final int crudMode, final int expectedMode, final String dictId) { if (crudMode != expectedMode) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 20.1K bytes - Click Count (0) -
cmd/local-locker.go
// We do not block unlocking or maintenance, but they add to the count. // The limit is set to allow for bursty behavior, // but prevent requests to overload the server completely. // Rejected clients are expected to retry. const lockMutexWaitLimit = 1000 // lockRequesterInfo stores various info from the client for each lock that is requested. type lockRequesterInfo struct {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
internal/kms/kms.go
// if no explicit GenerateKeyRequest.Name is provided. DefaultKey string conn conn // Connection to the KMS // Metrics reqOK, reqErr, reqFail atomic.Uint64 latencyBuckets []time.Duration // expected to be sorted latency []atomic.Uint64 } // Version returns version information about the KMS. // // TODO(aead): refactor this API call since it does not account // for multiple KMS/KES servers.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 24 15:33:57 GMT 2025 - 11.4K bytes - Click Count (0) -
cmd/metacache-set.go
// Nothing more for prefix. return entries, io.EOF } partN++ retries = 0 } } } // getListQuorum interprets list quorum values and returns appropriate // acceptable quorum expected for list operations func getListQuorum(quorum string, driveCount int) int { switch quorum { case "disk": return 1 case "reduced": return 2 case "optimal": return (driveCount + 1) / 2
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 30.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
// copy into existing multimap assertThat(Multimaps.invertFrom(single, multimap)).isSameInstanceAs(multimap); ImmutableMultimap<String, Integer> expected = new ImmutableMultimap.Builder<String, Integer>().put("one", 1).put("two", 2).build(); assertEquals(expected, multimap); } public void testAsMap_multimap() { Multimap<String, Integer> multimap =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
// Copy Tensor data into array. float result_data[4] = {0}; memcpy(&result_data[0], TF_TensorData(result_tensor), TF_TensorByteSize(result_tensor)); // Build expected result & verify. float e_vals[] = {19.0f, 22.0f, 43.0f, 50.0f}; int data_len = 4; // length of e_vals for (int i = 0; i < data_len; i++) { EXPECT_EQ(result_data[i], e_vals[i]); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 39.1K bytes - Click Count (0)