- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,441 for new (0.28 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1); InterruptibleTask<@Nullable Void> task = new InterruptibleTask<@Nullable Void>() { @Override @Nullable Void runInterruptibly() throws Exception { BrokenChannel bc = new BrokenChannel(); bc.doBegin(); isInterruptibleRegistered.countDown(); new CountDownLatch(1).await(); // the interrupt will wake us up
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy
def rawTypeForParameterizedArrayType() { type.arrayDimensions = 2 type.addTypeArg(new TypeMetaData('Type1')) expect: type.rawType.signature == 'org.gradle.SomeType[][]' } def rawTypeForParameterizedType() { type.addTypeArg(new TypeMetaData('Type1')) type.addTypeArg(new TypeMetaData('Type2')) expect: type.rawType.signature == 'org.gradle.SomeType' }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
super.setUp(); counter = new CountingInputStream(new ByteArrayInputStream(new byte[20])); } public void testReadSingleByte() throws IOException { assertEquals(0, counter.getCount()); assertEquals(0, counter.read()); assertEquals(1, counter.getCount()); } public void testReadArray() throws IOException { assertEquals(10, counter.read(new byte[10])); assertEquals(10, counter.getCount());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java
@BeforeEach void setUp() throws Exception { configurator = new DefaultBeanConfigurator(); } @AfterEach void tearDown() throws Exception { configurator = null; } private Xpp3Dom toConfig(String xml) { try { return new Xpp3Dom(XmlNodeStaxBuilder.build( new StringReader("<configuration>" + xml + "</configuration>"),
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.8K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
MockWebServer server = new MockWebServer(); server.useHttps(sslContext.getSocketFactory(), false); server.setDispatcher(this); server.start(port); } @Override public MockResponse dispatch(RecordedRequest request) { String path = request.getPath(); try { if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException();
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Jan 02 02:50:44 GMT 2019 - 4.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java
@Override public Version parseVersion(String version) { requireNonNull(version, "version"); return new DefaultVersion(versionScheme, version); } @Override public VersionRange parseVersionRange(String range) { requireNonNull(range, "range"); return new DefaultVersionRange(versionScheme, range); } @Override public boolean isSnapshot(String version) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8)); } catch (final Exception e) { if (newFile != null) { newFile.delete(); } throw new DictionaryException("Failed to write a userDict file.", e); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/context/BaseContext.java
this.config = config; this.dfs = new DfsImpl(this); this.sidResolver = new SIDCacheImpl(this); this.urlHandler = new Handler(this); this.nameServiceClient = new NameServiceClientImpl(this); this.bufferCache = new BufferCacheImpl(this.config); this.transportPool = new SmbTransportPoolImpl(); String defUser = config.getDefaultUsername();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 27 18:25:00 GMT 2022 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback(e); addCallback(f, callback, directExecutor()); } public void testOnSuccessThrowsRuntimeException() throws Exception { RuntimeException exception = new RuntimeException(); String result = "result"; SettableFuture<String> future = SettableFuture.create(); int[] successCalls = new int[1]; int[] failureCalls = new int[1]; FutureCallback<String> callback =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/NtlmTest.java
int flags = 0; byte[] challenge = new byte[] { 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8 }; byte[] ti = new byte[] { 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8 }; Type2Message t2 = new Type2Message(this.context, flags, challenge, null); t2.setTargetInformation(ti); Type2Message parsed = new Type2Message(t2.toByteArray());
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 16 10:38:43 GMT 2018 - 4.8K bytes - Viewed (0)