- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 112 for Got (0.01 seconds)
-
src/test/resources/thumbnail/test_generate_thumbnail.sh
if [[ "${actual_result}" -eq "${expected_result}" ]]; then echo -e "${GREEN}PASSED${NC}" ((TESTS_PASSED++)) return 0 else echo -e "${RED}FAILED${NC} (expected: ${expected_result}, got: ${actual_result})" ((TESTS_FAILED++)) return 1 fi } # Test function for checking file existence run_file_test() { local test_name="$1" local output_file="$2" shift 2Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 04 08:02:36 GMT 2025 - 7.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
if (isFinalFrame) break // We are exhausted and have no continuations. readUntilNonControlFrame() if (opcode != OPCODE_CONTINUATION) { throw ProtocolException("Expected continuation opcode. Got: ${opcode.toHexString()}") } } } @Throws(IOException::class) override fun close() { if (closed) return closed = true messageInflater?.closeQuietly()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} private ExecutionException getExpectingExecutionException(AbstractFuture<String> future) throws InterruptedException { try { String got = future.get(); throw new AssertionError("Expected exception but got " + got); } catch (ExecutionException e) { return e; } } private static final class WaiterThread extends Thread {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
// Act assertTrue(itr.hasNext()); SmbResource r = itr.next(); // Assert: filter was invoked twice and we got the accepted one ArgumentCaptor<SmbResource> captor = ArgumentCaptor.forClass(SmbResource.class); verify(filter, times(2)).accept(captor.capture()); assertNotNull(r);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
// Validate key length matches expected cipher requirements if (keyCopy.length != keyLength) { throw new IllegalArgumentException("Key length mismatch: expected " + keyLength + ", got " + keyCopy.length); } // Create cipher with the copy - algorithm is just "AES" for SecretKeySpec final SecretKeySpec keySpec = new SecretKeySpec(keyCopy, "AES");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
android/guava/src/com/google/common/math/Stats.java
*/ void writeTo(ByteBuffer buffer) { checkNotNull(buffer); checkArgument( buffer.remaining() >= BYTES, "Expected at least Stats.BYTES = %s remaining , got %s", BYTES, buffer.remaining()); buffer .putLong(count) .putDouble(mean) .putDouble(sumOfSquaresOfDeltas) .putDouble(min) .putDouble(max); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 25.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
int newValueIndex = findEntryByValue(newValue, newValueHash); if (newValueIndex != ABSENT) { if (force) { removeEntryValueHashKnown(newValueIndex, newValueHash); if (entry == size) { // this entry got moved to newValueIndex entry = newValueIndex; } } else { throw new IllegalArgumentException("Value already present in map: " + newValue); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} private ExecutionException getExpectingExecutionException(AbstractFuture<String> future) throws InterruptedException { try { String got = future.get(); throw new AssertionError("Expected exception but got " + got); } catch (ExecutionException e) { return e; } } private static final class WaiterThread extends Thread {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
connectSocket() success = true return ConnectResult(plan = this) } catch (e: IOException) { // If we used the ProxySelector, and got a IOException during connect, report the failure. if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) { route.address.proxySelector.connectFailed( route.address.url.toUri(),Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
android/guava/src/com/google/common/collect/EnumMultiset.java
*/ private void checkIsE(Object element) { checkNotNull(element); if (!isActuallyE(element)) { throw new ClassCastException("Expected an " + type + " but got " + element); } } @Override int distinctElements() { return distinctElements; } @Override public int size() { return Ints.saturatedCast(size); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9K bytes - Click Count (0)