- Sort Score
- Result 10 results
- Languages All
Results 1551 - 1560 of 5,485 for news (0.02 sec)
-
src/test/java/org/codelibs/core/io/LineIteratorTest.java
*/ public class LineIteratorTest { /** * @throws Exception */ @Test public void test() throws Exception { final StringReader reader = new StringReader("aaa\nbbb\nccc\n"); final LineIterator it = new LineIterator(reader); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("aaa")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("bbb"));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java
public class CallJavaTest { @RegisterExtension OkHttpClientTestRule clientTestRule = new OkHttpClientTestRule(); private OkHttpClient client = clientTestRule.newClient(); @Test public void tagsSeededFromRequest() { Request request = new Request.Builder() .url(HttpUrl.get("https://square.com/")) .tag(Integer.class, 5) .tag(String.class, "hello")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Oct 26 14:54:46 UTC 2025 - 1.7K bytes - Viewed (0) -
internal/grid/errors.go
ErrUnknownHandler = errors.New("unknown mux handler") // ErrHandlerAlreadyExists is returned when a handler is already registered. ErrHandlerAlreadyExists = errors.New("mux handler already exists") // ErrIncorrectSequence is returned when an out-of-sequence item is received. ErrIncorrectSequence = errors.New("out-of-sequence item received") ) // ErrResponse is a remote error response.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 1.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
import spock.lang.Specification import spock.lang.TempDir abstract class AbstractContextAwareRuleSpecification extends Specification { @TempDir File testDir ViolationCheckContext context = new ViolationCheckContext() { Map userData = [seenApiChanges: [] as Set] String getClassName() { return null } Map<String, ?> getUserData() { return userData }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Service.java
* #stopAsync()} lifecycle methods to transition between states. Example services include * webservers, RPC servers and timers. * * <p>The normal lifecycle of a service is: * * <ul> * <li>{@linkplain State#NEW NEW} -> * <li>{@linkplain State#STARTING STARTING} -> * <li>{@linkplain State#RUNNING RUNNING} -> * <li>{@linkplain State#STOPPING STOPPING} -> * <li>{@linkplain State#TERMINATED TERMINATED} * </ul>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java
List<String> src = source.getModules(); if (!src.isEmpty() && sourceDominant) { List<Integer> indices = new ArrayList<>(); List<String> tgt = target.getModules(); Set<String> excludes = new LinkedHashSet<>(tgt); List<String> merged = new ArrayList<>(tgt.size() + src.size()); merged.addAll(tgt); for (int i = 0, n = tgt.size(); i < n; i++) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 21.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
} @Test void testGetTrustedDomains_Cached() throws SmbAuthException { Dfs.CacheEntry cacheEntry = new Dfs.CacheEntry(300); HashMap<String, HashMap> trustedDomains = new HashMap<>(); trustedDomains.put("domain.com", new HashMap()); cacheEntry.map = trustedDomains; dfs._domains = cacheEntry; assertEquals(trustedDomains, dfs.getTrustedDomains(auth));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
return navigableKeySet(); } @Override public Collection<V> values() { return new StandardValues(); } @Override public String toString() { return standardToString(); } @Override public Set<Entry<K, V>> entrySet() { return new StandardEntrySet() { @Override public Iterator<Entry<K, V>> iterator() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 03:23:31 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
assertArgumentNotNull("file", file); assertArgumentNotEmpty("encoding", encoding); try { return new InputStreamReader(new FileInputStream(file), encoding); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads a single line from the given {@link BufferedReader}. * * @param reader
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
android/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)));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.6K bytes - Viewed (0)