- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 475 for Attempts (0.05 seconds)
-
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
PeekingIterator<?> peekingIterator = peekingIterator(iterator); assertEquals("A", peekingIterator.next()); assertEquals("B", peekingIterator.peek()); /* Should complain on attempt to remove() after peek(). */ assertThrows(IllegalStateException.class, () -> peekingIterator.remove()); assertEquals( "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
PeekingIterator<?> peekingIterator = peekingIterator(iterator); assertEquals("A", peekingIterator.next()); assertEquals("B", peekingIterator.peek()); /* Should complain on attempt to remove() after peek(). */ assertThrows(IllegalStateException.class, () -> peekingIterator.remove()); assertEquals( "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
mvnw.cmd
"If('%WRAPPER_SHA_256_SUM%' -ne $hash){"^ " Write-Error 'Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be compromised.';"^ " Write-Error 'Investigate or delete %WRAPPER_JAR% to attempt a clean download.';"^ " Write-Error 'If you updated your Maven version, you need to update the specified wrapperSha256Sum property.';"^ " exit 1;"^ "}"^ "}" if ERRORLEVEL 1 goto error
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 14 22:24:15 GMT 2024 - 7.5K bytes - Click Count (0) -
internal/s3select/json/preader.go
close(r.close) r.readerWg.Wait() r.close = nil } r.recordsRead = len(r.current) if r.err == nil { r.err = io.EOF } return r.readCloser.Close() } // nextSplit will attempt to skip a number of bytes and // return the buffer until the next newline occurs. // The last block will be sent along with an io.EOF. func (r *PReader) nextSplit(skip int, dst []byte) ([]byte, error) { if cap(dst) < skip {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
.isNotEqualTo(fingerprint(stringB.getBytes(UTF_8))); // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters // greater than 127 (ie with their top bit set). // Don't attempt to do this in real code. assertEquals( fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); } public void testMumurHash64() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
@Override public void onRegistrationExpired(WitnessRegistration registration) { log.warn("Witness registration expired: {}", registration.getRegistrationId()); // Could attempt re-registration here } } /** * Handle a witness event * * @param notification the witness notification */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertThrows(SmbException.class, () -> tree.send(request, response)); } @Test void testTreeConnectWithWaitInterrupted() throws Exception { // Create a tree and simulate concurrent connection attempt SmbTree tree = new SmbTree(session, "testShare", "testService"); // Mock transport.connect() to throw RuntimeException wrapping InterruptedException
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
value = null; } if (value == null) { // The CLI should win for defining properties if (properties != null) { // We will attempt to get nab a property as a way to specify a parameter // to a plugin. My particular case here is allowing the surefire plugin // to run a single test so I want to specify that class on the cli asCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 9.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* possible to recreate the request body after it has been sent. * * This method returns false unless it is overridden by a subclass. * * By default OkHttp will attempt to retransmit request bodies when the original request fails * due to any of: * * * A stale connection. The request was made on a reused connection and that reused connection * has since been closed by the server.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 9.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java
if (result != null) { return result; } // second try, refetch all (possibly outdated) metadata that wasn't updated in the first attempt if (!request.getRepositorySession().isOffline() && !requests.isEmpty()) { DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(request.getRepositorySession());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 17 13:14:10 GMT 2025 - 11.9K bytes - Click Count (0)