- Sort Score
- Num 10 results
- Language All
Results 1511 - 1520 of 4,798 for new1 (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
protected void verify(List<T> elements) { assertEquals(new HashSet<>(elements), newHashSet(mmHeap.iterator())); assertIntact(mmHeap); } }; tester.test(); } public void testIteratorTester() throws Exception { Random random = new Random(0); List<Integer> list = new ArrayList<>(); for (int i = 0; i < 3; i++) { list.add(random.nextInt());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
@BeforeEach void setUp() { bind = new DcerpcBind(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Default constructor should create instance with default values") void testDefaultConstructor() { // When DcerpcBind defaultBind = new DcerpcBind(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
try { try { urls.add(new File(entry).toURI().toURL()); } catch (SecurityException e) { // File.toURI checks to see if the file is a directory urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) { throw new AssertionError("malformed class path entry: " + entry, e); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
public final class CertificatePinning { private final OkHttpClient client = new OkHttpClient.Builder() .certificatePinner( new CertificatePinner.Builder() .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=") .build()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/robots.txt")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Dec 08 21:30:01 GMT 2019 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
} /** * @throws Exception */ @Test public void testGetCause() throws Exception { final Throwable t = new NullPointerException("test"); final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t); assertThat(ex.getCause(), is(t)); ex.printStackTrace(); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCacheFactory.java
/** * Factory interface for creating new RequestCache instances. * Implementations should handle the creation and configuration of cache instances * based on the current Maven session and environment. * * @since 4.0.0 * @see RequestCache */ @Experimental public interface RequestCacheFactory { /** * Creates a new RequestCache instance.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
} @Test public void test_getXContentOutputStream_withException() { ToXContent xContent = new ToXContent() { @Override public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { throw new IOException("Test exception"); } };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
public class ServerResponseValidatorTest { private ServerResponseValidator validator; @BeforeEach public void setUp() { validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception { byte[] buffer = new byte[1024]; validator.validateBuffer(buffer, 100, 2048); // Should pass without exception } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
String executable private final List<Object> arguments = new ArrayList<>() void args(Object... args) { arguments.addAll(args) } /** * Environment variables for the fixture process. The value can be any object, which * will have toString() called at execution time. */ private final Map<String, Object> environment = new HashMap<>() void env(String key, Object value) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
// Given when(mockDelegate.hasNext()).thenReturn(false); CIFSException exception = new CIFSException("Test exception"); doThrow(exception).when(mockDelegate).close(); DirFileEntryAdapterIterator iterator = new DirFileEntryAdapterIterator(mockParent, mockDelegate, null) { @Override protected SmbResource adapt(FileEntry e) {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)