- Sort Score
- Num 10 results
- Language All
Results 1411 - 1420 of 6,020 for new1 (0.15 seconds)
-
src/main/java/org/codelibs/core/io/FileUtil.java
if (newBufferSize > MAX_BUF_SIZE) { throw new IORuntimeException(new IOException("Content too large: exceeds maximum buffer size of " + MAX_BUF_SIZE + " bytes. Use streaming APIs for large content.")); } final char[] newBuf = new char[newBufferSize]; System.arraycopy(buf, 0, newBuf, 0, bufferSize);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
* it can fail here. */ public void testAnonymous() { AtomicReference<String> holder = new AtomicReference<>(); AtomicInteger deliveries = new AtomicInteger(); EventBus bus = new EventBus(); bus.register( new Object() { @Subscribe public void accept(String str) { holder.set(str); deliveries.incrementAndGet();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 1.9K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/logging/AccumulatingLogger.java
public class AccumulatingLogger implements Logger { private final AtomicReference<List<Entry>> entries = new AtomicReference<>(new CopyOnWriteArrayList<>()); @Override public void log(Level level, String message, Throwable error) { requireNonNull(level, "level"); requireNonNull(message, "message"); entries.get().add(new Entry(level, message, error)); } @Override public List<Entry> drain() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
CollectSpliterators.map( Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase)) .expect("A", "B", "C", "D", "E"); } public void testFlatMap() { SpliteratorTester.of( () -> CollectSpliterators.flatMap( Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EmptyContiguousSet.java
@Override public C first() { throw new NoSuchElementException(); } @Override public C last() { throw new NoSuchElementException(); } @Override public int size() { return 0; } @Override public ContiguousSet<C> intersection(ContiguousSet<C> other) { return this; } @Override public Range<C> range() { throw new NoSuchElementException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertTrue( "A List should equal any other List containing the same elements.", getList().equals(new ArrayList<E>(getOrderedElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListWithDifferentElements() { ArrayList<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, getSubjectGenerator().samples().e3()); assertFalse(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return set.subSet(firstInclusive, lastExclusive); } else { throw new IllegalArgumentException(); } } @Override public E belowSamplesLesser() { throw new UnsupportedOperationException(); } @Override public E belowSamplesGreater() { throw new UnsupportedOperationException(); } @Override public E aboveSamplesLesser() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
final byte[] challengeBytes = getChallenge(); System.arraycopy(challengeBytes != null ? challengeBytes : new byte[8], 0, type2, pos, 8); pos += 8; // Reserved final byte[] contextBytes = getContext(); System.arraycopy(contextBytes != null ? contextBytes : new byte[8], 0, type2, pos, 8); pos += 8; // TargetInfoFields
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
if (args.length < 3 || args.length > 4) { throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]"); } File stylesheet = new File(args[0]); File source = new File(args[1]); File dest = new File(args[2]); String destDir = ""; if (args.length > 3) { destDir = args[3]; }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 2.2K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
@Test void testHashCodeNullSafe() { new DependencyManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new DependencyManagement().equals(null)); new DependencyManagement().equals(new DependencyManagement()); } @Test void testEqualsIdentity() { DependencyManagement thing = new DependencyManagement();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.4K bytes - Click Count (0)