- Sort Score
- Num 10 results
- Language All
Results 1611 - 1620 of 4,798 for new1 (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
return super.setException(t); } } enum Impl { NEW { @Override <T> Facade<T> newFacade() { return new NewAbstractFutureFacade<T>(); } }, OLD { @Override <T> Facade<T> newFacade() { return new OldAbstractFutureFacade<T>(); } }; abstract <T> Facade<T> newFacade(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java
*/ private Result runCommand(String... args) { if (args.length == 0) { throw new IllegalArgumentException("Cannot execute with no command"); } ByteArrayOutputStream stdout = new ByteArrayOutputStream(); ByteArrayOutputStream stderr = new ByteArrayOutputStream(); final ExecResult execResult = execOperations.exec(spec -> {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 14.8K 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)