- Sort Score
- Result 10 results
- Languages All
Results 1671 - 1680 of 6,957 for Class (0.02 sec)
-
src/test/java/jcifs/util/ByteEncodableTest.java
import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; class ByteEncodableTest { @Test void testConstructorAndSize() { // Test with a basic byte array byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
// When/Then assertThrows(IndexOutOfBoundsException.class, () -> { Hexdump.toHexString(data, -1, 16); }); assertThrows(IndexOutOfBoundsException.class, () -> { Hexdump.toHexString(data, 0, data.length + 1); }); assertThrows(IndexOutOfBoundsException.class, () -> { Hexdump.toHexString(data, 16, 32); // offset + length > data.lengthRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java
* itself, once we are willing to use Java 8 default methods. */ @AndroidIncompatible // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith? @RunWith(Parameterized.class) @NullUnmarked public final class DefaultNetworkImplementationsTest { private MutableNetwork<Integer, String> network; private NetworkForTest<Integer, String> networkForTest; private static final Integer N1 = 1;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
public int hashCode() { return StringCharsetFunnel.class.hashCode() ^ charset.hashCode(); } Object writeReplace() { return new SerializedForm(charset); } private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } private static final class SerializedForm implements Serializable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Funnels.java
public int hashCode() { return StringCharsetFunnel.class.hashCode() ^ charset.hashCode(); } Object writeReplace() { return new SerializedForm(charset); } private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } private static final class SerializedForm implements Serializable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3); assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1)); assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3)); ImmutableDoubleArray sub = iia.subArray(1, 2); assertThrows(IndexOutOfBoundsException.class, () -> sub.get(-1)); } public void testIndexOf() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
import jakarta.servlet.http.HttpServletRequest; /** * Utility class providing static functions for Fess JSP/JSTL expressions and tag libraries. * This class contains various helper methods for formatting, parsing, and manipulating data * in Fess web templates, including date formatting, localization, file operations, and * query parameter handling. * * @since 1.0 */ public class FessFunctions { /** Logger instance for this class */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
} } public void testPriority_tooLow() { assertThrows( IllegalArgumentException.class, () -> builder.setPriority(Thread.MIN_PRIORITY - 1)); } public void testPriority_tooHigh() { assertThrows( IllegalArgumentException.class, () -> builder.setPriority(Thread.MAX_PRIORITY + 1)); } public void testUncaughtExceptionHandler_custom() { assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
void testNullKey() { assertThrows(IllegalArgumentException.class, () -> new Smb2LeaseKey(null)); } @Test @DisplayName("Should reject wrong size key") void testWrongSizeKey() { assertThrows(IllegalArgumentException.class, () -> new Smb2LeaseKey(new byte[15])); assertThrows(IllegalArgumentException.class, () -> new Smb2LeaseKey(new byte[17]));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java
* It also provides a method to retrieve the extracted data as a String from an AccessResultData object. * * <p> * The class handles character encoding issues by attempting to use the specified charset. * If the specified charset is invalid, it falls back to UTF-8. * </p> * * <p> * The class also provides methods to set and get the charset name used for encoding and decoding the text content. * </p> * * <p>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.5K bytes - Viewed (0)