- Sort Score
- Num 10 results
- Language All
Results 771 - 780 of 2,682 for latch (0.02 seconds)
-
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java
* @throws IOException java.io.IOException if any. */ public void write(Writer writer, Model model) throws IOException { try { delegate.write(writer, model.getDelegate()); } catch (XMLStreamException e) { throw new IOException(e); } } // -- void write( Writer, Model ) /** * Method write. * * @param stream a stream object.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { return new Metadata(new MetadataStaxReader().read(in, isStrict(options))); } catch (XMLStreamException e) { throw new MetadataParseException( e.getMessage(), e.getLocation().getLineNumber(), e.getLocation().getColumnNumber(),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java
try { MessageDigestUtil.digest(null, text); assertTrue(false); } catch (final EmptyArgumentException e) { assertTrue(true); } try { MessageDigestUtil.digest("HOGE", text); assertTrue(false); } catch (final NoSuchAlgorithmRuntimeException e) { assertTrue(true); } }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.9K bytes - Click Count (0) -
docs/resiliency/resiliency-verify-script.sh
BUCKET="test-bucket" SRC_DIR="/tmp/data" DEST_DIR="/tmp/dest" ./mc admin config set "$ALIAS_NAME" api requests_max=400 OBJ_COUNT_AFTER_STOP=$(./mc ls "${ALIAS_NAME}"/"${BUCKET}"/initial-data/ | wc -l) # Count should match the initial count of 10 if [ "${OBJ_COUNT_AFTER_STOP}" -ne 10 ]; then echo "Expected 10 objects; received ${OBJ_COUNT_AFTER_STOP}" exit 1 fi ./mc ready "${ALIAS_NAME}" --json
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 21 04:24:45 GMT 2024 - 1.5K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val byteRead = inputStream.read() // OpenJDK behavior: end of stream. assertThat(byteRead).isEqualTo(-1) } catch (e: ProtocolException) { // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp // treats an incomplete response body as a ProtocolException. } catch (ioe: IOException) { // Change in https://bugs.openjdk.org/browse/JDK-8335135
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
assertArgumentNotNull("field", field); try { field.set(target, value); } catch (final IllegalAccessException e) { throw new IllegalAccessRuntimeException(field.getDeclaringClass(), e); } catch (final IllegalArgumentException e) { final Class<?> clazz = field.getDeclaringClass(); final Class<?> fieldClass = field.getType();
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/util/ResourceManager.java
resource.close(); holder.closed = true; totalReleased.incrementAndGet(); cleaned++; } catch (Exception e) { log.error("Failed to auto-close resource: {}", holder.resourceId, e); } } } } if (cleaned > 0) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
for (int i = 0; i < 3; i++) { try { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); }); } catch (Exception e) { // Expected } } assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState()); assertFalse(circuitBreaker.allowsRequests());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
errors.go
// ErrInvalidValue invalid value ErrInvalidValue = errors.New("invalid value, should be pointer to struct or slice") // ErrInvalidValueOfLength invalid values do not match length ErrInvalidValueOfLength = errors.New("invalid association values, length doesn't match") // ErrPreloadNotAllowed preload is not allowed when count is used ErrPreloadNotAllowed = errors.New("preload is not allowed when count is used")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 26 02:53:17 GMT 2024 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70); } this.fp = 0L; } catch (final CIFSException e) { throw SmbException.wrap(e); } } /** * @return * @throws SmbException */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0)