- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 208 for isfile (0.03 sec)
-
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
Set<Object> keys = cache.asMap().keySet(); assertThat(keys.remove(null)).isFalse(); assertThat(keys.remove(6)).isFalse(); assertThat(keys.remove(-6)).isFalse(); assertThat(keys.removeAll(asList(null, 0, 15, 1500))).isFalse(); assertThat(keys.retainAll(asList(null, 0, 15, 1500))).isFalse(); checkEmpty(keys); checkEmpty(cache); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
assertThat(pool.connectionCount()).isEqualTo(1) assertThat(c1.socket().isClosed).isFalse() // Running at time 60, the pool returns that nothing can be evicted until time 150. assertThat(pool.closeConnections(60L)).isEqualTo(90L) assertThat(pool.connectionCount()).isEqualTo(1) assertThat(c1.socket().isClosed).isFalse() // Running at time 149, the pool returns that nothing can be evicted until time 150.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 8.2K bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial001.py
from pathlib import Path from fastapi.testclient import TestClient from docs_src.background_tasks.tutorial001_py39 import app client = TestClient(app) def test(): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 583 bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java
result.add(cliOptions); // atFile option if (cliOptions.atFile().isPresent()) { Path file = context.cwd.resolve(cliOptions.atFile().orElseThrow()); if (Files.isRegularFile(file)) { result.add(parseMavenAtFileOptions(file)); } else { throw new IllegalArgumentException("Specified file does not exists (" + file + ")"); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 14 12:35:44 UTC 2025 - 4.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
client.webSocket!!.close(1000, "Hello!") // This will trigger a close response. assertThat(server.processNextFrame()).isFalse() server.listener.assertClosing(1000, "Hello!") server.webSocket!!.finishReader() server.webSocket!!.close(1000, "Goodbye!") assertThat(client.processNextFrame()).isFalse() client.listener.assertClosing(1000, "Goodbye!") client.webSocket!!.finishReader()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer.go
copy(buf[c1:], r.buf[0:c2]) } return buf } // IsFull returns this ringbuffer is full. func (r *RingBuffer) IsFull() bool { r.mu.Lock() defer r.mu.Unlock() return r.isFull } // IsEmpty returns this ringbuffer is empty. func (r *RingBuffer) IsEmpty() bool { r.mu.Lock() defer r.mu.Unlock() return !r.isFull && r.w == r.r }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 13.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Object value = warmed.get(i - WARMUP_MIN).getValue(); assertThat(cache.asMap().remove(key, -1)).isFalse(); assertThat(cache.asMap().remove(key, value)).isTrue(); assertThat(cache.asMap().remove(key, -1)).isFalse(); assertThat(cache.asMap().containsKey(key)).isFalse(); } checkEmpty(cache); } } public void testKeySet_populated() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
testInstances += this assertThat(serverA.started).isTrue() assertThat(serverB.started).isTrue() assertThat(serverC.started).isFalse() assertThat(serverD.started).isTrue() assertThat(serverE.started).isTrue() assertThat(serverF.started).isFalse() } private companion object { val testInstances = CopyOnWriteArrayList<StartStopTest>() private val dispatcherD = ClosableDispatcher()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 11:13:17 UTC 2025 - 3.3K bytes - Viewed (1) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Object value = warmed.get(i - WARMUP_MIN).getValue(); assertThat(cache.asMap().remove(key, -1)).isFalse(); assertThat(cache.asMap().remove(key, value)).isTrue(); assertThat(cache.asMap().remove(key, -1)).isFalse(); assertThat(cache.asMap().containsKey(key)).isFalse(); } checkEmpty(cache); } } public void testKeySet_populated() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java
assertThat(hasCycle(directedGraph)).isFalse(); assertThat(hasCycle(undirectedGraph)).isFalse(); } @Test public void hasCycle_isolatedNodes() { for (MutableGraph<Integer> graph : graphsToTest) { graph.addNode(1); graph.addNode(2); } assertThat(hasCycle(directedGraph)).isFalse(); assertThat(hasCycle(undirectedGraph)).isFalse(); } @Test
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.4K bytes - Viewed (0)