- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 9,736 for clase (0.06 seconds)
-
guava-tests/test/com/google/common/io/CharSinkTest.java
TestCharSink failSink = new TestCharSink(WRITE_THROWS); assertThrows(IOException.class, () -> new TestCharSource(STRING).copyTo(failSink)); assertTrue(failSink.wasStreamClosed()); } public void testClosesOnErrors_whenWritingFromReaderThatThrows() { TestCharSink okSink = new TestCharSink(); assertThrows(IOException.class, () -> okSink.writeFrom(new TestReader(READ_THROWS))); assertTrue(okSink.wasStreamClosed());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
/** * Helper class for managing system processes in Fess. * This class provides functionality to start, stop, and manage external processes * such as crawler processes, with proper resource cleanup and lifecycle management. */ public class ProcessHelper { /** Logger instance for this class */ private static final Logger logger = LogManager.getLogger(ProcessHelper.class);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 06:54:47 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
* This class handles reading, parsing, and updating files that contain * synonym rules. The file format supports both explicit mappings (e.g., `a => b`) * and equivalent synonyms (e.g., `a, b, c`). * * The class provides methods for retrieving, adding, updating, and * deleting synonym items, as well as reloading the dictionary * from its source file. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 15.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
import okhttp3.TlsVersion import okhttp3.tls.internal.TlsUtil.localhost import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class RetryConnectionTest { private val factory = TestValueFactory() private val handshakeCertificates = localhost() private val retryableException = SSLHandshakeException("Simulated handshake exception") @RegisterExtensionCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
import jcifs.internal.smb2.ioctl.SrvPipePeekResponse; /** * Input stream for reading from SMB named pipes. * * This class provides a stream-based interface for reading * data from SMB named pipes over the network. * * @author mbechler */ public class SmbPipeInputStream extends SmbFileInputStream { private final SmbPipeHandleImpl handle; /** * @param handle * @param thCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableEnumMap.java
*/ @GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization final class ImmutableEnumMap<K extends Enum<K>, V> extends IteratorBasedImmutableMap<K, V> { static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) { switch (map.size()) { case 0: return ImmutableMap.of(); case 1: Entry<K, V> entry = getOnlyElement(map.entrySet());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.7K bytes - Click Count (0) -
internal/ioutil/ioutil_test.go
if err != nil { t.Errorf("Case %d: Unexpected err %v", i, err) } if string(b) != testCase.expected { t.Errorf("Case %d: Got wrong result: %v", i, string(b)) } } } func TestSameFile(t *testing.T) { f, err := os.CreateTemp(t.TempDir(), "") if err != nil { t.Errorf("Error creating tmp file: %v", err) } tmpFile := f.Name() f.Close() defer os.Remove(f.Name())Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.6K bytes - Click Count (0) -
internal/rest/client.go
} func (r *respBodyMonitor) Read(p []byte) (n int, err error) { n, err = r.ReadCloser.Read(p) r.errorStatus(err) return n, err } func (r *respBodyMonitor) Close() (err error) { err = r.ReadCloser.Close() r.errorStatus(err) return err } func (r *respBodyMonitor) errorStatus(err error) { if xnet.IsNetworkOrHostDown(err, r.expectTimeouts) { r.errorStatusOnce.Do(func() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) @DisplayName("FileEntry interface contract tests") class FileEntryTest { @Test @DisplayName("Mock returns configured values") void mockReturnsConfiguredValues() { FileEntry mock = mock(FileEntry.class); when(mock.getName()).thenReturn("test.txt"); when(mock.getType()).thenReturn(1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
assertThrows(IllegalArgumentException.class, () -> InetAddresses.forUriString("")); assertThrows( IllegalArgumentException.class, () -> InetAddresses.forUriString("192.168.999.888")); assertThrows( IllegalArgumentException.class, () -> InetAddresses.forUriString("www.google.com")); assertThrows(IllegalArgumentException.class, () -> InetAddresses.forUriString("[1:2e]"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0)