- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 1,279 for match6 (0.05 seconds)
-
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
final CustomSize annotation = field.getAnnotation(CustomSize.class); assertNotNull(annotation, "Annotation should be present on field"); assertEquals("minKey should match", "test.min", annotation.minKey()); assertEquals("maxKey should match", "test.max", annotation.maxKey()); assertEquals("message should be default", "{jakarta.validation.constraints.Size.message}", annotation.message()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 }; AvPair avPair = new AvPair(type, raw); assertEquals(type, avPair.getType(), "Type should match the constructor argument."); assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument."); // Test with another type and empty raw data int type2 = AvPair.MsvAvEOL; byte[] raw2 = new byte[] {};
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
bitSet.clear(0); bitSet.clear(1); matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE; teststring = newTestString(new Random(1), bitSet, percentMatching); } @Benchmark public int countIn(int reps) { int result = 0; CharMatcher matcher = this.matcher; String teststring = this.teststring; for (int i = 0; i < reps; i++) { result += matcher.countIn(teststring); } return result;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
bitSet.clear(0); bitSet.clear(1); matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE; teststring = newTestString(new Random(1), bitSet, percentMatching); } @Benchmark public int countIn(int reps) { int result = 0; CharMatcher matcher = this.matcher; String teststring = this.teststring; for (int i = 0; i < reps; i++) { result += matcher.countIn(teststring); } return result;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
// Assert assertEquals(fid, getFieldValue(write, "fid"), "FID should match constructor arg"); assertEquals(offset, getFieldValue(write, "offset"), "Offset should match constructor arg"); assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg"); assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java
// ============ /** * Verify that the CRUD mode matches the expected mode. * Throws validation error if modes don't match. * * @param crudMode The current CRUD mode * @param expectedMode The expected CRUD mode * @param dictId The dictionary ID for error context */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 23.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertEquals(testCapabilities, response.getCapabilities(), "Capabilities should match"); assertArrayEquals(testGuid, response.getServerGuid(), "Server GUID should match"); assertEquals(testSecurityMode, response.getSecurityMode(), "Security mode should match"); assertEquals(testDialect, response.getDialect(), "Dialect should match"); } @Test @DisplayName("Test decode with different buffer offset")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java
Objects.requireNonNull(s); Matcher matcher = pattern.matcher(s); if (matcher.matches() == false) { throw new IllegalArgumentException("Invalid version format: '" + s + "'. Should be " + pattern); } return new QualifiedVersion( Integer.parseInt(matcher.group(1)), Integer.parseInt(matcher.group(2)), Integer.parseInt(matcher.group(3)),
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 5.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
String line = currentColor + lines[i]; // look for last ANSI escape sequence to check if nextColor Matcher matcher = LAST_ANSI_SEQUENCE.matcher(line); String nextColor = ""; if (matcher.find()) { nextColor = matcher.group(1); if (ANSI_RESET.equals(nextColor)) { // last ANSI escape code is reset: no next color
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
tests/test_ambiguous_params.py
def test_no_annotated_defaults(): with pytest.raises( AssertionError, match="Path parameters cannot have a default value" ): @app.get("/items/{item_id}/") async def get_item(item_id: Annotated[int, Path(default=1)]): pass # pragma: nocover with pytest.raises( AssertionError, match=( "`Query` default value cannot be set in `Annotated` for 'item_id'. Set the"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2K bytes - Click Count (1)