- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,915 for instanceOf (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/io/CharStreams.java
* the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the * instance is {@link Writer#close() closed}. * * @since 15.0 */ public static Writer nullWriter() { return NullWriter.INSTANCE; } private static final class NullWriter extends Writer { private static final NullWriter INSTANCE = new NullWriter(); @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertFalse(iterator2.hasNext(), "Second instance should have no elements"); assertFalse(iterator3.hasNext(), "Third instance should have no elements"); assertNull(iterator1.next(), "First instance next() should return null"); assertNull(iterator2.next(), "Second instance next() should return null");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Bytes.java
// Overridden to prevent a ton of boxing return (target instanceof Byte) && Bytes.indexOf(array, (Byte) target, start, end) != -1; } @Override public int indexOf(@Nullable Object target) { // Overridden to prevent a ton of boxing if (target instanceof Byte) { int i = Bytes.indexOf(array, (Byte) target, start, end); if (i >= 0) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
assertEquals(NbtException.getErrorString(errorClass, errorCode), exception.getMessage(), "Exception message should match getErrorString output"); assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException"); } /** * Test the getErrorString method with various error classes and codes to ensure all branches are covered. */ @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString()); // Assert - type hierarchy: subclass of CIFSException and IOException assertTrue(ex instanceof jcifs.CIFSException, "Should extend CIFSException"); assertTrue(ex instanceof IOException, "Should be an IOException (checked)"); } @ParameterizedTest(name = "Message-only ctor preserves message: [{0}]") @MethodSource("messages")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
assertNotNull(response.getResults()); assertEquals(2, response.getResults().length); assertTrue(response.getResults()[0] instanceof FileBothDirectoryInfo); assertTrue(response.getResults()[1] instanceof FileBothDirectoryInfo); } @Test @DisplayName("Test readBytesWireFormat with zero buffer length returns one empty result")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SpnegoContext.java
final SpnegoToken spToken = getToken(inputBuf, offset, len); byte[] inputToken = null; if (spToken instanceof final NegTokenInit tinit) { final ASN1ObjectIdentifier[] rm = tinit.getMechanisms(); this.remoteMechs = rm; final ASN1ObjectIdentifier prefMech = rm[0];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java
} @Test public void test_extendsFromFessSystemException() { final LlmException exception = new LlmException("Test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); } @Test public void test_throwAndCatch() { boolean caught = false; try { throw new LlmException("Test exception");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 04:19:06 GMT 2026 - 5.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
return exception instanceof UnsupportedOperationException || exception instanceof IllegalStateException; } }; static final PermittedMetaException UOE = new PermittedMetaException("UnsupportedOperationException") { @Override boolean isPermitted(Exception exception) { return exception instanceof UnsupportedOperationException; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 20.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java
params.put("param1", "value1"); params.put("param2", 123); RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params); assertNotNull(result); assertTrue(result instanceof QueryRescorerBuilder); QueryRescorerBuilder queryRescorerBuilder = (QueryRescorerBuilder) result; assertEquals(testWindowSize, queryRescorerBuilder.windowSize().intValue()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.7K bytes - Click Count (0)