- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 252 for Truong (0.18 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// SVG MIME type - the + must be escaped in regex String svgMimetype = "image/svg+xml"; String svgPatternWrong = "image/svg+xml"; // Wrong: + means "one or more" in regex String svgPatternCorrect = "image/svg\\+xml"; // Correct: \\+ matches literal + // Verify wrong pattern does NOT match (demonstrates the bug) assertFalse(svgMimetype.matches(svgPatternWrong));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} public void testContainsAll_wrongType() { Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE); try { assertFalse( "containsAll(wrongType) should return false or throw", collection.containsAll(wrong)); } catch (ClassCastException tolerated) { } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
* matching mirror will pass through unchanged. Note: This method must be called before * {@link #injectAuthentication(List, List)} or the repositories will end up with the wrong credentials. * * @param repositories The repositories into which to inject the mirror information, may be {@code null}. * @param mirrors The available mirrors, may be {@code null}. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[8]); // Wrong length }); assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[20]); // Wrong length }); } @Test public void testHandleType() { assertEquals(0, HandleType.NONE.getValue());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} public void testContainsAll_wrongType() { Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE); try { assertFalse( "containsAll(wrongType) should return false or throw", collection.containsAll(wrong)); } catch (ClassCastException tolerated) { } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_wrong_lang_code_2.md
Some text ```python # This is a sample Python code block def hello_world(): # Comment with indentation print("Hello, world!") # Print greeting ``` Some more text The following block has wrong language code (should be TOML): ``` # This is a sample TOML code block title = "TOML Example" # Title of the document ``` And more text ```console
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 942 bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/WrongType.java
import com.google.common.annotations.GwtCompatible; /** * A type which will never be used as the element type of any collection in our tests, and so can be * used to test how a Collection behaves when given input of the wrong type. */ @GwtCompatible public enum WrongType { VALUECreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 934 bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/bad-ci-friendly-sha1plus2.xml
<modelVersion>4.0.0</modelVersion> <groupId>com.example.group</groupId> <artifactId>valid-version-sha1plus</artifactId> <version>${sha1}${wrong}${revision}</version> <description> This will test if the validation for the ci friendly versions is working correct. </description>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
internal/bucket/lifecycle/noncurrentversion.go
} // IsDaysNull returns true if days field is null func (n NoncurrentVersionExpiration) IsDaysNull() bool { return n.NoncurrentDays == ExpirationDays(0) } // Validate returns an error with wrong value func (n NoncurrentVersionExpiration) Validate() error { if !n.set { return nil } val := int(n.NoncurrentDays) switch { case val == 0 && n.NewerNoncurrentVersions == 0: // both fields can't be zero
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Dec 14 17:41:44 GMT 2021 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multiset.java
* * <p>This method refines {@link Collection#remove} to further specify that it <b>may not</b> * throw an exception in response to {@code element} being null or of the wrong type. * * <p>To both remove the element and obtain the previous count of that element, use {@link * #remove(Object, int) remove}{@code (element, 1)} instead. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.5K bytes - Click Count (0)