- Sort Score
- Num 10 results
- Language All
Results 861 - 870 of 1,108 for figure (0.11 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
internal fun FileSystem.deleteIfExists(path: Path) { try { delete(path) } catch (fnfe: FileNotFoundException) { return } } /** Tolerant delete, try to clear as many files as possible even after a failure. */ internal fun FileSystem.deleteContents(directory: Path) { var exception: IOException? = null val files = try { list(directory) } catch (fnfe: FileNotFoundException) { return
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
* * @param key the non-null key whose value should be loaded * @param oldValue the non-null old value corresponding to {@code key} * @return the future new value associated with {@code key}; <b>must not be null, must not return * null</b> * @throws Exception if unable to reload the resultCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComparisonChain.java
* implementing {@code Comparable<Foo>}) without producing warnings. If so, we would prefer today * to produce warnings in that case, and we may change this method to do so in the future. Support * for raw {@code Comparable} types in Guava in general is tracked as <a * href="https://github.com/google/guava/issues/989">#989</a>.) *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Stopwatch.java
public Stopwatch start() { checkState(!isRunning, "This stopwatch is already running."); isRunning = true; startTick = ticker.read(); return this; } /** * Stops the stopwatch. Future reads will return the fixed duration that had elapsed up to this * point. * * @return this {@code Stopwatch} instance * @throws IllegalStateException if the stopwatch is already stopped. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
* as a compromise, we enable the optimization only on platforms that we specifically know to * work. * * In the future, the use of Unsafe.getLong() should be replaced by ByteBuffer.getLong(), * which will have an efficient native implementation in JDK 9. * */ String arch = System.getProperty("os.arch");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
for (int i = 0; i < 8; i++) { if (signature[i] != data[offset + SmbConstants.SIGNATURE_OFFSET + i]) { if (log.isDebugEnabled()) { log.debug("signature verification failure"); //$NON-NLS-1$ log.debug("Expect: " + Hexdump.toHexString(signature, 0, 8)); log.debug("Have: " + Hexdump.toHexString(data, offset + SmbConstants.SIGNATURE_OFFSET, 8)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
} } masterKey = null; log.debug("SecureCredentialStorage destroyed"); // If we had a non-critical destroy failure, throw it now if (failedToDestroy && destroyException != null) { throw new DestroyFailedException("Partial destroy: " + destroyException.getMessage()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
// In a real scenario, the connection would reconnect and send Type1/Type3 messages // This simplified test just verifies the initial handshake detection } /** * Test handshake failure when the server does not return an NTLM challenge. * @throws IOException */ @Test void testHandshakeFails_NoNtlmChallenge() throws IOException { // ArrangeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertEquals(123L, session.getExpiration()); setField(session, "expiration", 0L); assertNull(session.getExpiration()); } @Test @DisplayName("connection and failure status delegate to transport") void testConnectionAndFailureStatus() { SmbSessionImpl session = newSession(); // Make session look connected via setSessionSetup
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
File artifactFile = new File(repository.getBasedir(), path); if (artifactFile.exists()) { if (!artifactFile.delete()) { throw new IOException("Failure while attempting to delete artifact " + artifactFile); } } } protected DefaultRepositorySystemSession initRepoSession() throws Exception {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 13.8K bytes - Click Count (0)