- Sort Score
- Num 10 results
- Language All
Results 3451 - 3460 of 6,205 for newA (0.09 seconds)
-
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
Runnable command, long initialDelay, long period, TimeUnit unit) { throw new UnsupportedOperationException("scheduleAtFixedRate is not supported."); } @Override public ListenableScheduledFuture<?> scheduleWithFixedDelay( Runnable command, long initialDelay, long delay, TimeUnit unit) { throw new UnsupportedOperationException("scheduleWithFixedDelay is not supported."); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Longs.java
return Math.min(Math.max(value, min), max); } /** * Returns the values from each provided array combined into a single array. For example, {@code * concat(new long[] {a, b}, new long[] {}, new long[] {c}} returns the array {@code {a, b, c}}. * * @param arrays zero or more {@code long} arrays * @return a single array containing all the values from the source arrays, in order
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 29K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
StatsAccumulator accumulator = new StatsAccumulator(); accumulator.addAll(MANY_VALUES); Stats stats = accumulator.snapshot(); accumulator.add(999.999); // should do nothing to the snapshot return stats; } private static Stats buildLongManyValuesStatsSnapshot() { StatsAccumulator accumulator = new StatsAccumulator(); accumulator.addAll(LONG_MANY_VALUES);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 24K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java
/** * OkHttp. * * https://square.github.io/okhttp/ */ @RunWith(AndroidJUnit4.class) public class OkHttpClientTest { @Test public void get() throws IOException { OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://google.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) { assertEquals(200, response.code());Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 14 17:38:22 GMT 2020 - 1.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestCollidingSetGenerator.java
@GwtCompatible @NullMarked public abstract class TestCollidingSetGenerator implements TestSetGenerator<Object> { @Override public SampleElements<Object> samples() { return new Colliders(); } @Override public Object[] createArray(int length) { return new Object[length]; } /** Returns the original element list, unchanged. */ @Override public List<Object> order(List<Object> insertionOrder) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java
* . */ @Test public void testSIndexOutOfBoundsException() { final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException(); assertThat(clIndexOutOfBoundsException, is(notNullValue())); } /** * Test method forCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
private final int attributes = 12345; @BeforeEach void setUp() { // Mock the SID object sidMock = mock(SID.class); // Create a new PacSidAttributes instance before each test pacSidAttributes = new PacSidAttributes(sidMock, attributes); } /** * Test method for {@link jcifs.pac.PacSidAttributes#PacSidAttributes(jcifs.smb.SID, int)}. */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellParser.java
@Override protected Options parseCliOptions(LocalContext context) { try { return CommonsCliShellOptions.parse(context.parserRequest.args().toArray(new String[0])); } catch (ParseException e) { throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e); } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 1.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/TopKSelector.java
* @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2} */ public static <T extends @Nullable Object> TopKSelector<T> least( int k, Comparator<? super T> comparator) { return new TopKSelector<>(comparator, k); } /** * Returns a {@code TopKSelector} that collects the greatest {@code k} elements added to it,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/EscapersTest.java
return new CharEscaper() { @Override protected char @Nullable [] escape(char c) { return replacementMap.get(c); } }; } // A trivial non-optimized escaper for testing. static UnicodeEscaper createSimpleUnicodeEscaper(ImmutableMap<Integer, char[]> replacementMap) { return new UnicodeEscaper() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 4.1K bytes - Click Count (0)